Class ProjectsResource.LocationsResource.KeysResource.GetKeyStringRequest
Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value
for location is global
.
Inheritance
object
ProjectsResource.LocationsResource.KeysResource.GetKeyStringRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ApiKeysService.v2
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class ProjectsResource.LocationsResource.KeysResource.GetKeyStringRequest : ApiKeysServiceBaseServiceRequest<V2GetKeyStringResponse>, IClientServiceRequest<V2GetKeyStringResponse>, IClientServiceRequest
Constructors
GetKeyStringRequest(IClientService, string)
Constructs a new GetKeyString request.
Declaration
public GetKeyStringRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2GetKeyStringResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2GetKeyStringResponse>.MethodName
Name
Required. The resource name of the API key to be retrieved.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2GetKeyStringResponse>.RestPath
Methods
InitParameters()
Initializes GetKeyString parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ApiKeysService.v2.ApiKeysServiceBaseServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2GetKeyStringResponse>.InitParameters()