Google Cloud Channel V1 Client - Class GetEntitlementRequest (1.0.1)

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

Request message for CloudChannelService.GetEntitlement.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

Required. The resource name of the entitlement to retrieve.

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

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

Returns
TypeDescription
string

setName

Required. The resource name of the entitlement to retrieve.

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this