google-apis-clouddeploy_v1 0.55.0 → 0.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61b159c06fe5a60d8108acd949b9135f51b5f80622c86b8d4ae408cabb0ffd21
4
- data.tar.gz: 2621d0bda25ae8f09a1262bbbe66cbd38ce78a6c0b638ce766102f4f1f850a21
3
+ metadata.gz: a5e11cbc4c221f5bb30ccff1902812963ed0877ad42552b587090bfac3fede96
4
+ data.tar.gz: b8a1f77b59448a86bf81d64769ac4724ba2770310d7f12c49b7ebb5969222626
5
5
  SHA512:
6
- metadata.gz: 540e940229875a7e36262ab511c185611bd098c80994945566db68b7891431fee4159d147c1c4216f33356cd9003e2c31ed5ff9db42a8f2621f0cd37884cf3b9
7
- data.tar.gz: bf4335b30d738ccdfedc2eae723aba9c5d281008c5d4c368debaffab00f1314c2c4b2b837658ba25e1cd2ec510d7ab54d1cb59aa2fdde65a439920a2d4db7e51
6
+ metadata.gz: 53654cfa44cde45eb715ea6464f52c4d0e2161e73d31e1049cf60cb6aca5d4c4851b91c88677d2221bee1529e3340f031227c4f1d2e84aa5328b3100f75b8936
7
+ data.tar.gz: e89ef9c448c8e3a8fb1eddcf20e38793dbcaaaa40786a53e1bcfc078cc12bc446c4540ea40a06bdcb3c9bb92aecedcbec68eb90f2d90b68abfd4b4e9dee53902
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.57.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250212
6
+
7
+ ### v0.56.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250101
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.55.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241204
@@ -523,7 +523,7 @@ module Google
523
523
  class AutomationResourceSelector
524
524
  include Google::Apis::Core::Hashable
525
525
 
526
- # Contains attributes about a target.
526
+ # Optional. Contains attributes about a target.
527
527
  # Corresponds to the JSON property `targets`
528
528
  # @return [Array<Google::Apis::ClouddeployV1::TargetAttribute>]
529
529
  attr_accessor :targets
@@ -940,13 +940,14 @@ module Google
940
940
  class BuildArtifact
941
941
  include Google::Apis::Core::Hashable
942
942
 
943
- # Image name in Skaffold configuration.
943
+ # Optional. Image name in Skaffold configuration.
944
944
  # Corresponds to the JSON property `image`
945
945
  # @return [String]
946
946
  attr_accessor :image
947
947
 
948
- # Image tag to use. This will generally be the full path to an image, such as "
949
- # gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".
948
+ # Optional. Image tag to use. This will generally be the full path to an image,
949
+ # such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:
950
+ # abc123".
950
951
  # Corresponds to the JSON property `tag`
951
952
  # @return [String]
952
953
  attr_accessor :tag
@@ -1016,7 +1017,7 @@ module Google
1016
1017
  # @return [Google::Apis::ClouddeployV1::Predeploy]
1017
1018
  attr_accessor :predeploy
1018
1019
 
1019
- # Whether to run verify tests after each percentage deployment.
1020
+ # Optional. Whether to run verify tests after each percentage deployment.
1020
1021
  # Corresponds to the JSON property `verify`
1021
1022
  # @return [Boolean]
1022
1023
  attr_accessor :verify
@@ -1136,9 +1137,9 @@ module Google
1136
1137
  class CloudRunConfig
1137
1138
  include Google::Apis::Core::Hashable
1138
1139
 
1139
- # Whether Cloud Deploy should update the traffic stanza in a Cloud Run Service
1140
- # on the user's behalf to facilitate traffic splitting. This is required to be
1141
- # true for CanaryDeployments, but optional for CustomCanaryDeployments.
1140
+ # Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud Run
1141
+ # Service on the user's behalf to facilitate traffic splitting. This is required
1142
+ # to be true for CanaryDeployments, but optional for CustomCanaryDeployments.
1142
1143
  # Corresponds to the JSON property `automaticTrafficControl`
1143
1144
  # @return [Boolean]
1144
1145
  attr_accessor :automatic_traffic_control
@@ -1495,7 +1496,7 @@ module Google
1495
1496
  # @return [Hash<String,String>]
1496
1497
  attr_accessor :labels
1497
1498
 
1498
- # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
1499
+ # Identifier. Name of the `CustomTargetType`. Format is `projects/`project`/
1499
1500
  # locations/`location`/customTargetTypes/`customTargetType``. The `
1500
1501
  # customTargetType` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
1501
1502
  # Corresponds to the JSON property `name`
@@ -1646,8 +1647,8 @@ module Google
1646
1647
  class DeliveryPipeline
1647
1648
  include Google::Apis::Core::Hashable
1648
1649
 
1649
- # User annotations. These attributes can only be set and used by the user, and
1650
- # not by Cloud Deploy.
1650
+ # Optional. User annotations. These attributes can only be set and used by the
1651
+ # user, and not by Cloud Deploy.
1651
1652
  # Corresponds to the JSON property `annotations`
1652
1653
  # @return [Hash<String,String>]
1653
1654
  attr_accessor :annotations
@@ -1662,7 +1663,7 @@ module Google
1662
1663
  # @return [String]
1663
1664
  attr_accessor :create_time
1664
1665
 
1665
- # Description of the `DeliveryPipeline`. Max length is 255 characters.
1666
+ # Optional. Description of the `DeliveryPipeline`. Max length is 255 characters.
1666
1667
  # Corresponds to the JSON property `description`
1667
1668
  # @return [String]
1668
1669
  attr_accessor :description
@@ -1685,7 +1686,7 @@ module Google
1685
1686
  # @return [Hash<String,String>]
1686
1687
  attr_accessor :labels
1687
1688
 
1688
- # Optional. Name of the `DeliveryPipeline`. Format is `projects/`project`/
1689
+ # Identifier. Name of the `DeliveryPipeline`. Format is `projects/`project`/
1689
1690
  # locations/`location`/deliveryPipelines/`deliveryPipeline``. The `
1690
1691
  # deliveryPipeline` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
1691
1692
  # Corresponds to the JSON property `name`
@@ -1697,8 +1698,8 @@ module Google
1697
1698
  # @return [Google::Apis::ClouddeployV1::SerialPipeline]
1698
1699
  attr_accessor :serial_pipeline
1699
1700
 
1700
- # When suspended, no new releases or rollouts can be created, but in-progress
1701
- # ones will complete.
1701
+ # Optional. When suspended, no new releases or rollouts can be created, but in-
1702
+ # progress ones will complete.
1702
1703
  # Corresponds to the JSON property `suspended`
1703
1704
  # @return [Boolean]
1704
1705
  attr_accessor :suspended
@@ -1738,9 +1739,9 @@ module Google
1738
1739
  class DeliveryPipelineAttribute
1739
1740
  include Google::Apis::Core::Hashable
1740
1741
 
1741
- # ID of the `DeliveryPipeline`. The value of this field could be one of the
1742
- # following: * The last segment of a pipeline name * "*", all delivery pipelines
1743
- # in a location
1742
+ # Optional. ID of the `DeliveryPipeline`. The value of this field could be one
1743
+ # of the following: * The last segment of a pipeline name * "*", all delivery
1744
+ # pipelines in a location
1744
1745
  # Corresponds to the JSON property `id`
1745
1746
  # @return [String]
1746
1747
  attr_accessor :id
@@ -1951,10 +1952,10 @@ module Google
1951
1952
  class DeployPolicy
1952
1953
  include Google::Apis::Core::Hashable
1953
1954
 
1954
- # User annotations. These attributes can only be set and used by the user, and
1955
- # not by Cloud Deploy. Annotations must meet the following constraints: *
1956
- # Annotations are key/value pairs. * Valid annotation keys have two segments: an
1957
- # optional prefix and name, separated by a slash (`/`). * The name segment is
1955
+ # Optional. User annotations. These attributes can only be set and used by the
1956
+ # user, and not by Cloud Deploy. Annotations must meet the following constraints:
1957
+ # * Annotations are key/value pairs. * Valid annotation keys have two segments:
1958
+ # an optional prefix and name, separated by a slash (`/`). * The name segment is
1958
1959
  # required and must be 63 characters or less, beginning and ending with an
1959
1960
  # alphanumeric character (`[a-z0-9A-Z]`) with dashes (`-`), underscores (`_`),
1960
1961
  # dots (`.`), and alphanumerics between. * The prefix is optional. If specified,
@@ -1971,7 +1972,7 @@ module Google
1971
1972
  # @return [String]
1972
1973
  attr_accessor :create_time
1973
1974
 
1974
- # Description of the `DeployPolicy`. Max length is 255 characters.
1975
+ # Optional. Description of the `DeployPolicy`. Max length is 255 characters.
1975
1976
  # Corresponds to the JSON property `description`
1976
1977
  # @return [String]
1977
1978
  attr_accessor :description
@@ -2014,8 +2015,8 @@ module Google
2014
2015
  # @return [Array<Google::Apis::ClouddeployV1::DeployPolicyResourceSelector>]
2015
2016
  attr_accessor :selectors
2016
2017
 
2017
- # When suspended, the policy will not prevent actions from occurring, even if
2018
- # the action violates the policy.
2018
+ # Optional. When suspended, the policy will not prevent actions from occurring,
2019
+ # even if the action violates the policy.
2019
2020
  # Corresponds to the JSON property `suspended`
2020
2021
  # @return [Boolean]
2021
2022
  attr_accessor :suspended
@@ -2468,13 +2469,21 @@ module Google
2468
2469
  # @return [String]
2469
2470
  attr_accessor :cluster
2470
2471
 
2472
+ # Optional. If set, the cluster will be accessed using the DNS endpoint. Note
2473
+ # that both `dns_endpoint` and `internal_ip` cannot be set to true.
2474
+ # Corresponds to the JSON property `dnsEndpoint`
2475
+ # @return [Boolean]
2476
+ attr_accessor :dns_endpoint
2477
+ alias_method :dns_endpoint?, :dns_endpoint
2478
+
2471
2479
  # Optional. If true, `cluster` is accessed using the private IP address of the
2472
2480
  # control plane endpoint. Otherwise, the default IP address of the control plane
2473
2481
  # endpoint is used. The default IP address is the private IP address for
2474
2482
  # clusters with private control-plane endpoints and the public IP address
2475
2483
  # otherwise. Only specify this option when `cluster` is a [private GKE cluster](
2476
2484
  # https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-
2477
- # concept).
2485
+ # concept). Note that `internal_ip` and `dns_endpoint` cannot both be set to
2486
+ # true.
2478
2487
  # Corresponds to the JSON property `internalIp`
2479
2488
  # @return [Boolean]
2480
2489
  attr_accessor :internal_ip
@@ -2494,6 +2503,7 @@ module Google
2494
2503
  # Update properties of this object
2495
2504
  def update!(**args)
2496
2505
  @cluster = args[:cluster] if args.key?(:cluster)
2506
+ @dns_endpoint = args[:dns_endpoint] if args.key?(:dns_endpoint)
2497
2507
  @internal_ip = args[:internal_ip] if args.key?(:internal_ip)
2498
2508
  @proxy_url = args[:proxy_url] if args.key?(:proxy_url)
2499
2509
  end
@@ -2662,7 +2672,7 @@ module Google
2662
2672
  # @return [String]
2663
2673
  attr_accessor :job_id
2664
2674
 
2665
- # Optional. Name of the `JobRun`. Format is `projects/`project`/locations/`
2675
+ # Output only. Name of the `JobRun`. Format is `projects/`project`/locations/`
2666
2676
  # location`/deliveryPipelines/`deliveryPipeline`/releases/`releases`/rollouts/`
2667
2677
  # rollouts`/jobRuns/`uuid``.
2668
2678
  # Corresponds to the JSON property `name`
@@ -3096,7 +3106,7 @@ module Google
3096
3106
  end
3097
3107
  end
3098
3108
 
3099
- # ListRolloutsResponse is the response object reutrned by `ListRollouts`.
3109
+ # ListRolloutsResponse is the response object returned by `ListRollouts`.
3100
3110
  class ListRolloutsResponse
3101
3111
  include Google::Apis::Core::Hashable
3102
3112
 
@@ -3540,13 +3550,14 @@ module Google
3540
3550
  # @return [Google::Apis::ClouddeployV1::Predeploy]
3541
3551
  attr_accessor :predeploy
3542
3552
 
3543
- # Skaffold profiles to use when rendering the manifest for this phase. These are
3544
- # in addition to the profiles list specified in the `DeliveryPipeline` stage.
3553
+ # Optional. Skaffold profiles to use when rendering the manifest for this phase.
3554
+ # These are in addition to the profiles list specified in the `DeliveryPipeline`
3555
+ # stage.
3545
3556
  # Corresponds to the JSON property `profiles`
3546
3557
  # @return [Array<String>]
3547
3558
  attr_accessor :profiles
3548
3559
 
3549
- # Whether to run verify tests after the deployment.
3560
+ # Optional. Whether to run verify tests after the deployment.
3550
3561
  # Corresponds to the JSON property `verify`
3551
3562
  # @return [Boolean]
3552
3563
  attr_accessor :verify
@@ -4080,14 +4091,14 @@ module Google
4080
4091
  attr_accessor :abandoned
4081
4092
  alias_method :abandoned?, :abandoned
4082
4093
 
4083
- # User annotations. These attributes can only be set and used by the user, and
4084
- # not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
4085
- # details such as format and size limitations.
4094
+ # Optional. User annotations. These attributes can only be set and used by the
4095
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
4096
+ # more details such as format and size limitations.
4086
4097
  # Corresponds to the JSON property `annotations`
4087
4098
  # @return [Hash<String,String>]
4088
4099
  attr_accessor :annotations
4089
4100
 
4090
- # List of artifacts to pass through to Skaffold command.
4101
+ # Optional. List of artifacts to pass through to Skaffold command.
4091
4102
  # Corresponds to the JSON property `buildArtifacts`
4092
4103
  # @return [Array<Google::Apis::ClouddeployV1::BuildArtifact>]
4093
4104
  attr_accessor :build_artifacts
@@ -4119,7 +4130,7 @@ module Google
4119
4130
  # @return [Hash<String,String>]
4120
4131
  attr_accessor :deploy_parameters
4121
4132
 
4122
- # Description of the `Release`. Max length is 255 characters.
4133
+ # Optional. Description of the `Release`. Max length is 255 characters.
4123
4134
  # Corresponds to the JSON property `description`
4124
4135
  # @return [String]
4125
4136
  attr_accessor :description
@@ -4142,7 +4153,7 @@ module Google
4142
4153
  # @return [Hash<String,String>]
4143
4154
  attr_accessor :labels
4144
4155
 
4145
- # Optional. Name of the `Release`. Format is `projects/`project`/locations/`
4156
+ # Identifier. Name of the `Release`. Format is `projects/`project`/locations/`
4146
4157
  # location`/deliveryPipelines/`deliveryPipeline`/releases/`release``. The `
4147
4158
  # release` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
4148
4159
  # Corresponds to the JSON property `name`
@@ -4164,12 +4175,13 @@ module Google
4164
4175
  # @return [String]
4165
4176
  attr_accessor :render_state
4166
4177
 
4167
- # Filepath of the Skaffold config inside of the config URI.
4178
+ # Optional. Filepath of the Skaffold config inside of the config URI.
4168
4179
  # Corresponds to the JSON property `skaffoldConfigPath`
4169
4180
  # @return [String]
4170
4181
  attr_accessor :skaffold_config_path
4171
4182
 
4172
- # Cloud Storage URI of tar.gz archive containing Skaffold configuration.
4183
+ # Optional. Cloud Storage URI of tar.gz archive containing Skaffold
4184
+ # configuration.
4173
4185
  # Corresponds to the JSON property `skaffoldConfigUri`
4174
4186
  # @return [String]
4175
4187
  attr_accessor :skaffold_config_uri
@@ -4892,9 +4904,9 @@ module Google
4892
4904
  # @return [String]
4893
4905
  attr_accessor :active_repair_automation_run
4894
4906
 
4895
- # User annotations. These attributes can only be set and used by the user, and
4896
- # not by Cloud Deploy. See https://google.aip.dev/128#annotations for more
4897
- # details such as format and size limitations.
4907
+ # Optional. User annotations. These attributes can only be set and used by the
4908
+ # user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for
4909
+ # more details such as format and size limitations.
4898
4910
  # Corresponds to the JSON property `annotations`
4899
4911
  # @return [Hash<String,String>]
4900
4912
  attr_accessor :annotations
@@ -4944,7 +4956,8 @@ module Google
4944
4956
  # @return [String]
4945
4957
  attr_accessor :deploying_build
4946
4958
 
4947
- # Description of the `Rollout` for user purposes. Max length is 255 characters.
4959
+ # Optional. Description of the `Rollout` for user purposes. Max length is 255
4960
+ # characters.
4948
4961
  # Corresponds to the JSON property `description`
4949
4962
  # @return [String]
4950
4963
  attr_accessor :description
@@ -4982,7 +4995,7 @@ module Google
4982
4995
  # @return [Google::Apis::ClouddeployV1::Metadata]
4983
4996
  attr_accessor :metadata
4984
4997
 
4985
- # Optional. Name of the `Rollout`. Format is `projects/`project`/locations/`
4998
+ # Identifier. Name of the `Rollout`. Format is `projects/`project`/locations/`
4986
4999
  # location`/deliveryPipelines/`deliveryPipeline`/releases/`release`/rollouts/`
4987
5000
  # rollout``. The `rollout` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
4988
5001
  # Corresponds to the JSON property `name`
@@ -5234,7 +5247,7 @@ module Google
5234
5247
 
5235
5248
  # Optional. Whether to propagate the Kubernetes Service to the route destination
5236
5249
  # clusters. The Service will always be deployed to the Target cluster even if
5237
- # the HTTPRoute is not. This option may be used to facilitiate successful DNS
5250
+ # the HTTPRoute is not. This option may be used to facilitate successful DNS
5238
5251
  # lookup in the route destination clusters. Can only be set to true if
5239
5252
  # destinations are specified.
5240
5253
  # Corresponds to the JSON property `propagateService`
@@ -5283,8 +5296,8 @@ module Google
5283
5296
  class SerialPipeline
5284
5297
  include Google::Apis::Core::Hashable
5285
5298
 
5286
- # Each stage specifies configuration for a `Target`. The ordering of this list
5287
- # defines the promotion flow.
5299
+ # Optional. Each stage specifies configuration for a `Target`. The ordering of
5300
+ # this list defines the promotion flow.
5288
5301
  # Corresponds to the JSON property `stages`
5289
5302
  # @return [Array<Google::Apis::ClouddeployV1::Stage>]
5290
5303
  attr_accessor :stages
@@ -5615,7 +5628,8 @@ module Google
5615
5628
  # @return [Array<Google::Apis::ClouddeployV1::DeployParameters>]
5616
5629
  attr_accessor :deploy_parameters
5617
5630
 
5618
- # Skaffold profiles to use when rendering the manifest for this stage's `Target`.
5631
+ # Optional. Skaffold profiles to use when rendering the manifest for this stage'
5632
+ # s `Target`.
5619
5633
  # Corresponds to the JSON property `profiles`
5620
5634
  # @return [Array<String>]
5621
5635
  attr_accessor :profiles
@@ -5625,11 +5639,11 @@ module Google
5625
5639
  # @return [Google::Apis::ClouddeployV1::Strategy]
5626
5640
  attr_accessor :strategy
5627
5641
 
5628
- # The target_id to which this stage points. This field refers exclusively to the
5629
- # last segment of a target name. For example, this field would just be `my-
5630
- # target` (rather than `projects/project/locations/location/targets/my-target`).
5631
- # The location of the `Target` is inferred to be the same as the location of the
5632
- # `DeliveryPipeline` that contains this `Stage`.
5642
+ # Optional. The target_id to which this stage points. This field refers
5643
+ # exclusively to the last segment of a target name. For example, this field
5644
+ # would just be `my-target` (rather than `projects/project/locations/location/
5645
+ # targets/my-target`). The location of the `Target` is inferred to be the same
5646
+ # as the location of the `DeliveryPipeline` that contains this `Stage`.
5633
5647
  # Corresponds to the JSON property `targetId`
5634
5648
  # @return [String]
5635
5649
  attr_accessor :target_id
@@ -5661,7 +5675,7 @@ module Google
5661
5675
  # @return [Google::Apis::ClouddeployV1::Predeploy]
5662
5676
  attr_accessor :predeploy
5663
5677
 
5664
- # Whether to verify a deployment.
5678
+ # Optional. Whether to verify a deployment.
5665
5679
  # Corresponds to the JSON property `verify`
5666
5680
  # @return [Boolean]
5667
5681
  attr_accessor :verify
@@ -5799,8 +5813,8 @@ module Google
5799
5813
  # @return [String]
5800
5814
  attr_accessor :etag
5801
5815
 
5802
- # Configurations for all execution that relates to this `Target`. Each `
5803
- # ExecutionEnvironmentUsage` value may only be used in a single configuration;
5816
+ # Optional. Configurations for all execution that relates to this `Target`. Each
5817
+ # `ExecutionEnvironmentUsage` value may only be used in a single configuration;
5804
5818
  # using the same value multiple times is an error. When one or more
5805
5819
  # configurations are specified, they must include the `RENDER` and `DEPLOY` `
5806
5820
  # ExecutionEnvironmentUsage` values. When no configurations are specified,
@@ -5830,7 +5844,7 @@ module Google
5830
5844
  # @return [Google::Apis::ClouddeployV1::MultiTarget]
5831
5845
  attr_accessor :multi_target
5832
5846
 
5833
- # Optional. Name of the `Target`. Format is `projects/`project`/locations/`
5847
+ # Identifier. Name of the `Target`. Format is `projects/`project`/locations/`
5834
5848
  # location`/targets/`target``. The `target` component must match `[a-z]([a-z0-9-]
5835
5849
  # `0,61`[a-z0-9])?`
5836
5850
  # Corresponds to the JSON property `name`
@@ -5935,8 +5949,9 @@ module Google
5935
5949
  class TargetAttribute
5936
5950
  include Google::Apis::Core::Hashable
5937
5951
 
5938
- # ID of the `Target`. The value of this field could be one of the following: *
5939
- # The last segment of a target name * "*", all targets in a location
5952
+ # Optional. ID of the `Target`. The value of this field could be one of the
5953
+ # following: * The last segment of a target name * "*", all targets in a
5954
+ # location
5940
5955
  # Corresponds to the JSON property `id`
5941
5956
  # @return [String]
5942
5957
  attr_accessor :id
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ClouddeployV1
18
18
  # Version of the google-apis-clouddeploy_v1 gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241204"
25
+ REVISION = "20250212"
26
26
  end
27
27
  end
28
28
  end
@@ -1671,6 +1671,7 @@ module Google
1671
1671
  # @private
1672
1672
  class Representation < Google::Apis::Core::JsonRepresentation
1673
1673
  property :cluster, as: 'cluster'
1674
+ property :dns_endpoint, as: 'dnsEndpoint'
1674
1675
  property :internal_ip, as: 'internalIp'
1675
1676
  property :proxy_url, as: 'proxyUrl'
1676
1677
  end
@@ -392,7 +392,7 @@ module Google
392
392
 
393
393
  # Updates a single CustomTargetType.
394
394
  # @param [String] name
395
- # Optional. Name of the `CustomTargetType`. Format is `projects/`project`/
395
+ # Identifier. Name of the `CustomTargetType`. Format is `projects/`project`/
396
396
  # locations/`location`/customTargetTypes/`customTargetType``. The `
397
397
  # customTargetType` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
398
398
  # @param [Google::Apis::ClouddeployV1::CustomTargetType] custom_target_type_object
@@ -730,7 +730,7 @@ module Google
730
730
 
731
731
  # Updates the parameters of a single DeliveryPipeline.
732
732
  # @param [String] name
733
- # Optional. Name of the `DeliveryPipeline`. Format is `projects/`project`/
733
+ # Identifier. Name of the `DeliveryPipeline`. Format is `projects/`project`/
734
734
  # locations/`location`/deliveryPipelines/`deliveryPipeline``. The `
735
735
  # deliveryPipeline` component must match `[a-z]([a-z0-9-]`0,61`[a-z0-9])?`
736
736
  # @param [Google::Apis::ClouddeployV1::DeliveryPipeline] delivery_pipeline_object
@@ -2018,6 +2018,51 @@ module Google
2018
2018
  execute_or_queue_command(command, &block)
2019
2019
  end
2020
2020
 
2021
+ # Gets the access control policy for a resource. Returns an empty policy if the
2022
+ # resource exists and does not have a policy set.
2023
+ # @param [String] resource
2024
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
2025
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2026
+ # appropriate value for this field.
2027
+ # @param [Fixnum] options_requested_policy_version
2028
+ # Optional. The maximum policy version that will be used to format the policy.
2029
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2030
+ # rejected. Requests for policies with any conditional role bindings must
2031
+ # specify version 3. Policies with no conditional role bindings may specify any
2032
+ # valid value or leave the field unset. The policy in the response might use the
2033
+ # policy version that you specified, or it might use a lower policy version. For
2034
+ # example, if you specify version 3, but the policy has no conditional role
2035
+ # bindings, the response uses version 1. To learn which resources support
2036
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2037
+ # google.com/iam/help/conditions/resource-policies).
2038
+ # @param [String] fields
2039
+ # Selector specifying which fields to include in a partial response.
2040
+ # @param [String] quota_user
2041
+ # Available to use for quota purposes for server-side applications. Can be any
2042
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2043
+ # @param [Google::Apis::RequestOptions] options
2044
+ # Request-specific options
2045
+ #
2046
+ # @yield [result, err] Result & error if block supplied
2047
+ # @yieldparam result [Google::Apis::ClouddeployV1::Policy] parsed result object
2048
+ # @yieldparam err [StandardError] error object if request failed
2049
+ #
2050
+ # @return [Google::Apis::ClouddeployV1::Policy]
2051
+ #
2052
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2053
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2054
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2055
+ def get_project_location_deploy_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2056
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
2057
+ command.response_representation = Google::Apis::ClouddeployV1::Policy::Representation
2058
+ command.response_class = Google::Apis::ClouddeployV1::Policy
2059
+ command.params['resource'] = resource unless resource.nil?
2060
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2061
+ command.query['fields'] = fields unless fields.nil?
2062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2063
+ execute_or_queue_command(command, &block)
2064
+ end
2065
+
2021
2066
  # Lists DeployPolicies in a given project and location.
2022
2067
  # @param [String] parent
2023
2068
  # Required. The parent, which owns this collection of deploy policies. Format
@@ -2128,6 +2173,43 @@ module Google
2128
2173
  execute_or_queue_command(command, &block)
2129
2174
  end
2130
2175
 
2176
+ # Sets the access control policy on the specified resource. Replaces any
2177
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2178
+ # PERMISSION_DENIED` errors.
2179
+ # @param [String] resource
2180
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
2181
+ # names](https://cloud.google.com/apis/design/resource_names) for the
2182
+ # appropriate value for this field.
2183
+ # @param [Google::Apis::ClouddeployV1::SetIamPolicyRequest] set_iam_policy_request_object
2184
+ # @param [String] fields
2185
+ # Selector specifying which fields to include in a partial response.
2186
+ # @param [String] quota_user
2187
+ # Available to use for quota purposes for server-side applications. Can be any
2188
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2189
+ # @param [Google::Apis::RequestOptions] options
2190
+ # Request-specific options
2191
+ #
2192
+ # @yield [result, err] Result & error if block supplied
2193
+ # @yieldparam result [Google::Apis::ClouddeployV1::Policy] parsed result object
2194
+ # @yieldparam err [StandardError] error object if request failed
2195
+ #
2196
+ # @return [Google::Apis::ClouddeployV1::Policy]
2197
+ #
2198
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2199
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2200
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2201
+ def set_deploy_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2202
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
2203
+ command.request_representation = Google::Apis::ClouddeployV1::SetIamPolicyRequest::Representation
2204
+ command.request_object = set_iam_policy_request_object
2205
+ command.response_representation = Google::Apis::ClouddeployV1::Policy::Representation
2206
+ command.response_class = Google::Apis::ClouddeployV1::Policy
2207
+ command.params['resource'] = resource unless resource.nil?
2208
+ command.query['fields'] = fields unless fields.nil?
2209
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2210
+ execute_or_queue_command(command, &block)
2211
+ end
2212
+
2131
2213
  # Starts asynchronous cancellation on a long-running operation. The server makes
2132
2214
  # a best effort to cancel the operation, but success is not guaranteed. If the
2133
2215
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -2508,7 +2590,7 @@ module Google
2508
2590
 
2509
2591
  # Updates the parameters of a single Target.
2510
2592
  # @param [String] name
2511
- # Optional. Name of the `Target`. Format is `projects/`project`/locations/`
2593
+ # Identifier. Name of the `Target`. Format is `projects/`project`/locations/`
2512
2594
  # location`/targets/`target``. The `target` component must match `[a-z]([a-z0-9-]
2513
2595
  # `0,61`[a-z0-9])?`
2514
2596
  # @param [Google::Apis::ClouddeployV1::Target] target_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.57.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Deploy API V1
82
79
  test_files: []