Google Shopping Merchant Accounts V1 Client - Class GetTermsOfServiceAgreementStateRequest (1.0.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class GetTermsOfServiceAgreementStateRequest.

Request message for the GetTermsOfServiceAgreementState method.

Generated from protobuf message google.shopping.merchant.accounts.v1.GetTermsOfServiceAgreementStateRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the terms of service version. Format: accounts/{account}/termsOfServiceAgreementStates/{identifier} The identifier format is: {TermsOfServiceKind}-{country}

getName

Required. The resource name of the terms of service version.

Format: accounts/{account}/termsOfServiceAgreementStates/{identifier} The identifier format is: {TermsOfServiceKind}-{country}

Returns
Type Description
string

setName

Required. The resource name of the terms of service version.

Format: accounts/{account}/termsOfServiceAgreementStates/{identifier} The identifier format is: {TermsOfServiceKind}-{country}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the terms of service version. Format: accounts/{account}/termsOfServiceAgreementStates/{identifier} The identifier format is: {TermsOfServiceKind}-{country} Please see TermsOfServiceAgreementStateServiceClient::termsOfServiceAgreementStateName() for help formatting this field.

Returns
Type Description
GetTermsOfServiceAgreementStateRequest