Close httplib2 connections.
getDeveloperRegistration(name, x__xgafv=None)
Retrieves a developer registration for a merchant.
registerGcp(name, body=None, x__xgafv=None)
Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on.
unregisterGcp(name, body=None, x__xgafv=None)
Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call.
close()
Close httplib2 connections.
getDeveloperRegistration(name, x__xgafv=None)
Retrieves a developer registration for a merchant. Args: name: string, Required. The `name` (ID) of the developer registration. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents a developer registration owned by a Merchant account. "gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. }
registerGcp(name, body=None, x__xgafv=None)
Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an "API developer" and add the "developer_email" as a contact with "API notifications" email preference on. Args: name: string, Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` (required) body: object, The request body. The object takes the form of: { # Request message for the RegisterGCP method. "developerEmail": "A String", # Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have "API developer" access type and the email preference corresponding to that user will be updated to have the new "API notifications" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new "API notifications" preference } x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # Represents a developer registration owned by a Merchant account. "gcpIds": [ # Output only. The GCP ids attached to this developer registration "A String", ], "name": "A String", # Identifier. The `name` (ID) of the developer registration. Generated by the Content API upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration. }
unregisterGcp(name, body=None, x__xgafv=None)
Unregister the calling GCP from the calling shopping account. Note that the GCP will still be able to access the API for at most 1 day from the unregister succussful call. Args: name: string, Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: `accounts/{account}/developerRegistration` (required) body: object, The request body. The object takes the form of: { # Request message for the UnregisterGCP method. } 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); } }