Skip to content

Commit

Permalink
feat: [clouddeploy] Add custom target type support (#10109)
Browse files Browse the repository at this point in the history
* feat: Add custom target type support
feat: Add revision tagging for one of the Cloud Run deployment strategies
docs: Fixed a number of comments.

PiperOrigin-RevId: 587671915

Source-Link: googleapis/googleapis@1523043

Source-Link: googleapis/googleapis-gen@d0ab47d
Copy-Tag: eyJwIjoiamF2YS1kZXBsb3kvLk93bEJvdC55YW1sIiwiaCI6ImQwYWI0N2RlNTg3NDFkYmE3YTJhNDMwMGYxMGJkMmI4NTNmMGE2Y2YifQ==

* 🦉 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 Jan 2, 2024
1 parent d0c836e commit 003e683
Show file tree
Hide file tree
Showing 95 changed files with 30,481 additions and 1,316 deletions.

Large diffs are not rendered by default.

Expand Up @@ -18,6 +18,7 @@

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.ListCustomTargetTypesPagedResponse;
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 @@ -193,6 +194,57 @@ public UnaryCallSettings<DeleteTargetRequest, Operation> deleteTargetSettings()
return ((CloudDeployStubSettings) getStubSettings()).deleteTargetOperationSettings();
}

/** Returns the object with the settings used for calls to listCustomTargetTypes. */
public PagedCallSettings<
ListCustomTargetTypesRequest,
ListCustomTargetTypesResponse,
ListCustomTargetTypesPagedResponse>
listCustomTargetTypesSettings() {
return ((CloudDeployStubSettings) getStubSettings()).listCustomTargetTypesSettings();
}

/** Returns the object with the settings used for calls to getCustomTargetType. */
public UnaryCallSettings<GetCustomTargetTypeRequest, CustomTargetType>
getCustomTargetTypeSettings() {
return ((CloudDeployStubSettings) getStubSettings()).getCustomTargetTypeSettings();
}

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

/** Returns the object with the settings used for calls to createCustomTargetType. */
public OperationCallSettings<CreateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
createCustomTargetTypeOperationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).createCustomTargetTypeOperationSettings();
}

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

/** Returns the object with the settings used for calls to updateCustomTargetType. */
public OperationCallSettings<UpdateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
updateCustomTargetTypeOperationSettings() {
return ((CloudDeployStubSettings) getStubSettings()).updateCustomTargetTypeOperationSettings();
}

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

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

/** Returns the object with the settings used for calls to listReleases. */
public PagedCallSettings<ListReleasesRequest, ListReleasesResponse, ListReleasesPagedResponse>
listReleasesSettings() {
Expand Down Expand Up @@ -597,6 +649,59 @@ public UnaryCallSettings.Builder<DeleteTargetRequest, Operation> deleteTargetSet
return getStubSettingsBuilder().deleteTargetOperationSettings();
}

/** Returns the builder for the settings used for calls to listCustomTargetTypes. */
public PagedCallSettings.Builder<
ListCustomTargetTypesRequest,
ListCustomTargetTypesResponse,
ListCustomTargetTypesPagedResponse>
listCustomTargetTypesSettings() {
return getStubSettingsBuilder().listCustomTargetTypesSettings();
}

/** Returns the builder for the settings used for calls to getCustomTargetType. */
public UnaryCallSettings.Builder<GetCustomTargetTypeRequest, CustomTargetType>
getCustomTargetTypeSettings() {
return getStubSettingsBuilder().getCustomTargetTypeSettings();
}

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

/** Returns the builder for the settings used for calls to createCustomTargetType. */
public OperationCallSettings.Builder<
CreateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
createCustomTargetTypeOperationSettings() {
return getStubSettingsBuilder().createCustomTargetTypeOperationSettings();
}

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

/** Returns the builder for the settings used for calls to updateCustomTargetType. */
public OperationCallSettings.Builder<
UpdateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
updateCustomTargetTypeOperationSettings() {
return getStubSettingsBuilder().updateCustomTargetTypeOperationSettings();
}

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

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

/** Returns the builder for the settings used for calls to listReleases. */
public PagedCallSettings.Builder<
ListReleasesRequest, ListReleasesResponse, ListReleasesPagedResponse>
Expand Down
Expand Up @@ -28,6 +28,9 @@
"CreateAutomation": {
"methods": ["createAutomationAsync", "createAutomationAsync", "createAutomationAsync", "createAutomationOperationCallable", "createAutomationCallable"]
},
"CreateCustomTargetType": {
"methods": ["createCustomTargetTypeAsync", "createCustomTargetTypeAsync", "createCustomTargetTypeAsync", "createCustomTargetTypeOperationCallable", "createCustomTargetTypeCallable"]
},
"CreateDeliveryPipeline": {
"methods": ["createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineAsync", "createDeliveryPipelineOperationCallable", "createDeliveryPipelineCallable"]
},
Expand All @@ -43,6 +46,9 @@
"DeleteAutomation": {
"methods": ["deleteAutomationAsync", "deleteAutomationAsync", "deleteAutomationAsync", "deleteAutomationOperationCallable", "deleteAutomationCallable"]
},
"DeleteCustomTargetType": {
"methods": ["deleteCustomTargetTypeAsync", "deleteCustomTargetTypeAsync", "deleteCustomTargetTypeAsync", "deleteCustomTargetTypeOperationCallable", "deleteCustomTargetTypeCallable"]
},
"DeleteDeliveryPipeline": {
"methods": ["deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineAsync", "deleteDeliveryPipelineOperationCallable", "deleteDeliveryPipelineCallable"]
},
Expand All @@ -58,6 +64,9 @@
"GetConfig": {
"methods": ["getConfig", "getConfig", "getConfig", "getConfigCallable"]
},
"GetCustomTargetType": {
"methods": ["getCustomTargetType", "getCustomTargetType", "getCustomTargetType", "getCustomTargetTypeCallable"]
},
"GetDeliveryPipeline": {
"methods": ["getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipeline", "getDeliveryPipelineCallable"]
},
Expand Down Expand Up @@ -88,6 +97,9 @@
"ListAutomations": {
"methods": ["listAutomations", "listAutomations", "listAutomations", "listAutomationsPagedCallable", "listAutomationsCallable"]
},
"ListCustomTargetTypes": {
"methods": ["listCustomTargetTypes", "listCustomTargetTypes", "listCustomTargetTypes", "listCustomTargetTypesPagedCallable", "listCustomTargetTypesCallable"]
},
"ListDeliveryPipelines": {
"methods": ["listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelines", "listDeliveryPipelinesPagedCallable", "listDeliveryPipelinesCallable"]
},
Expand Down Expand Up @@ -124,6 +136,9 @@
"UpdateAutomation": {
"methods": ["updateAutomationAsync", "updateAutomationAsync", "updateAutomationOperationCallable", "updateAutomationCallable"]
},
"UpdateCustomTargetType": {
"methods": ["updateCustomTargetTypeAsync", "updateCustomTargetTypeAsync", "updateCustomTargetTypeOperationCallable", "updateCustomTargetTypeCallable"]
},
"UpdateDeliveryPipeline": {
"methods": ["updateDeliveryPipelineAsync", "updateDeliveryPipelineAsync", "updateDeliveryPipelineOperationCallable", "updateDeliveryPipelineCallable"]
},
Expand Down
Expand Up @@ -18,6 +18,7 @@

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.ListCustomTargetTypesPagedResponse;
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 All @@ -42,17 +43,21 @@
import com.google.cloud.deploy.v1.CancelRolloutResponse;
import com.google.cloud.deploy.v1.Config;
import com.google.cloud.deploy.v1.CreateAutomationRequest;
import com.google.cloud.deploy.v1.CreateCustomTargetTypeRequest;
import com.google.cloud.deploy.v1.CreateDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.CreateReleaseRequest;
import com.google.cloud.deploy.v1.CreateRolloutRequest;
import com.google.cloud.deploy.v1.CreateTargetRequest;
import com.google.cloud.deploy.v1.CustomTargetType;
import com.google.cloud.deploy.v1.DeleteAutomationRequest;
import com.google.cloud.deploy.v1.DeleteCustomTargetTypeRequest;
import com.google.cloud.deploy.v1.DeleteDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.DeleteTargetRequest;
import com.google.cloud.deploy.v1.DeliveryPipeline;
import com.google.cloud.deploy.v1.GetAutomationRequest;
import com.google.cloud.deploy.v1.GetAutomationRunRequest;
import com.google.cloud.deploy.v1.GetConfigRequest;
import com.google.cloud.deploy.v1.GetCustomTargetTypeRequest;
import com.google.cloud.deploy.v1.GetDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.GetJobRunRequest;
import com.google.cloud.deploy.v1.GetReleaseRequest;
Expand All @@ -65,6 +70,8 @@
import com.google.cloud.deploy.v1.ListAutomationRunsResponse;
import com.google.cloud.deploy.v1.ListAutomationsRequest;
import com.google.cloud.deploy.v1.ListAutomationsResponse;
import com.google.cloud.deploy.v1.ListCustomTargetTypesRequest;
import com.google.cloud.deploy.v1.ListCustomTargetTypesResponse;
import com.google.cloud.deploy.v1.ListDeliveryPipelinesRequest;
import com.google.cloud.deploy.v1.ListDeliveryPipelinesResponse;
import com.google.cloud.deploy.v1.ListJobRunsRequest;
Expand All @@ -86,6 +93,7 @@
import com.google.cloud.deploy.v1.TerminateJobRunRequest;
import com.google.cloud.deploy.v1.TerminateJobRunResponse;
import com.google.cloud.deploy.v1.UpdateAutomationRequest;
import com.google.cloud.deploy.v1.UpdateCustomTargetTypeRequest;
import com.google.cloud.deploy.v1.UpdateDeliveryPipelineRequest;
import com.google.cloud.deploy.v1.UpdateTargetRequest;
import com.google.cloud.location.GetLocationRequest;
Expand Down Expand Up @@ -207,6 +215,51 @@ public UnaryCallable<DeleteTargetRequest, Operation> deleteTargetCallable() {
throw new UnsupportedOperationException("Not implemented: deleteTargetCallable()");
}

public UnaryCallable<ListCustomTargetTypesRequest, ListCustomTargetTypesPagedResponse>
listCustomTargetTypesPagedCallable() {
throw new UnsupportedOperationException(
"Not implemented: listCustomTargetTypesPagedCallable()");
}

public UnaryCallable<ListCustomTargetTypesRequest, ListCustomTargetTypesResponse>
listCustomTargetTypesCallable() {
throw new UnsupportedOperationException("Not implemented: listCustomTargetTypesCallable()");
}

public UnaryCallable<GetCustomTargetTypeRequest, CustomTargetType> getCustomTargetTypeCallable() {
throw new UnsupportedOperationException("Not implemented: getCustomTargetTypeCallable()");
}

public OperationCallable<CreateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
createCustomTargetTypeOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: createCustomTargetTypeOperationCallable()");
}

public UnaryCallable<CreateCustomTargetTypeRequest, Operation> createCustomTargetTypeCallable() {
throw new UnsupportedOperationException("Not implemented: createCustomTargetTypeCallable()");
}

public OperationCallable<UpdateCustomTargetTypeRequest, CustomTargetType, OperationMetadata>
updateCustomTargetTypeOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: updateCustomTargetTypeOperationCallable()");
}

public UnaryCallable<UpdateCustomTargetTypeRequest, Operation> updateCustomTargetTypeCallable() {
throw new UnsupportedOperationException("Not implemented: updateCustomTargetTypeCallable()");
}

public OperationCallable<DeleteCustomTargetTypeRequest, Empty, OperationMetadata>
deleteCustomTargetTypeOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: deleteCustomTargetTypeOperationCallable()");
}

public UnaryCallable<DeleteCustomTargetTypeRequest, Operation> deleteCustomTargetTypeCallable() {
throw new UnsupportedOperationException("Not implemented: deleteCustomTargetTypeCallable()");
}

public UnaryCallable<ListReleasesRequest, ListReleasesPagedResponse> listReleasesPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listReleasesPagedCallable()");
}
Expand Down

0 comments on commit 003e683

Please sign in to comment.