google-apis-managedidentities_v1alpha1 0.4.0 → 0.5.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90cd4e82beffc1fb432ec1c1c03cc6f3acebde6b163fe4c4ee63a741650f6512
|
4
|
+
data.tar.gz: c285dbdfd3c419b6ddf8ce08accb5225f48d09df6300a1eff383c5625f07b404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bafe887043505ed4bf478558442df5bdd520776ec74088873c6bb3e6d77e29e8f4aa45641980f170d4eb7e03663d29cfb4ab0dc9faac9d34156f1ab6b25f421
|
7
|
+
data.tar.gz: 5be18890115d1efa4a8502925ed91fb7fab58358a13d654b82d1782282c8db821e1303beb225513bbbe9ebb8e12eccab0b13b342837c5700dacfe9aee744d258
|
data/CHANGELOG.md
CHANGED
@@ -739,9 +739,8 @@ module Google
|
|
739
739
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
740
740
|
include Google::Apis::Core::Hashable
|
741
741
|
|
742
|
-
#
|
743
|
-
#
|
744
|
-
# false
|
742
|
+
# This field will be deprecated, and will be always set to true since reschedule
|
743
|
+
# can happen multiple times now.
|
745
744
|
# Corresponds to the JSON property `canReschedule`
|
746
745
|
# @return [Boolean]
|
747
746
|
attr_accessor :can_reschedule
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210305"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
# following restrictions: * Must contain only lowercase letters, numbers,
|
164
164
|
# periods and hyphens. * Must start with a letter. * Must contain between 2-64
|
165
165
|
# characters. * Must end with a number or a letter. * Must not start with period.
|
166
|
-
# * Must be unique within the project. * First
|
166
|
+
# * Must be unique within the project. * First segment length (mydomain form
|
167
167
|
# example above) shouldn't exceed 15 chars. * The last segment cannot be fully
|
168
168
|
# numeric.
|
169
169
|
# @param [String] fields
|
@@ -828,6 +828,121 @@ module Google
|
|
828
828
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
829
829
|
execute_or_queue_command(command, &block)
|
830
830
|
end
|
831
|
+
|
832
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
833
|
+
# resource exists and does not have a policy set.
|
834
|
+
# @param [String] resource
|
835
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
836
|
+
# operation documentation for the appropriate value for this field.
|
837
|
+
# @param [Fixnum] options_requested_policy_version
|
838
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
839
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
840
|
+
# policies with any conditional bindings must specify version 3. Policies
|
841
|
+
# without any conditional bindings may specify any valid value or leave the
|
842
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
843
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
844
|
+
# resource-policies).
|
845
|
+
# @param [String] fields
|
846
|
+
# Selector specifying which fields to include in a partial response.
|
847
|
+
# @param [String] quota_user
|
848
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
849
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
850
|
+
# @param [Google::Apis::RequestOptions] options
|
851
|
+
# Request-specific options
|
852
|
+
#
|
853
|
+
# @yield [result, err] Result & error if block supplied
|
854
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
855
|
+
# @yieldparam err [StandardError] error object if request failed
|
856
|
+
#
|
857
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
858
|
+
#
|
859
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
860
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
861
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
862
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
863
|
+
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
864
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
865
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
866
|
+
command.params['resource'] = resource unless resource.nil?
|
867
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
868
|
+
command.query['fields'] = fields unless fields.nil?
|
869
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
870
|
+
execute_or_queue_command(command, &block)
|
871
|
+
end
|
872
|
+
|
873
|
+
# Sets the access control policy on the specified resource. Replaces any
|
874
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
875
|
+
# PERMISSION_DENIED` errors.
|
876
|
+
# @param [String] resource
|
877
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
878
|
+
# operation documentation for the appropriate value for this field.
|
879
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
880
|
+
# @param [String] fields
|
881
|
+
# Selector specifying which fields to include in a partial response.
|
882
|
+
# @param [String] quota_user
|
883
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
884
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
885
|
+
# @param [Google::Apis::RequestOptions] options
|
886
|
+
# Request-specific options
|
887
|
+
#
|
888
|
+
# @yield [result, err] Result & error if block supplied
|
889
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::Policy] parsed result object
|
890
|
+
# @yieldparam err [StandardError] error object if request failed
|
891
|
+
#
|
892
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::Policy]
|
893
|
+
#
|
894
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
895
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
896
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
897
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
898
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
899
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
|
900
|
+
command.request_object = set_iam_policy_request_object
|
901
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
|
902
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::Policy
|
903
|
+
command.params['resource'] = resource unless resource.nil?
|
904
|
+
command.query['fields'] = fields unless fields.nil?
|
905
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
906
|
+
execute_or_queue_command(command, &block)
|
907
|
+
end
|
908
|
+
|
909
|
+
# Returns permissions that a caller has on the specified resource. If the
|
910
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
911
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
912
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
913
|
+
# This operation may "fail open" without warning.
|
914
|
+
# @param [String] resource
|
915
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
916
|
+
# operation documentation for the appropriate value for this field.
|
917
|
+
# @param [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
918
|
+
# @param [String] fields
|
919
|
+
# Selector specifying which fields to include in a partial response.
|
920
|
+
# @param [String] quota_user
|
921
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
922
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
923
|
+
# @param [Google::Apis::RequestOptions] options
|
924
|
+
# Request-specific options
|
925
|
+
#
|
926
|
+
# @yield [result, err] Result & error if block supplied
|
927
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
|
928
|
+
# @yieldparam err [StandardError] error object if request failed
|
929
|
+
#
|
930
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse]
|
931
|
+
#
|
932
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
933
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
934
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
935
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
936
|
+
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
937
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
|
938
|
+
command.request_object = test_iam_permissions_request_object
|
939
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
|
940
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse
|
941
|
+
command.params['resource'] = resource unless resource.nil?
|
942
|
+
command.query['fields'] = fields unless fields.nil?
|
943
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
944
|
+
execute_or_queue_command(command, &block)
|
945
|
+
end
|
831
946
|
|
832
947
|
protected
|
833
948
|
|
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.5.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-03-
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -53,7 +53,7 @@ licenses:
|
|
53
53
|
metadata:
|
54
54
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
55
55
|
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.
|
56
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.5.0
|
57
57
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1alpha1
|
58
58
|
post_install_message:
|
59
59
|
rdoc_options: []
|