google-apis-managedidentities_v1beta1 0.4.0 → 0.5.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: b0757fa39bc9d11bf6959fc2a6e6b16b9e0d1a31619914aec4348326f76a45cc
4
- data.tar.gz: 9a811154f903795f5e9c5aec5f1c97ca5af89c1e9136f080bdf186bbaba00620
3
+ metadata.gz: db622518f8941463ba5ed0d6aed319571c883ff7c9ebfb31b7ac90424f26ad60
4
+ data.tar.gz: 6e0067b55bd18940336ffa0cad0fb4af8c86f3f8423d61f57c88931b4b346f96
5
5
  SHA512:
6
- metadata.gz: 6686c55bada53b1d94ca2a5c836c4cdfa1dd0d1fb1d498dc8af91a1a26881cb679f0cc2904fc94221b447ea3f1c9d4404dcb27f6c49f8b990c9e9ec00fa045ad
7
- data.tar.gz: e1d633d0f37950103f5f733ea56ff765fca8e3c6bc96822b7e7ae7ff045f2935aaae57535dfa5a6df24670deb5aacd501ecd070027c9b813c921b84945c2d30e
6
+ metadata.gz: d81f85057e257df97063cbdcdec78aa4ba2007ec250b13495ced734f910f74e356f2b253785f0f7717285223a4560b5e30406a31e0299eac21db9d67eb525699
7
+ data.tar.gz: 7581fe4afac8ba804ddf38fc0d436b653f5ad34f014c69d95f58fa5c34a8514fbff297ab173f642c4548b40d160938aae63ea5d33d8a7b39c556b9ae7856aae0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-managedidentities_v1beta1
2
2
 
3
+ ### v0.5.0 (2021-03-14)
4
+
5
+ * Regenerated from discovery document revision 20210305
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.4.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -729,9 +729,8 @@ module Google
729
729
  class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
730
730
  include Google::Apis::Core::Hashable
731
731
 
732
- # Can this scheduled update be rescheduled? By default, it's true and API needs
733
- # to do explicitly check whether it's set, if it's set as false explicitly, it's
734
- # false
732
+ # This field will be deprecated, and will be always set to true since reschedule
733
+ # can happen multiple times now.
735
734
  # Corresponds to the JSON property `canReschedule`
736
735
  # @return [Boolean]
737
736
  attr_accessor :can_reschedule
@@ -1655,8 +1654,7 @@ module Google
1655
1654
  # @return [String]
1656
1655
  attr_accessor :name
1657
1656
 
1658
- # The full resource name of an integrated sql instance Reference to: http://
1659
- # google3/google/cloud/sql/v1/cloud_sql_resources.proto?l=351&rcl=354416019
1657
+ # The full resource name of an integrated sql instance
1660
1658
  # Corresponds to the JSON property `sqlInstance`
1661
1659
  # @return [String]
1662
1660
  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.4.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.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
25
+ REVISION = "20210305"
26
26
  end
27
27
  end
28
28
  end
@@ -163,7 +163,7 @@ module Google
163
163
  # restrictions: * Must contain only lowercase letters, numbers, periods and
164
164
  # hyphens. * Must start with a letter. * Must contain between 2-64 characters. *
165
165
  # Must end with a number or a letter. * Must not start with period. * First
166
- # segement length (mydomain form example above) shouldn't exceed 15 chars. * The
166
+ # segment length (mydomain form example above) shouldn't exceed 15 chars. * The
167
167
  # last segment cannot be fully numeric. * Must be unique within the customer
168
168
  # project.
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::ManagedidentitiesV1beta1::Policy] parsed result object
855
+ # @yieldparam err [StandardError] error object if request failed
856
+ #
857
+ # @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:getIamPolicy', options)
864
+ command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
865
+ command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::Policy] parsed result object
890
+ # @yieldparam err [StandardError] error object if request failed
891
+ #
892
+ # @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:setIamPolicy', options)
899
+ command.request_representation = Google::Apis::ManagedidentitiesV1beta1::SetIamPolicyRequest::Representation
900
+ command.request_object = set_iam_policy_request_object
901
+ command.response_representation = Google::Apis::ManagedidentitiesV1beta1::Policy::Representation
902
+ command.response_class = Google::Apis::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::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::ManagedidentitiesV1beta1::TestIamPermissionsResponse] parsed result object
928
+ # @yieldparam err [StandardError] error object if request failed
929
+ #
930
+ # @return [Google::Apis::ManagedidentitiesV1beta1::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, 'v1beta1/{+resource}:testIamPermissions', options)
937
+ command.request_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsRequest::Representation
938
+ command.request_object = test_iam_permissions_request_object
939
+ command.response_representation = Google::Apis::ManagedidentitiesV1beta1::TestIamPermissionsResponse::Representation
940
+ command.response_class = Google::Apis::ManagedidentitiesV1beta1::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_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.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-08 00:00:00.000000000 Z
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_v1beta1/CHANGELOG.md
56
- documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.4.0
56
+ documentation_uri: https://googleapis.dev/ruby/google-apis-managedidentities_v1beta1/v0.5.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: []