Google Cloud Channel V1 Client - Class LookupOfferRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class LookupOfferRequest.

Request message for LookupOffer.

Generated from protobuf message google.cloud.channel.v1.LookupOfferRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entitlement string

Required. The resource name of the entitlement to retrieve the Offer. Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

getEntitlement

Required. The resource name of the entitlement to retrieve the Offer.

Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

Generated from protobuf field string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setEntitlement

Required. The resource name of the entitlement to retrieve the Offer.

Entitlement uses the format: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}

Generated from protobuf field string entitlement = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this