google-apis-datafusion_v1beta1 0.2.0 → 0.3.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: 84aeab13ff22754dd1f58156a53e2c35d3c50cc1078853f53a26cb1918d277c5
4
- data.tar.gz: 593823ab7e22d8dc9964ab1363d2a2b3c637cf4ad6a671c999737e12e4c38119
3
+ metadata.gz: 8e44895b07289ef65cf33bbc89186d891e41cd2a5bac1e3295e0072fd6dc847d
4
+ data.tar.gz: 284c05ad11bd6855d40cef459c0bef770621dfe359e8db89ebdbe08d26f8eac1
5
5
  SHA512:
6
- metadata.gz: 42107e31bbd663579b3b882b3217d2e99cf8c0ed5a89754d6a540452ae89443c5d1a9e4f181d3650ca1d660c3427f76f8b1d81d2cb3d50c127d5dac60dce748f
7
- data.tar.gz: ec87476fe045e0f3275fdb8d6b6d25abe7f61f4734c23211035777dae82f5bd2841e7a9e4c434e70ad5031b19fe239e76047266a5c3095b6f24f8d7754f7325b
6
+ metadata.gz: c127c1e8f1b4cc5873f797c077b90bfd66e537b5c8ffe0e5cdb135c0f4e4bbb03c2a97535f8e262a4f9a4102e91efe381c0a8ed4e0225406e8d6c6dcf5b0b901
7
+ data.tar.gz: 38177da429f68bca23f54d0e3a4eda453f88706893ae3e99b6e7a45846d88a1b58a4eaa19295e37ba0492c7d42d8aa1153af2c47d9df9fbf44b0ff585d04b00c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datafusion_v1beta1
2
2
 
3
+ ### v0.3.0 (2021-02-19)
4
+
5
+ * Regenerated from discovery document revision 20210218
6
+
3
7
  ### v0.2.0 (2021-01-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20210121
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatafusionV1beta1
18
18
  # Version of the google-apis-datafusion_v1beta1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210121"
25
+ REVISION = "20210218"
26
26
  end
27
27
  end
28
28
  end
@@ -532,6 +532,121 @@ module Google
532
532
  execute_or_queue_command(command, &block)
533
533
  end
534
534
 
535
+ # Gets the access control policy for a resource. Returns an empty policy if the
536
+ # resource exists and does not have a policy set.
537
+ # @param [String] resource
538
+ # REQUIRED: The resource for which the policy is being requested. See the
539
+ # operation documentation for the appropriate value for this field.
540
+ # @param [Fixnum] options_requested_policy_version
541
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
542
+ # 3. Requests specifying an invalid value will be rejected. Requests for
543
+ # policies with any conditional bindings must specify version 3. Policies
544
+ # without any conditional bindings may specify any valid value or leave the
545
+ # field unset. To learn which resources support conditions in their IAM policies,
546
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
547
+ # resource-policies).
548
+ # @param [String] fields
549
+ # Selector specifying which fields to include in a partial response.
550
+ # @param [String] quota_user
551
+ # Available to use for quota purposes for server-side applications. Can be any
552
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
553
+ # @param [Google::Apis::RequestOptions] options
554
+ # Request-specific options
555
+ #
556
+ # @yield [result, err] Result & error if block supplied
557
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Policy] parsed result object
558
+ # @yieldparam err [StandardError] error object if request failed
559
+ #
560
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
561
+ #
562
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
563
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
564
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
565
+ def get_project_location_instance_namespace_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
566
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
567
+ command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
568
+ command.response_class = Google::Apis::DatafusionV1beta1::Policy
569
+ command.params['resource'] = resource unless resource.nil?
570
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
571
+ command.query['fields'] = fields unless fields.nil?
572
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
573
+ execute_or_queue_command(command, &block)
574
+ end
575
+
576
+ # Sets the access control policy on the specified resource. Replaces any
577
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
578
+ # PERMISSION_DENIED` errors.
579
+ # @param [String] resource
580
+ # REQUIRED: The resource for which the policy is being specified. See the
581
+ # operation documentation for the appropriate value for this field.
582
+ # @param [Google::Apis::DatafusionV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
583
+ # @param [String] fields
584
+ # Selector specifying which fields to include in a partial response.
585
+ # @param [String] quota_user
586
+ # Available to use for quota purposes for server-side applications. Can be any
587
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
588
+ # @param [Google::Apis::RequestOptions] options
589
+ # Request-specific options
590
+ #
591
+ # @yield [result, err] Result & error if block supplied
592
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::Policy] parsed result object
593
+ # @yieldparam err [StandardError] error object if request failed
594
+ #
595
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
596
+ #
597
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
598
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
599
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
600
+ def set_namespace_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
601
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
602
+ command.request_representation = Google::Apis::DatafusionV1beta1::SetIamPolicyRequest::Representation
603
+ command.request_object = set_iam_policy_request_object
604
+ command.response_representation = Google::Apis::DatafusionV1beta1::Policy::Representation
605
+ command.response_class = Google::Apis::DatafusionV1beta1::Policy
606
+ command.params['resource'] = resource unless resource.nil?
607
+ command.query['fields'] = fields unless fields.nil?
608
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
609
+ execute_or_queue_command(command, &block)
610
+ end
611
+
612
+ # Returns permissions that a caller has on the specified resource. If the
613
+ # resource does not exist, this will return an empty set of permissions, not a `
614
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
615
+ # permission-aware UIs and command-line tools, not for authorization checking.
616
+ # This operation may "fail open" without warning.
617
+ # @param [String] resource
618
+ # REQUIRED: The resource for which the policy detail is being requested. See the
619
+ # operation documentation for the appropriate value for this field.
620
+ # @param [Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
621
+ # @param [String] fields
622
+ # Selector specifying which fields to include in a partial response.
623
+ # @param [String] quota_user
624
+ # Available to use for quota purposes for server-side applications. Can be any
625
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
626
+ # @param [Google::Apis::RequestOptions] options
627
+ # Request-specific options
628
+ #
629
+ # @yield [result, err] Result & error if block supplied
630
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse] parsed result object
631
+ # @yieldparam err [StandardError] error object if request failed
632
+ #
633
+ # @return [Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse]
634
+ #
635
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
636
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
637
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
638
+ def test_namespace_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
639
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
640
+ command.request_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsRequest::Representation
641
+ command.request_object = test_iam_permissions_request_object
642
+ command.response_representation = Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse::Representation
643
+ command.response_class = Google::Apis::DatafusionV1beta1::TestIamPermissionsResponse
644
+ command.params['resource'] = resource unless resource.nil?
645
+ command.query['fields'] = fields unless fields.nil?
646
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
647
+ execute_or_queue_command(command, &block)
648
+ end
649
+
535
650
  # Starts asynchronous cancellation on a long-running operation. The server makes
536
651
  # a best effort to cancel the operation, but success is not guaranteed. If the
537
652
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datafusion_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datafusion_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datafusion_v1beta1/v0.3.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-datafusion_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []