Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44920,6 +44920,9 @@ components:
description: Name of the API key.
example: "API Key for submitting metrics"
type: string
private_action_runner_enroll_enabled:
description: Whether the API key can enroll a Private Action Runner.
type: boolean
remote_config_read_enabled:
description: The remote config read enabled status.
type: boolean
Expand Down Expand Up @@ -84281,6 +84284,9 @@ components:
description: Name of the API key.
example: "API Key for submitting metrics"
type: string
private_action_runner_enroll_enabled:
description: Whether the API key can enroll a Private Action Runner.
type: boolean
remote_config_read_enabled:
description: The remote config read enabled status.
type: boolean
Expand Down
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v2/models/full_api_key_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class FullAPIKeyAttributes
# Name of the API key.
attr_accessor :name

# Whether the API key can enroll a Private Action Runner.
attr_accessor :private_action_runner_enroll_enabled

# The remote config read enabled status.
attr_accessor :remote_config_read_enabled

Expand All @@ -58,6 +61,7 @@ def self.attribute_map
:'last4' => :'last4',
:'modified_at' => :'modified_at',
:'name' => :'name',
:'private_action_runner_enroll_enabled' => :'private_action_runner_enroll_enabled',
:'remote_config_read_enabled' => :'remote_config_read_enabled'
}
end
Expand All @@ -73,6 +77,7 @@ def self.openapi_types
:'last4' => :'String',
:'modified_at' => :'Time',
:'name' => :'String',
:'private_action_runner_enroll_enabled' => :'Boolean',
:'remote_config_read_enabled' => :'Boolean'
}
end
Expand Down Expand Up @@ -131,6 +136,10 @@ def initialize(attributes = {})
self.name = attributes[:'name']
end

if attributes.key?(:'private_action_runner_enroll_enabled')
self.private_action_runner_enroll_enabled = attributes[:'private_action_runner_enroll_enabled']
end

if attributes.key?(:'remote_config_read_enabled')
self.remote_config_read_enabled = attributes[:'remote_config_read_enabled']
end
Expand Down Expand Up @@ -191,6 +200,7 @@ def ==(o)
last4 == o.last4 &&
modified_at == o.modified_at &&
name == o.name &&
private_action_runner_enroll_enabled == o.private_action_runner_enroll_enabled &&
remote_config_read_enabled == o.remote_config_read_enabled &&
additional_properties == o.additional_properties
end
Expand All @@ -199,7 +209,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[category, created_at, date_last_used, key, last4, modified_at, name, remote_config_read_enabled, additional_properties].hash
[category, created_at, date_last_used, key, last4, modified_at, name, private_action_runner_enroll_enabled, remote_config_read_enabled, additional_properties].hash
end
end
end
12 changes: 11 additions & 1 deletion lib/datadog_api_client/v2/models/partial_api_key_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class PartialAPIKeyAttributes
# Name of the API key.
attr_accessor :name

# Whether the API key can enroll a Private Action Runner.
attr_accessor :private_action_runner_enroll_enabled

# The remote config read enabled status.
attr_accessor :remote_config_read_enabled

Expand All @@ -54,6 +57,7 @@ def self.attribute_map
:'last4' => :'last4',
:'modified_at' => :'modified_at',
:'name' => :'name',
:'private_action_runner_enroll_enabled' => :'private_action_runner_enroll_enabled',
:'remote_config_read_enabled' => :'remote_config_read_enabled'
}
end
Expand All @@ -68,6 +72,7 @@ def self.openapi_types
:'last4' => :'String',
:'modified_at' => :'String',
:'name' => :'String',
:'private_action_runner_enroll_enabled' => :'Boolean',
:'remote_config_read_enabled' => :'Boolean'
}
end
Expand Down Expand Up @@ -122,6 +127,10 @@ def initialize(attributes = {})
self.name = attributes[:'name']
end

if attributes.key?(:'private_action_runner_enroll_enabled')
self.private_action_runner_enroll_enabled = attributes[:'private_action_runner_enroll_enabled']
end

if attributes.key?(:'remote_config_read_enabled')
self.remote_config_read_enabled = attributes[:'remote_config_read_enabled']
end
Expand Down Expand Up @@ -181,6 +190,7 @@ def ==(o)
last4 == o.last4 &&
modified_at == o.modified_at &&
name == o.name &&
private_action_runner_enroll_enabled == o.private_action_runner_enroll_enabled &&
remote_config_read_enabled == o.remote_config_read_enabled &&
additional_properties == o.additional_properties
end
Expand All @@ -189,7 +199,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[category, created_at, date_last_used, last4, modified_at, name, remote_config_read_enabled, additional_properties].hash
[category, created_at, date_last_used, last4, modified_at, name, private_action_runner_enroll_enabled, remote_config_read_enabled, additional_properties].hash
end
end
end
Loading