google-apis-managedidentities_v1 0.29.0 → 0.30.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: 663cc872483b4a053dbe0b584c367ebb3c9bb56986eb7a2fe523fe9ea469e55e
4
- data.tar.gz: 52c1dac5283573f6355e84b8c89e06d98c6f311aef6282a16333b26685e0322d
3
+ metadata.gz: 96b09e95f5baaf0678ce2bc1d77d409eeeb2c92cf9b8e51ec8cd769081c3deb7
4
+ data.tar.gz: 71546c991852c1e69715c50e50ff18c75460840c26d3a01d4684c759f4fb8e58
5
5
  SHA512:
6
- metadata.gz: d631b794f867ccb997d190ed55f5b1e6c140e1cdda9b64f599a05d7ffda06cb4b2d93fa89f6d8d3a856ab07c173881b36df01d0fadbc7d0f2afc160d7885a088
7
- data.tar.gz: c37897591d65d0f85a7ae9060a760a007b5fe870758622a5f3f93c64b039be4aaa39153f77a1a54dda7800284675add2a150075c71fa3140e9589baeff54cdbd
6
+ metadata.gz: 053c9b734d2cc916d8ce58b55dc514df6bddac2b73043aa7e0a8eabbf58d53c6a5527532af694b9b757c2c89d553978704fb669e1b052f99a15b4c96e8e5406e
7
+ data.tar.gz: f695e50b2ee8ce8ff0bd269c202ac3740e69d46e215dbda47bca06a5c16f80101699b1a5f34b657821b96f5cffed0d50af7e8f18cdccbcb0162919171f3430d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-managedidentities_v1
2
2
 
3
+ ### v0.30.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230323
6
+
3
7
  ### v0.29.0 (2023-03-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20230227
@@ -480,6 +480,60 @@ module Google
480
480
  end
481
481
  end
482
482
 
483
+ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
484
+ class DomainJoinMachineRequest
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # Optional. force if True, forces domain join even if the computer account
488
+ # already exists.
489
+ # Corresponds to the JSON property `force`
490
+ # @return [Boolean]
491
+ attr_accessor :force
492
+ alias_method :force?, :force
493
+
494
+ # Optional. OU name where the VM needs to be domain joined
495
+ # Corresponds to the JSON property `ouName`
496
+ # @return [String]
497
+ attr_accessor :ou_name
498
+
499
+ # Required. Full instance id token of compute engine VM to verify instance
500
+ # identity. More about this: https://cloud.google.com/compute/docs/instances/
501
+ # verifying-instance-identity#request_signature
502
+ # Corresponds to the JSON property `vmIdToken`
503
+ # @return [String]
504
+ attr_accessor :vm_id_token
505
+
506
+ def initialize(**args)
507
+ update!(**args)
508
+ end
509
+
510
+ # Update properties of this object
511
+ def update!(**args)
512
+ @force = args[:force] if args.key?(:force)
513
+ @ou_name = args[:ou_name] if args.key?(:ou_name)
514
+ @vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token)
515
+ end
516
+ end
517
+
518
+ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
519
+ class DomainJoinMachineResponse
520
+ include Google::Apis::Core::Hashable
521
+
522
+ # Offline domain join blob as the response
523
+ # Corresponds to the JSON property `domainJoinBlob`
524
+ # @return [String]
525
+ attr_accessor :domain_join_blob
526
+
527
+ def initialize(**args)
528
+ update!(**args)
529
+ end
530
+
531
+ # Update properties of this object
532
+ def update!(**args)
533
+ @domain_join_blob = args[:domain_join_blob] if args.key?(:domain_join_blob)
534
+ end
535
+ end
536
+
483
537
  # A generic empty message that you can re-use to avoid defining duplicated empty
484
538
  # messages in your APIs. A typical example is to use it as the request or the
485
539
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1
18
18
  # Version of the google-apis-managedidentities_v1 gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.30.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 = "20230227"
25
+ REVISION = "20230323"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class DomainJoinMachineRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DomainJoinMachineResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class Empty
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -453,6 +465,22 @@ module Google
453
465
  end
454
466
  end
455
467
 
468
+ class DomainJoinMachineRequest
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :force, as: 'force'
472
+ property :ou_name, as: 'ouName'
473
+ property :vm_id_token, as: 'vmIdToken'
474
+ end
475
+ end
476
+
477
+ class DomainJoinMachineResponse
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :domain_join_blob, as: 'domainJoinBlob'
481
+ end
482
+ end
483
+
456
484
  class Empty
457
485
  # @private
458
486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -265,6 +265,40 @@ module Google
265
265
  execute_or_queue_command(command, &block)
266
266
  end
267
267
 
268
+ # DomainJoinMachine API joins a Compute Engine VM to the domain
269
+ # @param [String] domain
270
+ # Required. The domain resource name using the form: projects/`project_id`/
271
+ # locations/global/domains/`domain_name`
272
+ # @param [Google::Apis::ManagedidentitiesV1::DomainJoinMachineRequest] domain_join_machine_request_object
273
+ # @param [String] fields
274
+ # Selector specifying which fields to include in a partial response.
275
+ # @param [String] quota_user
276
+ # Available to use for quota purposes for server-side applications. Can be any
277
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
278
+ # @param [Google::Apis::RequestOptions] options
279
+ # Request-specific options
280
+ #
281
+ # @yield [result, err] Result & error if block supplied
282
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse] parsed result object
283
+ # @yieldparam err [StandardError] error object if request failed
284
+ #
285
+ # @return [Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse]
286
+ #
287
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
288
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
289
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
290
+ def domain_join_machine(domain, domain_join_machine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
291
+ command = make_simple_command(:post, 'v1/{+domain}:domainJoinMachine', options)
292
+ command.request_representation = Google::Apis::ManagedidentitiesV1::DomainJoinMachineRequest::Representation
293
+ command.request_object = domain_join_machine_request_object
294
+ command.response_representation = Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse::Representation
295
+ command.response_class = Google::Apis::ManagedidentitiesV1::DomainJoinMachineResponse
296
+ command.params['domain'] = domain unless domain.nil?
297
+ command.query['fields'] = fields unless fields.nil?
298
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
299
+ execute_or_queue_command(command, &block)
300
+ end
301
+
268
302
  # Extend Schema for Domain
269
303
  # @param [String] domain
270
304
  # Required. The domain resource name using the form: `projects/`project_id`/
@@ -1242,13 +1276,7 @@ module Google
1242
1276
  end
1243
1277
 
1244
1278
  # Lists operations that match the specified filter in the request. If the server
1245
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1246
- # binding allows API services to override the binding to use different resource
1247
- # name schemes, such as `users/*/operations`. To override the binding, API
1248
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1249
- # service configuration. For backwards compatibility, the default name includes
1250
- # the operations collection id, however overriding users must ensure the name
1251
- # binding is the parent resource, without the operations collection id.
1279
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1252
1280
  # @param [String] name
1253
1281
  # The name of the operation's parent resource.
1254
1282
  # @param [String] filter
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.30.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-03-05 00:00:00.000000000 Z
11
+ date: 2023-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -59,7 +59,7 @@ licenses:
59
59
  metadata:
60
60
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
61
61
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.29.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1/v0.30.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1
64
64
  post_install_message:
65
65
  rdoc_options: []