google-apis-managedidentities_v1alpha1 0.2.0 → 0.7.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: eec089e4cade63283047ede244006a8cdf656fd4712b7d919a9c276319e6ad2f
4
- data.tar.gz: 416963044cbc18ade61c1d838665e2f7baf47e7effa475a8f6d6bd03e1760f66
3
+ metadata.gz: a4763cb969911af181ba76b72f5a332fa5d40362cda66178005627f49103bf94
4
+ data.tar.gz: 3093171bae91fb8ece18f8251939cb6e6f113e9679e411206bfed9ac7f6238f6
5
5
  SHA512:
6
- metadata.gz: 97d0236cbb2dff67a944793a5ba7264c08594dca81a4e763d56aaa4e9fd2dd82156ed4fb216e2a989ef15fe5c585cc260ec1c464906b6507ac50bc539a26e4b1
7
- data.tar.gz: 8dab712acd62d2cea5c6c461c6d7fc3336fbf5bb2238d19d4ea998a968f2d3cf59e8ef14574176b3e500cb47f8484b74e8e74726aa19c830ff551d874a1870d9
6
+ metadata.gz: 0b1a3432155735a5dfcb94f358531a08af05d4338f7a16918eb932e0cc107cbf873ba2a6251a50fdd68d43fcdfed0c04b779b03f49410db4d07c1621bc351b77
7
+ data.tar.gz: 6bc1ed16052ab1222cf699e0aec38aee2abce1dff6e8a1f73588ab8bad395690fa8bfbf2835e3075f4b96be9f6bfce5bbc1e8254a7ee4e3e8f4cc71389d4a32c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-managedidentities_v1alpha1
2
2
 
3
+ ### v0.7.0 (2021-05-19)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-03-26)
8
+
9
+ * Regenerated from discovery document revision 20210324
10
+
11
+ ### v0.5.0 (2021-03-12)
12
+
13
+ * Regenerated from discovery document revision 20210305
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-13)
21
+
22
+ * Regenerated from discovery document revision 20210209
23
+
3
24
  ### v0.2.0 (2021-01-20)
4
25
 
5
26
  * Regenerated from discovery document revision 20210112
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1alpha1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
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
@@ -739,9 +739,9 @@ module Google
739
739
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
740
740
  include Google::Apis::Core::Hashable
741
741
 
742
- # Can this scheduled update be rescheduled? By default, it's true and API needs
743
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
744
- # false
742
+ # This field is deprecated, and will be always set to true since reschedule can
743
+ # happen multiple times now. This field should not be removed until all service
744
+ # producers remove this for their customers.
745
745
  # Corresponds to the JSON property `canReschedule`
746
746
  # @return [Boolean]
747
747
  attr_accessor :can_reschedule
@@ -761,9 +761,8 @@ module Google
761
761
 
762
762
  # schedule_deadline_time is the time deadline any schedule start time cannot go
763
763
  # beyond, including reschedule. It's normally the initial schedule start time
764
- # plus a week. If the reschedule type is next window, simply take this value as
765
- # start time. If reschedule type is IMMEDIATELY or BY_TIME, current or selected
766
- # time cannot go beyond this deadline.
764
+ # plus maintenance window length (1 day or 1 week). Maintenance cannot be
765
+ # scheduled to start beyond this deadline.
767
766
  # Corresponds to the JSON property `scheduleDeadlineTime`
768
767
  # @return [String]
769
768
  attr_accessor :schedule_deadline_time
@@ -800,6 +799,12 @@ module Google
800
799
  attr_accessor :exclude
801
800
  alias_method :exclude?, :exclude
802
801
 
802
+ # Optional. If the update call is triggered from rollback, set the value as true.
803
+ # Corresponds to the JSON property `isRollback`
804
+ # @return [Boolean]
805
+ attr_accessor :is_rollback
806
+ alias_method :is_rollback?, :is_rollback
807
+
803
808
  # Optional. The MaintenancePolicies that have been attached to the instance. The
804
809
  # key must be of the type name of the oneof policy name defined in
805
810
  # MaintenancePolicy, and the embedded policy must define the same policy type.
@@ -817,6 +822,7 @@ module Google
817
822
  # Update properties of this object
818
823
  def update!(**args)
819
824
  @exclude = args[:exclude] if args.key?(:exclude)
825
+ @is_rollback = args[:is_rollback] if args.key?(:is_rollback)
820
826
  @maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
821
827
  end
822
828
  end
@@ -858,6 +864,35 @@ module Google
858
864
  end
859
865
  end
860
866
 
867
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
868
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
869
+ include Google::Apis::Core::Hashable
870
+
871
+ # An entry in the eligibilities map specifies an eligibility for a particular
872
+ # SLI for the given instance. The SLI key in the name must be a valid SLI name
873
+ # specified in the Eligibility Exporter binary flags otherwise an error will be
874
+ # emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
875
+ # has been defined in the binary flags but the eligibilities map does not
876
+ # contain it, the corresponding SLI time series will not be emitted by the
877
+ # Eligibility Exporter. This ensures a smooth rollout and compatibility between
878
+ # the data produced by different versions of the Eligibility Exporters. If
879
+ # eligibilities map contains a key for an SLI which has not been declared in the
880
+ # binary flags, there will be an error message emitted in the Eligibility
881
+ # Exporter log and the metric for the SLI in question will not be emitted.
882
+ # Corresponds to the JSON property `eligibilities`
883
+ # @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>]
884
+ attr_accessor :eligibilities
885
+
886
+ def initialize(**args)
887
+ update!(**args)
888
+ end
889
+
890
+ # Update properties of this object
891
+ def update!(**args)
892
+ @eligibilities = args[:eligibilities] if args.key?(:eligibilities)
893
+ end
894
+ end
895
+
861
896
  # Describes provisioned dataplane resources.
862
897
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
863
898
  include Google::Apis::Core::Hashable
@@ -940,8 +975,7 @@ module Google
940
975
  attr_accessor :reason
941
976
 
942
977
  # Name of an SLI that this exclusion applies to. Can be left empty, signaling
943
- # that the instance should be excluded from all SLIs defined in the service SLO
944
- # configuration.
978
+ # that the instance should be excluded from all SLIs.
945
979
  # Corresponds to the JSON property `sliName`
946
980
  # @return [String]
947
981
  attr_accessor :sli_name
@@ -998,6 +1032,11 @@ module Google
998
1032
  # @return [Array<Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata>]
999
1033
  attr_accessor :nodes
1000
1034
 
1035
+ # PerSliSloEligibility is a mapping from an SLI name to eligibility.
1036
+ # Corresponds to the JSON property `perSliEligibility`
1037
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility]
1038
+ attr_accessor :per_sli_eligibility
1039
+
1001
1040
  # Name of the SLO tier the Instance belongs to. This name will be expected to
1002
1041
  # match the tiers specified in the service SLO configuration. Field is mandatory
1003
1042
  # and must not be empty.
@@ -1014,6 +1053,7 @@ module Google
1014
1053
  @eligibility = args[:eligibility] if args.key?(:eligibility)
1015
1054
  @exclusions = args[:exclusions] if args.key?(:exclusions)
1016
1055
  @nodes = args[:nodes] if args.key?(:nodes)
1056
+ @per_sli_eligibility = args[:per_sli_eligibility] if args.key?(:per_sli_eligibility)
1017
1057
  @tier = args[:tier] if args.key?(:tier)
1018
1058
  end
1019
1059
  end
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210112"
25
+ REVISION = "20210324"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -466,6 +472,7 @@ module Google
466
472
  # @private
467
473
  class Representation < Google::Apis::Core::JsonRepresentation
468
474
  property :exclude, as: 'exclude'
475
+ property :is_rollback, as: 'isRollback'
469
476
  hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1alpha1::MaintenancePolicy::Representation
470
477
 
471
478
  end
@@ -481,6 +488,14 @@ module Google
481
488
  end
482
489
  end
483
490
 
491
+ class GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ hash :eligibilities, as: 'eligibilities', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
495
+
496
+ end
497
+ end
498
+
484
499
  class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
485
500
  # @private
486
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -516,6 +531,8 @@ module Google
516
531
 
517
532
  collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
518
533
 
534
+ property :per_sli_eligibility, as: 'perSliEligibility', class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility, decorator: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility::Representation
535
+
519
536
  property :tier, as: 'tier'
520
537
  end
521
538
  end
@@ -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
- # The standard list filter.
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 standard list page size.
91
+ # The maximum number of results to return. If not set, the service will select a
92
+ # default.
90
93
  # @param [String] page_token
91
- # The standard list page token.
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
  # following restrictions: * Must contain only lowercase letters, numbers,
164
168
  # periods and hyphens. * Must start with a letter. * Must contain between 2-64
165
169
  # characters. * Must end with a number or a letter. * Must not start with period.
166
- # * Must be unique within the project. * First segement length (mydomain form
170
+ # * Must be unique within the project. * First segment length (mydomain form
167
171
  # example above) shouldn't exceed 15 chars. * The last segment cannot be fully
168
172
  # numeric.
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::ManagedidentitiesV1alpha1::Policy] parsed result object
859
+ # @yieldparam err [StandardError] error object if request failed
860
+ #
861
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::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, 'v1alpha1/{+resource}:getIamPolicy', options)
868
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
869
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::Policy] parsed result object
894
+ # @yieldparam err [StandardError] error object if request failed
895
+ #
896
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::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, 'v1alpha1/{+resource}:setIamPolicy', options)
903
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::SetIamPolicyRequest::Representation
904
+ command.request_object = set_iam_policy_request_object
905
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::Policy::Representation
906
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::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::ManagedidentitiesV1alpha1::TestIamPermissionsResponse] parsed result object
932
+ # @yieldparam err [StandardError] error object if request failed
933
+ #
934
+ # @return [Google::Apis::ManagedidentitiesV1alpha1::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, 'v1alpha1/{+resource}:testIamPermissions', options)
941
+ command.request_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsRequest::Representation
942
+ command.request_object = test_iam_permissions_request_object
943
+ command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::TestIamPermissionsResponse::Representation
944
+ command.response_class = Google::Apis::ManagedidentitiesV1alpha1::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_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 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.2.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1alpha1/v0.7.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: []
@@ -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.4'
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.6
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