accept(name, account=None, regionCode=None, x__xgafv=None)
Accepts a `TermsOfService`. Executing this method requires admin access.
Close httplib2 connections.
Retrieves the `TermsOfService` associated with the provided version.
retrieveLatest(kind=None, regionCode=None, x__xgafv=None)
Retrieves the latest version of the `TermsOfService` for a given `kind` and `region_code`.
accept(name, account=None, regionCode=None, x__xgafv=None)
Accepts a `TermsOfService`. Executing this method requires admin access. Args: name: string, Required. The resource name of the terms of service version. Format: `termsOfService/{version}` (required) account: string, Required. The account for which to accept the ToS. regionCode: string, Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } }
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Retrieves the `TermsOfService` associated with the provided version. Args: name: string, Required. The resource name of the terms of service version. Format: `termsOfService/{version}` (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The `TermsOfService` message represents a specific version of the terms of service that merchants must accept to access certain features or services (see https://support.google.com/merchants/answer/160173). This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given `kind` and `region` through `RetrieveLatestTermsOfService`, and accept them as required through `AcceptTermsOfService`. "external": True or False, # Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API. "fileUri": "A String", # URI for terms of service file that needs to be displayed to signing users. "kind": "A String", # The Kind this terms of service version applies to. "name": "A String", # Identifier. The resource name of the terms of service version. Format: `termsOfService/{version}` "regionCode": "A String", # Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country where the ToS applies specifically to that country or `001` when the same `TermsOfService` can be signed in any country. However note that when signing a ToS that applies globally we still expect that a specific country is provided (this should be merchant business country or program country of participation). }
retrieveLatest(kind=None, regionCode=None, x__xgafv=None)
Retrieves the latest version of the `TermsOfService` for a given `kind` and `region_code`. Args: kind: string, Required. The Kind this terms of service version applies to. Allowed values TERMS_OF_SERVICE_KIND_UNSPECIFIED - Default value. This value is unused. MERCHANT_CENTER - Merchant Center application. regionCode: string, Required. Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country when the ToS applies specifically to that country or 001 when it applies globally. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The `TermsOfService` message represents a specific version of the terms of service that merchants must accept to access certain features or services (see https://support.google.com/merchants/answer/160173). This message is important for the onboarding process, ensuring that merchants agree to the necessary legal agreements for using the service. Merchants can retrieve the latest terms of service for a given `kind` and `region` through `RetrieveLatestTermsOfService`, and accept them as required through `AcceptTermsOfService`. "external": True or False, # Whether this terms of service version is external. External terms of service versions can only be agreed through external processes and not directly by the merchant through UI or API. "fileUri": "A String", # URI for terms of service file that needs to be displayed to signing users. "kind": "A String", # The Kind this terms of service version applies to. "name": "A String", # Identifier. The resource name of the terms of service version. Format: `termsOfService/{version}` "regionCode": "A String", # Region code as defined by [CLDR](https://cldr.unicode.org/). This is either a country where the ToS applies specifically to that country or `001` when the same `TermsOfService` can be signed in any country. However note that when signing a ToS that applies globally we still expect that a specific country is provided (this should be merchant business country or program country of participation). }