google-apis-managedidentities_v1 0.28.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51db6bb8e84a92e8e77b3c4fc1b3cee84f4e24fb755f1d188f47669eb1651acc
4
- data.tar.gz: 81a9f512777c51107b9770ae05b38fcf5ebb506b442c6556655d9105085270e3
3
+ metadata.gz: 96b09e95f5baaf0678ce2bc1d77d409eeeb2c92cf9b8e51ec8cd769081c3deb7
4
+ data.tar.gz: 71546c991852c1e69715c50e50ff18c75460840c26d3a01d4684c759f4fb8e58
5
5
  SHA512:
6
- metadata.gz: 281200a5f8bf0211ede6081687c599ec714b15bd58a82dfbcba080a3888c0e4f03bc946815c9b1625f5412a3a85acaf724ffabc83ea85b869de00ce04c54e083
7
- data.tar.gz: d2fa2514fc21e852c2ee3a6d9bb0ab3793e2246debf475a1b6ba368ac84bf1063c6e71318e42c171cc1485822a2152fc47f49532d74d63713fa077f117ecd52f
6
+ metadata.gz: 053c9b734d2cc916d8ce58b55dc514df6bddac2b73043aa7e0a8eabbf58d53c6a5527532af694b9b757c2c89d553978704fb669e1b052f99a15b4c96e8e5406e
7
+ data.tar.gz: f695e50b2ee8ce8ff0bd269c202ac3740e69d46e215dbda47bca06a5c16f80101699b1a5f34b657821b96f5cffed0d50af7e8f18cdccbcb0162919171f3430d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.29.0 (2023-03-05)
8
+
9
+ * Regenerated from discovery document revision 20230227
10
+
3
11
  ### v0.28.0 (2023-02-15)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -139,22 +139,22 @@ module Google
139
139
  # kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
140
140
  # project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
141
141
  # email address that represents a Google group. For example, `admins@example.com`
142
- # . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
143
- # identifier) representing a user that has been recently deleted. For example, `
144
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
145
- # value reverts to `user:`emailid`` and the recovered user retains the role in
146
- # the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
147
- # address (plus unique identifier) representing a service account that has been
148
- # recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
142
+ # . * `domain:`domain``: The G Suite domain (primary) that represents all the
143
+ # users of that domain. For example, `google.com` or `example.com`. * `deleted:
144
+ # user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
145
+ # representing a user that has been recently deleted. For example, `alice@
146
+ # example.com?uid=123456789012345678901`. If the user is recovered, this value
147
+ # reverts to `user:`emailid`` and the recovered user retains the role in the
148
+ # binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
149
+ # (plus unique identifier) representing a service account that has been recently
150
+ # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
149
151
  # 123456789012345678901`. If the service account is undeleted, this value
150
152
  # reverts to `serviceAccount:`emailid`` and the undeleted service account
151
153
  # retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
152
154
  # An email address (plus unique identifier) representing a Google group that has
153
155
  # been recently deleted. For example, `admins@example.com?uid=
154
156
  # 123456789012345678901`. If the group is recovered, this value reverts to `
155
- # group:`emailid`` and the recovered group retains the role in the binding. * `
156
- # domain:`domain``: The G Suite domain (primary) that represents all the users
157
- # of that domain. For example, `google.com` or `example.com`.
157
+ # group:`emailid`` and the recovered group retains the role in the binding.
158
158
  # Corresponds to the JSON property `members`
159
159
  # @return [Array<String>]
160
160
  attr_accessor :members
@@ -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.
@@ -743,14 +797,30 @@ module Google
743
797
  end
744
798
  end
745
799
 
746
- #
800
+ # Instance represents the interface for SLM services to actuate the state of
801
+ # control plane resources. Example Instance in JSON, where consumer-project-
802
+ # number=123456, producer-project-id=cloud-sql: ```json Instance: ` "name": "
803
+ # projects/123456/locations/us-east1/instances/prod-instance", "create_time": ` "
804
+ # seconds": 1526406431, `, "labels": ` "env": "prod", "foo": "bar" `, "state":
805
+ # READY, "software_versions": ` "software_update": "cloud-sql-09-28-2018", `, "
806
+ # maintenance_policy_names": ` "UpdatePolicy": "projects/123456/locations/us-
807
+ # east1/maintenancePolicies/prod-update-policy", ` "tenant_project_id": "cloud-
808
+ # sql-test-tenant", "producer_metadata": ` "cloud-sql-tier": "basic", "cloud-sql-
809
+ # instance-size": "1G", `, "provisioned_resources": [ ` "resource-type": "
810
+ # compute-instance", "resource-url": "https://www.googleapis.com/compute/v1/
811
+ # projects/cloud-sql/zones/us-east1-b/instances/vm-1", ` ], "
812
+ # maintenance_schedules": ` "csa_rollout": ` "start_time": ` "seconds":
813
+ # 1526406431, `, "end_time": ` "seconds": 1535406431, `, `, "ncsa_rollout": ` "
814
+ # start_time": ` "seconds": 1526406431, `, "end_time": ` "seconds": 1535406431, `
815
+ # , ` `, "consumer_defined_name": "my-sql-instance1", ` ``` LINT.IfChange
747
816
  class GoogleCloudSaasacceleratorManagementProvidersV1Instance
748
817
  include Google::Apis::Core::Hashable
749
818
 
750
- # consumer_defined_name is the name that is set by the consumer. On the other
751
- # hand Name field represents system-assigned id of an instance so consumers are
752
- # not necessarily aware of it. consumer_defined_name is used for notification/UI
753
- # purposes for consumer to recognize their instances.
819
+ # consumer_defined_name is the name of the instance set by the service consumers.
820
+ # Generally this is different from the `name` field which reperesents the
821
+ # system-assigned id of the instance which the service consumers do not
822
+ # recognize. This is a required field for tenants onboarding to Maintenance
823
+ # Window notifications (go/slm-rollout-maintenance-policies#prerequisites).
754
824
  # Corresponds to the JSON property `consumerDefinedName`
755
825
  # @return [String]
756
826
  attr_accessor :consumer_defined_name
@@ -777,10 +847,11 @@ module Google
777
847
  # @return [Hash<String,String>]
778
848
  attr_accessor :labels
779
849
 
780
- # Optional. Deprecated. The MaintenancePolicies that have been attached to the
781
- # instance. The key must be of the type name of the oneof policy name defined in
850
+ # Optional. The MaintenancePolicies that have been attached to the instance. The
851
+ # key must be of the type name of the oneof policy name defined in
782
852
  # MaintenancePolicy, and the referenced policy must define the same policy type.
783
- # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
853
+ # For details, please refer to go/cloud-saas-mw-ug. Should not be set if
854
+ # maintenance_settings.maintenance_policies is set.
784
855
  # Corresponds to the JSON property `maintenancePolicyNames`
785
856
  # @return [Hash<String,String>]
786
857
  attr_accessor :maintenance_policy_names
@@ -963,8 +1034,9 @@ module Google
963
1034
  # Optional. The MaintenancePolicies that have been attached to the instance. The
964
1035
  # key must be of the type name of the oneof policy name defined in
965
1036
  # MaintenancePolicy, and the embedded policy must define the same policy type.
966
- # For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
967
- # If only the name is needed, then only populate MaintenancePolicy.name.
1037
+ # For details, please refer to go/cloud-saas-mw-ug. Should not be set if
1038
+ # maintenance_policy_names is set. If only the name is needed, then only
1039
+ # populate MaintenancePolicy.name.
968
1040
  # Corresponds to the JSON property `maintenancePolicies`
969
1041
  # @return [Hash<String,Google::Apis::ManagedidentitiesV1::MaintenancePolicy>]
970
1042
  attr_accessor :maintenance_policies
@@ -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.28.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 = "20221227"
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.28.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-02-19 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.28.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: []