google-apis-clouddeploy_v1 0.38.0 → 0.40.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: c7aa5ef2c652972ea7dab7215279c0d7089405e6ef822be00d0b9a3aa65b98e5
4
- data.tar.gz: 76555c4439d68d036548c6ed44a83d0fb42243f6fa653fa267e5aa0db58b5209
3
+ metadata.gz: 73eca24207971d7b5739b4ada07c358260af853281f650112463c99d01b3cd6a
4
+ data.tar.gz: f9e5fe61e902d4d9bb172ff1ef21aa9cda24c9514172efbb2489a5df58b19e6f
5
5
  SHA512:
6
- metadata.gz: f1a2b28b8d9959a7ab8315c691d2de74479a067cbf6a17787e68eb81107f67811ffb9e17f6d91a26c6d967e63d2c55bd30c507b7a66a10f70aa51ff4db26b1bf
7
- data.tar.gz: f7e56a24f6f76eeb0aa7a6299cc71145d00f920a76664d09971603aaee97369a12cded029255f3eca2ebb6528f89ae07c7e4ab3f54f2d5832160345d697f0fbc
6
+ metadata.gz: c79908d199946e60956afc807f60b5566e208c06c3158ca6153eb758cc9e0ba0b94db39872b6b3e9d3c9f308890071b8e1d37c1fc8e1958e08ac1621fe78c772
7
+ data.tar.gz: 8d11fc032d012546107b497f5dddc9f443af9a0aa6acbedb7a67b661444a8a99a56991300cad513323a52f052d74d6c74725c2b71dcf8e7ab07563aede2183ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-clouddeploy_v1
2
2
 
3
+ ### v0.40.0 (2024-02-11)
4
+
5
+ * Regenerated from discovery document revision 20240131
6
+
7
+ ### v0.39.0 (2024-01-28)
8
+
9
+ * Regenerated from discovery document revision 20240117
10
+ * Regenerated using generator version 0.13.1
11
+
3
12
  ### v0.38.0 (2024-01-22)
4
13
 
5
14
  * Regenerated from discovery document revision 20240107
@@ -849,7 +849,10 @@ module Google
849
849
  attr_accessor :members
850
850
 
851
851
  # Role that is assigned to the list of `members`, or principals. For example, `
852
- # roles/viewer`, `roles/editor`, or `roles/owner`.
852
+ # roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
853
+ # roles and permissions, see the [IAM documentation](https://cloud.google.com/
854
+ # iam/docs/roles-overview). For a list of the available pre-defined roles, see [
855
+ # here](https://cloud.google.com/iam/docs/understanding-roles).
853
856
  # Corresponds to the JSON property `role`
854
857
  # @return [String]
855
858
  attr_accessor :role
@@ -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.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.0"
22
+ GENERATOR_VERSION = "0.13.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240107"
25
+ REVISION = "20240131"
26
26
  end
27
27
  end
28
28
  end
@@ -295,6 +295,51 @@ module Google
295
295
  execute_or_queue_command(command, &block)
296
296
  end
297
297
 
298
+ # Gets the access control policy for a resource. Returns an empty policy if the
299
+ # resource exists and does not have a policy set.
300
+ # @param [String] resource
301
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
302
+ # names](https://cloud.google.com/apis/design/resource_names) for the
303
+ # appropriate value for this field.
304
+ # @param [Fixnum] options_requested_policy_version
305
+ # Optional. The maximum policy version that will be used to format the policy.
306
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
307
+ # rejected. Requests for policies with any conditional role bindings must
308
+ # specify version 3. Policies with no conditional role bindings may specify any
309
+ # valid value or leave the field unset. The policy in the response might use the
310
+ # policy version that you specified, or it might use a lower policy version. For
311
+ # example, if you specify version 3, but the policy has no conditional role
312
+ # bindings, the response uses version 1. To learn which resources support
313
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
314
+ # google.com/iam/help/conditions/resource-policies).
315
+ # @param [String] fields
316
+ # Selector specifying which fields to include in a partial response.
317
+ # @param [String] quota_user
318
+ # Available to use for quota purposes for server-side applications. Can be any
319
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
320
+ # @param [Google::Apis::RequestOptions] options
321
+ # Request-specific options
322
+ #
323
+ # @yield [result, err] Result & error if block supplied
324
+ # @yieldparam result [Google::Apis::ClouddeployV1::Policy] parsed result object
325
+ # @yieldparam err [StandardError] error object if request failed
326
+ #
327
+ # @return [Google::Apis::ClouddeployV1::Policy]
328
+ #
329
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
330
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
331
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
332
+ def get_project_location_custom_target_type_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
333
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
334
+ command.response_representation = Google::Apis::ClouddeployV1::Policy::Representation
335
+ command.response_class = Google::Apis::ClouddeployV1::Policy
336
+ command.params['resource'] = resource unless resource.nil?
337
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
338
+ command.query['fields'] = fields unless fields.nil?
339
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
340
+ execute_or_queue_command(command, &block)
341
+ end
342
+
298
343
  # Lists CustomTargetTypes in a given project and location.
299
344
  # @param [String] parent
300
345
  # Required. The parent that owns this collection of custom target types. Format
@@ -406,6 +451,43 @@ module Google
406
451
  execute_or_queue_command(command, &block)
407
452
  end
408
453
 
454
+ # Sets the access control policy on the specified resource. Replaces any
455
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
456
+ # PERMISSION_DENIED` errors.
457
+ # @param [String] resource
458
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
459
+ # names](https://cloud.google.com/apis/design/resource_names) for the
460
+ # appropriate value for this field.
461
+ # @param [Google::Apis::ClouddeployV1::SetIamPolicyRequest] set_iam_policy_request_object
462
+ # @param [String] fields
463
+ # Selector specifying which fields to include in a partial response.
464
+ # @param [String] quota_user
465
+ # Available to use for quota purposes for server-side applications. Can be any
466
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
467
+ # @param [Google::Apis::RequestOptions] options
468
+ # Request-specific options
469
+ #
470
+ # @yield [result, err] Result & error if block supplied
471
+ # @yieldparam result [Google::Apis::ClouddeployV1::Policy] parsed result object
472
+ # @yieldparam err [StandardError] error object if request failed
473
+ #
474
+ # @return [Google::Apis::ClouddeployV1::Policy]
475
+ #
476
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
477
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
478
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
479
+ def set_custom_target_type_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
480
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
481
+ command.request_representation = Google::Apis::ClouddeployV1::SetIamPolicyRequest::Representation
482
+ command.request_object = set_iam_policy_request_object
483
+ command.response_representation = Google::Apis::ClouddeployV1::Policy::Representation
484
+ command.response_class = Google::Apis::ClouddeployV1::Policy
485
+ command.params['resource'] = resource unless resource.nil?
486
+ command.query['fields'] = fields unless fields.nil?
487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
488
+ execute_or_queue_command(command, &block)
489
+ end
490
+
409
491
  # Creates a new DeliveryPipeline in a given project and location.
410
492
  # @param [String] parent
411
493
  # Required. The parent collection in which the `DeliveryPipeline` should be
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-clouddeploy_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.38.0
4
+ version: 0.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.40.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-clouddeploy_v1
63
63
  post_install_message:
64
64
  rdoc_options: []