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
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
The Kind this terms of service version applies to. |
getRegionCode
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
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
The Kind this terms of service version applies to.
Returns | |
---|---|
Type | Description |
int |
setKind
The Kind this terms of service version applies to.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |