NAME
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads - Compiled Protocol Buffers messages for google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto
SYNOPSIS
use Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads;
my $msg = Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::CreateWorkloadRequest->new({
parent => $parent,
workload => $workload,
external_id => $external_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::CreateWorkloadRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/assuredworkloads/v1beta1/assuredworkloads.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::CreateWorkloadRequest
Request for creating a workload.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the new Workload's parent. Must be of the form `organizations/{org_id}/locations/{location_id}`.
$msg->workload()/$msg->workload($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload)Required. Assured Workload to create
$msg->external_id()/$msg->external_id($value)Type:
StringOptional. A identifier associated with the workload and underlying projects which allows for the break down of billing costs for a workload. The value provided for the identifier will add a label to the workload and contained projects with the identifier as the value.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::UpdateWorkloadRequest
Request for Updating a workload.
Inherits from Protobuf::Message.
Accessors
$msg->workload()/$msg->workload($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload)Required. The workload to update. The workload's `name` field is used to identify the workload to be updated. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. The list of fields to be updated.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::RestrictAllowedResourcesRequest
Request for restricting list of available resources in Workload environment.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the Workload. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
$msg->restriction_type()/$msg->restriction_type($value)Type:
Enum(Google::Cloud::Assuredworkloads::V1beta1::RestrictAllowedResourcesRequest::RestrictionType)Required. The type of restriction for using gcp products in the Workload environment.
Enum: RestrictAllowedResourcesRequest::RestrictionType
RESTRICTION_TYPE_UNSPECIFIED=>0ALLOW_ALL_GCP_RESOURCES=>1ALLOW_COMPLIANT_RESOURCES=>2
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::RestrictAllowedResourcesResponse
Response for restricting the list of allowed resources.
Inherits from Protobuf::Message.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::DeleteWorkloadRequest
Request for deleting a Workload.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The `name` field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
$msg->etag()/$msg->etag($value)Type:
StringOptional. The etag of the workload. If this is provided, it must match the server's etag.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::GetWorkloadRequest
Request for fetching a workload.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::AnalyzeWorkloadMoveRequest
A request to analyze a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.
Inherits from Protobuf::Message.
Accessors
$msg->source()/$msg->source($value)Type:
StringThe source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1"
$msg->project()/$msg->project($value)Type:
StringThe source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.
$msg->target()/$msg->target($value)Type:
StringRequired. The resource ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2"
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::AnalyzeWorkloadMoveResponse
A response that includes the analysis of the hypothetical resource move.
Inherits from Protobuf::Message.
Accessors
$msg->blockers()/$msg->blockers($value)Type:
StringA list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::ListWorkloadsRequest
Request for fetching workloads in an organization.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent Resource to list workloads from. Must be of the form `organizations/{org_id}/locations/{location}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Page size.
$msg->page_token()/$msg->page_token($value)Type:
StringPage token returned from previous request. Page token contains context from previous request. Page token needs to be passed in the second and following requests.
$msg->filter()/$msg->filter($value)Type:
StringA custom filter for filtering by properties of a workload. At this time, only filtering by labels is supported.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::ListWorkloadsResponse
Response of ListWorkloads endpoint.
Inherits from Protobuf::Message.
Accessors
$msg->workloads()/$msg->workloads($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload)List of Workloads under a given parent.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe next page token. Return empty if reached the last page.
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload
An Workload object for managing highly regulated workloads of cloud customers.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOptional. The resource name of the workload. Format: organizations/{organization}/locations/{location}/workloads/{workload}
Read-only.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. 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
$msg->resources()/$msg->resources($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::ResourceInfo)Output only. The resources associated with this workload. These resources will be created when creating the workload. If any of the projects already exist, the workload creation will fail. Always read only.
$msg->compliance_regime()/$msg->compliance_regime($value)Type:
Enum(Google::Cloud::Assuredworkloads::V1beta1::Workload::ComplianceRegime)Required. Immutable. Compliance Regime associated with this workload.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Immutable. The Workload creation timestamp.
$msg->billing_account()/$msg->billing_account($value)Type:
StringOutput only. 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`.
$msg->il4_settings()/$msg->il4_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::IL4Settings)Input only. Immutable. Settings specific to resources needed for IL4.
$msg->cjis_settings()/$msg->cjis_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::CJISSettings)Input only. Immutable. Settings specific to resources needed for CJIS.
$msg->fedramp_high_settings()/$msg->fedramp_high_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::FedrampHighSettings)Input only. Immutable. Settings specific to resources needed for FedRAMP High.
$msg->fedramp_moderate_settings()/$msg->fedramp_moderate_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::FedrampModerateSettings)Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate.
$msg->etag()/$msg->etag($value)Type:
StringOptional. ETag of the workload, it is calculated on the basis of the Workload contents. It will be used in Update & Delete operations.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::LabelsEntry)Optional. Labels applied to the workload.
$msg->provisioned_resources_parent()/$msg->provisioned_resources_parent($value)Type:
StringInput 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}
$msg->kms_settings()/$msg->kms_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::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.
$msg->resource_settings()/$msg->resource_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::ResourceSettings)Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional.
$msg->kaj_enrollment_state()/$msg->kaj_enrollment_state($value)Type:
Enum(Google::Cloud::Assuredworkloads::V1beta1::Workload::KajEnrollmentState)Output only. Represents the KAJ enrollment state of the given workload.
$msg->enable_sovereign_controls()/$msg->enable_sovereign_controls($value)Type:
BoolOptional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers.
$msg->saa_enrollment_response()/$msg->saa_enrollment_response($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::SaaEnrollmentResponse)Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page.
$msg->compliant_but_disallowed_services()/$msg->compliant_but_disallowed_services($value)Type:
StringOutput 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."
Enum: Workload::ComplianceRegime
COMPLIANCE_REGIME_UNSPECIFIED=>0IL4=>1CJIS=>2FEDRAMP_HIGH=>3FEDRAMP_MODERATE=>4US_REGIONAL_ACCESS=>5HIPAA=>6HITRUST=>7EU_REGIONS_AND_SUPPORT=>8CA_REGIONS_AND_SUPPORT=>9ITAR=>10AU_REGIONS_AND_US_SUPPORT=>11
Enum: Workload::KajEnrollmentState
KAJ_ENROLLMENT_STATE_UNSPECIFIED=>0KAJ_ENROLLMENT_STATE_PENDING=>1KAJ_ENROLLMENT_STATE_COMPLETE=>2
Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::CreateWorkloadOperationMetadata
Operation metadata to give request details of CreateWorkload.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. Time when the operation was created.
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. The display name of the workload.
$msg->parent()/$msg->parent($value)Type:
StringOptional. The parent of the workload.
$msg->compliance_regime()/$msg->compliance_regime($value)Type:
Enum(Google::Cloud::Assuredworkloads::V1beta1::Workload::ComplianceRegime)Optional. Compliance controls that should be applied to the resources managed by the workload.
$msg->resource_settings()/$msg->resource_settings($value)Type:
Message(Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Workload::ResourceSettings)Optional. Resource properties in the input that are used for creating/customizing workload resources.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Assuredworkloads::V1beta1::Assuredworkloads::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.