Skip to content

Commit bd6f6bb

Browse files
feat: [infra-manager] added Terraform Plan (#10223)
* feat: added Terraform Plan PiperOrigin-RevId: 597969500 Source-Link: googleapis/googleapis@ea0432d Source-Link: https://github.com/googleapis/googleapis-gen/commit/970abcc20508523bb4de6e6c77e6c658f893400b Copy-Tag: eyJwIjoiamF2YS1pbmZyYS1tYW5hZ2VyLy5Pd2xCb3QueWFtbCIsImgiOiI5NzBhYmNjMjA1MDg1MjNiYjRkZTZlNmM3N2U2YzY1OGY4OTM0MDBiIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 90a9033 commit bd6f6bb

File tree

61 files changed

+24133
-523
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+24133
-523
lines changed

java-infra-manager/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
201201
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-infra-manager/java11.html
202202
[stability-image]: https://img.shields.io/badge/stability-preview-yellow
203203
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-infra-manager.svg
204-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.9.0
204+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-infra-manager/0.10.0
205205
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
206206
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
207207
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigClient.java

+967-161
Large diffs are not rendered by default.

java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/ConfigSettings.java

+80
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
2020
import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
21+
import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
2122
import static com.google.cloud.config.v1.ConfigClient.ListResourcesPagedResponse;
2223
import static com.google.cloud.config.v1.ConfigClient.ListRevisionsPagedResponse;
2324

@@ -205,6 +206,45 @@ public UnaryCallSettings<ExportLockInfoRequest, LockInfo> exportLockInfoSettings
205206
return ((ConfigStubSettings) getStubSettings()).exportLockInfoSettings();
206207
}
207208

209+
/** Returns the object with the settings used for calls to createPreview. */
210+
public UnaryCallSettings<CreatePreviewRequest, Operation> createPreviewSettings() {
211+
return ((ConfigStubSettings) getStubSettings()).createPreviewSettings();
212+
}
213+
214+
/** Returns the object with the settings used for calls to createPreview. */
215+
public OperationCallSettings<CreatePreviewRequest, Preview, OperationMetadata>
216+
createPreviewOperationSettings() {
217+
return ((ConfigStubSettings) getStubSettings()).createPreviewOperationSettings();
218+
}
219+
220+
/** Returns the object with the settings used for calls to getPreview. */
221+
public UnaryCallSettings<GetPreviewRequest, Preview> getPreviewSettings() {
222+
return ((ConfigStubSettings) getStubSettings()).getPreviewSettings();
223+
}
224+
225+
/** Returns the object with the settings used for calls to listPreviews. */
226+
public PagedCallSettings<ListPreviewsRequest, ListPreviewsResponse, ListPreviewsPagedResponse>
227+
listPreviewsSettings() {
228+
return ((ConfigStubSettings) getStubSettings()).listPreviewsSettings();
229+
}
230+
231+
/** Returns the object with the settings used for calls to deletePreview. */
232+
public UnaryCallSettings<DeletePreviewRequest, Operation> deletePreviewSettings() {
233+
return ((ConfigStubSettings) getStubSettings()).deletePreviewSettings();
234+
}
235+
236+
/** Returns the object with the settings used for calls to deletePreview. */
237+
public OperationCallSettings<DeletePreviewRequest, Preview, OperationMetadata>
238+
deletePreviewOperationSettings() {
239+
return ((ConfigStubSettings) getStubSettings()).deletePreviewOperationSettings();
240+
}
241+
242+
/** Returns the object with the settings used for calls to exportPreviewResult. */
243+
public UnaryCallSettings<ExportPreviewResultRequest, ExportPreviewResultResponse>
244+
exportPreviewResultSettings() {
245+
return ((ConfigStubSettings) getStubSettings()).exportPreviewResultSettings();
246+
}
247+
208248
/** Returns the object with the settings used for calls to listLocations. */
209249
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
210250
listLocationsSettings() {
@@ -468,6 +508,46 @@ public UnaryCallSettings.Builder<ExportLockInfoRequest, LockInfo> exportLockInfo
468508
return getStubSettingsBuilder().exportLockInfoSettings();
469509
}
470510

511+
/** Returns the builder for the settings used for calls to createPreview. */
512+
public UnaryCallSettings.Builder<CreatePreviewRequest, Operation> createPreviewSettings() {
513+
return getStubSettingsBuilder().createPreviewSettings();
514+
}
515+
516+
/** Returns the builder for the settings used for calls to createPreview. */
517+
public OperationCallSettings.Builder<CreatePreviewRequest, Preview, OperationMetadata>
518+
createPreviewOperationSettings() {
519+
return getStubSettingsBuilder().createPreviewOperationSettings();
520+
}
521+
522+
/** Returns the builder for the settings used for calls to getPreview. */
523+
public UnaryCallSettings.Builder<GetPreviewRequest, Preview> getPreviewSettings() {
524+
return getStubSettingsBuilder().getPreviewSettings();
525+
}
526+
527+
/** Returns the builder for the settings used for calls to listPreviews. */
528+
public PagedCallSettings.Builder<
529+
ListPreviewsRequest, ListPreviewsResponse, ListPreviewsPagedResponse>
530+
listPreviewsSettings() {
531+
return getStubSettingsBuilder().listPreviewsSettings();
532+
}
533+
534+
/** Returns the builder for the settings used for calls to deletePreview. */
535+
public UnaryCallSettings.Builder<DeletePreviewRequest, Operation> deletePreviewSettings() {
536+
return getStubSettingsBuilder().deletePreviewSettings();
537+
}
538+
539+
/** Returns the builder for the settings used for calls to deletePreview. */
540+
public OperationCallSettings.Builder<DeletePreviewRequest, Preview, OperationMetadata>
541+
deletePreviewOperationSettings() {
542+
return getStubSettingsBuilder().deletePreviewOperationSettings();
543+
}
544+
545+
/** Returns the builder for the settings used for calls to exportPreviewResult. */
546+
public UnaryCallSettings.Builder<ExportPreviewResultRequest, ExportPreviewResultResponse>
547+
exportPreviewResultSettings() {
548+
return getStubSettingsBuilder().exportPreviewResultSettings();
549+
}
550+
471551
/** Returns the builder for the settings used for calls to listLocations. */
472552
public PagedCallSettings.Builder<
473553
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/gapic_metadata.json

+15
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@
1313
"CreateDeployment": {
1414
"methods": ["createDeploymentAsync", "createDeploymentAsync", "createDeploymentAsync", "createDeploymentOperationCallable", "createDeploymentCallable"]
1515
},
16+
"CreatePreview": {
17+
"methods": ["createPreviewAsync", "createPreviewAsync", "createPreviewAsync", "createPreviewOperationCallable", "createPreviewCallable"]
18+
},
1619
"DeleteDeployment": {
1720
"methods": ["deleteDeploymentAsync", "deleteDeploymentAsync", "deleteDeploymentAsync", "deleteDeploymentOperationCallable", "deleteDeploymentCallable"]
1821
},
22+
"DeletePreview": {
23+
"methods": ["deletePreviewAsync", "deletePreviewAsync", "deletePreviewAsync", "deletePreviewOperationCallable", "deletePreviewCallable"]
24+
},
1925
"DeleteStatefile": {
2026
"methods": ["deleteStatefile", "deleteStatefile", "deleteStatefile", "deleteStatefileCallable"]
2127
},
@@ -25,6 +31,9 @@
2531
"ExportLockInfo": {
2632
"methods": ["exportLockInfo", "exportLockInfo", "exportLockInfo", "exportLockInfoCallable"]
2733
},
34+
"ExportPreviewResult": {
35+
"methods": ["exportPreviewResult", "exportPreviewResultCallable"]
36+
},
2837
"ExportRevisionStatefile": {
2938
"methods": ["exportRevisionStatefile", "exportRevisionStatefileCallable"]
3039
},
@@ -37,6 +46,9 @@
3746
"GetLocation": {
3847
"methods": ["getLocation", "getLocationCallable"]
3948
},
49+
"GetPreview": {
50+
"methods": ["getPreview", "getPreview", "getPreview", "getPreviewCallable"]
51+
},
4052
"GetResource": {
4153
"methods": ["getResource", "getResource", "getResource", "getResourceCallable"]
4254
},
@@ -52,6 +64,9 @@
5264
"ListLocations": {
5365
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
5466
},
67+
"ListPreviews": {
68+
"methods": ["listPreviews", "listPreviews", "listPreviews", "listPreviewsPagedCallable", "listPreviewsCallable"]
69+
},
5570
"ListResources": {
5671
"methods": ["listResources", "listResources", "listResources", "listResourcesPagedCallable", "listResourcesCallable"]
5772
},

java-infra-manager/google-cloud-infra-manager/src/main/java/com/google/cloud/config/v1/stub/ConfigStub.java

+44
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,41 @@
1818

1919
import static com.google.cloud.config.v1.ConfigClient.ListDeploymentsPagedResponse;
2020
import static com.google.cloud.config.v1.ConfigClient.ListLocationsPagedResponse;
21+
import static com.google.cloud.config.v1.ConfigClient.ListPreviewsPagedResponse;
2122
import static com.google.cloud.config.v1.ConfigClient.ListResourcesPagedResponse;
2223
import static com.google.cloud.config.v1.ConfigClient.ListRevisionsPagedResponse;
2324

2425
import com.google.api.gax.core.BackgroundResource;
2526
import com.google.api.gax.rpc.OperationCallable;
2627
import com.google.api.gax.rpc.UnaryCallable;
2728
import com.google.cloud.config.v1.CreateDeploymentRequest;
29+
import com.google.cloud.config.v1.CreatePreviewRequest;
2830
import com.google.cloud.config.v1.DeleteDeploymentRequest;
31+
import com.google.cloud.config.v1.DeletePreviewRequest;
2932
import com.google.cloud.config.v1.DeleteStatefileRequest;
3033
import com.google.cloud.config.v1.Deployment;
3134
import com.google.cloud.config.v1.ExportDeploymentStatefileRequest;
3235
import com.google.cloud.config.v1.ExportLockInfoRequest;
36+
import com.google.cloud.config.v1.ExportPreviewResultRequest;
37+
import com.google.cloud.config.v1.ExportPreviewResultResponse;
3338
import com.google.cloud.config.v1.ExportRevisionStatefileRequest;
3439
import com.google.cloud.config.v1.GetDeploymentRequest;
40+
import com.google.cloud.config.v1.GetPreviewRequest;
3541
import com.google.cloud.config.v1.GetResourceRequest;
3642
import com.google.cloud.config.v1.GetRevisionRequest;
3743
import com.google.cloud.config.v1.ImportStatefileRequest;
3844
import com.google.cloud.config.v1.ListDeploymentsRequest;
3945
import com.google.cloud.config.v1.ListDeploymentsResponse;
46+
import com.google.cloud.config.v1.ListPreviewsRequest;
47+
import com.google.cloud.config.v1.ListPreviewsResponse;
4048
import com.google.cloud.config.v1.ListResourcesRequest;
4149
import com.google.cloud.config.v1.ListResourcesResponse;
4250
import com.google.cloud.config.v1.ListRevisionsRequest;
4351
import com.google.cloud.config.v1.ListRevisionsResponse;
4452
import com.google.cloud.config.v1.LockDeploymentRequest;
4553
import com.google.cloud.config.v1.LockInfo;
4654
import com.google.cloud.config.v1.OperationMetadata;
55+
import com.google.cloud.config.v1.Preview;
4756
import com.google.cloud.config.v1.Resource;
4857
import com.google.cloud.config.v1.Revision;
4958
import com.google.cloud.config.v1.Statefile;
@@ -186,6 +195,41 @@ public UnaryCallable<ExportLockInfoRequest, LockInfo> exportLockInfoCallable() {
186195
throw new UnsupportedOperationException("Not implemented: exportLockInfoCallable()");
187196
}
188197

198+
public OperationCallable<CreatePreviewRequest, Preview, OperationMetadata>
199+
createPreviewOperationCallable() {
200+
throw new UnsupportedOperationException("Not implemented: createPreviewOperationCallable()");
201+
}
202+
203+
public UnaryCallable<CreatePreviewRequest, Operation> createPreviewCallable() {
204+
throw new UnsupportedOperationException("Not implemented: createPreviewCallable()");
205+
}
206+
207+
public UnaryCallable<GetPreviewRequest, Preview> getPreviewCallable() {
208+
throw new UnsupportedOperationException("Not implemented: getPreviewCallable()");
209+
}
210+
211+
public UnaryCallable<ListPreviewsRequest, ListPreviewsPagedResponse> listPreviewsPagedCallable() {
212+
throw new UnsupportedOperationException("Not implemented: listPreviewsPagedCallable()");
213+
}
214+
215+
public UnaryCallable<ListPreviewsRequest, ListPreviewsResponse> listPreviewsCallable() {
216+
throw new UnsupportedOperationException("Not implemented: listPreviewsCallable()");
217+
}
218+
219+
public OperationCallable<DeletePreviewRequest, Preview, OperationMetadata>
220+
deletePreviewOperationCallable() {
221+
throw new UnsupportedOperationException("Not implemented: deletePreviewOperationCallable()");
222+
}
223+
224+
public UnaryCallable<DeletePreviewRequest, Operation> deletePreviewCallable() {
225+
throw new UnsupportedOperationException("Not implemented: deletePreviewCallable()");
226+
}
227+
228+
public UnaryCallable<ExportPreviewResultRequest, ExportPreviewResultResponse>
229+
exportPreviewResultCallable() {
230+
throw new UnsupportedOperationException("Not implemented: exportPreviewResultCallable()");
231+
}
232+
189233
public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
190234
listLocationsPagedCallable() {
191235
throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()");

0 commit comments

Comments
 (0)