Class OrganizationsResource.LocationsResource.WorkloadsResource.UpdatesResource.ApplyRequest
This endpoint creates a new operation to apply the given update.
Inheritance
OrganizationsResource.LocationsResource.WorkloadsResource.UpdatesResource.ApplyRequest
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1beta1
Assembly: Google.Apis.Assuredworkloads.v1beta1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.UpdatesResource.ApplyRequest : AssuredworkloadsBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ApplyRequest(IClientService, GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest, string)
Constructs a new Apply request.
Declaration
public ApplyRequest(IClientService service, GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The resource name of the update. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}/updates/{update_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Apply parameter list.
Declaration
protected override void InitParameters()