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