Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AuthorizationsResource

The "authorizations" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AuthorizationsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.AuthorizationsResource

Constructors

AuthorizationsResource(IClientService)

Constructs a new resource.

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

Methods

Create(GoogleCloudDiscoveryengineV1alphaAuthorization, string)

Creates an Authorization.

Declaration
public virtual ProjectsResource.LocationsResource.AuthorizationsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaAuthorization body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaAuthorization body

The body of the request.

string parent

Required. The parent resource name. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.AuthorizationsResource.CreateRequest

Delete(string)

Deletes an Authorization.

Declaration
public virtual ProjectsResource.LocationsResource.AuthorizationsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of Authorization. Format: projects/{project}/locations/{location}/authorizations/{authorization} If the caller does not have permission to delete the authorization, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the authorization to delete does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.AuthorizationsResource.DeleteRequest

Get(string)

Gets an Authorization.

Declaration
public virtual ProjectsResource.LocationsResource.AuthorizationsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of Authorization. Format: projects/{project}/locations/{location}/authorizations/{authorization}

Returns
Type Description
ProjectsResource.LocationsResource.AuthorizationsResource.GetRequest

List(string)

Lists all Authorizations under an Engine.

Declaration
public virtual ProjectsResource.LocationsResource.AuthorizationsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource name. Format: projects/{project}/locations/{location}

Returns
Type Description
ProjectsResource.LocationsResource.AuthorizationsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1alphaAuthorization, string)

Updates an Authorization

Declaration
public virtual ProjectsResource.LocationsResource.AuthorizationsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaAuthorization body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaAuthorization body

The body of the request.

string name

Identifier. Resource name of the authorization. Format: projects/{project}/locations/{location}/authorizations/{authorization} It must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
Type Description
ProjectsResource.LocationsResource.AuthorizationsResource.PatchRequest
In this article
Back to top Generated by DocFX