Debian Codegraph @

docs/dyn/config_v1.projects.locations.previews.resourceDrifts.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.previews.html">previews</a> . <a href="config_v1.projects.locations.previews.resourceDrifts.html">resourceDrifts</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">Get a ResourceDrift for a given preview.</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">List ResourceDrifts for a given preview.</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>Get a ResourceDrift for a given preview.
98
99 Args:
100 name: string, Required. The name of the resource drift to retrieve. Format: &#x27;projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}&#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 { # A resource drift represents a drift to a resource in the state file.
110 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the resource drift. Format: &#x27;projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}&#x27;.
111 &quot;propertyDrifts&quot;: [ # Output only. The property drifts of the resource drift.
112 { # A property drift represents a drift to a property in the state file.
113 &quot;after&quot;: &quot;&quot;, # Output only. Representations of the object value after the actions.
114 &quot;afterSensitivePaths&quot;: [ # Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.
115 &quot;A String&quot;,
116 ],
117 &quot;before&quot;: &quot;&quot;, # Output only. Representations of the object value before the actions.
118 &quot;beforeSensitivePaths&quot;: [ # Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.
119 &quot;A String&quot;,
120 ],
121 &quot;path&quot;: &quot;A String&quot;, # Output only. The path of the property drift.
122 },
123 ],
124 &quot;terraformInfo&quot;: { # Terraform info of a ResourceChange. # Output only. Terraform info of the resource drift.
125 &quot;address&quot;: &quot;A String&quot;, # Output only. The address of the drifted resource.
126 &quot;provider&quot;: &quot;A String&quot;, # Output only. The provider of the drifted resource.
127 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. TF resource name.
128 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the drifted resource.
129 },
130 }</pre>
131 </div>
132
133 <div class="method">
134 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
135 <pre>List ResourceDrifts for a given preview.
136
137 Args:
138 parent: string, Required. The parent in whose context the ResourceDrifts are listed. The parent value is in the format: &#x27;projects/{project_id}/locations/{location}/previews/{preview}&#x27;. (required)
139 filter: string, Optional. Lists the resource drifts that match the filter expression. A filter expression filters the resource drifts 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/previews/dep/resourceDrifts/baz
140 orderBy: string, Optional. Field to use to sort the list.
141 pageSize: integer, Optional. When requesting a page of resource drifts, &#x27;page_size&#x27; specifies number of resource drifts to return. If unspecified, at most 500 will be returned. The maximum value is 1000.
142 pageToken: string, Optional. Token returned by previous call to &#x27;ListResourceDrifts&#x27; which specifies the position in the list from where to continue listing the resource drifts.
143 x__xgafv: string, V1 error format.
144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
147
148 Returns:
149 An object of the form:
150
151 { # A response to a &#x27;ListResourceDrifts&#x27; call. Contains a list of ResourceDrifts.
152 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to request the next page of resources from the &#x27;ListResourceDrifts&#x27; method. The value of an empty string means that there are no more resources to return.
153 &quot;resourceDrifts&quot;: [ # List of ResourceDrifts.
154 { # A resource drift represents a drift to a resource in the state file.
155 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the resource drift. Format: &#x27;projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}&#x27;.
156 &quot;propertyDrifts&quot;: [ # Output only. The property drifts of the resource drift.
157 { # A property drift represents a drift to a property in the state file.
158 &quot;after&quot;: &quot;&quot;, # Output only. Representations of the object value after the actions.
159 &quot;afterSensitivePaths&quot;: [ # Output only. The paths of sensitive fields in `after`. Paths are relative to `path`.
160 &quot;A String&quot;,
161 ],
162 &quot;before&quot;: &quot;&quot;, # Output only. Representations of the object value before the actions.
163 &quot;beforeSensitivePaths&quot;: [ # Output only. The paths of sensitive fields in `before`. Paths are relative to `path`.
164 &quot;A String&quot;,
165 ],
166 &quot;path&quot;: &quot;A String&quot;, # Output only. The path of the property drift.
167 },
168 ],
169 &quot;terraformInfo&quot;: { # Terraform info of a ResourceChange. # Output only. Terraform info of the resource drift.
170 &quot;address&quot;: &quot;A String&quot;, # Output only. The address of the drifted resource.
171 &quot;provider&quot;: &quot;A String&quot;, # Output only. The provider of the drifted resource.
172 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. TF resource name.
173 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the drifted resource.
174 },
175 },
176 ],
177 &quot;unreachable&quot;: [ # Unreachable resources, if any.
178 &quot;A String&quot;,
179 ],
180 }</pre>
181 </div>
182
183 <div class="method">
184 <code class="details" id="list_next">list_next()</code>
185 <pre>Retrieves the next page of results.
186
187 Args:
188 previous_request: The request for the previous page. (required)
189 previous_response: The response from the request for the previous page. (required)
190
191 Returns:
192 A request object that you can call &#x27;execute()&#x27; on to request the next
193 page. Returns None if there are no more items in the collection.
194 </pre>
195 </div>
196
197 </body></html>