# Assured Workloads for Government V1beta1 API - Class Google::Cloud::AssuredWorkloads::V1beta1::Workload::ResourceSettings (v0.26.0)

0.26.0 (latest) 0.25.0 0.24.0 0.23.1 0.22.0 0.21.1 0.20.1 0.19.0 0.18.1 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.2 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-assured_workloads-v1beta1/latest/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)