Google Shopping Merchant Accounts V1beta Client - Class RetrieveForApplicationTermsOfServiceAgreementStateRequest (0.2.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class RetrieveForApplicationTermsOfServiceAgreementStateRequest.

Request message for the RetrieveForApplicationTermsOfServiceAgreementState method.

Generated from protobuf message google.shopping.merchant.accounts.v1beta.RetrieveForApplicationTermsOfServiceAgreementStateRequest

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

getParent

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

Returns
Type Description
string

setParent

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The account for which to get a TermsOfServiceAgreementState Format: accounts/{account} Please see Google\Shopping\Merchant\Accounts\V1beta\TermsOfServiceAgreementStateServiceClient::accountName() for help formatting this field.

Returns
Type Description
Google\Shopping\Merchant\Accounts\V1beta\RetrieveForApplicationTermsOfServiceAgreementStateRequest