Class OrganizationsResource.LocationsResource.WorkloadsResource.MutatePartnerPermissionsRequest
Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
Inheritance
OrganizationsResource.LocationsResource.WorkloadsResource.MutatePartnerPermissionsRequest
Inherited Members
Namespace: Google.Apis.Assuredworkloads.v1
Assembly: Google.Apis.Assuredworkloads.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.WorkloadsResource.MutatePartnerPermissionsRequest : AssuredworkloadsBaseServiceRequest<GoogleCloudAssuredworkloadsV1Workload>, IClientServiceRequest<GoogleCloudAssuredworkloadsV1Workload>, IClientServiceRequest
Constructors
MutatePartnerPermissionsRequest(IClientService, GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest, string)
Constructs a new MutatePartnerPermissions request.
Declaration
public MutatePartnerPermissionsRequest(IClientService service, GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest | 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 name field is used to identify the workload. Format:
organizations/{org_id}/locations/{location_id}/workloads/{workload_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 MutatePartnerPermissions parameter list.
Declaration
protected override void InitParameters()