google-apis-backupdr_v1 0.2.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: b1d124c2569f9b4ac58e2dc601e6a59bd739b8db057d19e3d06779fc1ca7d02e
4
- data.tar.gz: dbd1bc3844dcc27998bef692a1b5164f9cf44e120d3afce0342533e11f8f2a8f
3
+ metadata.gz: 8b2b39de1f4bc65f4cf086126c4327912c05b86b7fb5577747174dd7ff98c783
4
+ data.tar.gz: 8eff135468222e22c0c3e9a87fa8e514213153eafde37c73d07482520cbe22ce
5
5
  SHA512:
6
- metadata.gz: cc71903705a721f16e7c331b92b4500590c48f88f6cd532dd24d6f77d3321d7aba3ca68aa878ca2f6c727af2a79d9863724a5a9b99d61485061929e029d79e5d
7
- data.tar.gz: db6ec7a6c0bf1a255ba12ff91560c700aeb2789c8cd0c3953af9195fddbf229d789c6f64393da5e3eb1b4cee802526ee6dcee6c0c26ccc1c52c85166fd55bd3e
6
+ metadata.gz: 9c1ea1e084a7609791466fc161da438f34dd6ea2def960cf83dabc376ae8a91fba01c376678e7fb18b3899d10a9067b8ed9504234cefb0563b0ca0dbcd8c75d3
7
+ data.tar.gz: 141420eb61b5b6eef83380bd24113a7e5762db7199fa6efe318a3381321273e64f2750b4c19afef846412d2be92d571083186f78566e6edbcc2e5ac185e78eb4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.3.0 (2023-11-12)
8
+
9
+ * Regenerated from discovery document revision 20231029
10
+
3
11
  ### v0.2.0 (2023-10-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20231008
@@ -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
@@ -452,6 +452,16 @@ module Google
452
452
  # @return [String]
453
453
  attr_accessor :update_time
454
454
 
455
+ # ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
456
+ # Corresponds to the JSON property `workforceIdentityBasedManagementUri`
457
+ # @return [Google::Apis::BackupdrV1::WorkforceIdentityBasedManagementUri]
458
+ attr_accessor :workforce_identity_based_management_uri
459
+
460
+ # OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
461
+ # Corresponds to the JSON property `workforceIdentityBasedOauth2ClientId`
462
+ # @return [Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId]
463
+ attr_accessor :workforce_identity_based_oauth2_client_id
464
+
455
465
  def initialize(**args)
456
466
  update!(**args)
457
467
  end
@@ -469,6 +479,8 @@ module Google
469
479
  @state = args[:state] if args.key?(:state)
470
480
  @type = args[:type] if args.key?(:type)
471
481
  @update_time = args[:update_time] if args.key?(:update_time)
482
+ @workforce_identity_based_management_uri = args[:workforce_identity_based_management_uri] if args.key?(:workforce_identity_based_management_uri)
483
+ @workforce_identity_based_oauth2_client_id = args[:workforce_identity_based_oauth2_client_id] if args.key?(:workforce_identity_based_oauth2_client_id)
472
484
  end
473
485
  end
474
486
 
@@ -878,6 +890,56 @@ module Google
878
890
  @permissions = args[:permissions] if args.key?(:permissions)
879
891
  end
880
892
  end
893
+
894
+ # ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
895
+ class WorkforceIdentityBasedManagementUri
896
+ include Google::Apis::Core::Hashable
897
+
898
+ # Output only. First party Management URI for Google Identities.
899
+ # Corresponds to the JSON property `firstPartyManagementUri`
900
+ # @return [String]
901
+ attr_accessor :first_party_management_uri
902
+
903
+ # Output only. Third party Management URI for External Identity Providers.
904
+ # Corresponds to the JSON property `thirdPartyManagementUri`
905
+ # @return [String]
906
+ attr_accessor :third_party_management_uri
907
+
908
+ def initialize(**args)
909
+ update!(**args)
910
+ end
911
+
912
+ # Update properties of this object
913
+ def update!(**args)
914
+ @first_party_management_uri = args[:first_party_management_uri] if args.key?(:first_party_management_uri)
915
+ @third_party_management_uri = args[:third_party_management_uri] if args.key?(:third_party_management_uri)
916
+ end
917
+ end
918
+
919
+ # OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
920
+ class WorkforceIdentityBasedOAuth2ClientId
921
+ include Google::Apis::Core::Hashable
922
+
923
+ # Output only. First party OAuth Client ID for Google Identities.
924
+ # Corresponds to the JSON property `firstPartyOauth2ClientId`
925
+ # @return [String]
926
+ attr_accessor :first_party_oauth2_client_id
927
+
928
+ # Output only. Third party OAuth Client ID for External Identity Providers.
929
+ # Corresponds to the JSON property `thirdPartyOauth2ClientId`
930
+ # @return [String]
931
+ attr_accessor :third_party_oauth2_client_id
932
+
933
+ def initialize(**args)
934
+ update!(**args)
935
+ end
936
+
937
+ # Update properties of this object
938
+ def update!(**args)
939
+ @first_party_oauth2_client_id = args[:first_party_oauth2_client_id] if args.key?(:first_party_oauth2_client_id)
940
+ @third_party_oauth2_client_id = args[:third_party_oauth2_client_id] if args.key?(:third_party_oauth2_client_id)
941
+ end
942
+ end
881
943
  end
882
944
  end
883
945
  end
@@ -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.2.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 = "20231008"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end
@@ -142,6 +142,18 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class WorkforceIdentityBasedManagementUri
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class WorkforceIdentityBasedOAuth2ClientId
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
145
157
  class AuditConfig
146
158
  # @private
147
159
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -246,6 +258,10 @@ module Google
246
258
  property :state, as: 'state'
247
259
  property :type, as: 'type'
248
260
  property :update_time, as: 'updateTime'
261
+ property :workforce_identity_based_management_uri, as: 'workforceIdentityBasedManagementUri', class: Google::Apis::BackupdrV1::WorkforceIdentityBasedManagementUri, decorator: Google::Apis::BackupdrV1::WorkforceIdentityBasedManagementUri::Representation
262
+
263
+ property :workforce_identity_based_oauth2_client_id, as: 'workforceIdentityBasedOauth2ClientId', class: Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId, decorator: Google::Apis::BackupdrV1::WorkforceIdentityBasedOAuth2ClientId::Representation
264
+
249
265
  end
250
266
  end
251
267
 
@@ -334,6 +350,22 @@ module Google
334
350
  collection :permissions, as: 'permissions'
335
351
  end
336
352
  end
353
+
354
+ class WorkforceIdentityBasedManagementUri
355
+ # @private
356
+ class Representation < Google::Apis::Core::JsonRepresentation
357
+ property :first_party_management_uri, as: 'firstPartyManagementUri'
358
+ property :third_party_management_uri, as: 'thirdPartyManagementUri'
359
+ end
360
+ end
361
+
362
+ class WorkforceIdentityBasedOAuth2ClientId
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :first_party_oauth2_client_id, as: 'firstPartyOauth2ClientId'
366
+ property :third_party_oauth2_client_id, as: 'thirdPartyOauth2ClientId'
367
+ end
368
+ end
337
369
  end
338
370
  end
339
371
  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.2.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-10-22 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.2.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: []