App Hub v1 API - Class UpdateWorkloadRequest (1.0.0-beta02)

public sealed class UpdateWorkloadRequest : IMessage<UpdateWorkloadRequest>, IEquatable<UpdateWorkloadRequest>, IDeepCloneable<UpdateWorkloadRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the App Hub v1 API class UpdateWorkloadRequest.

Request for UpdateWorkload.

Inheritance

object > UpdateWorkloadRequest

Namespace

Google.Cloud.AppHub.V1

Assembly

Google.Cloud.AppHub.V1.dll

Constructors

UpdateWorkloadRequest()

public UpdateWorkloadRequest()

UpdateWorkloadRequest(UpdateWorkloadRequest)

public UpdateWorkloadRequest(UpdateWorkloadRequest other)
Parameter
Name Description
other UpdateWorkloadRequest

Properties

RequestId

public string RequestId { get; set; }

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Property Value
Type Description
string

UpdateMask

public FieldMask UpdateMask { get; set; }

Required. Field mask is used to specify the fields to be overwritten in the Workload resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. The API changes the values of the fields as specified in the update_mask. The API ignores the values of all fields not covered by the update_mask. You can also unset a field by not specifying it in the updated message, but adding the field to the mask. This clears whatever value the field previously had.

Property Value
Type Description
FieldMask

Workload

public Workload Workload { get; set; }

Required. The resource being updated.

Property Value
Type Description
Workload