google-apis-managedidentities_v1beta1 0.3.0 → 0.8.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 +22 -0
- data/lib/google/apis/managedidentities_v1beta1.rb +1 -1
- data/lib/google/apis/managedidentities_v1beta1/classes.rb +8 -15
- data/lib/google/apis/managedidentities_v1beta1/gem_version.rb +3 -3
- data/lib/google/apis/managedidentities_v1beta1/representations.rb +0 -2
- data/lib/google/apis/managedidentities_v1beta1/service.rb +123 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 597d48079534aa31ec90a2a3367ead6ac2b4491567b5b3c72de9a1ece14c3a69
|
4
|
+
data.tar.gz: 9e79cce39807041b76414c544a89159f4aa2dac594bb09b9d4e5b6f4189d3871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 630332f36546a99ee45b7a57f915fff13504a0e80427e2ebcb61069c391b9870fa0b189d6f73f26f28baf1936fe29fc7f933ca1f2ea6940f2fb9509cbe2321b9
|
7
|
+
data.tar.gz: bd74ba986a3011b876f259f54a297574a2e05c05f6fd4fbedab775952c246a3fe878c98e2034d0d99c1883e0423559f70dcb99839b769aa9e57821b68b28a151
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-managedidentities_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210601
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.6.0 (2021-03-27)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210324
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-14)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210305
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.4.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Unspecified changes
|
24
|
+
|
3
25
|
### v0.3.0 (2021-02-13)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210209
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta1'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -645,8 +645,10 @@ module Google
|
|
645
645
|
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
|
646
646
|
attr_accessor :maintenance_settings
|
647
647
|
|
648
|
-
# Unique name of the resource. It uses the form: `projects/`project_id
|
649
|
-
# locations/`location_id`/instances/`instance_id``
|
648
|
+
# Unique name of the resource. It uses the form: `projects/`project_id|
|
649
|
+
# project_number`/locations/`location_id`/instances/`instance_id`` Note: Either
|
650
|
+
# project_id or project_number can be used, but keep it consistent with other
|
651
|
+
# APIs (e.g. RescheduleUpdate)
|
650
652
|
# Corresponds to the JSON property `name`
|
651
653
|
# @return [String]
|
652
654
|
attr_accessor :name
|
@@ -729,9 +731,9 @@ module Google
|
|
729
731
|
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
730
732
|
include Google::Apis::Core::Hashable
|
731
733
|
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
734
|
+
# This field is deprecated, and will be always set to true since reschedule can
|
735
|
+
# happen multiple times now. This field should not be removed until all service
|
736
|
+
# producers remove this for their customers.
|
735
737
|
# Corresponds to the JSON property `canReschedule`
|
736
738
|
# @return [Boolean]
|
737
739
|
attr_accessor :can_reschedule
|
@@ -993,13 +995,6 @@ module Google
|
|
993
995
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
994
996
|
include Google::Apis::Core::Hashable
|
995
997
|
|
996
|
-
# SloEligibility is a tuple containing eligibility value: true if an instance is
|
997
|
-
# eligible for SLO calculation or false if it should be excluded from all SLO-
|
998
|
-
# related calculations along with a user-defined reason.
|
999
|
-
# Corresponds to the JSON property `eligibility`
|
1000
|
-
# @return [Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility]
|
1001
|
-
attr_accessor :eligibility
|
1002
|
-
|
1003
998
|
# List of SLO exclusion windows. When multiple entries in the list match (
|
1004
999
|
# matching the exclusion time-window against current time point) the exclusion
|
1005
1000
|
# reason used in the first matching entry will be published. It is not needed to
|
@@ -1040,7 +1035,6 @@ module Google
|
|
1040
1035
|
|
1041
1036
|
# Update properties of this object
|
1042
1037
|
def update!(**args)
|
1043
|
-
@eligibility = args[:eligibility] if args.key?(:eligibility)
|
1044
1038
|
@exclusions = args[:exclusions] if args.key?(:exclusions)
|
1045
1039
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1046
1040
|
@per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
|
@@ -1655,8 +1649,7 @@ module Google
|
|
1655
1649
|
# @return [String]
|
1656
1650
|
attr_accessor :name
|
1657
1651
|
|
1658
|
-
# The full resource name of an integrated sql instance
|
1659
|
-
# google3/google/cloud/sql/v1/cloud_sql_resources.proto?l=351&rcl=354416019
|
1652
|
+
# The full resource name of an integrated sql instance
|
1660
1653
|
# Corresponds to the JSON property `sqlInstance`
|
1661
1654
|
# @return [String]
|
1662
1655
|
attr_accessor :sql_instance
|
@@ -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
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210601"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -525,8 +525,6 @@ module Google
|
|
525
525
|
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
526
526
|
# @private
|
527
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
529
|
-
|
530
528
|
collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
531
529
|
|
532
530
|
collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
@@ -84,11 +84,15 @@ module Google
|
|
84
84
|
# @param [String] name
|
85
85
|
# The resource that owns the locations collection, if applicable.
|
86
86
|
# @param [String] filter
|
87
|
-
#
|
87
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
88
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
89
|
+
# AIP-160](https://google.aip.dev/160).
|
88
90
|
# @param [Fixnum] page_size
|
89
|
-
# The
|
91
|
+
# The maximum number of results to return. If not set, the service selects a
|
92
|
+
# default.
|
90
93
|
# @param [String] page_token
|
91
|
-
#
|
94
|
+
# A page token received from the `next_page_token` field in the response. Send
|
95
|
+
# that page token to receive the subsequent page.
|
92
96
|
# @param [String] fields
|
93
97
|
# Selector specifying which fields to include in a partial response.
|
94
98
|
# @param [String] quota_user
|
@@ -163,7 +167,7 @@ module Google
|
|
163
167
|
# restrictions: * Must contain only lowercase letters, numbers, periods and
|
164
168
|
# hyphens. * Must start with a letter. * Must contain between 2-64 characters. *
|
165
169
|
# Must end with a number or a letter. * Must not start with period. * First
|
166
|
-
#
|
170
|
+
# segment length (mydomain form example above) shouldn't exceed 15 chars. * The
|
167
171
|
# last segment cannot be fully numeric. * Must be unique within the customer
|
168
172
|
# project.
|
169
173
|
# @param [String] fields
|
@@ -828,6 +832,121 @@ module Google
|
|
828
832
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
829
833
|
execute_or_queue_command(command, &block)
|
830
834
|
end
|
835
|
+
|
836
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
837
|
+
# resource exists and does not have a policy set.
|
838
|
+
# @param [String] resource
|
839
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
840
|
+
# operation documentation for the appropriate value for this field.
|
841
|
+
# @param [Fixnum] options_requested_policy_version
|
842
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
843
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
844
|
+
# policies with any conditional bindings must specify version 3. Policies
|
845
|
+
# without any conditional bindings may specify any valid value or leave the
|
846
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
847
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
848
|
+
# resource-policies).
|
849
|
+
# @param [String] fields
|
850
|
+
# Selector specifying which fields to include in a partial response.
|
851
|
+
# @param [String] quota_user
|
852
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
853
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
854
|
+
# @param [Google::Apis::RequestOptions] options
|
855
|
+
# Request-specific options
|
856
|
+
#
|
857
|
+
# @yield [result, err] Result & error if block supplied
|
858
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
859
|
+
# @yieldparam err [StandardError] error object if request failed
|
860
|
+
#
|
861
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
862
|
+
#
|
863
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
864
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
865
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
866
|
+
def get_project_location_global_peering_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
867
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
868
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
869
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
870
|
+
command.params['resource'] = resource unless resource.nil?
|
871
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
872
|
+
command.query['fields'] = fields unless fields.nil?
|
873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
874
|
+
execute_or_queue_command(command, &block)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Sets the access control policy on the specified resource. Replaces any
|
878
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
879
|
+
# PERMISSION_DENIED` errors.
|
880
|
+
# @param [String] resource
|
881
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
882
|
+
# operation documentation for the appropriate value for this field.
|
883
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
884
|
+
# @param [String] fields
|
885
|
+
# Selector specifying which fields to include in a partial response.
|
886
|
+
# @param [String] quota_user
|
887
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
888
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
889
|
+
# @param [Google::Apis::RequestOptions] options
|
890
|
+
# Request-specific options
|
891
|
+
#
|
892
|
+
# @yield [result, err] Result & error if block supplied
|
893
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::Policy] parsed result object
|
894
|
+
# @yieldparam err [StandardError] error object if request failed
|
895
|
+
#
|
896
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::Policy]
|
897
|
+
#
|
898
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
899
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
900
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
901
|
+
def set_peering_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
902
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
903
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest::Representation
|
904
|
+
command.request_object = set_iam_policy_request_object
|
905
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
|
906
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::Policy
|
907
|
+
command.params['resource'] = resource unless resource.nil?
|
908
|
+
command.query['fields'] = fields unless fields.nil?
|
909
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
910
|
+
execute_or_queue_command(command, &block)
|
911
|
+
end
|
912
|
+
|
913
|
+
# Returns permissions that a caller has on the specified resource. If the
|
914
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
915
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
916
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
917
|
+
# This operation may "fail open" without warning.
|
918
|
+
# @param [String] resource
|
919
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
920
|
+
# operation documentation for the appropriate value for this field.
|
921
|
+
# @param [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
922
|
+
# @param [String] fields
|
923
|
+
# Selector specifying which fields to include in a partial response.
|
924
|
+
# @param [String] quota_user
|
925
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
926
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
927
|
+
# @param [Google::Apis::RequestOptions] options
|
928
|
+
# Request-specific options
|
929
|
+
#
|
930
|
+
# @yield [result, err] Result & error if block supplied
|
931
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse] parsed result object
|
932
|
+
# @yieldparam err [StandardError] error object if request failed
|
933
|
+
#
|
934
|
+
# @return [Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse]
|
935
|
+
#
|
936
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
937
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
938
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
939
|
+
def test_peering_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
940
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
941
|
+
command.request_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest::Representation
|
942
|
+
command.request_object = test_iam_permissions_request_object
|
943
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse::Representation
|
944
|
+
command.response_class = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse
|
945
|
+
command.params['resource'] = resource unless resource.nil?
|
946
|
+
command.query['fields'] = fields unless fields.nil?
|
947
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
948
|
+
execute_or_queue_command(command, &block)
|
949
|
+
end
|
831
950
|
|
832
951
|
protected
|
833
952
|
|
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.
|
4
|
+
version: 0.8.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-
|
11
|
+
date: 2021-06-14 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_v1beta1/CHANGELOG.md
|
56
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.
|
56
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.8.0
|
57
57
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-managedidentities_v1beta1
|
58
58
|
post_install_message:
|
59
59
|
rdoc_options: []
|
@@ -63,14 +63,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
63
|
requirements:
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '2.
|
66
|
+
version: '2.5'
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
69
|
- - ">="
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
|
-
rubygems_version: 3.2.
|
73
|
+
rubygems_version: 3.2.17
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Simple REST client for Managed Service for Microsoft Active Directory API
|