Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::Workload::ResourceSettings (v0.9.2)

Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::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::V1::Workload::ResourceInfo::ResourceType
Returns

#resource_type=

def resource_type=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo::ResourceType
Parameter
Returns