Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::Workload (v1.0.1)

Reference documentation and code samples for the Assured Workloads for Government V1 API class Google::Cloud::AssuredWorkloads::V1::Workload.

A Workload object for managing highly regulated workloads of cloud customers.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#billing_account

def billing_account() -> ::String
Returns
  • (::String) — Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.

#billing_account=

def billing_account=(value) -> ::String
Parameter
  • value (::String) — Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.
Returns
  • (::String) — Optional. The billing account used for the resources which are direct children of workload. This billing account is initially associated with the resources created as part of Workload creation. After the initial creation of these resources, the customer can change the assigned billing account. The resource name has the form billingAccounts/{billing_account_id}. For example, billingAccounts/012345-567890-ABCDEF.

#compliance_regime

def compliance_regime() -> ::Google::Cloud::AssuredWorkloads::V1::Workload::ComplianceRegime
Returns

#compliance_regime=

def compliance_regime=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Workload::ComplianceRegime
Parameter
Returns

#compliant_but_disallowed_services

def compliant_but_disallowed_services() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment."

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces.

    Example: My Workload

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces.

    Example: My Workload

Returns
  • (::String) — Required. The user-assigned display name of the Workload. When present it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, and spaces.

    Example: My Workload

#enable_sovereign_controls

def enable_sovereign_controls() -> ::Boolean
Returns
  • (::Boolean) — Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.

#enable_sovereign_controls=

def enable_sovereign_controls=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
Returns
  • (::Boolean) — Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.
Returns
  • (::String) — Optional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.

#kaj_enrollment_state

def kaj_enrollment_state() -> ::Google::Cloud::AssuredWorkloads::V1::Workload::KajEnrollmentState
Returns

#kms_settings

def kms_settings() -> ::Google::Cloud::AssuredWorkloads::V1::Workload::KMSSettings
Returns
  • (::Google::Cloud::AssuredWorkloads::V1::Workload::KMSSettings) — Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.

#kms_settings=

def kms_settings=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Workload::KMSSettings
Parameter
  • value (::Google::Cloud::AssuredWorkloads::V1::Workload::KMSSettings) — Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.
Returns
  • (::Google::Cloud::AssuredWorkloads::V1::Workload::KMSSettings) — Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS CMEK key is provisioned. This field is deprecated as of Feb 28, 2022. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels applied to the workload.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels applied to the workload.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels applied to the workload.

#name

def name() -> ::String
Returns
  • (::String) — Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload}

    Read-only.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload}

    Read-only.

Returns
  • (::String) — Optional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload}

    Read-only.

#partner

def partner() -> ::Google::Cloud::AssuredWorkloads::V1::Workload::Partner
Returns

#partner=

def partner=(value) -> ::Google::Cloud::AssuredWorkloads::V1::Workload::Partner
Parameter
Returns

#provisioned_resources_parent

def provisioned_resources_parent() -> ::String
Returns
  • (::String) — Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}

#provisioned_resources_parent=

def provisioned_resources_parent=(value) -> ::String
Parameter
  • value (::String) — Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}
Returns
  • (::String) — Input only. The parent resource for the resources managed by this Assured Workload. May be either empty or a folder resource which is a child of the Workload parent. If not specified all resources are created under the parent organization. Format: folders/{folder_id}

#resource_settings

def resource_settings() -> ::Array<::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceSettings>
Returns

#resource_settings=

def resource_settings=(value) -> ::Array<::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceSettings>
Parameter
Returns

#resources

def resources() -> ::Array<::Google::Cloud::AssuredWorkloads::V1::Workload::ResourceInfo>
Returns

#saa_enrollment_response

def saa_enrollment_response() -> ::Google::Cloud::AssuredWorkloads::V1::Workload::SaaEnrollmentResponse
Returns