google-apis-clouddeploy_v1 0.38.0 → 0.39.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/clouddeploy_v1/gem_version.rb +3 -3
- data/lib/google/apis/clouddeploy_v1/service.rb +82 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9a0750f0b84af73551d03a8254598aac0131bbac0220badad6bf62233e3e1a9
|
4
|
+
data.tar.gz: 124740d5ac5d9b3f970814609f05703b332cd9f4db3631ecbcbc88e026eb9f7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9df7b796947599a58718aaa910d5a3d22dd274675edf165980eff6660ff35225437382e02a614c091eaa5f9ce0892dced7ea626ee95b098c13e8492b85c70af5
|
7
|
+
data.tar.gz: 3265538266e80d94f2223f3841ff45c742c0ec8e0fac8c7e3b2d91aec699c6c966a4e2f4f19f4be45eb9208f243b6bbcee9992f3d8d33069dbdd442eed5301c8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-clouddeploy_v1
|
2
2
|
|
3
|
+
### v0.39.0 (2024-01-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240117
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.38.0 (2024-01-22)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240107
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240117"
|
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.
|
4
|
+
version: 0.39.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-
|
11
|
+
date: 2024-01-28 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-clouddeploy_v1/v0.39.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: []
|