-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: Fix resource annotations for Cloud Deploy to use common resourc…
…e name for locations This is technically a breaking change in that it's modifying the type for a resource, but it's a fast-follow fix to the earlier broken definition. PiperOrigin-RevId: 477192133 Source-Link: googleapis/googleapis@f252e11 Source-Link: https://github.com/googleapis/googleapis-gen/commit/34ca7cd6da0ac5920011c8bda01e8bc32b7da444 Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6IjM0Y2E3Y2Q2ZGEwYWM1OTIwMDExYzhiZGEwMWU4YmMzMmI3ZGE0NDQifQ==
- Loading branch information
1 parent
7d4083a
commit ae23532
Showing
296 changed files
with
123,592 additions
and
0 deletions.
There are no files selected for viewing
4,378 changes: 4,378 additions & 0 deletions
4,378
...oy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeployClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
614 changes: 614 additions & 0 deletions
614
.../v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/CloudDeploySettings.java
Large diffs are not rendered by default.
Oops, something went wrong.
99 changes: 99 additions & 0 deletions
99
...eploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/gapic_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"schema": "1.0", | ||
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods", | ||
"language": "java", | ||
"protoPackage": "google.cloud.deploy.v1", | ||
"libraryPackage": "com.google.cloud.deploy.v1", | ||
"services": { | ||
"CloudDeploy": { | ||
"clients": { | ||
"grpc": { | ||
"libraryClient": "CloudDeployClient", | ||
"rpcs": { | ||
"AbandonRelease": { | ||
"methods": ["abandonRelease", "abandonRelease", "abandonRelease", "abandonReleaseCallable"] | ||
}, | ||
"ApproveRollout": { | ||
"methods": ["approveRollout", "approveRollout", "approveRollout", "approveRolloutCallable"] | ||
}, | ||
"CreateDeliveryPipeline": { | ||
"methods": ["createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineOperationCallable", "createDeliveryPipelineCallable"] | ||
}, | ||
"CreateRelease": { | ||
"methods": ["createReleaseAsync", "createReleaseAsync", "createReleaseAsync", "createReleaseOperationCallable", "createReleaseCallable"] | ||
}, | ||
"CreateRollout": { | ||
"methods": ["createRolloutAsync", "createRolloutAsync", "createRolloutAsync", "createRolloutOperationCallable", "createRolloutCallable"] | ||
}, | ||
"CreateTarget": { | ||
"methods": ["createTargetAsync", "createTargetAsync", "createTargetAsync", "createTargetOperationCallable", "createTargetCallable"] | ||
}, | ||
"DeleteDeliveryPipeline": { | ||
"methods": ["deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineOperationCallable", "deleteDeliveryPipelineCallable"] | ||
}, | ||
"DeleteTarget": { | ||
"methods": ["deleteTargetAsync", "deleteTargetAsync", "deleteTargetAsync", "deleteTargetOperationCallable", "deleteTargetCallable"] | ||
}, | ||
"GetConfig": { | ||
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"] | ||
}, | ||
"GetDeliveryPipeline": { | ||
"methods": ["getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipelineCallable"] | ||
}, | ||
"GetIamPolicy": { | ||
"methods": ["getIamPolicy", "getIamPolicyCallable"] | ||
}, | ||
"GetJobRun": { | ||
"methods": ["getJobRun", "getJobRun", "getJobRun", "getJobRunCallable"] | ||
}, | ||
"GetLocation": { | ||
"methods": ["getLocation", "getLocationCallable"] | ||
}, | ||
"GetRelease": { | ||
"methods": ["getRelease", "getRelease", "getRelease", "getReleaseCallable"] | ||
}, | ||
"GetRollout": { | ||
"methods": ["getRollout", "getRollout", "getRollout", "getRolloutCallable"] | ||
}, | ||
"GetTarget": { | ||
"methods": ["getTarget", "getTarget", "getTarget", "getTargetCallable"] | ||
}, | ||
"ListDeliveryPipelines": { | ||
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"] | ||
}, | ||
"ListJobRuns": { | ||
"methods": ["listJobRuns", "listJobRuns", "listJobRuns", "listJobRunsPagedCallable", "listJobRunsCallable"] | ||
}, | ||
"ListLocations": { | ||
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"] | ||
}, | ||
"ListReleases": { | ||
"methods": ["listReleases", "listReleases", "listReleases", "listReleasesPagedCallable", "listReleasesCallable"] | ||
}, | ||
"ListRollouts": { | ||
"methods": ["listRollouts", "listRollouts", "listRollouts", "listRolloutsPagedCallable", "listRolloutsCallable"] | ||
}, | ||
"ListTargets": { | ||
"methods": ["listTargets", "listTargets", "listTargets", "listTargetsPagedCallable", "listTargetsCallable"] | ||
}, | ||
"RetryJob": { | ||
"methods": ["retryJob", "retryJob", "retryJob", "retryJobCallable"] | ||
}, | ||
"SetIamPolicy": { | ||
"methods": ["setIamPolicy", "setIamPolicyCallable"] | ||
}, | ||
"TestIamPermissions": { | ||
"methods": ["testIamPermissions", "testIamPermissionsCallable"] | ||
}, | ||
"UpdateDeliveryPipeline": { | ||
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"] | ||
}, | ||
"UpdateTarget": { | ||
"methods": ["updateTargetAsync", "updateTargetAsync", "updateTargetOperationCallable", "updateTargetCallable"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...-deploy/v1/google-cloud-deploy/src/main/java/com/google/cloud/deploy/v1/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Copyright 2022 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* A client to Google Cloud Deploy API | ||
* | ||
* <p>The interfaces provided are listed below, along with usage samples. | ||
* | ||
* <p>======================= CloudDeployClient ======================= | ||
* | ||
* <p>Service Description: CloudDeploy service creates and manages Continuous Delivery operations on | ||
* Google Cloud Platform via Skaffold (https://skaffold.dev). | ||
* | ||
* <p>Sample for CloudDeployClient: | ||
* | ||
* <pre>{@code | ||
* // This snippet has been automatically generated and should be regarded as a code template only. | ||
* // It will require modifications to work: | ||
* // - It may require correct/in-range values for request initialization. | ||
* // - It may require specifying regional endpoints when creating the service client as shown in | ||
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library | ||
* try (CloudDeployClient cloudDeployClient = CloudDeployClient.create()) { | ||
* DeliveryPipelineName name = | ||
* DeliveryPipelineName.of("[PROJECT]", "[LOCATION]", "[DELIVERY_PIPELINE]"); | ||
* DeliveryPipeline response = cloudDeployClient.getDeliveryPipeline(name); | ||
* } | ||
* }</pre> | ||
*/ | ||
@Generated("by gapic-generator-java") | ||
package com.google.cloud.deploy.v1; | ||
|
||
import javax.annotation.Generated; |
Oops, something went wrong.