google-apis-backupdr_v1 0.3.0 → 0.4.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: 806483973d711d9274de7665216f9cf446706e067cd97ba427858d96884f4162
4
- data.tar.gz: 0a28cc24b28766833847619e90ab06eecd99e50084ef967c1dbbf1df88d8b9a4
3
+ metadata.gz: 8b2b39de1f4bc65f4cf086126c4327912c05b86b7fb5577747174dd7ff98c783
4
+ data.tar.gz: 8eff135468222e22c0c3e9a87fa8e514213153eafde37c73d07482520cbe22ce
5
5
  SHA512:
6
- metadata.gz: 573bc798959518b003da21cf437fcea700889d3fb24388de81104ac55b150848d4edee0d903996b35d1540613469f99ed76685fcad76cd4f0bd4927aabed5759
7
- data.tar.gz: 2486e6e1f2698400a7b836b00726563a8691f0ed46d029e9db8f15ee1b9a9a66829fa121cc4e9d0dad93ac1daff82c4c65dd246bf95c873288c8f8071beb6760
6
+ metadata.gz: 9c1ea1e084a7609791466fc161da438f34dd6ea2def960cf83dabc376ae8a91fba01c376678e7fb18b3899d10a9067b8ed9504234cefb0563b0ca0dbcd8c75d3
7
+ data.tar.gz: 141420eb61b5b6eef83380bd24113a7e5762db7199fa6efe318a3381321273e64f2750b4c19afef846412d2be92d571083186f78566e6edbcc2e5ac185e78eb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-backupdr_v1
2
2
 
3
+ ### v0.4.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231208
6
+
3
7
  ### v0.3.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231029
@@ -442,7 +442,7 @@ module Google
442
442
  # @return [String]
443
443
  attr_accessor :state
444
444
 
445
- # Required. The type of the ManagementServer resource.
445
+ # Optional. The type of the ManagementServer resource.
446
446
  # Corresponds to the JSON property `type`
447
447
  # @return [String]
448
448
  attr_accessor :type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module BackupdrV1
18
18
  # Version of the google-apis-backupdr_v1 gem
19
- GEM_VERSION = "0.3.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231029"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end
@@ -122,6 +122,45 @@ module Google
122
122
  execute_or_queue_command(command, &block)
123
123
  end
124
124
 
125
+ # Returns permissions that a caller has on the specified resource. If the
126
+ # resource does not exist, this will return an empty set of permissions, not a `
127
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
128
+ # permission-aware UIs and command-line tools, not for authorization checking.
129
+ # This operation may "fail open" without warning.
130
+ # @param [String] resource
131
+ # REQUIRED: The resource for which the policy detail is being requested. See [
132
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
133
+ # appropriate value for this field.
134
+ # @param [Google::Apis::BackupdrV1::TestIamPermissionsRequest] test_iam_permissions_request_object
135
+ # @param [String] fields
136
+ # Selector specifying which fields to include in a partial response.
137
+ # @param [String] quota_user
138
+ # Available to use for quota purposes for server-side applications. Can be any
139
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
140
+ # @param [Google::Apis::RequestOptions] options
141
+ # Request-specific options
142
+ #
143
+ # @yield [result, err] Result & error if block supplied
144
+ # @yieldparam result [Google::Apis::BackupdrV1::TestIamPermissionsResponse] parsed result object
145
+ # @yieldparam err [StandardError] error object if request failed
146
+ #
147
+ # @return [Google::Apis::BackupdrV1::TestIamPermissionsResponse]
148
+ #
149
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
150
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
151
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
152
+ def test_backup_vault_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
153
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
154
+ command.request_representation = Google::Apis::BackupdrV1::TestIamPermissionsRequest::Representation
155
+ command.request_object = test_iam_permissions_request_object
156
+ command.response_representation = Google::Apis::BackupdrV1::TestIamPermissionsResponse::Representation
157
+ command.response_class = Google::Apis::BackupdrV1::TestIamPermissionsResponse
158
+ command.params['resource'] = resource unless resource.nil?
159
+ command.query['fields'] = fields unless fields.nil?
160
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
161
+ execute_or_queue_command(command, &block)
162
+ end
163
+
125
164
  # Creates a new ManagementServer in a given project and location.
126
165
  # @param [String] parent
127
166
  # Required. The management server project and location in the format `projects/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-backupdr_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2023-12-17 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-backupdr_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.3.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.4.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-backupdr_v1
63
63
  post_install_message:
64
64
  rdoc_options: []