google-apis-clouddeploy_v1 0.54.0 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a4a13e6ae1b9a621af21ef9727386378b5d404c5a3aaab097a0ff10e44053ce
4
- data.tar.gz: 59698bf2dce1f7a812f8a37ee95e985e41faa7a09bb152ea4c111d773fa55387
3
+ metadata.gz: d1a401bb986417f369f5a1f24fc15f5e810f1091377d6fa7d1c38dba994a5647
4
+ data.tar.gz: 3fa03a98d218d251627df0b9b25d739872ad2e699be919aff3cddeb70631bfce
5
5
  SHA512:
6
- metadata.gz: 23897801a7126964a1fb3e52521aa1b637cff4e1096f689520e7a37ffd3880e8f7bd6680b2e5c9f1948a6e1b7f7e9a26d75d1d84f1e299810d300c48a278fcba
7
- data.tar.gz: b55d09869a8aae94501d6dc40bd10d0aa70bb6f3510ebb9d8616486e76b9ac074922a3a76a7ae92f82616653e62125018be87b9028c55963fcd1d0e71bd96e52
6
+ metadata.gz: 4e141dd71108d3659dc0de4893bf15f5101de7d5e1ffd61d0e93c6b5d5658e99e51217aabd5d6325835fcb14617d628ced39778c225990496e88cbedcb0cbdf4
7
+ data.tar.gz: ded91542ff354ae71d501e7efe75167d514934ddc259fc6b873b36d28ab7a718e223ce3f7cf0da56b9e00475014c7cf1865543aac6deec69b4ee53ac3702db80
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.56.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.55.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241204
11
+
3
12
  ### v0.54.0 (2024-11-10)
4
13
 
5
14
  * Regenerated from discovery document revision 20241029
@@ -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
+ # Identifier. 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`
@@ -3396,9 +3406,9 @@ module Google
3396
3406
  attr_accessor :end_time
3397
3407
 
3398
3408
  # Output only. Identifies whether the user has requested cancellation of the
3399
- # operation. Operations that have successfully been cancelled have Operation.
3400
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
3401
- # CANCELLED`.
3409
+ # operation. Operations that have successfully been cancelled have google.
3410
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
3411
+ # corresponding to `Code.CANCELLED`.
3402
3412
  # Corresponds to the JSON property `requestedCancellation`
3403
3413
  # @return [Boolean]
3404
3414
  attr_accessor :requested_cancellation
@@ -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,19 +4175,20 @@ 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
4176
4188
 
4177
- # The Skaffold version to use when operating on this release, such as "1.20.0".
4178
- # Not all versions are valid; Cloud Deploy supports a specific set of versions.
4179
- # If unset, the most recent supported Skaffold version will be used.
4189
+ # Optional. The Skaffold version to use when operating on this release, such as "
4190
+ # 1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of
4191
+ # versions. If unset, the most recent supported Skaffold version will be used.
4180
4192
  # Corresponds to the JSON property `skaffoldVersion`
4181
4193
  # @return [String]
4182
4194
  attr_accessor :skaffold_version
@@ -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`
@@ -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.54.0"
19
+ GEM_VERSION = "0.56.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 = "20241029"
25
+ REVISION = "20250101"
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,14 +2173,51 @@ 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`.
2134
2216
  # Clients can use Operations.GetOperation or other methods to check whether the
2135
2217
  # cancellation succeeded or whether the operation completed despite cancellation.
2136
2218
  # On successful cancellation, the operation is not deleted; instead, it becomes
2137
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
2138
- # corresponding to `Code.CANCELLED`.
2219
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
2220
+ # , corresponding to `Code.CANCELLED`.
2139
2221
  # @param [String] name
2140
2222
  # The name of the operation resource to be cancelled.
2141
2223
  # @param [Google::Apis::ClouddeployV1::CancelOperationRequest] cancel_operation_request_object
@@ -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.54.0
4
+ version: 0.56.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-11-17 00:00:00.000000000 Z
10
+ date: 2025-01-12 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.54.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.56.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.22
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Deploy API V1
82
79
  test_files: []