Class OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest
Updates an existing policy orchestrator, parented by an organization.
Inheritance
Inherited Members
Namespace: Google.Apis.OSConfig.v2
Assembly: Google.Apis.OSConfig.v2.dll
Syntax
public class OrganizationsResource.LocationsResource.GlobalResource.PolicyOrchestratorsResource.PatchRequest : OSConfigBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudOsconfigV2PolicyOrchestrator, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudOsconfigV2PolicyOrchestrator body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudOsconfigV2PolicyOrchestrator | 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
Immutable. Identifier. In form of *
organizations/{organization_id}/locations/global/policyOrchestrators/{orchestrator_id}
*
folders/{folder_id}/locations/global/policyOrchestrators/{orchestrator_id}
*
projects/{project_id_or_number}/locations/global/policyOrchestrators/{orchestrator_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
UpdateMask
Optional. The list of fields to merge into the existing policy orchestrator. A special ["*"]
field mask can be used to simply replace the entire resource. Otherwise, for all paths
referenced in the mask, following merge rules are used: * output only fields are ignored, *
primitive fields are replaced, * repeated fields are replaced, * map fields are merged key
by key, * message fields are cleared if not set in the request, otherwise they are merged
recursively (in particular - message fields set to an empty message has no side effects) If
field mask (or its paths) is not specified, it is automatically inferred from the request
using following rules: * primitive fields are listed, if set to a non-default value (as
there is no way to distinguish between default and unset value), * map and repeated fields
are listed, * google.protobuf.Any
fields are listed, * other message fields are traversed
recursively. Note: implicit mask does not allow clearing fields.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()