google-apis-managedidentities_v1beta1 0.19.0 → 0.20.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: b5f275b37bc2d25c11ad47cfa914d8469448b2aaefadef512c9e4fe893ebd331
4
- data.tar.gz: 5deacf00df08bb50c648ccb802ae35b47dfa447ce080ed8afab40827fde0fa24
3
+ metadata.gz: 8e39724d980b39cda3f641f0ed566ecd1d97e13c9c9ab4a19b5e42f1ed07a19c
4
+ data.tar.gz: bc82333f34eb57d4c267a6177f3e635c831d93543a7e128aa92d5ba1dd537bbe
5
5
  SHA512:
6
- metadata.gz: 5988b6d54c0f1eb57b68958c6ce041f515faafec7977eea7f167d62b6f4300129d2bc8d76d83ebff9711bad1d34d4f5a2d616afb65faad15aca91bd0167e515d
7
- data.tar.gz: e5b4ffecabb666276228ecfd5d576f13842e0dc3f061cb1167a96330892534b158c22ad0ed74fba4753621e22374ac14f1ae02fa7d22546b94fdc5399a18f7c2
6
+ metadata.gz: 06414fc326ce112746135fe5515fad9f2532998cfb86ac64d86096a2091045f1343a4e7f9e6c5824ccbc8c526fa00ebbefc57b6dcba139b90973a9f3381e77bb
7
+ data.tar.gz: b219f132b280a3e90b6aee29092fda8f75085c00c065a72f685877243c76362bc6d53531b0283d7dd8bf7b9c1f220087aa1954c94deab7cc61237279cbc6ab6f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1beta1
2
2
 
3
+ ### v0.20.0 (2022-06-05)
4
+
5
+ * Regenerated from discovery document revision 20220526
6
+ * Regenerated using generator version 0.5.0
7
+
3
8
  ### v0.19.0 (2022-04-29)
4
9
 
5
10
  * Regenerated from discovery document revision 20220331
@@ -51,6 +51,11 @@ module Google
51
51
  # @return [String]
52
52
  attr_accessor :create_time
53
53
 
54
+ # Optional. A short description of the backup.
55
+ # Corresponds to the JSON property `description`
56
+ # @return [String]
57
+ attr_accessor :description
58
+
54
59
  # Optional. Resource labels to represent user provided metadata.
55
60
  # Corresponds to the JSON property `labels`
56
61
  # @return [Hash<String,String>]
@@ -90,6 +95,7 @@ module Google
90
95
  # Update properties of this object
91
96
  def update!(**args)
92
97
  @create_time = args[:create_time] if args.key?(:create_time)
98
+ @description = args[:description] if args.key?(:description)
93
99
  @labels = args[:labels] if args.key?(:labels)
94
100
  @name = args[:name] if args.key?(:name)
95
101
  @state = args[:state] if args.key?(:state)
@@ -122,7 +128,7 @@ module Google
122
128
  # @return [Google::Apis::ManagedidentitiesV1beta1::Expr]
123
129
  attr_accessor :condition
124
130
 
125
- # Specifies the principals requesting access for a Cloud Platform resource. `
131
+ # Specifies the principals requesting access for a Google Cloud resource. `
126
132
  # members` can have the following values: * `allUsers`: A special identifier
127
133
  # that represents anyone who is on the internet; with or without a Google
128
134
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -541,6 +547,40 @@ module Google
541
547
  end
542
548
  end
543
549
 
550
+ # ExtendSchemaRequest is the request message for ExtendSchema method.
551
+ class ExtendSchemaRequest
552
+ include Google::Apis::Core::Hashable
553
+
554
+ # Required. Description for Schema Change.
555
+ # Corresponds to the JSON property `description`
556
+ # @return [String]
557
+ attr_accessor :description
558
+
559
+ # File uploaded as a byte stream input.
560
+ # Corresponds to the JSON property `fileContents`
561
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
562
+ # @return [String]
563
+ attr_accessor :file_contents
564
+
565
+ # File stored in Cloud Storage bucket and represented in the form projects/`
566
+ # project_id`/buckets/`bucket_name`/objects/`object_name` File should be in the
567
+ # same project as the domain.
568
+ # Corresponds to the JSON property `gcsPath`
569
+ # @return [String]
570
+ attr_accessor :gcs_path
571
+
572
+ def initialize(**args)
573
+ update!(**args)
574
+ end
575
+
576
+ # Update properties of this object
577
+ def update!(**args)
578
+ @description = args[:description] if args.key?(:description)
579
+ @file_contents = args[:file_contents] if args.key?(:file_contents)
580
+ @gcs_path = args[:gcs_path] if args.key?(:gcs_path)
581
+ end
582
+ end
583
+
544
584
  # Represents the metadata of the long-running operation.
545
585
  class GoogleCloudManagedidentitiesV1OpMetadata
546
586
  include Google::Apis::Core::Hashable
@@ -717,11 +757,12 @@ module Google
717
757
  # @return [String]
718
758
  attr_accessor :create_time
719
759
 
720
- # Optional. The instance_type of this instance of format: projects/`project_id`/
721
- # locations/`location_id`/instanceTypes/`instance_type_id`. Instance Type
722
- # represents a high-level tier or SKU of the service that this instance belong
723
- # to. When enabled(eg: Maintenance Rollout), Rollout uses 'instance_type' along
724
- # with 'software_versions' to determine whether instance needs an update or not.
760
+ # Optional. The instance_type of this instance of format: projects/`
761
+ # project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
762
+ # Instance Type represents a high-level tier or SKU of the service that this
763
+ # instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
764
+ # instance_type' along with 'software_versions' to determine whether instance
765
+ # needs an update or not.
725
766
  # Corresponds to the JSON property `instanceType`
726
767
  # @return [String]
727
768
  attr_accessor :instance_type
@@ -753,10 +794,12 @@ module Google
753
794
  # @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
754
795
  attr_accessor :maintenance_settings
755
796
 
756
- # Unique name of the resource. It uses the form: `projects/`project_id|
757
- # project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
758
- # project_id or project_number can be used, but keep it consistent with other
759
- # APIs (e.g. RescheduleUpdate)
797
+ # Unique name of the resource. It uses the form: `projects/`project_number`/
798
+ # locations/`location_id`/instances/`instance_id`` Note: This name is passed,
799
+ # stored and logged across the rollout system. So use of consumer project_id or
800
+ # any other consumer PII in the name is strongly discouraged for wipeout (go/
801
+ # wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
802
+ # details.
760
803
  # Corresponds to the JSON property `name`
761
804
  # @return [String]
762
805
  attr_accessor :name
@@ -2020,7 +2063,7 @@ module Google
2020
2063
  include Google::Apis::Core::Hashable
2021
2064
 
2022
2065
  # The set of permissions to check for the `resource`. Permissions with wildcards
2023
- # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
2066
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
2024
2067
  # Overview](https://cloud.google.com/iam/docs/overview#permissions).
2025
2068
  # Corresponds to the JSON property `permissions`
2026
2069
  # @return [Array<String>]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManagedidentitiesV1beta1
18
18
  # Version of the google-apis-managedidentities_v1beta1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220331"
25
+ REVISION = "20220526"
26
26
  end
27
27
  end
28
28
  end
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ExtendSchemaRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class GoogleCloudManagedidentitiesV1OpMetadata
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -352,6 +358,7 @@ module Google
352
358
  # @private
353
359
  class Representation < Google::Apis::Core::JsonRepresentation
354
360
  property :create_time, as: 'createTime'
361
+ property :description, as: 'description'
355
362
  hash :labels, as: 'labels'
356
363
  property :name, as: 'name'
357
364
  property :state, as: 'state'
@@ -463,6 +470,15 @@ module Google
463
470
  end
464
471
  end
465
472
 
473
+ class ExtendSchemaRequest
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :description, as: 'description'
477
+ property :file_contents, :base64 => true, as: 'fileContents'
478
+ property :gcs_path, as: 'gcsPath'
479
+ end
480
+ end
481
+
466
482
  class GoogleCloudManagedidentitiesV1OpMetadata
467
483
  # @private
468
484
  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
+ # Extend Schema for 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::ManagedidentitiesV1beta1::ExtendSchemaRequest] extend_schema_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::ManagedidentitiesV1beta1::Operation] parsed result object
283
+ # @yieldparam err [StandardError] error object if request failed
284
+ #
285
+ # @return [Google::Apis::ManagedidentitiesV1beta1::Operation]
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 extend_domain_schema(domain, extend_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
291
+ command = make_simple_command(:post, 'v1beta1/{+domain}:extendSchema', options)
292
+ command.request_representation = Google::Apis::ManagedidentitiesV1beta1::ExtendSchemaRequest::Representation
293
+ command.request_object = extend_schema_request_object
294
+ command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Operation::Representation
295
+ command.response_class = Google::Apis::ManagedidentitiesV1beta1::Operation
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
  # Gets information about a domain.
269
303
  # @param [String] name
270
304
  # Required. The domain resource name using the form: `projects/`project_id`/
@@ -299,8 +333,9 @@ module Google
299
333
  # Gets the access control policy for a resource. Returns an empty policy if the
300
334
  # resource exists and does not have a policy set.
301
335
  # @param [String] resource
302
- # REQUIRED: The resource for which the policy is being requested. See the
303
- # operation documentation for the appropriate value for this field.
336
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
337
+ # names](https://cloud.google.com/apis/design/resource_names) for the
338
+ # appropriate value for this field.
304
339
  # @param [Fixnum] options_requested_policy_version
305
340
  # Optional. The maximum policy version that will be used to format the policy.
306
341
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -564,8 +599,9 @@ module Google
564
599
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
565
600
  # PERMISSION_DENIED` errors.
566
601
  # @param [String] resource
567
- # REQUIRED: The resource for which the policy is being specified. See the
568
- # operation documentation for the appropriate value for this field.
602
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
603
+ # names](https://cloud.google.com/apis/design/resource_names) for the
604
+ # appropriate value for this field.
569
605
  # @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
570
606
  # @param [String] fields
571
607
  # Selector specifying which fields to include in a partial response.
@@ -602,8 +638,9 @@ module Google
602
638
  # permission-aware UIs and command-line tools, not for authorization checking.
603
639
  # This operation may "fail open" without warning.
604
640
  # @param [String] resource
605
- # REQUIRED: The resource for which the policy detail is being requested. See the
606
- # operation documentation for the appropriate value for this field.
641
+ # REQUIRED: The resource for which the policy detail is being requested. See [
642
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
643
+ # appropriate value for this field.
607
644
  # @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
608
645
  # @param [String] fields
609
646
  # Selector specifying which fields to include in a partial response.
@@ -813,8 +850,9 @@ module Google
813
850
  # Gets the access control policy for a resource. Returns an empty policy if the
814
851
  # resource exists and does not have a policy set.
815
852
  # @param [String] resource
816
- # REQUIRED: The resource for which the policy is being requested. See the
817
- # operation documentation for the appropriate value for this field.
853
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
854
+ # names](https://cloud.google.com/apis/design/resource_names) for the
855
+ # appropriate value for this field.
818
856
  # @param [Fixnum] options_requested_policy_version
819
857
  # Optional. The maximum policy version that will be used to format the policy.
820
858
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -946,8 +984,9 @@ module Google
946
984
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
947
985
  # PERMISSION_DENIED` errors.
948
986
  # @param [String] resource
949
- # REQUIRED: The resource for which the policy is being specified. See the
950
- # operation documentation for the appropriate value for this field.
987
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
988
+ # names](https://cloud.google.com/apis/design/resource_names) for the
989
+ # appropriate value for this field.
951
990
  # @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
952
991
  # @param [String] fields
953
992
  # Selector specifying which fields to include in a partial response.
@@ -984,8 +1023,9 @@ module Google
984
1023
  # permission-aware UIs and command-line tools, not for authorization checking.
985
1024
  # This operation may "fail open" without warning.
986
1025
  # @param [String] resource
987
- # REQUIRED: The resource for which the policy detail is being requested. See the
988
- # operation documentation for the appropriate value for this field.
1026
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1027
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1028
+ # appropriate value for this field.
989
1029
  # @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
990
1030
  # @param [String] fields
991
1031
  # Selector specifying which fields to include in a partial response.
@@ -1349,8 +1389,9 @@ module Google
1349
1389
  # Gets the access control policy for a resource. Returns an empty policy if the
1350
1390
  # resource exists and does not have a policy set.
1351
1391
  # @param [String] resource
1352
- # REQUIRED: The resource for which the policy is being requested. See the
1353
- # operation documentation for the appropriate value for this field.
1392
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
1393
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1394
+ # appropriate value for this field.
1354
1395
  # @param [Fixnum] options_requested_policy_version
1355
1396
  # Optional. The maximum policy version that will be used to format the policy.
1356
1397
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
@@ -1484,8 +1525,9 @@ module Google
1484
1525
  # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1485
1526
  # PERMISSION_DENIED` errors.
1486
1527
  # @param [String] resource
1487
- # REQUIRED: The resource for which the policy is being specified. See the
1488
- # operation documentation for the appropriate value for this field.
1528
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1529
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1530
+ # appropriate value for this field.
1489
1531
  # @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
1490
1532
  # @param [String] fields
1491
1533
  # Selector specifying which fields to include in a partial response.
@@ -1522,8 +1564,9 @@ module Google
1522
1564
  # permission-aware UIs and command-line tools, not for authorization checking.
1523
1565
  # This operation may "fail open" without warning.
1524
1566
  # @param [String] resource
1525
- # REQUIRED: The resource for which the policy detail is being requested. See the
1526
- # operation documentation for the appropriate value for this field.
1567
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1568
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1569
+ # appropriate value for this field.
1527
1570
  # @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
1528
1571
  # @param [String] fields
1529
1572
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-managedidentities_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.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-05-02 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta1/CHANGELOG.md
62
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.19.0
62
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.20.0
63
63
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-managedidentities_v1beta1
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.5
79
+ rubygems_version: 3.3.14
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Simple REST client for Managed Service for Microsoft Active Directory API