google-apis-managedidentities_v1alpha1 0.9.0 → 0.10.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/managedidentities_v1alpha1/classes.rb +6 -0
- data/lib/google/apis/managedidentities_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
- data/lib/google/apis/managedidentities_v1alpha1/service.rb +115 -0
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 789f376ef3008b715f32899376a7e6dae5353091a02aa0daa21b3aa0d6153d27
|
4
|
+
data.tar.gz: 4d9b2a51d40867d05286789803a2e15d4325c9a427f1196137f01d8689ad4ac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42c1cd8cfb6fc1139fe8e288e9110b0f29075bbdd1a20ceb5f88d9047bba041faf9083246ee7a20032303448c1288c17dc21193dbd2cb48577e7c041bf80fedb
|
7
|
+
data.tar.gz: 98ccc4e3732b556d7a73049347dda236580b81f5427f4a5ed9096f0e06eda1a06e1f60f2776d2c4e0283ebd75ae79b7dd77d2e50a379ac0d5b268a1ab1d13899
|
data/CHANGELOG.md
CHANGED
@@ -897,6 +897,11 @@ module Google
|
|
897
897
|
# @return [String]
|
898
898
|
attr_accessor :node_id
|
899
899
|
|
900
|
+
# PerSliSloEligibility is a mapping from an SLI name to eligibility.
|
901
|
+
# Corresponds to the JSON property `perSliEligibility`
|
902
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
|
903
|
+
attr_accessor :per_sli_eligibility
|
904
|
+
|
900
905
|
def initialize(**args)
|
901
906
|
update!(**args)
|
902
907
|
end
|
@@ -906,6 +911,7 @@ module Google
|
|
906
911
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
907
912
|
@location = args[:location] if args.key?(:location)
|
908
913
|
@node_id = args[:node_id] if args.key?(:node_id)
|
914
|
+
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
909
915
|
end
|
910
916
|
end
|
911
917
|
|
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210615"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -521,6 +521,8 @@ module Google
|
|
521
521
|
|
522
522
|
property :location, as: 'location'
|
523
523
|
property :node_id, as: 'nodeId'
|
524
|
+
property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
|
525
|
+
|
524
526
|
end
|
525
527
|
end
|
526
528
|
|
@@ -672,6 +672,121 @@ module Google
|
|
672
672
|
execute_or_queue_command(command, &block)
|
673
673
|
end
|
674
674
|
|
675
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
676
|
+
# resource exists and does not have a policy set.
|
677
|
+
# @param [String] resource
|
678
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
679
|
+
# operation documentation for the appropriate value for this field.
|
680
|
+
# @param [Fixnum] options_requested_policy_version
|
681
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
682
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
683
|
+
# policies with any conditional bindings must specify version 3. Policies
|
684
|
+
# without any conditional bindings may specify any valid value or leave the
|
685
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
686
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
687
|
+
# resource-policies).
|
688
|
+
# @param [String] fields
|
689
|
+
# Selector specifying which fields to include in a partial response.
|
690
|
+
# @param [String] quota_user
|
691
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
692
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
693
|
+
# @param [Google::Apis::RequestOptions] options
|
694
|
+
# Request-specific options
|
695
|
+
#
|
696
|
+
# @yield [result, err] Result & error if block supplied
|
697
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
698
|
+
# @yieldparam err [StandardError] error object if request failed
|
699
|
+
#
|
700
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
701
|
+
#
|
702
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
703
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
704
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
705
|
+
def get_project_location_global_domain_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
707
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
708
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
709
|
+
command.params['resource'] = resource unless resource.nil?
|
710
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
711
|
+
command.query['fields'] = fields unless fields.nil?
|
712
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
713
|
+
execute_or_queue_command(command, &block)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Sets the access control policy on the specified resource. Replaces any
|
717
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
718
|
+
# PERMISSION_DENIED` errors.
|
719
|
+
# @param [String] resource
|
720
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
721
|
+
# operation documentation for the appropriate value for this field.
|
722
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
723
|
+
# @param [String] fields
|
724
|
+
# Selector specifying which fields to include in a partial response.
|
725
|
+
# @param [String] quota_user
|
726
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
727
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
728
|
+
# @param [Google::Apis::RequestOptions] options
|
729
|
+
# Request-specific options
|
730
|
+
#
|
731
|
+
# @yield [result, err] Result & error if block supplied
|
732
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
733
|
+
# @yieldparam err [StandardError] error object if request failed
|
734
|
+
#
|
735
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
736
|
+
#
|
737
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
738
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
739
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
740
|
+
def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
741
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
742
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
|
743
|
+
command.request_object = set_iam_policy_request_object
|
744
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
745
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
746
|
+
command.params['resource'] = resource unless resource.nil?
|
747
|
+
command.query['fields'] = fields unless fields.nil?
|
748
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
+
execute_or_queue_command(command, &block)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Returns permissions that a caller has on the specified resource. If the
|
753
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
754
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
755
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
756
|
+
# This operation may "fail open" without warning.
|
757
|
+
# @param [String] resource
|
758
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
759
|
+
# operation documentation for the appropriate value for this field.
|
760
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
761
|
+
# @param [String] fields
|
762
|
+
# Selector specifying which fields to include in a partial response.
|
763
|
+
# @param [String] quota_user
|
764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
766
|
+
# @param [Google::Apis::RequestOptions] options
|
767
|
+
# Request-specific options
|
768
|
+
#
|
769
|
+
# @yield [result, err] Result & error if block supplied
|
770
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
|
771
|
+
# @yieldparam err [StandardError] error object if request failed
|
772
|
+
#
|
773
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse]
|
774
|
+
#
|
775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
778
|
+
def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
779
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
780
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
|
781
|
+
command.request_object = test_iam_permissions_request_object
|
782
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
|
783
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse
|
784
|
+
command.params['resource'] = resource unless resource.nil?
|
785
|
+
command.query['fields'] = fields unless fields.nil?
|
786
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
787
|
+
execute_or_queue_command(command, &block)
|
788
|
+
end
|
789
|
+
|
675
790
|
# Gets details of a single sqlIntegration.
|
676
791
|
# @param [String] name
|
677
792
|
# Required. MangedOU resource name using the form: `projects/`project_id`/
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.10.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: 2021-06-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Managed Service for Microsoft Active
|
28
34
|
Directory API V1alpha1. Simple REST clients are Ruby client libraries that provide
|
29
35
|
access to Google services via their HTTP REST API endpoints. These libraries are
|
@@ -53,7 +59,7 @@ licenses:
|
|
53
59
|
metadata:
|
54
60
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
61
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.
|
62
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.10.0
|
57
63
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
|
58
64
|
post_install_message:
|
59
65
|
rdoc_options: []
|