Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
EkmConfig
Gets the EkmConfig resource.
Declaration
public virtual ProjectsResource.LocationsResource.EkmConfigResource EkmConfig { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.EkmConfigResource |
EkmConnections
Gets the EkmConnections resource.
Declaration
public virtual ProjectsResource.LocationsResource.EkmConnectionsResource EkmConnections { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.EkmConnectionsResource |
KeyHandles
Gets the KeyHandles resource.
Declaration
public virtual ProjectsResource.LocationsResource.KeyHandlesResource KeyHandles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.KeyHandlesResource |
KeyRings
Gets the KeyRings resource.
Declaration
public virtual ProjectsResource.LocationsResource.KeyRingsResource KeyRings { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.KeyRingsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource |
Methods
GenerateRandomBytes(GenerateRandomBytesRequest, string)
Generate random bytes using the Cloud KMS randomness source in the provided location.
Declaration
public virtual ProjectsResource.LocationsResource.GenerateRandomBytesRequest GenerateRandomBytes(GenerateRandomBytesRequest body, string location)
Parameters
Type | Name | Description |
---|---|---|
GenerateRandomBytesRequest | body | The body of the request. |
string | location | The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GenerateRandomBytesRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Resource name for the location. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GetRequest |
GetEkmConfig(string)
Returns the EkmConfig singleton resource for a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.GetEkmConfigRequest GetEkmConfig(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the EkmConfig to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GetEkmConfigRequest |
List(string)
Lists information about the supported locations for this service.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The resource that owns the locations collection, if applicable. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ListRequest |
UpdateEkmConfig(EkmConfig, string)
Updates the EkmConfig singleton resource for a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.UpdateEkmConfigRequest UpdateEkmConfig(EkmConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
EkmConfig | body | The body of the request. |
string | name | Output only. The resource name for the EkmConfig in the format |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.UpdateEkmConfigRequest |