Debian Codegraph @

docs/dyn/merchantapi_accounts_v1.accounts.developerRegistration.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="merchantapi_accounts_v1.html">Merchant API</a> . <a href="merchantapi_accounts_v1.accounts.html">accounts</a> . <a href="merchantapi_accounts_v1.accounts.developerRegistration.html">developerRegistration</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</a></code></p>
82 <p class="firstline">Retrieves the merchant account that the calling GCP is registered with.</p>
83 <p class="toc_element">
84 <code><a href="#getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Retrieves a developer registration for a merchant.</p>
86 <p class="toc_element">
87 <code><a href="#registerGcp">registerGcp(name, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">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. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.</p>
89 <p class="toc_element">
90 <code><a href="#unregisterGcp">unregisterGcp(name, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">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.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="getAccountForGcpRegistration">getAccountForGcpRegistration(x__xgafv=None)</code>
100 <pre>Retrieves the merchant account that the calling GCP is registered with.
101
102 Args:
103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
107
108 Returns:
109 An object of the form:
110
111 { # Response message for the GetAccountForGcpRegistration method.
112 &quot;name&quot;: &quot;A String&quot;, # The name of the merchant account id that the GCP is registered with.
113 }</pre>
114 </div>
115
116 <div class="method">
117 <code class="details" id="getDeveloperRegistration">getDeveloperRegistration(name, x__xgafv=None)</code>
118 <pre>Retrieves a developer registration for a merchant.
119
120 Args:
121 name: string, Required. The `name` (ID) of the developer registration. (required)
122 x__xgafv: string, V1 error format.
123 Allowed values
124 1 - v1 error format
125 2 - v2 error format
126
127 Returns:
128 An object of the form:
129
130 { # Represents a developer registration owned by a Merchant account.
131 &quot;gcpIds&quot;: [ # Output only. The GCP ids attached to this developer registration
132 &quot;A String&quot;,
133 ],
134 &quot;name&quot;: &quot;A String&quot;, # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.
135 }</pre>
136 </div>
137
138 <div class="method">
139 <code class="details" id="registerGcp">registerGcp(name, body=None, x__xgafv=None)</code>
140 <pre>Registers the GCP used for the API call to the shopping account passed in the request. Will create a user with an &quot;API developer&quot; and add the &quot;developer_email&quot; as a contact with &quot;API notifications&quot; email preference on. Restrictions: * The caller account must be authenticated and must not impersonate another account at registration time. Registering for subaccounts is not supported if the caller account is authenticated with the parent or the managing advanced account. * The caller account must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. * [Test accounts](https://developers.google.com/merchant/api/guides/accounts/test-accounts) are not eligible for registration.
141
142 Args:
143 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` The {account} used must be the same account where user calling this API method is directly added to. Note: The account used must be a production account (can&#x27;t be a [test account](https://developers.google.com/merchant/api/guides/accounts/test-accounts) ) and must have a [verified website](https://support.google.com/merchants/answer/11586344) in Merchant Center. (required)
144 body: object, The request body.
145 The object takes the form of:
146
147 { # Request message for the RegisterGCP method.
148 &quot;developerEmail&quot;: &quot;A String&quot;, # Immutable. Optional field. Developer role can be also added by using `users.update` method. If the developer email provided is associated with a user in the provided merchant account, the user will be updated to have `API_DEVELOPER` `access_rights` 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, it is added as a contact. The email preference corresponding to that contact will have the new API notifications preference. Make sure the email used is associated with a Google Account and is not a service account as service accounts can&#x27;t receive emails.
149 }
150
151 x__xgafv: string, V1 error format.
152 Allowed values
153 1 - v1 error format
154 2 - v2 error format
155
156 Returns:
157 An object of the form:
158
159 { # Represents a developer registration owned by a Merchant account.
160 &quot;gcpIds&quot;: [ # Output only. The GCP ids attached to this developer registration
161 &quot;A String&quot;,
162 ],
163 &quot;name&quot;: &quot;A String&quot;, # Identifier. The `name` (ID) of the developer registration. Generated upon creation of a new `DeveloperRegistration`. The `account` represents the merchant ID of the merchant that owns the registration.
164 }</pre>
165 </div>
166
167 <div class="method">
168 <code class="details" id="unregisterGcp">unregisterGcp(name, body=None, x__xgafv=None)</code>
169 <pre>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.
170
171 Args:
172 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)
173 body: object, The request body.
174 The object takes the form of:
175
176 { # Request message for the UnregisterGCP method.
177 }
178
179 x__xgafv: string, V1 error format.
180 Allowed values
181 1 - v1 error format
182 2 - v2 error format
183
184 Returns:
185 An object of the form:
186
187 { # 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); }
188 }</pre>
189 </div>
190
191 </body></html>