google-apis-metastore_v1beta 0.8.0 → 0.13.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: 8ea3199d80c19d4ee0d810496d318643fefac38bb0066fa1dd690530eb112f44
4
- data.tar.gz: 398276488db63b6c70a7ac386d186b35f697368ec5869260018d5a020da54897
3
+ metadata.gz: c96cf330669e1576dea6dce7b94e07c6bebf7d8eb7d6fecb1a4f771038847acb
4
+ data.tar.gz: 3fe02c9f54b7b87ab69cec48502b28c76aa0944934da6a449f01e9fe47899341
5
5
  SHA512:
6
- metadata.gz: f100a6b67ae5ee7af01d1390866887ce70e5f6fcfdf91e6bd21f8d8a7683626043289b92c2eea8d8eec6fbeb61f28ed834f19b093d4191a78c2e16e4b43cb6a9
7
- data.tar.gz: a0376988dee2b3c3a44bc95357c1d37626fc86b5707e36ada6b23db7baa107beaebde11ab4c9b5ed27e870b15a983b15554a7bc03a4469e1c4c26f4d31eebaea
6
+ metadata.gz: e5230ec0a7abfeec79a868846064d7540fd6fd120ff002829f00f1c5a8663ddbec644d17e96aa4d7b3f7bfcb20d6425b33459210f27adc1e55c8e543f72345fd
7
+ data.tar.gz: ceddd80d22bc9fdd936bc068b976af92d3637e4b11c08cae36de9623e19d7e5a82684cf955d71d3f172380bcf42cd2d7dec74b8b6e96e2d644b314920c7b0220
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-metastore_v1beta
2
2
 
3
+ ### v0.13.0 (2021-06-29)
4
+
5
+ * Regenerated using generator version 0.4.0
6
+
7
+ ### v0.12.0 (2021-06-24)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.11.0 (2021-06-18)
12
+
13
+ * Regenerated from discovery document revision 20210615
14
+
15
+ ### v0.10.0 (2021-06-06)
16
+
17
+ * Regenerated from discovery document revision 20210527
18
+ * Regenerated using generator version 0.3.0
19
+
20
+ ### v0.9.0 (2021-05-19)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.8.0 (2021-05-08)
4
25
 
5
26
  * Regenerated from discovery document revision 20210503
@@ -785,6 +785,11 @@ module Google
785
785
  # @return [String]
786
786
  attr_accessor :description
787
787
 
788
+ # Output only. The time when the metadata import finished.
789
+ # Corresponds to the JSON property `endTime`
790
+ # @return [String]
791
+ attr_accessor :end_time
792
+
788
793
  # Immutable. The relative resource name of the metadata import, of the form:
789
794
  # projects/`project_number`/locations/`location_id`/services/`service_id`/
790
795
  # metadataImports/`metadata_import_id`.
@@ -811,6 +816,7 @@ module Google
811
816
  @create_time = args[:create_time] if args.key?(:create_time)
812
817
  @database_dump = args[:database_dump] if args.key?(:database_dump)
813
818
  @description = args[:description] if args.key?(:description)
819
+ @end_time = args[:end_time] if args.key?(:end_time)
814
820
  @name = args[:name] if args.key?(:name)
815
821
  @state = args[:state] if args.key?(:state)
816
822
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MetastoreV1beta
18
18
  # Version of the google-apis-metastore_v1beta gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210503"
25
+ REVISION = "20210615"
26
26
  end
27
27
  end
28
28
  end
@@ -435,6 +435,7 @@ module Google
435
435
  property :database_dump, as: 'databaseDump', class: Google::Apis::MetastoreV1beta::DatabaseDump, decorator: Google::Apis::MetastoreV1beta::DatabaseDump::Representation
436
436
 
437
437
  property :description, as: 'description'
438
+ property :end_time, as: 'endTime'
438
439
  property :name, as: 'name'
439
440
  property :state, as: 'state'
440
441
  property :update_time, as: 'updateTime'
@@ -768,6 +768,46 @@ module Google
768
768
  execute_or_queue_command(command, &block)
769
769
  end
770
770
 
771
+ # Gets the access control policy for a resource. Returns an empty policy if the
772
+ # resource exists and does not have a policy set.
773
+ # @param [String] resource
774
+ # REQUIRED: The resource for which the policy is being requested. See the
775
+ # operation documentation for the appropriate value for this field.
776
+ # @param [Fixnum] options_requested_policy_version
777
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
778
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
779
+ # with any conditional bindings must specify version 3. Policies without any
780
+ # conditional bindings may specify any valid value or leave the field unset.To
781
+ # learn which resources support conditions in their IAM policies, see the IAM
782
+ # documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
783
+ # @param [String] fields
784
+ # Selector specifying which fields to include in a partial response.
785
+ # @param [String] quota_user
786
+ # Available to use for quota purposes for server-side applications. Can be any
787
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
788
+ # @param [Google::Apis::RequestOptions] options
789
+ # Request-specific options
790
+ #
791
+ # @yield [result, err] Result & error if block supplied
792
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
793
+ # @yieldparam err [StandardError] error object if request failed
794
+ #
795
+ # @return [Google::Apis::MetastoreV1beta::Policy]
796
+ #
797
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
798
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
799
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
800
+ def get_project_location_service_backup_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
801
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
802
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
803
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
804
+ command.params['resource'] = resource unless resource.nil?
805
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
806
+ command.query['fields'] = fields unless fields.nil?
807
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
808
+ execute_or_queue_command(command, &block)
809
+ end
810
+
771
811
  # Lists backups in a service.
772
812
  # @param [String] parent
773
813
  # Required. The relative resource name of the service whose backups to list, in
@@ -819,6 +859,80 @@ module Google
819
859
  execute_or_queue_command(command, &block)
820
860
  end
821
861
 
862
+ # Sets the access control policy on the specified resource. Replaces any
863
+ # existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
864
+ # errors.
865
+ # @param [String] resource
866
+ # REQUIRED: The resource for which the policy is being specified. See the
867
+ # operation documentation for the appropriate value for this field.
868
+ # @param [Google::Apis::MetastoreV1beta::SetIamPolicyRequest] set_iam_policy_request_object
869
+ # @param [String] fields
870
+ # Selector specifying which fields to include in a partial response.
871
+ # @param [String] quota_user
872
+ # Available to use for quota purposes for server-side applications. Can be any
873
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
874
+ # @param [Google::Apis::RequestOptions] options
875
+ # Request-specific options
876
+ #
877
+ # @yield [result, err] Result & error if block supplied
878
+ # @yieldparam result [Google::Apis::MetastoreV1beta::Policy] parsed result object
879
+ # @yieldparam err [StandardError] error object if request failed
880
+ #
881
+ # @return [Google::Apis::MetastoreV1beta::Policy]
882
+ #
883
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
884
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
885
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
886
+ def set_backup_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
887
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
888
+ command.request_representation = Google::Apis::MetastoreV1beta::SetIamPolicyRequest::Representation
889
+ command.request_object = set_iam_policy_request_object
890
+ command.response_representation = Google::Apis::MetastoreV1beta::Policy::Representation
891
+ command.response_class = Google::Apis::MetastoreV1beta::Policy
892
+ command.params['resource'] = resource unless resource.nil?
893
+ command.query['fields'] = fields unless fields.nil?
894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
895
+ execute_or_queue_command(command, &block)
896
+ end
897
+
898
+ # Returns permissions that a caller has on the specified resource. If the
899
+ # resource does not exist, this will return an empty set of permissions, not a
900
+ # NOT_FOUND error.Note: This operation is designed to be used for building
901
+ # permission-aware UIs and command-line tools, not for authorization checking.
902
+ # This operation may "fail open" without warning.
903
+ # @param [String] resource
904
+ # REQUIRED: The resource for which the policy detail is being requested. See the
905
+ # operation documentation for the appropriate value for this field.
906
+ # @param [Google::Apis::MetastoreV1beta::TestIamPermissionsRequest] test_iam_permissions_request_object
907
+ # @param [String] fields
908
+ # Selector specifying which fields to include in a partial response.
909
+ # @param [String] quota_user
910
+ # Available to use for quota purposes for server-side applications. Can be any
911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
912
+ # @param [Google::Apis::RequestOptions] options
913
+ # Request-specific options
914
+ #
915
+ # @yield [result, err] Result & error if block supplied
916
+ # @yieldparam result [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse] parsed result object
917
+ # @yieldparam err [StandardError] error object if request failed
918
+ #
919
+ # @return [Google::Apis::MetastoreV1beta::TestIamPermissionsResponse]
920
+ #
921
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
922
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
923
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
924
+ def test_backup_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
925
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
926
+ command.request_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsRequest::Representation
927
+ command.request_object = test_iam_permissions_request_object
928
+ command.response_representation = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse::Representation
929
+ command.response_class = Google::Apis::MetastoreV1beta::TestIamPermissionsResponse
930
+ command.params['resource'] = resource unless resource.nil?
931
+ command.query['fields'] = fields unless fields.nil?
932
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
933
+ execute_or_queue_command(command, &block)
934
+ end
935
+
822
936
  # Creates a new MetadataImport in a given project and location.
823
937
  # @param [String] parent
824
938
  # Required. The relative resource name of the service in which to create a
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-metastore_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.13.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-05-18 00:00:00.000000000 Z
11
+ date: 2021-07-05 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.1'
19
+ version: '0.4'
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.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Dataproc Metastore API V1beta. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-metastore_v1beta/v0.13.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-metastore_v1beta
57
63
  post_install_message:
58
64
  rdoc_options: []