Class AccountsResource.CustomersResource.EntitlementsResource.LookupOfferRequest
Returns the requested Offer resource. Possible error codes: * PERMISSION_DENIED: The entitlement doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Entitlement or offer was not found. Return value: The Offer resource.
Inheritance
AccountsResource.CustomersResource.EntitlementsResource.LookupOfferRequest
Inherited Members
Namespace: Google.Apis.Cloudchannel.v1
Assembly: Google.Apis.Cloudchannel.v1.dll
Syntax
public class AccountsResource.CustomersResource.EntitlementsResource.LookupOfferRequest : CloudchannelBaseServiceRequest<GoogleCloudChannelV1Offer>, IClientServiceRequest<GoogleCloudChannelV1Offer>, IClientServiceRequest
Constructors
LookupOfferRequest(IClientService, string)
Constructs a new LookupOffer request.
Declaration
public LookupOfferRequest(IClientService service, string entitlement)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | entitlement |
Properties
Entitlement
Required. The resource name of the entitlement to retrieve the Offer. Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}
Declaration
[RequestParameter("entitlement", RequestParameterType.Path)]
public virtual string Entitlement { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
InitParameters()
Initializes LookupOffer parameter list.
Declaration
protected override void InitParameters()