Debian Codegraph @

docs/dyn/marketingplatformadmin_v1alpha.organizations.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="marketingplatformadmin_v1alpha.html">Google Marketing Platform Admin API</a> . <a href="marketingplatformadmin_v1alpha.organizations.html">organizations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="marketingplatformadmin_v1alpha.organizations.analyticsAccountLinks.html">analyticsAccountLinks()</a></code>
79 </p>
80 <p class="firstline">Returns the analyticsAccountLinks Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#findSalesPartnerManagedClients">findSalesPartnerManagedClients(organization, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.</p>
88 <p class="toc_element">
89 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Looks up a single organization.</p>
91 <p class="toc_element">
92 <code><a href="#list">list(pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns a list of organizations that the user has access to.</p>
94 <p class="toc_element">
95 <code><a href="#list_next">list_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <p class="toc_element">
98 <code><a href="#reportPropertyUsage">reportPropertyUsage(organization, body=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Gets the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.</p>
100 <h3>Method Details</h3>
101 <div class="method">
102 <code class="details" id="close">close()</code>
103 <pre>Close httplib2 connections.</pre>
104 </div>
105
106 <div class="method">
107 <code class="details" id="findSalesPartnerManagedClients">findSalesPartnerManagedClients(organization, body=None, x__xgafv=None)</code>
108 <pre>Returns a list of clients managed by the sales partner organization. User needs to be an OrgAdmin/BillingAdmin on the sales partner organization in order to view the end clients.
109
110 Args:
111 organization: string, Required. The name of the sales partner organization. Format: organizations/{org_id} (required)
112 body: object, The request body.
113 The object takes the form of:
114
115 { # Request message for FindSalesPartnerManagedClients RPC.
116 &quot;isActive&quot;: True or False, # Optional. If set, only active and just ended clients will be returned.
117 }
118
119 x__xgafv: string, V1 error format.
120 Allowed values
121 1 - v1 error format
122 2 - v2 error format
123
124 Returns:
125 An object of the form:
126
127 { # Response message for FindSalesPartnerManagedClients RPC.
128 &quot;clientData&quot;: [ # The clients managed by the sales org.
129 { # Contains the client data.
130 &quot;endDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The end date of the contract between the sales org and the end client.
131 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
132 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
133 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
134 },
135 &quot;organization&quot;: { # A resource message representing a Google Marketing Platform organization. # The end client that has/had contract with the requested sales org.
136 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name for the organization.
137 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the GMP organization. Format: organizations/{org_id}
138 },
139 &quot;startDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The start date of the contract between the sales org and the end client.
140 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
141 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
142 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
143 },
144 },
145 ],
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="get">get(name, x__xgafv=None)</code>
151 <pre>Looks up a single organization.
152
153 Args:
154 name: string, Required. The name of the Organization to retrieve. Format: organizations/{org_id} (required)
155 x__xgafv: string, V1 error format.
156 Allowed values
157 1 - v1 error format
158 2 - v2 error format
159
160 Returns:
161 An object of the form:
162
163 { # A resource message representing a Google Marketing Platform organization.
164 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name for the organization.
165 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the GMP organization. Format: organizations/{org_id}
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="list">list(pageSize=None, pageToken=None, x__xgafv=None)</code>
171 <pre>Returns a list of organizations that the user has access to.
172
173 Args:
174 pageSize: integer, Optional. The maximum number of organizations to return in one call. The service may return fewer than this value. If unspecified, at most 50 organizations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
175 pageToken: string, Optional. A page token, received from a previous ListOrganizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListOrganizations` must match the call that provided the page token.
176 x__xgafv: string, V1 error format.
177 Allowed values
178 1 - v1 error format
179 2 - v2 error format
180
181 Returns:
182 An object of the form:
183
184 { # Response message for ListOrganizations RPC.
185 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
186 &quot;organizations&quot;: [ # The Organization resource that the user has access to, which includes the org id and display name.
187 { # A resource message representing a Google Marketing Platform organization.
188 &quot;displayName&quot;: &quot;A String&quot;, # The human-readable name for the organization.
189 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the GMP organization. Format: organizations/{org_id}
190 },
191 ],
192 }</pre>
193 </div>
194
195 <div class="method">
196 <code class="details" id="list_next">list_next()</code>
197 <pre>Retrieves the next page of results.
198
199 Args:
200 previous_request: The request for the previous page. (required)
201 previous_response: The response from the request for the previous page. (required)
202
203 Returns:
204 A request object that you can call &#x27;execute()&#x27; on to request the next
205 page. Returns None if there are no more items in the collection.
206 </pre>
207 </div>
208
209 <div class="method">
210 <code class="details" id="reportPropertyUsage">reportPropertyUsage(organization, body=None, x__xgafv=None)</code>
211 <pre>Gets the usage and billing data for properties within the organization for the specified month. Per direct client org, user needs to be OrgAdmin/BillingAdmin on the organization in order to view the billing and usage data. Per sales partner client org, user needs to be OrgAdmin/BillingAdmin on the sales partner org in order to view the billing and usage data, or OrgAdmin/BillingAdmin on the sales partner client org in order to view the usage data only.
212
213 Args:
214 organization: string, Required. Specifies the organization whose property usage will be listed. Format: organizations/{org_id} (required)
215 body: object, The request body.
216 The object takes the form of:
217
218 { # Request message for ReportPropertyUsage RPC.
219 &quot;month&quot;: &quot;A String&quot;, # Required. The target month to list property usages. Format: YYYY-MM. For example, &quot;2025-05&quot;
220 }
221
222 x__xgafv: string, V1 error format.
223 Allowed values
224 1 - v1 error format
225 2 - v2 error format
226
227 Returns:
228 An object of the form:
229
230 { # Response message for ReportPropertyUsage RPC.
231 &quot;billInfo&quot;: { # Contains the bill amount. # Bill amount in the specified organization and month. Will be empty if user only has access to usage data.
232 &quot;baseFee&quot;: { # Represents an amount of money with its currency type. # The amount of the monthly base fee.
233 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
234 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
235 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
236 },
237 &quot;eventFee&quot;: { # Represents an amount of money with its currency type. # The amount of the event fee.
238 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
239 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
240 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
241 },
242 &quot;priceProtectionCredit&quot;: { # Represents an amount of money with its currency type. # The amount of the price protection credit, this is only available for eligible customers.
243 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
244 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
245 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
246 },
247 &quot;total&quot;: { # Represents an amount of money with its currency type. # The total amount of the bill.
248 &quot;currencyCode&quot;: &quot;A String&quot;, # The three-letter currency code defined in ISO 4217.
249 &quot;nanos&quot;: 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
250 &quot;units&quot;: &quot;A String&quot;, # The whole units of the amount. For example if `currencyCode` is `&quot;USD&quot;`, then 1 unit is one US dollar.
251 },
252 },
253 &quot;propertyUsages&quot;: [ # Usage data for all properties in the specified organization and month.
254 { # Contains the count of events received by the property, along with metadata that influences the volume of `billable` events.
255 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the property&#x27;s parent account.
256 &quot;billableEventCount&quot;: &quot;A String&quot;, # The number of events for which the property is billed in the requested month.
257 &quot;displayName&quot;: &quot;A String&quot;, # The display name of the property.
258 &quot;property&quot;: &quot;A String&quot;, # The name of the Google Analytics Admin API property resource. Format: analyticsadmin.googleapis.com/properties/{property_id}
259 &quot;propertyType&quot;: &quot;A String&quot;, # The subtype of the analytics property. This affects the billable event count.
260 &quot;serviceLevel&quot;: &quot;A String&quot;, # The service level of the property.
261 &quot;totalEventCount&quot;: &quot;A String&quot;, # Total event count that the property received during the requested month.
262 },
263 ],
264 }</pre>
265 </div>
266
267 </body></html>