Show / Hide Table of Contents

Class LicenseCodesResource.GetRequest

Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<LicenseCode>
ComputeBaseServiceRequest<LicenseCode>
LicenseCodesResource.GetRequest
Implements
IClientServiceRequest<LicenseCode>
IClientServiceRequest
Inherited Members
ComputeBaseServiceRequest<LicenseCode>.Xgafv
ComputeBaseServiceRequest<LicenseCode>.AccessToken
ComputeBaseServiceRequest<LicenseCode>.Alt
ComputeBaseServiceRequest<LicenseCode>.Callback
ComputeBaseServiceRequest<LicenseCode>.Fields
ComputeBaseServiceRequest<LicenseCode>.Key
ComputeBaseServiceRequest<LicenseCode>.OauthToken
ComputeBaseServiceRequest<LicenseCode>.PrettyPrint
ComputeBaseServiceRequest<LicenseCode>.QuotaUser
ComputeBaseServiceRequest<LicenseCode>.UploadType
ComputeBaseServiceRequest<LicenseCode>.UploadProtocol
ComputeBaseServiceRequest<LicenseCode>.UserIp
ClientServiceRequest<LicenseCode>.Execute()
ClientServiceRequest<LicenseCode>.ExecuteAsStream()
ClientServiceRequest<LicenseCode>.ExecuteAsync()
ClientServiceRequest<LicenseCode>.ExecuteAsync(CancellationToken)
ClientServiceRequest<LicenseCode>.ExecuteAsStreamAsync()
ClientServiceRequest<LicenseCode>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<LicenseCode>.CreateRequest(bool?)
ClientServiceRequest<LicenseCode>.GenerateRequestUri()
ClientServiceRequest<LicenseCode>.GetBody()
ClientServiceRequest<LicenseCode>.GetDefaultETagAction(string)
ClientServiceRequest<LicenseCode>.ETagAction
ClientServiceRequest<LicenseCode>.ModifyRequest
ClientServiceRequest<LicenseCode>.ValidateParameters
ClientServiceRequest<LicenseCode>.RequestParameters
ClientServiceRequest<LicenseCode>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class LicenseCodesResource.GetRequest : ComputeBaseServiceRequest<LicenseCode>, IClientServiceRequest<LicenseCode>, IClientServiceRequest

Constructors

GetRequest(IClientService, string, string)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string project, string licenseCode)
Parameters
Type Name Description
IClientService service
string project
string licenseCode

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.LicenseCode>.HttpMethod

LicenseCode

Number corresponding to the License code resource to return.

Declaration
[RequestParameter("licenseCode", RequestParameterType.Path)]
public virtual string LicenseCode { get; }
Property Value
Type Description
string

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Compute.beta.Data.LicenseCode>.MethodName

Project

Project ID for this request.

Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { 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.Compute.beta.Data.LicenseCode>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Compute.beta.ComputeBaseServiceRequest<Google.Apis.Compute.beta.Data.LicenseCode>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX