google-apis-managedidentities_v1alpha1 0.27.0 → 0.28.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: 158411a220970402190fbbb0a96259569154ac97e2bfd2aee57f6a730134d3a5
4
- data.tar.gz: 8f000254ad3b9d8dec7bf5435522cf76ec051cfbf5dfec0071175691935775d4
3
+ metadata.gz: bb4169e8802650faa3a6a31d8219a7b93ed6d826a527f6ff54cca8bf6dd06152
4
+ data.tar.gz: f8af21c9623813260a085e89d89351b626f738e477b7456655ec094406d8d21c
5
5
  SHA512:
6
- metadata.gz: 848557ddccb631142c2300dfbbcce0e0451e54fc7a7357a2378e4bb2948c30cce0b5adf6d9ba569477b66b414d399640135e9f078567bfe6ef4666dbbd2e71e8
7
- data.tar.gz: 213d9bcba533df689540c7730ee70dd19f948bfb175eab44a4ed0feb49c2c23005db0c48797ca490ad64fbbd4d73f5529b6d892b60b324b847e93952b4e138aa
6
+ metadata.gz: 16e93b23cfb1a77ecaee139a6f0adaee7c1cf546ef7471acb4396b1cb7f5ecb082724d6527cbf6200d3b71496e36e9ea54499b0cf36713dec8d26bfdbca276fd
7
+ data.tar.gz: bdb596304891a857aa680547239f962888767308448970f2a4d620da994dc34aecf01b3afe32c5a44b49faef76321cce43a8fda363de4b0356aa694f951a41a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.28.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20221227
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.27.0 (2022-10-20)
4
9
 
5
10
  * Regenerated from discovery document revision 20220926
@@ -545,6 +545,52 @@ module Google
545
545
  end
546
546
  end
547
547
 
548
+ # DomainJoinMachineRequest is the request message for DomainJoinMachine method
549
+ class DomainJoinMachineRequest
550
+ include Google::Apis::Core::Hashable
551
+
552
+ # Optional. OU name where the VM needs to be domain joined
553
+ # Corresponds to the JSON property `ouName`
554
+ # @return [String]
555
+ attr_accessor :ou_name
556
+
557
+ # Required. Full instance id token of compute engine VM to verify instance
558
+ # identity. More about this: https://cloud.google.com/compute/docs/instances/
559
+ # verifying-instance-identity#request_signature
560
+ # Corresponds to the JSON property `vmIdToken`
561
+ # @return [String]
562
+ attr_accessor :vm_id_token
563
+
564
+ def initialize(**args)
565
+ update!(**args)
566
+ end
567
+
568
+ # Update properties of this object
569
+ def update!(**args)
570
+ @ou_name = args[:ou_name] if args.key?(:ou_name)
571
+ @vm_id_token = args[:vm_id_token] if args.key?(:vm_id_token)
572
+ end
573
+ end
574
+
575
+ # DomainJoinMachineResponse is the response message for DomainJoinMachine method
576
+ class DomainJoinMachineResponse
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # Offline domain join blob as the response
580
+ # Corresponds to the JSON property `domainJoinBlob`
581
+ # @return [String]
582
+ attr_accessor :domain_join_blob
583
+
584
+ def initialize(**args)
585
+ update!(**args)
586
+ end
587
+
588
+ # Update properties of this object
589
+ def update!(**args)
590
+ @domain_join_blob = args[:domain_join_blob] if args.key?(:domain_join_blob)
591
+ end
592
+ end
593
+
548
594
  # A generic empty message that you can re-use to avoid defining duplicated empty
549
595
  # messages in your APIs. A typical example is to use it as the request or the
550
596
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1539,7 +1585,7 @@ module Google
1539
1585
  end
1540
1586
  end
1541
1587
 
1542
- # Defines policies to service maintenance events.
1588
+ # LINT.IfChange Defines policies to service maintenance events.
1543
1589
  class MaintenancePolicy
1544
1590
  include Google::Apis::Core::Hashable
1545
1591
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1alpha1
18
18
  # Version of the google-apis-managedidentities_v1alpha1 gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220926"
25
+ REVISION = "20221227"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,18 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class DomainJoinMachineRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DomainJoinMachineResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class Empty
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -511,6 +523,21 @@ module Google
511
523
  end
512
524
  end
513
525
 
526
+ class DomainJoinMachineRequest
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :ou_name, as: 'ouName'
530
+ property :vm_id_token, as: 'vmIdToken'
531
+ end
532
+ end
533
+
534
+ class DomainJoinMachineResponse
535
+ # @private
536
+ class Representation < Google::Apis::Core::JsonRepresentation
537
+ property :domain_join_blob, as: 'domainJoinBlob'
538
+ end
539
+ end
540
+
514
541
  class Empty
515
542
  # @private
516
543
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -333,6 +333,40 @@ module Google
333
333
  execute_or_queue_command(command, &block)
334
334
  end
335
335
 
336
+ # DomainJoinMachine API joins a Compute Engine VM to the domain
337
+ # @param [String] domain
338
+ # Required. The domain resource name using the form: projects/`project_id`/
339
+ # locations/global/domains/`domain_name`
340
+ # @param [Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineRequest] domain_join_machine_request_object
341
+ # @param [String] fields
342
+ # Selector specifying which fields to include in a partial response.
343
+ # @param [String] quota_user
344
+ # Available to use for quota purposes for server-side applications. Can be any
345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
346
+ # @param [Google::Apis::RequestOptions] options
347
+ # Request-specific options
348
+ #
349
+ # @yield [result, err] Result & error if block supplied
350
+ # @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse] parsed result object
351
+ # @yieldparam err [StandardError] error object if request failed
352
+ #
353
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse]
354
+ #
355
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
356
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
357
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
358
+ def domain_join_machine(domain, domain_join_machine_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
359
+ command = make_simple_command(:post, 'v1alpha1/{+domain}:domainJoinMachine', options)
360
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineRequest::Representation
361
+ command.request_object = domain_join_machine_request_object
362
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse::Representation
363
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::DomainJoinMachineResponse
364
+ command.params['domain'] = domain unless domain.nil?
365
+ command.query['fields'] = fields unless fields.nil?
366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
367
+ execute_or_queue_command(command, &block)
368
+ end
369
+
336
370
  # Enable Domain Migration
337
371
  # @param [String] domain
338
372
  # Required. The domain resource name using the form: `projects/`project_id`/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.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: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-01-15 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_v1alpha1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.27.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.28.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1alpha1
64
64
  post_install_message:
65
65
  rdoc_options: []
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  requirements: []
79
- rubygems_version: 3.3.14
79
+ rubygems_version: 3.4.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Managed Service for Microsoft Active Directory API