Assured Workloads for Government V1 API - Class Google::Cloud::AssuredWorkloads::V1::RestrictAllowedResourcesRequest (v0.8.0)

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

Request for restricting list of available resources in Workload environment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. 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".

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. 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".
Returns
  • (::String) — Required. 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".

#restriction_type

def restriction_type() -> ::Google::Cloud::AssuredWorkloads::V1::RestrictAllowedResourcesRequest::RestrictionType
Returns

#restriction_type=

def restriction_type=(value) -> ::Google::Cloud::AssuredWorkloads::V1::RestrictAllowedResourcesRequest::RestrictionType
Parameter
Returns