Debian Codegraph @

docs/dyn/serviceconsumermanagement_v1.services.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="serviceconsumermanagement_v1.html">Service Consumer Management API</a> . <a href="serviceconsumermanagement_v1.services.html">services</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="serviceconsumermanagement_v1.services.tenancyUnits.html">tenancyUnits()</a></code>
79 </p>
80 <p class="firstline">Returns the tenancyUnits 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="#search">search(parent, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Search tenancy units for a managed service.</p>
88 <p class="toc_element">
89 <code><a href="#search_next">search_next()</a></code></p>
90 <p class="firstline">Retrieves the next page of results.</p>
91 <h3>Method Details</h3>
92 <div class="method">
93 <code class="details" id="close">close()</code>
94 <pre>Close httplib2 connections.</pre>
95 </div>
96
97 <div class="method">
98 <code class="details" id="search">search(parent, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
99 <pre>Search tenancy units for a managed service.
100
101 Args:
102 parent: string, Required. Service for which search is performed. services/{service} {service} the name of a service, for example &#x27;service.googleapis.com&#x27;. (required)
103 pageSize: integer, Optional. The maximum number of results returned by this request. Currently, the default maximum is set to 256. If `page_size` &lt;= 256, the request proceeds. Else, the request fails with an `TU_INVALID_PAGE_SIZE` error.
104 pageToken: string, Optional. The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of `nextPageToken` from the previous response.
105 query: string, Optional. Set a query `{expression}` for querying tenancy units. Your `{expression}` must be in the format: `field_name=literal_string`. The `field_name` is the name of the field you want to compare. Supported fields are `tenant_resources.tag` and `tenant_resources.resource`. For example, to search tenancy units that contain at least one tenant resource with a given tag &#x27;xyz&#x27;, use the query `tenant_resources.tag=xyz`. To search tenancy units that contain at least one tenant resource with a given resource name &#x27;projects/123456&#x27;, use the query `tenant_resources.resource=projects/123456`. Multiple expressions can be joined with `AND`s. Tenancy units must match all expressions to be included in the result set. For example, `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`
106 x__xgafv: string, V1 error format.
107 Allowed values
108 1 - v1 error format
109 2 - v2 error format
110
111 Returns:
112 An object of the form:
113
114 { # Response for the search query.
115 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token for large results.
116 &quot;tenancyUnits&quot;: [ # Tenancy Units matching the request.
117 { # Representation of a tenancy unit.
118 &quot;consumer&quot;: &quot;A String&quot;, # Output only. @OutputOnly Cloud resource name of the consumer of this service. For example &#x27;projects/123456&#x27;.
119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. @OutputOnly The time this tenancy unit was created.
120 &quot;name&quot;: &quot;A String&quot;, # Globally unique identifier of this tenancy unit &quot;services/{service}/{collection id}/{resource id}/tenancyUnits/{unit}&quot;
121 &quot;service&quot;: &quot;A String&quot;, # Output only. Google Cloud API name of the managed service owning this tenancy unit. For example &#x27;serviceconsumermanagement.googleapis.com&#x27;.
122 &quot;tenantResources&quot;: [ # Resources constituting the tenancy unit. There can be at most 512 tenant resources in a tenancy unit.
123 { # Resource constituting the TenancyUnit.
124 &quot;migratedTenantProject&quot;: &quot;A String&quot;, # Output only. The newly created regional resource name of the tenant project that has been migrated from a global service. This field is only set for migrated tenant projects. Format: `services//{collection_id}/{RESOURCE_ID}/locations/{LOCATION}/tenantProjects/{TENANT_ID}`.
125 &quot;resource&quot;: &quot;A String&quot;, # Output only. @OutputOnly Identifier of the tenant resource. For cloud projects, it is in the form &#x27;projects/{number}&#x27;. For example &#x27;projects/123456&#x27;.
126 &quot;status&quot;: &quot;A String&quot;, # Status of tenant resource.
127 &quot;tag&quot;: &quot;A String&quot;, # Unique per single tenancy unit.
128 },
129 ],
130 },
131 ],
132 }</pre>
133 </div>
134
135 <div class="method">
136 <code class="details" id="search_next">search_next()</code>
137 <pre>Retrieves the next page of results.
138
139 Args:
140 previous_request: The request for the previous page. (required)
141 previous_response: The response from the request for the previous page. (required)
142
143 Returns:
144 A request object that you can call &#x27;execute()&#x27; on to request the next
145 page. Returns None if there are no more items in the collection.
146 </pre>
147 </div>
148
149 </body></html>