Class AccessPoliciesResource.AuthorizedOrgsDescsResource
The "authorizedOrgsDescs" collection of methods.
Inherited Members
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:
|
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:
|
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:
|
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:
|
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 |
Returns
Type | Description |
---|---|
AccessPoliciesResource.AuthorizedOrgsDescsResource.PatchRequest |