Class ProjectsResource.LocationsResource.GenerateRandomBytesRequest
Generate random bytes using the Cloud KMS randomness source in the provided location.
Inheritance
ProjectsResource.LocationsResource.GenerateRandomBytesRequest
Inherited Members
Namespace: Google.Apis.CloudKMS.v1
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class ProjectsResource.LocationsResource.GenerateRandomBytesRequest : CloudKMSBaseServiceRequest<GenerateRandomBytesResponse>, IClientServiceRequest<GenerateRandomBytesResponse>, IClientServiceRequest
Constructors
GenerateRandomBytesRequest(IClientService, GenerateRandomBytesRequest, string)
Constructs a new GenerateRandomBytes request.
Declaration
public GenerateRandomBytesRequest(IClientService service, GenerateRandomBytesRequest body, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateRandomBytesRequest | body | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes GenerateRandomBytes parameter list.
Declaration
protected override void InitParameters()