Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class RetrieveLatestTermsOfServiceRequest.
Request message for the RetrieveLatestTermsOfService method.
Generated from protobuf message google.shopping.merchant.accounts.v1beta.RetrieveLatestTermsOfServiceRequest
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ region_code |
string
Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally. |
↳ kind |
int
Required. The Kind this terms of service version applies to. |
getRegionCode
Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRegionCode
Required. Region code as defined by CLDR. This is either a country when the ToS applies specifically to that country or 001 when it applies globally.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
Required. The Kind this terms of service version applies to.
| Returns | |
|---|---|
| Type | Description |
int |
|
setKind
Required. The Kind this terms of service version applies to.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|