Class OrganizationsResource.GcpUserAccessBindingsResource.PatchRequest
Updates a GcpUserAccessBinding. Completion of this long-running operation does not necessarily signify that the changed binding is deployed onto all affected users, which may take more time.
Inheritance
Inherited Members
Namespace: Google.Apis.AccessContextManager.v1
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class OrganizationsResource.GcpUserAccessBindingsResource.PatchRequest : AccessContextManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GcpUserAccessBinding, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GcpUserAccessBinding body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GcpUserAccessBinding | body | |
string | name |
Properties
Append
Optional. This field controls whether or not certain repeated settings in the update request overwrite or append to existing settings on the binding. If true, then append. Otherwise overwrite. So far, only scoped_access_settings with reauth_settings supports appending. Global access_levels, access_levels in scoped_access_settings, dry_run_access_levels, reauth_settings, and session_settings are not compatible with append functionality, and the request will return an error if append=true when these settings are in the update_mask. The request will also return an error if append=true when "scoped_access_settings" is not set in the update_mask.
Declaration
[RequestParameter("append", RequestParameterType.Query)]
public virtual bool? Append { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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. Assigned by the server during creation. The last segment has an arbitrary length and has only URI unreserved characters (as defined by RFC 3986 Section 2.3). Should not be specified by the client during creation. Example: "organizations/256/gcpUserAccessBindings/b3-BhcX_Ud5N"
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. Only the fields specified in this mask are updated. Because name and group_key cannot be
changed, update_mask is required and may only contain the following fields: access_levels
,
dry_run_access_levels
, reauth_settings
session_settings
, scoped_access_settings
. update_mask
{ paths: "access_levels" }
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()