Class ProjectsResource.LocationsResource.AuthorizationsResource
The "authorizations" collection of methods.
Inherited Members
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: |
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:
|
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:
|
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: |
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:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AuthorizationsResource.PatchRequest |