google-apis-managedidentities_v1alpha1 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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/apis/managedidentities_v1alpha1/classes.rb +54 -11
- data/lib/google/apis/managedidentities_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1alpha1/representations.rb +16 -0
- data/lib/google/apis/managedidentities_v1alpha1/service.rb +61 -18
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45283b04c3f758cb8f940c661e54e31e891d10b719fa4e581d7804335f753757
|
4
|
+
data.tar.gz: 7d8eefe718bc9fe803294899d195691d8f77f69a805728ead14df122f3c22c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c127df47032a81d9e02426d8987e7e569a30587fdf9d5192a5ac5aade7138987646df84341236456b0e4acab10faeae87b4b693ad515af242d9b479fbc8a2ba4
|
7
|
+
data.tar.gz: 7c48aaa44a5ba2a31bd9231fb739daec015b6c8c59c86292524753224502bf67e9003f7a18a80d3b6e4143556c842004c6eba6726e5ff82c8b7946821d05af9b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1alpha1
|
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
|
+
* Unspecified changes
|
8
|
+
|
3
9
|
### v0.19.0 (2022-04-29)
|
4
10
|
|
5
11
|
* Regenerated from discovery document revision 20220331
|
@@ -55,6 +55,11 @@ module Google
|
|
55
55
|
# @return [String]
|
56
56
|
attr_accessor :create_time
|
57
57
|
|
58
|
+
# Optional. A short description of the backup.
|
59
|
+
# Corresponds to the JSON property `description`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :description
|
62
|
+
|
58
63
|
# Optional. Resource labels to represent user provided metadata.
|
59
64
|
# Corresponds to the JSON property `labels`
|
60
65
|
# @return [Hash<String,String>]
|
@@ -94,6 +99,7 @@ module Google
|
|
94
99
|
# Update properties of this object
|
95
100
|
def update!(**args)
|
96
101
|
@create_time = args[:create_time] if args.key?(:create_time)
|
102
|
+
@description = args[:description] if args.key?(:description)
|
97
103
|
@labels = args[:labels] if args.key?(:labels)
|
98
104
|
@name = args[:name] if args.key?(:name)
|
99
105
|
@state = args[:state] if args.key?(:state)
|
@@ -126,7 +132,7 @@ module Google
|
|
126
132
|
# @return [Google::Apis::ManagedidentitiesV1alpha1::Expr]
|
127
133
|
attr_accessor :condition
|
128
134
|
|
129
|
-
# Specifies the principals requesting access for a Cloud
|
135
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
130
136
|
# members` can have the following values: * `allUsers`: A special identifier
|
131
137
|
# that represents anyone who is on the internet; with or without a Google
|
132
138
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -551,6 +557,40 @@ module Google
|
|
551
557
|
end
|
552
558
|
end
|
553
559
|
|
560
|
+
# ExtendSchemaRequest is the request message for ExtendSchema method.
|
561
|
+
class ExtendSchemaRequest
|
562
|
+
include Google::Apis::Core::Hashable
|
563
|
+
|
564
|
+
# Required. Description for Schema Change.
|
565
|
+
# Corresponds to the JSON property `description`
|
566
|
+
# @return [String]
|
567
|
+
attr_accessor :description
|
568
|
+
|
569
|
+
# File uploaded as a byte stream input.
|
570
|
+
# Corresponds to the JSON property `fileContents`
|
571
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
572
|
+
# @return [String]
|
573
|
+
attr_accessor :file_contents
|
574
|
+
|
575
|
+
# File stored in Cloud Storage bucket and represented in the form projects/`
|
576
|
+
# project_id`/buckets/`bucket_name`/objects/`object_name` File should be in the
|
577
|
+
# same project as the domain.
|
578
|
+
# Corresponds to the JSON property `gcsPath`
|
579
|
+
# @return [String]
|
580
|
+
attr_accessor :gcs_path
|
581
|
+
|
582
|
+
def initialize(**args)
|
583
|
+
update!(**args)
|
584
|
+
end
|
585
|
+
|
586
|
+
# Update properties of this object
|
587
|
+
def update!(**args)
|
588
|
+
@description = args[:description] if args.key?(:description)
|
589
|
+
@file_contents = args[:file_contents] if args.key?(:file_contents)
|
590
|
+
@gcs_path = args[:gcs_path] if args.key?(:gcs_path)
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
554
594
|
# Represents the metadata of the long-running operation.
|
555
595
|
class GoogleCloudManagedidentitiesV1OpMetadata
|
556
596
|
include Google::Apis::Core::Hashable
|
@@ -727,11 +767,12 @@ module Google
|
|
727
767
|
# @return [String]
|
728
768
|
attr_accessor :create_time
|
729
769
|
|
730
|
-
# Optional. The instance_type of this instance of format: projects/`
|
731
|
-
# locations/`location_id`/instanceTypes/`instance_type_id`.
|
732
|
-
# represents a high-level tier or SKU of the service that this
|
733
|
-
# to. When enabled(eg: Maintenance Rollout), Rollout uses '
|
734
|
-
# with 'software_versions' to determine whether instance
|
770
|
+
# Optional. The instance_type of this instance of format: projects/`
|
771
|
+
# project_number`/locations/`location_id`/instanceTypes/`instance_type_id`.
|
772
|
+
# Instance Type represents a high-level tier or SKU of the service that this
|
773
|
+
# instance belong to. When enabled(eg: Maintenance Rollout), Rollout uses '
|
774
|
+
# instance_type' along with 'software_versions' to determine whether instance
|
775
|
+
# needs an update or not.
|
735
776
|
# Corresponds to the JSON property `instanceType`
|
736
777
|
# @return [String]
|
737
778
|
attr_accessor :instance_type
|
@@ -763,10 +804,12 @@ module Google
|
|
763
804
|
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
764
805
|
attr_accessor :maintenance_settings
|
765
806
|
|
766
|
-
# Unique name of the resource. It uses the form: `projects/`
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
807
|
+
# Unique name of the resource. It uses the form: `projects/`project_number`/
|
808
|
+
# locations/`location_id`/instances/`instance_id`` Note: This name is passed,
|
809
|
+
# stored and logged across the rollout system. So use of consumer project_id or
|
810
|
+
# any other consumer PII in the name is strongly discouraged for wipeout (go/
|
811
|
+
# wipeout) compliance. See go/elysium/project_ids#storage-guidance for more
|
812
|
+
# details.
|
770
813
|
# Corresponds to the JSON property `name`
|
771
814
|
# @return [String]
|
772
815
|
attr_accessor :name
|
@@ -2027,7 +2070,7 @@ module Google
|
|
2027
2070
|
include Google::Apis::Core::Hashable
|
2028
2071
|
|
2029
2072
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
2030
|
-
# (such as
|
2073
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
2031
2074
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
2032
2075
|
# Corresponds to the JSON property `permissions`
|
2033
2076
|
# @return [Array<String>]
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::Operation] parsed result object
|
283
|
+
# @yieldparam err [StandardError] error object if request failed
|
284
|
+
#
|
285
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::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, 'v1alpha1/{+domain}:extendSchema', options)
|
292
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::ExtendSchemaRequest::Representation
|
293
|
+
command.request_object = extend_schema_request_object
|
294
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Operation::Representation
|
295
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::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 details of a single Domain.
|
269
303
|
# @param [String] name
|
270
304
|
# Domain resource name using the form: `projects/`project_id`/locations/global/
|
@@ -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
|
303
|
-
#
|
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
|
@@ -565,8 +600,9 @@ module Google
|
|
565
600
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
566
601
|
# PERMISSION_DENIED` errors.
|
567
602
|
# @param [String] resource
|
568
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
569
|
-
#
|
603
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
604
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
605
|
+
# appropriate value for this field.
|
570
606
|
# @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
571
607
|
# @param [String] fields
|
572
608
|
# Selector specifying which fields to include in a partial response.
|
@@ -603,8 +639,9 @@ module Google
|
|
603
639
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
604
640
|
# This operation may "fail open" without warning.
|
605
641
|
# @param [String] resource
|
606
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
607
|
-
#
|
642
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
643
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
644
|
+
# appropriate value for this field.
|
608
645
|
# @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
609
646
|
# @param [String] fields
|
610
647
|
# 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
|
817
|
-
#
|
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
|
950
|
-
#
|
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::ManagedidentitiesV1alpha1::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
|
988
|
-
#
|
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::ManagedidentitiesV1alpha1::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
|
1353
|
-
#
|
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
|
1488
|
-
#
|
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::ManagedidentitiesV1alpha1::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
|
1526
|
-
#
|
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::ManagedidentitiesV1alpha1::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_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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.
|
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.
|
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_v1alpha1/CHANGELOG.md
|
62
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.20.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.
|
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
|