Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings.
Represent the custom settings for the resources to be created.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — 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.
#resource_id
def resource_id() -> ::String
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.
#resource_id=
def resource_id=(value) -> ::String
Parameter
- value (::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.
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.
#resource_type
def resource_type() -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType
Returns
- (::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType) — 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)
#resource_type=
def resource_type=(value) -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType
Parameter
- value (::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType) — 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
- (::Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceInfo::ResourceType) — 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)