Class: DatadogAPIClient::V2::ServiceAccountAccessTokenCreateAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb

Overview

Attributes used to create a service account access token.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb', line 33

def additional_properties
  @additional_properties
end

#expires_atObject

Expiration date of the access token. Optional for service account tokens.



25
26
27
# File 'lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb', line 25

def expires_at
  @expires_at
end

#nameObject

Name of the access token.



28
29
30
# File 'lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb', line 28

def name
  @name
end

#scopesObject

Array of scopes to grant the access token.



31
32
33
# File 'lib/datadog_api_client/v2/models/service_account_access_token_create_attributes.rb', line 31

def scopes
  @scopes
end