Reference documentation and code samples for the Assured Workloads for Government V1beta1 API class Google::Cloud::AssuredWorkloads::V1beta1::UpdateWorkloadRequest.
Request for Updating a workload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — Required. The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — Required. The list of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — Required. The list of fields to be updated.
#workload
def workload() -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
Returns
-
(::Google::Cloud::AssuredWorkloads::V1beta1::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}
#workload=
def workload=(value) -> ::Google::Cloud::AssuredWorkloads::V1beta1::Workload
Parameter
-
value (::Google::Cloud::AssuredWorkloads::V1beta1::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}
Returns
-
(::Google::Cloud::AssuredWorkloads::V1beta1::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}