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 \ V1Methods
__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: |
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: |
| Returns | |
|---|---|
| Type | Description |
GetTermsOfServiceAgreementStateRequest |
|