Class: Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb

Overview

Represent the custom settings for the resources to be created.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns User-assigned resource display name. If not empty it will be used to create a resource with the specified name.

Returns:

  • (::String)

    User-assigned resource display name. If not empty it will be used to create a resource with the specified name.



409
410
411
412
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 409

class ResourceSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_id::String

Returns Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.

Returns:

  • (::String)

    Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don't set this value as folder_id is assigned by Google.



409
410
411
412
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 409

class ResourceSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_type::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType

Returns Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT).

Returns:



409
410
411
412
# File 'proto_docs/google/cloud/assuredworkloads/v1beta1/assuredworkloads.rb', line 409

class ResourceSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end