Debian Codegraph @

docs/dyn/config_v1.projects.locations.deployments.revisions.resources.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="config_v1.html">Infrastructure Manager API</a> . <a href="config_v1.projects.html">projects</a> . <a href="config_v1.projects.locations.html">locations</a> . <a href="config_v1.projects.locations.deployments.html">deployments</a> . <a href="config_v1.projects.locations.deployments.revisions.html">revisions</a> . <a href="config_v1.projects.locations.deployments.revisions.resources.html">resources</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="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Gets details about a Resource deployed by Infra Manager.</p>
83 <p class="toc_element">
84 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Lists Resources in a given revision.</p>
86 <p class="toc_element">
87 <code><a href="#list_next">list_next()</a></code></p>
88 <p class="firstline">Retrieves the next page of results.</p>
89 <h3>Method Details</h3>
90 <div class="method">
91 <code class="details" id="close">close()</code>
92 <pre>Close httplib2 connections.</pre>
93 </div>
94
95 <div class="method">
96 <code class="details" id="get">get(name, x__xgafv=None)</code>
97 <pre>Gets details about a Resource deployed by Infra Manager.
98
99 Args:
100 name: string, Required. The name of the Resource in the format: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}/resource/{resource}&#x27;. (required)
101 x__xgafv: string, V1 error format.
102 Allowed values
103 1 - v1 error format
104 2 - v2 error format
105
106 Returns:
107 An object of the form:
108
109 { # Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.
110 &quot;caiAssets&quot;: { # Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types
111 &quot;a_key&quot;: { # CAI info of a Resource.
112 &quot;fullResourceName&quot;: &quot;A String&quot;, # CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
113 },
114 },
115 &quot;intent&quot;: &quot;A String&quot;, # Output only. Intent of the resource.
116 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`
117 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the resource.
118 &quot;terraformInfo&quot;: { # Terraform info of a Resource. # Output only. Terraform-specific info if this resource was created using Terraform.
119 &quot;address&quot;: &quot;A String&quot;, # TF resource address that uniquely identifies this resource within this deployment.
120 &quot;id&quot;: &quot;A String&quot;, # ID attribute of the TF resource
121 &quot;type&quot;: &quot;A String&quot;, # TF resource type
122 },
123 }</pre>
124 </div>
125
126 <div class="method">
127 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
128 <pre>Lists Resources in a given revision.
129
130 Args:
131 parent: string, Required. The parent in whose context the Resources are listed. The parent value is in the format: &#x27;projects/{project_id}/locations/{location}/deployments/{deployment}/revisions/{revision}&#x27;. (required)
132 filter: string, Lists the Resources that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form &#x27;{field} {operator} {value}&#x27; where operators: &#x27;&lt;&#x27;, &#x27;&gt;&#x27;, &#x27;&lt;=&#x27;, &#x27;&gt;=&#x27;, &#x27;!=&#x27;, &#x27;=&#x27;, &#x27;:&#x27; are supported (colon &#x27;:&#x27; represents a HAS operator which is roughly synonymous with equality). {field} can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = &quot;projects/foo/locations/us-central1/deployments/dep/revisions/bar/resources/baz
133 orderBy: string, Field to use to sort the list.
134 pageSize: integer, When requesting a page of resources, &#x27;page_size&#x27; specifies number of resources to return. If unspecified, at most 500 will be returned. The maximum value is 1000.
135 pageToken: string, Token returned by previous call to &#x27;ListResources&#x27; which specifies the position in the list from where to continue listing the resources.
136 x__xgafv: string, V1 error format.
137 Allowed values
138 1 - v1 error format
139 2 - v2 error format
140
141 Returns:
142 An object of the form:
143
144 { # A response to a &#x27;ListResources&#x27; call. Contains a list of Resources.
145 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of resources from the &#x27;ListResources&#x27; method. The value of an empty string means that there are no more resources to return.
146 &quot;resources&quot;: [ # List of Resources.
147 { # Resource represents a Google Cloud Platform resource actuated by IM. Resources are child resources of Revisions.
148 &quot;caiAssets&quot;: { # Output only. Map of Cloud Asset Inventory (CAI) type to CAI info (e.g. CAI ID). CAI type format follows https://cloud.google.com/asset-inventory/docs/supported-asset-types
149 &quot;a_key&quot;: { # CAI info of a Resource.
150 &quot;fullResourceName&quot;: &quot;A String&quot;, # CAI resource name in the format following https://cloud.google.com/apis/design/resource_names#full_resource_name
151 },
152 },
153 &quot;intent&quot;: &quot;A String&quot;, # Output only. Intent of the resource.
154 &quot;name&quot;: &quot;A String&quot;, # Output only. Resource name. Format: `projects/{project}/locations/{location}/deployments/{deployment}/revisions/{revision}/resources/{resource}`
155 &quot;state&quot;: &quot;A String&quot;, # Output only. Current state of the resource.
156 &quot;terraformInfo&quot;: { # Terraform info of a Resource. # Output only. Terraform-specific info if this resource was created using Terraform.
157 &quot;address&quot;: &quot;A String&quot;, # TF resource address that uniquely identifies this resource within this deployment.
158 &quot;id&quot;: &quot;A String&quot;, # ID attribute of the TF resource
159 &quot;type&quot;: &quot;A String&quot;, # TF resource type
160 },
161 },
162 ],
163 &quot;unreachable&quot;: [ # Locations that could not be reached.
164 &quot;A String&quot;,
165 ],
166 }</pre>
167 </div>
168
169 <div class="method">
170 <code class="details" id="list_next">list_next()</code>
171 <pre>Retrieves the next page of results.
172
173 Args:
174 previous_request: The request for the previous page. (required)
175 previous_response: The response from the request for the previous page. (required)
176
177 Returns:
178 A request object that you can call &#x27;execute()&#x27; on to request the next
179 page. Returns None if there are no more items in the collection.
180 </pre>
181 </div>
182
183 </body></html>