Show / Hide Table of Contents

Class AccessPoliciesResource.AuthorizedOrgsDescsResource

The "authorizedOrgsDescs" collection of methods.

Inheritance
object
AccessPoliciesResource.AuthorizedOrgsDescsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AccessContextManager.v1
Assembly: Google.Apis.AccessContextManager.v1.dll
Syntax
public class AccessPoliciesResource.AuthorizedOrgsDescsResource

Constructors

AuthorizedOrgsDescsResource(IClientService)

Constructs a new resource.

Declaration
public AuthorizedOrgsDescsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(AuthorizedOrgsDesc, string)

Creates 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. The name of this AuthorizedOrgsDesc will be assigned during creation.

Declaration
public virtual AccessPoliciesResource.AuthorizedOrgsDescsResource.CreateRequest Create(AuthorizedOrgsDesc body, string parent)
Parameters
Type Name Description
AuthorizedOrgsDesc body

The body of the request.

string parent

Required. Resource name for the access policy which owns this Authorized Orgs Desc. Format: accessPolicies/{policy_id}

Returns
Type Description
AccessPoliciesResource.AuthorizedOrgsDescsResource.CreateRequest

Delete(string)

Deletes an authorized orgs desc based on the resource name. The long-running operation from this RPC has a successful status after the authorized orgs desc is removed from long-lasting storage.

Declaration
public virtual AccessPoliciesResource.AuthorizedOrgsDescsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name for the Authorized Orgs Desc. Format: accessPolicies/{policy_id}/authorizedOrgsDesc/{authorized_orgs_desc_id}

Returns
Type Description
AccessPoliciesResource.AuthorizedOrgsDescsResource.DeleteRequest

Get(string)

Gets an authorized orgs desc based on the resource name.

Declaration
public virtual AccessPoliciesResource.AuthorizedOrgsDescsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name for the Authorized Orgs Desc. Format: accessPolicies/{policy_id}/authorizedOrgsDescs/{authorized_orgs_descs_id}

Returns
Type Description
AccessPoliciesResource.AuthorizedOrgsDescsResource.GetRequest

List(string)

Lists all authorized orgs descs for an access policy.

Declaration
public virtual AccessPoliciesResource.AuthorizedOrgsDescsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Resource name for the access policy to list Authorized Orgs Desc from. Format: accessPolicies/{policy_id}

Returns
Type Description
AccessPoliciesResource.AuthorizedOrgsDescsResource.ListRequest

Patch(AuthorizedOrgsDesc, string)

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.

Declaration
public virtual AccessPoliciesResource.AuthorizedOrgsDescsResource.PatchRequest Patch(AuthorizedOrgsDesc body, string name)
Parameters
Type Name Description
AuthorizedOrgsDesc body

The body of the request.

string 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.

Returns
Type Description
AccessPoliciesResource.AuthorizedOrgsDescsResource.PatchRequest
In this article
Back to top Generated by DocFX