[go: nahoru, domu]

Skip to content

Commit

Permalink
feat: [clouddeploy] add Automation API and Rollback API (#10034)
Browse files Browse the repository at this point in the history
* feat: add Automation API and Rollback API
chore: update platform logs
docs: small documentation updates

PiperOrigin-RevId: 578872129

Source-Link: googleapis/googleapis@41d7a83

Source-Link: googleapis/googleapis-gen@eb84145
Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6ImViODQxNDVmYzI2Y2YxZjc3ZDY1YWY5YWQ4MmEyMzlkZmRkYzE2YmQifQ==

* 🦉 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Nov 2, 2023
1 parent 7d010c3 commit 399cb6d
Show file tree
Hide file tree
Showing 224 changed files with 72,326 additions and 1,741 deletions.
4 changes: 2 additions & 2 deletions java-deploy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.25.0</version>
<version>26.26.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-deploy.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.26.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-deploy/1.27.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package com.google.cloud.deploy.v1;

import static com.google.cloud.deploy.v1.CloudDeployClient.ListAutomationRunsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListAutomationsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListDeliveryPipelinesPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListJobRunsPagedResponse;
import static com.google.cloud.deploy.v1.CloudDeployClient.ListLocationsPagedResponse;
Expand Down Expand Up @@ -148,6 +150,11 @@ public class CloudDeploySettings extends ClientSettings<CloudDeploySettings> {
return ((CloudDeployStubSettings) getStubSettings()).listTargetsSettings();
}

/** Returns the object with the settings used for calls to rollbackTarget. */
public UnaryCallSettings<RollbackTargetRequest, RollbackTargetResponse> rollbackTargetSettings() {
return ((CloudDeployStubSettings) getStubSettings()).rollbackTargetSettings();
}

/** Returns the object with the settings used for calls to getTarget. */
public UnaryCallSettings<GetTargetRequest, Target> getTargetSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getTargetSettings();
Expand Down Expand Up @@ -282,6 +289,69 @@ public UnaryCallSettings<GetConfigRequest, Config> getConfigSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getConfigSettings();
}

/** Returns the object with the settings used for calls to createAutomation. */
public UnaryCallSettings<CreateAutomationRequest, Operation> createAutomationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).createAutomationSettings();
}

/** Returns the object with the settings used for calls to createAutomation. */
public OperationCallSettings<CreateAutomationRequest, Automation, OperationMetadata>
createAutomationOperationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).createAutomationOperationSettings();
}

/** Returns the object with the settings used for calls to updateAutomation. */
public UnaryCallSettings<UpdateAutomationRequest, Operation> updateAutomationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).updateAutomationSettings();
}

/** Returns the object with the settings used for calls to updateAutomation. */
public OperationCallSettings<UpdateAutomationRequest, Automation, OperationMetadata>
updateAutomationOperationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).updateAutomationOperationSettings();
}

/** Returns the object with the settings used for calls to deleteAutomation. */
public UnaryCallSettings<DeleteAutomationRequest, Operation> deleteAutomationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).deleteAutomationSettings();
}

/** Returns the object with the settings used for calls to deleteAutomation. */
public OperationCallSettings<DeleteAutomationRequest, Empty, OperationMetadata>
deleteAutomationOperationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).deleteAutomationOperationSettings();
}

/** Returns the object with the settings used for calls to getAutomation. */
public UnaryCallSettings<GetAutomationRequest, Automation> getAutomationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getAutomationSettings();
}

/** Returns the object with the settings used for calls to listAutomations. */
public PagedCallSettings<
ListAutomationsRequest, ListAutomationsResponse, ListAutomationsPagedResponse>
listAutomationsSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listAutomationsSettings();
}

/** Returns the object with the settings used for calls to getAutomationRun. */
public UnaryCallSettings<GetAutomationRunRequest, AutomationRun> getAutomationRunSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getAutomationRunSettings();
}

/** Returns the object with the settings used for calls to listAutomationRuns. */
public PagedCallSettings<
ListAutomationRunsRequest, ListAutomationRunsResponse, ListAutomationRunsPagedResponse>
listAutomationRunsSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listAutomationRunsSettings();
}

/** Returns the object with the settings used for calls to cancelAutomationRun. */
public UnaryCallSettings<CancelAutomationRunRequest, CancelAutomationRunResponse>
cancelAutomationRunSettings() {
return ((CloudDeployStubSettings) getStubSettings()).cancelAutomationRunSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -483,6 +553,12 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().listTargetsSettings();
}

/** Returns the builder for the settings used for calls to rollbackTarget. */
public UnaryCallSettings.Builder<RollbackTargetRequest, RollbackTargetResponse>
rollbackTargetSettings() {
return getStubSettingsBuilder().rollbackTargetSettings();
}

/** Returns the builder for the settings used for calls to getTarget. */
public UnaryCallSettings.Builder<GetTargetRequest, Target> getTargetSettings() {
return getStubSettingsBuilder().getTargetSettings();
Expand Down Expand Up @@ -624,6 +700,73 @@ public UnaryCallSettings.Builder<GetConfigRequest, Config> getConfigSettings() {
return getStubSettingsBuilder().getConfigSettings();
}

/** Returns the builder for the settings used for calls to createAutomation. */
public UnaryCallSettings.Builder<CreateAutomationRequest, Operation>
createAutomationSettings() {
return getStubSettingsBuilder().createAutomationSettings();
}

/** Returns the builder for the settings used for calls to createAutomation. */
public OperationCallSettings.Builder<CreateAutomationRequest, Automation, OperationMetadata>
createAutomationOperationSettings() {
return getStubSettingsBuilder().createAutomationOperationSettings();
}

/** Returns the builder for the settings used for calls to updateAutomation. */
public UnaryCallSettings.Builder<UpdateAutomationRequest, Operation>
updateAutomationSettings() {
return getStubSettingsBuilder().updateAutomationSettings();
}

/** Returns the builder for the settings used for calls to updateAutomation. */
public OperationCallSettings.Builder<UpdateAutomationRequest, Automation, OperationMetadata>
updateAutomationOperationSettings() {
return getStubSettingsBuilder().updateAutomationOperationSettings();
}

/** Returns the builder for the settings used for calls to deleteAutomation. */
public UnaryCallSettings.Builder<DeleteAutomationRequest, Operation>
deleteAutomationSettings() {
return getStubSettingsBuilder().deleteAutomationSettings();
}

/** Returns the builder for the settings used for calls to deleteAutomation. */
public OperationCallSettings.Builder<DeleteAutomationRequest, Empty, OperationMetadata>
deleteAutomationOperationSettings() {
return getStubSettingsBuilder().deleteAutomationOperationSettings();
}

/** Returns the builder for the settings used for calls to getAutomation. */
public UnaryCallSettings.Builder<GetAutomationRequest, Automation> getAutomationSettings() {
return getStubSettingsBuilder().getAutomationSettings();
}

/** Returns the builder for the settings used for calls to listAutomations. */
public PagedCallSettings.Builder<
ListAutomationsRequest, ListAutomationsResponse, ListAutomationsPagedResponse>
listAutomationsSettings() {
return getStubSettingsBuilder().listAutomationsSettings();
}

/** Returns the builder for the settings used for calls to getAutomationRun. */
public UnaryCallSettings.Builder<GetAutomationRunRequest, AutomationRun>
getAutomationRunSettings() {
return getStubSettingsBuilder().getAutomationRunSettings();
}

/** Returns the builder for the settings used for calls to listAutomationRuns. */
public PagedCallSettings.Builder<
ListAutomationRunsRequest, ListAutomationRunsResponse, ListAutomationRunsPagedResponse>
listAutomationRunsSettings() {
return getStubSettingsBuilder().listAutomationRunsSettings();
}

/** Returns the builder for the settings used for calls to cancelAutomationRun. */
public UnaryCallSettings.Builder<CancelAutomationRunRequest, CancelAutomationRunResponse>
cancelAutomationRunSettings() {
return getStubSettingsBuilder().cancelAutomationRunSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@
"ApproveRollout": {
"methods": ["approveRollout", "approveRollout", "approveRollout", "approveRolloutCallable"]
},
"CancelAutomationRun": {
"methods": ["cancelAutomationRun", "cancelAutomationRun", "cancelAutomationRun", "cancelAutomationRunCallable"]
},
"CancelRollout": {
"methods": ["cancelRollout", "cancelRollout", "cancelRollout", "cancelRolloutCallable"]
},
"CreateAutomation": {
"methods": ["createAutomationAsync", "createAutomationAsync", "createAutomationAsync", "createAutomationOperationCallable", "createAutomationCallable"]
},
"CreateDeliveryPipeline": {
"methods": ["createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineOperationCallable", "createDeliveryPipelineCallable"]
},
Expand All @@ -34,12 +40,21 @@
"CreateTarget": {
"methods": ["createTargetAsync", "createTargetAsync", "createTargetAsync", "createTargetOperationCallable", "createTargetCallable"]
},
"DeleteAutomation": {
"methods": ["deleteAutomationAsync", "deleteAutomationAsync", "deleteAutomationAsync", "deleteAutomationOperationCallable", "deleteAutomationCallable"]
},
"DeleteDeliveryPipeline": {
"methods": ["deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineOperationCallable", "deleteDeliveryPipelineCallable"]
},
"DeleteTarget": {
"methods": ["deleteTargetAsync", "deleteTargetAsync", "deleteTargetAsync", "deleteTargetOperationCallable", "deleteTargetCallable"]
},
"GetAutomation": {
"methods": ["getAutomation", "getAutomation", "getAutomation", "getAutomationCallable"]
},
"GetAutomationRun": {
"methods": ["getAutomationRun", "getAutomationRun", "getAutomationRun", "getAutomationRunCallable"]
},
"GetConfig": {
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"]
},
Expand Down Expand Up @@ -67,6 +82,12 @@
"IgnoreJob": {
"methods": ["ignoreJob", "ignoreJob", "ignoreJob", "ignoreJobCallable"]
},
"ListAutomationRuns": {
"methods": ["listAutomationRuns", "listAutomationRuns", "listAutomationRuns", "listAutomationRunsPagedCallable", "listAutomationRunsCallable"]
},
"ListAutomations": {
"methods": ["listAutomations", "listAutomations", "listAutomations", "listAutomationsPagedCallable", "listAutomationsCallable"]
},
"ListDeliveryPipelines": {
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"]
},
Expand All @@ -88,6 +109,9 @@
"RetryJob": {
"methods": ["retryJob", "retryJob", "retryJob", "retryJobCallable"]
},
"RollbackTarget": {
"methods": ["rollbackTarget", "rollbackTarget", "rollbackTarget", "rollbackTargetCallable"]
},
"SetIamPolicy": {
"methods": ["setIamPolicy", "setIamPolicyCallable"]
},
Expand All @@ -97,6 +121,9 @@
"TestIamPermissions": {
"methods": ["testIamPermissions", "testIamPermissionsCallable"]
},
"UpdateAutomation": {
"methods": ["updateAutomationAsync", "updateAutomationAsync", "updateAutomationOperationCallable", "updateAutomationCallable"]
},
"UpdateDeliveryPipeline": {
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"]
},
Expand Down
Loading

0 comments on commit 399cb6d

Please sign in to comment.