Skip to content

Commit

Permalink
feat: [google-cloud-deploy] added support for new custom target type …
Browse files Browse the repository at this point in the history
…and deploy policy platform logs (#12908)

- [ ] Regenerate this pull request now.


BEGIN_COMMIT_OVERRIDE
feat: [google-cloud-deploy] added support for new custom target type and
deploy policy platform logs
feat: [google-cloud-deploy] added support for deploy policies
feat: added support for configuring a proxy_url to a Kubernetes server
docs: small corrections to Cloud Deploy API documentation
END_COMMIT_OVERRIDE

docs: small Cloud Deploy API documentation updates

PiperOrigin-RevId: 653323174

Source-Link:
googleapis/googleapis@9293133

Source-Link:
googleapis/googleapis-gen@655395d
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiNjU1Mzk1ZDhkMDVlMjhlMjEwYzBkZTk3YTlmNWE3OGNmNDRhMDk3OCJ9

BEGIN_NESTED_COMMIT
feat: [google-cloud-deploy] added support for deploy policies
feat: added support for configuring a proxy_url to a Kubernetes server
docs: small corrections to Cloud Deploy API documentation

PiperOrigin-RevId: 652560914

Source-Link:
googleapis/googleapis@b0c32da

Source-Link:
googleapis/googleapis-gen@d8a10c3
Copy-Tag:
eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWRlcGxveS8uT3dsQm90LnlhbWwiLCJoIjoiZDhhMTBjMzhlZDRjNDYyMDQwNDRiN2IwMWIzYmFhZWU3Njk3NWY2MyJ9
END_NESTED_COMMIT

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
  • Loading branch information
3 people authored Jul 19, 2024
1 parent 33e9b14 commit 40a5c2a
Show file tree
Hide file tree
Showing 30 changed files with 14,872 additions and 5,495 deletions.
42 changes: 42 additions & 0 deletions packages/google-cloud-deploy/google/cloud/deploy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
CreateChildRolloutJobRun,
CreateCustomTargetTypeRequest,
CreateDeliveryPipelineRequest,
CreateDeployPolicyRequest,
CreateReleaseRequest,
CreateRolloutRequest,
CreateTargetRequest,
Expand All @@ -74,20 +75,25 @@
DeleteAutomationRequest,
DeleteCustomTargetTypeRequest,
DeleteDeliveryPipelineRequest,
DeleteDeployPolicyRequest,
DeleteTargetRequest,
DeliveryPipeline,
DeliveryPipelineAttribute,
DeployArtifact,
DeployJob,
DeployJobRun,
DeployJobRunMetadata,
DeploymentJobs,
DeployParameters,
DeployPolicy,
DeployPolicyResourceSelector,
ExecutionConfig,
GetAutomationRequest,
GetAutomationRunRequest,
GetConfigRequest,
GetCustomTargetTypeRequest,
GetDeliveryPipelineRequest,
GetDeployPolicyRequest,
GetJobRunRequest,
GetReleaseRequest,
GetRolloutRequest,
Expand All @@ -106,6 +112,8 @@
ListCustomTargetTypesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeployPoliciesRequest,
ListDeployPoliciesResponse,
ListJobRunsRequest,
ListJobRunsResponse,
ListReleasesRequest,
Expand All @@ -120,6 +128,9 @@
Phase,
PipelineCondition,
PipelineReadyCondition,
PolicyRule,
PolicyViolation,
PolicyViolationDetails,
Postdeploy,
PostdeployJob,
PostdeployJobRun,
Expand All @@ -129,13 +140,15 @@
PrivatePool,
PromoteReleaseOperation,
PromoteReleaseRule,
Range,
Release,
RenderMetadata,
RepairMode,
RepairPhase,
RepairRolloutOperation,
RepairRolloutRule,
RepairState,
RestrictRollout,
Retry,
RetryAttempt,
RetryJobRequest,
Expand All @@ -162,16 +175,27 @@
TargetsTypeCondition,
TerminateJobRunRequest,
TerminateJobRunResponse,
TimeWindow,
UpdateAutomationRequest,
UpdateCustomTargetTypeRequest,
UpdateDeliveryPipelineRequest,
UpdateDeployPolicyRequest,
UpdateTargetRequest,
VerifyJob,
VerifyJobRun,
)
from google.cloud.deploy_v1.types.customtargettype_notification_payload import (
CustomTargetTypeNotificationEvent,
)
from google.cloud.deploy_v1.types.deliverypipeline_notification_payload import (
DeliveryPipelineNotificationEvent,
)
from google.cloud.deploy_v1.types.deploypolicy_evaluation_payload import (
DeployPolicyEvaluationEvent,
)
from google.cloud.deploy_v1.types.deploypolicy_notification_payload import (
DeployPolicyNotificationEvent,
)
from google.cloud.deploy_v1.types.jobrun_notification_payload import (
JobRunNotificationEvent,
)
Expand Down Expand Up @@ -228,6 +252,7 @@
"CreateChildRolloutJobRun",
"CreateCustomTargetTypeRequest",
"CreateDeliveryPipelineRequest",
"CreateDeployPolicyRequest",
"CreateReleaseRequest",
"CreateRolloutRequest",
"CreateTargetRequest",
Expand All @@ -241,20 +266,25 @@
"DeleteAutomationRequest",
"DeleteCustomTargetTypeRequest",
"DeleteDeliveryPipelineRequest",
"DeleteDeployPolicyRequest",
"DeleteTargetRequest",
"DeliveryPipeline",
"DeliveryPipelineAttribute",
"DeployArtifact",
"DeployJob",
"DeployJobRun",
"DeployJobRunMetadata",
"DeploymentJobs",
"DeployParameters",
"DeployPolicy",
"DeployPolicyResourceSelector",
"ExecutionConfig",
"GetAutomationRequest",
"GetAutomationRunRequest",
"GetConfigRequest",
"GetCustomTargetTypeRequest",
"GetDeliveryPipelineRequest",
"GetDeployPolicyRequest",
"GetJobRunRequest",
"GetReleaseRequest",
"GetRolloutRequest",
Expand All @@ -273,6 +303,8 @@
"ListCustomTargetTypesResponse",
"ListDeliveryPipelinesRequest",
"ListDeliveryPipelinesResponse",
"ListDeployPoliciesRequest",
"ListDeployPoliciesResponse",
"ListJobRunsRequest",
"ListJobRunsResponse",
"ListReleasesRequest",
Expand All @@ -287,6 +319,9 @@
"Phase",
"PipelineCondition",
"PipelineReadyCondition",
"PolicyRule",
"PolicyViolation",
"PolicyViolationDetails",
"Postdeploy",
"PostdeployJob",
"PostdeployJobRun",
Expand All @@ -296,12 +331,14 @@
"PrivatePool",
"PromoteReleaseOperation",
"PromoteReleaseRule",
"Range",
"Release",
"RenderMetadata",
"RepairMode",
"RepairPhase",
"RepairRolloutOperation",
"RepairRolloutRule",
"RestrictRollout",
"Retry",
"RetryAttempt",
"RetryJobRequest",
Expand All @@ -327,16 +364,21 @@
"TargetsTypeCondition",
"TerminateJobRunRequest",
"TerminateJobRunResponse",
"TimeWindow",
"UpdateAutomationRequest",
"UpdateCustomTargetTypeRequest",
"UpdateDeliveryPipelineRequest",
"UpdateDeployPolicyRequest",
"UpdateTargetRequest",
"VerifyJob",
"VerifyJobRun",
"BackoffMode",
"RepairState",
"SkaffoldSupportState",
"CustomTargetTypeNotificationEvent",
"DeliveryPipelineNotificationEvent",
"DeployPolicyEvaluationEvent",
"DeployPolicyNotificationEvent",
"JobRunNotificationEvent",
"Type",
"ReleaseNotificationEvent",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "1.19.1" # {x-release-please-version}
__version__ = "0.0.0" # {x-release-please-version}
38 changes: 38 additions & 0 deletions packages/google-cloud-deploy/google/cloud/deploy_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
CreateChildRolloutJobRun,
CreateCustomTargetTypeRequest,
CreateDeliveryPipelineRequest,
CreateDeployPolicyRequest,
CreateReleaseRequest,
CreateRolloutRequest,
CreateTargetRequest,
Expand All @@ -71,20 +72,25 @@
DeleteAutomationRequest,
DeleteCustomTargetTypeRequest,
DeleteDeliveryPipelineRequest,
DeleteDeployPolicyRequest,
DeleteTargetRequest,
DeliveryPipeline,
DeliveryPipelineAttribute,
DeployArtifact,
DeployJob,
DeployJobRun,
DeployJobRunMetadata,
DeploymentJobs,
DeployParameters,
DeployPolicy,
DeployPolicyResourceSelector,
ExecutionConfig,
GetAutomationRequest,
GetAutomationRunRequest,
GetConfigRequest,
GetCustomTargetTypeRequest,
GetDeliveryPipelineRequest,
GetDeployPolicyRequest,
GetJobRunRequest,
GetReleaseRequest,
GetRolloutRequest,
Expand All @@ -103,6 +109,8 @@
ListCustomTargetTypesResponse,
ListDeliveryPipelinesRequest,
ListDeliveryPipelinesResponse,
ListDeployPoliciesRequest,
ListDeployPoliciesResponse,
ListJobRunsRequest,
ListJobRunsResponse,
ListReleasesRequest,
Expand All @@ -117,6 +125,9 @@
Phase,
PipelineCondition,
PipelineReadyCondition,
PolicyRule,
PolicyViolation,
PolicyViolationDetails,
Postdeploy,
PostdeployJob,
PostdeployJobRun,
Expand All @@ -126,13 +137,15 @@
PrivatePool,
PromoteReleaseOperation,
PromoteReleaseRule,
Range,
Release,
RenderMetadata,
RepairMode,
RepairPhase,
RepairRolloutOperation,
RepairRolloutRule,
RepairState,
RestrictRollout,
Retry,
RetryAttempt,
RetryJobRequest,
Expand All @@ -159,16 +172,23 @@
TargetsTypeCondition,
TerminateJobRunRequest,
TerminateJobRunResponse,
TimeWindow,
UpdateAutomationRequest,
UpdateCustomTargetTypeRequest,
UpdateDeliveryPipelineRequest,
UpdateDeployPolicyRequest,
UpdateTargetRequest,
VerifyJob,
VerifyJobRun,
)
from .types.customtargettype_notification_payload import (
CustomTargetTypeNotificationEvent,
)
from .types.deliverypipeline_notification_payload import (
DeliveryPipelineNotificationEvent,
)
from .types.deploypolicy_evaluation_payload import DeployPolicyEvaluationEvent
from .types.deploypolicy_notification_payload import DeployPolicyNotificationEvent
from .types.jobrun_notification_payload import JobRunNotificationEvent
from .types.log_enums import Type
from .types.release_notification_payload import ReleaseNotificationEvent
Expand Down Expand Up @@ -218,6 +238,7 @@
"CreateChildRolloutJobRun",
"CreateCustomTargetTypeRequest",
"CreateDeliveryPipelineRequest",
"CreateDeployPolicyRequest",
"CreateReleaseRequest",
"CreateRolloutRequest",
"CreateTargetRequest",
Expand All @@ -227,25 +248,33 @@
"CustomTargetDeployMetadata",
"CustomTargetSkaffoldActions",
"CustomTargetType",
"CustomTargetTypeNotificationEvent",
"DefaultPool",
"DeleteAutomationRequest",
"DeleteCustomTargetTypeRequest",
"DeleteDeliveryPipelineRequest",
"DeleteDeployPolicyRequest",
"DeleteTargetRequest",
"DeliveryPipeline",
"DeliveryPipelineAttribute",
"DeliveryPipelineNotificationEvent",
"DeployArtifact",
"DeployJob",
"DeployJobRun",
"DeployJobRunMetadata",
"DeployParameters",
"DeployPolicy",
"DeployPolicyEvaluationEvent",
"DeployPolicyNotificationEvent",
"DeployPolicyResourceSelector",
"DeploymentJobs",
"ExecutionConfig",
"GetAutomationRequest",
"GetAutomationRunRequest",
"GetConfigRequest",
"GetCustomTargetTypeRequest",
"GetDeliveryPipelineRequest",
"GetDeployPolicyRequest",
"GetJobRunRequest",
"GetReleaseRequest",
"GetRolloutRequest",
Expand All @@ -265,6 +294,8 @@
"ListCustomTargetTypesResponse",
"ListDeliveryPipelinesRequest",
"ListDeliveryPipelinesResponse",
"ListDeployPoliciesRequest",
"ListDeployPoliciesResponse",
"ListJobRunsRequest",
"ListJobRunsResponse",
"ListReleasesRequest",
Expand All @@ -279,6 +310,9 @@
"Phase",
"PipelineCondition",
"PipelineReadyCondition",
"PolicyRule",
"PolicyViolation",
"PolicyViolationDetails",
"Postdeploy",
"PostdeployJob",
"PostdeployJobRun",
Expand All @@ -288,6 +322,7 @@
"PrivatePool",
"PromoteReleaseOperation",
"PromoteReleaseRule",
"Range",
"Release",
"ReleaseNotificationEvent",
"ReleaseRenderEvent",
Expand All @@ -297,6 +332,7 @@
"RepairRolloutOperation",
"RepairRolloutRule",
"RepairState",
"RestrictRollout",
"Retry",
"RetryAttempt",
"RetryJobRequest",
Expand Down Expand Up @@ -326,10 +362,12 @@
"TargetsTypeCondition",
"TerminateJobRunRequest",
"TerminateJobRunResponse",
"TimeWindow",
"Type",
"UpdateAutomationRequest",
"UpdateCustomTargetTypeRequest",
"UpdateDeliveryPipelineRequest",
"UpdateDeployPolicyRequest",
"UpdateTargetRequest",
"VerifyJob",
"VerifyJobRun",
Expand Down
Loading

0 comments on commit 40a5c2a

Please sign in to comment.