google-apis-backupdr_v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/backupdr_v1/classes.rb +32 -10
- data/lib/google/apis/backupdr_v1/gem_version.rb +2 -2
- data/lib/google/apis/backupdr_v1/service.rb +39 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfee2f5e07d91b45ee0be058a14c9f2600e601dbc9e54bee845b4ba2245e7060
|
4
|
+
data.tar.gz: ce681100bc0a7e198c0d76752354d01f2c31a4c53fc57b1214722d9703b551ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9b837b0a783eb04147697cfacff52dcd2e69e940f3b7c92af700ef34360facc52df5761401c4a7a0c0c7e16b2e876e7d5f791f485045db4b5449ed108e5d205
|
7
|
+
data.tar.gz: 9d87dbdd01ad20edf9a0e843aa8f2d39c8b27644a0aa9daa9fc086c8db9a6f8e9364004a3e052cbd9d8903082d2f5fa78916b041779a8cf28687e3d80b3dd544
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-backupdr_v1
|
2
2
|
|
3
|
+
### v0.5.0 (2024-01-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231224
|
6
|
+
|
7
|
+
### v0.4.0 (2023-12-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231208
|
10
|
+
|
3
11
|
### v0.3.0 (2023-11-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231029
|
@@ -132,21 +132,43 @@ module Google
|
|
132
132
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
133
133
|
# email address that represents a Google group. For example, `admins@example.com`
|
134
134
|
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
135
|
-
# users of that domain. For example, `google.com` or `example.com`. * `
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
#
|
135
|
+
# users of that domain. For example, `google.com` or `example.com`. * `principal:
|
136
|
+
# //iam.googleapis.com/locations/global/workforcePools/`pool_id`/subject/`
|
137
|
+
# subject_attribute_value``: A single identity in a workforce identity pool. * `
|
138
|
+
# principalSet://iam.googleapis.com/locations/global/workforcePools/`pool_id`/
|
139
|
+
# group/`group_id``: All workforce identities in a group. * `principalSet://iam.
|
140
|
+
# googleapis.com/locations/global/workforcePools/`pool_id`/attribute.`
|
141
|
+
# attribute_name`/`attribute_value``: All workforce identities with a specific
|
142
|
+
# attribute value. * `principalSet://iam.googleapis.com/locations/global/
|
143
|
+
# workforcePools/`pool_id`/*`: All identities in a workforce identity pool. * `
|
144
|
+
# principal://iam.googleapis.com/projects/`project_number`/locations/global/
|
145
|
+
# workloadIdentityPools/`pool_id`/subject/`subject_attribute_value``: A single
|
146
|
+
# identity in a workload identity pool. * `principalSet://iam.googleapis.com/
|
147
|
+
# projects/`project_number`/locations/global/workloadIdentityPools/`pool_id`/
|
148
|
+
# group/`group_id``: A workload identity pool group. * `principalSet://iam.
|
149
|
+
# googleapis.com/projects/`project_number`/locations/global/
|
150
|
+
# workloadIdentityPools/`pool_id`/attribute.`attribute_name`/`attribute_value``:
|
151
|
+
# All identities in a workload identity pool with a certain attribute. * `
|
152
|
+
# principalSet://iam.googleapis.com/projects/`project_number`/locations/global/
|
153
|
+
# workloadIdentityPools/`pool_id`/*`: All identities in a workload identity pool.
|
154
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
155
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
156
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
157
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
158
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
159
|
+
# address (plus unique identifier) representing a service account that has been
|
160
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
143
161
|
# 123456789012345678901`. If the service account is undeleted, this value
|
144
162
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
145
163
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
146
164
|
# An email address (plus unique identifier) representing a Google group that has
|
147
165
|
# been recently deleted. For example, `admins@example.com?uid=
|
148
166
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
149
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
167
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
168
|
+
# deleted:principal://iam.googleapis.com/locations/global/workforcePools/`
|
169
|
+
# pool_id`/subject/`subject_attribute_value``: Deleted single identity in a
|
170
|
+
# workforce identity pool. For example, `deleted:principal://iam.googleapis.com/
|
171
|
+
# locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
|
150
172
|
# Corresponds to the JSON property `members`
|
151
173
|
# @return [Array<String>]
|
152
174
|
attr_accessor :members
|
@@ -442,7 +464,7 @@ module Google
|
|
442
464
|
# @return [String]
|
443
465
|
attr_accessor :state
|
444
466
|
|
445
|
-
#
|
467
|
+
# Optional. The type of the ManagementServer resource.
|
446
468
|
# Corresponds to the JSON property `type`
|
447
469
|
# @return [String]
|
448
470
|
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.
|
19
|
+
GEM_VERSION = "0.5.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 = "
|
25
|
+
REVISION = "20231224"
|
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.
|
4
|
+
version: 0.5.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:
|
11
|
+
date: 2024-01-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-backupdr_v1/v0.5.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Backup and DR Service API V1
|