Class AccessPoliciesResource.AuthorizedOrgsDescsResource.PatchRequest
Updates an authorized orgs desc. The long-running operation from this RPC has a successful status after
the authorized orgs desc propagates to long-lasting storage. If a authorized orgs desc contains errors,
an error response is returned for the first error encountered. Only the organization list in
AuthorizedOrgsDesc
can be updated. The name, authorization_type, asset_type and
authorization_direction cannot be updated.
Inheritance
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class AccessPoliciesResource.AuthorizedOrgsDescsResource.PatchRequest : AccessContextManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, AuthorizedOrgsDesc, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, AuthorizedOrgsDesc body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AuthorizedOrgsDesc | 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
Identifier. Resource name for the AuthorizedOrgsDesc
. Format:
accessPolicies/{access_policy}/authorizedOrgsDescs/{authorized_orgs_desc}
. The
authorized_orgs_desc
component must begin with a letter, followed by alphanumeric characters or
_
. After you create an AuthorizedOrgsDesc
, you cannot change its name
.
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
Required. Mask to control which fields get updated. Must be non-empty.
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()