Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.KeysResource.GetRequest

Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<V2Key>
ApiKeysServiceBaseServiceRequest<V2Key>
ProjectsResource.LocationsResource.KeysResource.GetRequest
Implements
Google.Apis.Requests.IClientServiceRequest<V2Key>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
ApiKeysServiceBaseServiceRequest<V2Key>.Xgafv
ApiKeysServiceBaseServiceRequest<V2Key>.AccessToken
ApiKeysServiceBaseServiceRequest<V2Key>.Alt
ApiKeysServiceBaseServiceRequest<V2Key>.Callback
ApiKeysServiceBaseServiceRequest<V2Key>.Fields
ApiKeysServiceBaseServiceRequest<V2Key>.Key
ApiKeysServiceBaseServiceRequest<V2Key>.OauthToken
ApiKeysServiceBaseServiceRequest<V2Key>.PrettyPrint
ApiKeysServiceBaseServiceRequest<V2Key>.QuotaUser
ApiKeysServiceBaseServiceRequest<V2Key>.UploadType
ApiKeysServiceBaseServiceRequest<V2Key>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ApiKeysService.v2
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class GetRequest : ApiKeysServiceBaseServiceRequest<V2Key>, IClientServiceRequest<V2Key>, IClientServiceRequest

Constructors

GetRequest(IClientService, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string name)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.MethodName

Name

Required. The resource name of the API key to get.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.ApiKeysService.v2.ApiKeysServiceBaseServiceRequest<Google.Apis.ApiKeysService.v2.Data.V2Key>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top