google-apis-dataplex_v1 0.4.0 → 0.7.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 +12 -0
- data/lib/google/apis/dataplex_v1/classes.rb +4 -2
- data/lib/google/apis/dataplex_v1/gem_version.rb +3 -3
- data/lib/google/apis/dataplex_v1/service.rb +337 -11
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1ca11459f0db3f690e54ff879c10bb4704ffab1c56e6b2803d4727aad610579
|
4
|
+
data.tar.gz: 9a9bf52c5e972feeffa7411773b0a40a5476971525d3b231ee64fc410d1a639f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6559858fb1454c39fa8f93e74c0b40962d0839f05bacff8c286fc3d4af8ca89f44ed8927fc0845671ea08d4d6c841c75c7b509db6e5f1fbefc7316b73b8de25
|
7
|
+
data.tar.gz: 21679931c5662671df95f80f25b4f4882c333bb26407510a870ead40aba436812b3e0e6da7c47c3582234506d7c74291e035fc48b2d68112c7609928bf26ea73
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-dataplex_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2022-06-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220531
|
6
|
+
|
7
|
+
### v0.6.0 (2022-06-06)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.5.0
|
10
|
+
|
11
|
+
### v0.5.0 (2022-05-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220509
|
14
|
+
|
3
15
|
### v0.4.0 (2022-05-08)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220502
|
@@ -2766,13 +2766,15 @@ module Google
|
|
2766
2766
|
class GoogleCloudDataplexV1TaskInfrastructureSpecBatchComputeResources
|
2767
2767
|
include Google::Apis::Core::Hashable
|
2768
2768
|
|
2769
|
-
# Optional. Total number of job executors.
|
2769
|
+
# Optional. Total number of job executors. Executor Count should be between 2
|
2770
|
+
# and 100. Default=2
|
2770
2771
|
# Corresponds to the JSON property `executorsCount`
|
2771
2772
|
# @return [Fixnum]
|
2772
2773
|
attr_accessor :executors_count
|
2773
2774
|
|
2774
2775
|
# Optional. Max configurable executors. If max_executors_count > executors_count,
|
2775
|
-
# then auto-scaling is enabled.
|
2776
|
+
# then auto-scaling is enabled. Max Executor Count should be between 2 and 1000.
|
2777
|
+
# Default=1000
|
2776
2778
|
# Corresponds to the JSON property `maxExecutorsCount`
|
2777
2779
|
# @return [Fixnum]
|
2778
2780
|
attr_accessor :max_executors_count
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DataplexV1
|
18
18
|
# Version of the google-apis-dataplex_v1 gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220531"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -482,8 +482,113 @@ module Google
|
|
482
482
|
execute_or_queue_command(command, &block)
|
483
483
|
end
|
484
484
|
|
485
|
-
#
|
486
|
-
#
|
485
|
+
# Create a content.
|
486
|
+
# @param [String] parent
|
487
|
+
# Required. The resource name of the parent lake: projects/`project_id`/
|
488
|
+
# locations/`location_id`/lakes/`lake_id`
|
489
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content] google_cloud_dataplex_v1_content_object
|
490
|
+
# @param [Boolean] validate_only
|
491
|
+
# Optional. Only validate the request, but do not perform mutations. The default
|
492
|
+
# is false.
|
493
|
+
# @param [String] fields
|
494
|
+
# Selector specifying which fields to include in a partial response.
|
495
|
+
# @param [String] quota_user
|
496
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
497
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
498
|
+
# @param [Google::Apis::RequestOptions] options
|
499
|
+
# Request-specific options
|
500
|
+
#
|
501
|
+
# @yield [result, err] Result & error if block supplied
|
502
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content] parsed result object
|
503
|
+
# @yieldparam err [StandardError] error object if request failed
|
504
|
+
#
|
505
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content]
|
506
|
+
#
|
507
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
508
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
509
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
510
|
+
def create_project_location_lake_content(parent, google_cloud_dataplex_v1_content_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
511
|
+
command = make_simple_command(:post, 'v1/{+parent}/content', options)
|
512
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content::Representation
|
513
|
+
command.request_object = google_cloud_dataplex_v1_content_object
|
514
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content::Representation
|
515
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content
|
516
|
+
command.params['parent'] = parent unless parent.nil?
|
517
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
518
|
+
command.query['fields'] = fields unless fields.nil?
|
519
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
520
|
+
execute_or_queue_command(command, &block)
|
521
|
+
end
|
522
|
+
|
523
|
+
# Delete a content.
|
524
|
+
# @param [String] name
|
525
|
+
# Required. The resource name of the content: projects/`project_id`/locations/`
|
526
|
+
# location_id`/lakes/`lake_id`/content/`content_id`
|
527
|
+
# @param [String] fields
|
528
|
+
# Selector specifying which fields to include in a partial response.
|
529
|
+
# @param [String] quota_user
|
530
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
531
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
532
|
+
# @param [Google::Apis::RequestOptions] options
|
533
|
+
# Request-specific options
|
534
|
+
#
|
535
|
+
# @yield [result, err] Result & error if block supplied
|
536
|
+
# @yieldparam result [Google::Apis::DataplexV1::Empty] parsed result object
|
537
|
+
# @yieldparam err [StandardError] error object if request failed
|
538
|
+
#
|
539
|
+
# @return [Google::Apis::DataplexV1::Empty]
|
540
|
+
#
|
541
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
542
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
543
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
544
|
+
def delete_project_location_lake_content(name, fields: nil, quota_user: nil, options: nil, &block)
|
545
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
546
|
+
command.response_representation = Google::Apis::DataplexV1::Empty::Representation
|
547
|
+
command.response_class = Google::Apis::DataplexV1::Empty
|
548
|
+
command.params['name'] = name unless name.nil?
|
549
|
+
command.query['fields'] = fields unless fields.nil?
|
550
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
551
|
+
execute_or_queue_command(command, &block)
|
552
|
+
end
|
553
|
+
|
554
|
+
# Get a content resource.
|
555
|
+
# @param [String] name
|
556
|
+
# Required. The resource name of the content: projects/`project_id`/locations/`
|
557
|
+
# location_id`/lakes/`lake_id`/content/`content_id`
|
558
|
+
# @param [String] view
|
559
|
+
# Optional. Specify content view to make a partial request.
|
560
|
+
# @param [String] fields
|
561
|
+
# Selector specifying which fields to include in a partial response.
|
562
|
+
# @param [String] quota_user
|
563
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
564
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
565
|
+
# @param [Google::Apis::RequestOptions] options
|
566
|
+
# Request-specific options
|
567
|
+
#
|
568
|
+
# @yield [result, err] Result & error if block supplied
|
569
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content] parsed result object
|
570
|
+
# @yieldparam err [StandardError] error object if request failed
|
571
|
+
#
|
572
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content]
|
573
|
+
#
|
574
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
575
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
576
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
577
|
+
def get_project_location_lake_content(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
578
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
579
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content::Representation
|
580
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content
|
581
|
+
command.params['name'] = name unless name.nil?
|
582
|
+
command.query['view'] = view unless view.nil?
|
583
|
+
command.query['fields'] = fields unless fields.nil?
|
584
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
585
|
+
execute_or_queue_command(command, &block)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Gets the access control policy for a contentitem resource. A NOT_FOUND error
|
589
|
+
# is returned if the resource does not exist. An empty policy is returned if the
|
590
|
+
# resource exists but does not have a policy set on it.Caller must have Google
|
591
|
+
# IAM dataplex.content.getIamPolicy permission on the resource.
|
487
592
|
# @param [String] resource
|
488
593
|
# REQUIRED: The resource for which the policy is being requested. See Resource
|
489
594
|
# names (https://cloud.google.com/apis/design/resource_names) for the
|
@@ -527,9 +632,97 @@ module Google
|
|
527
632
|
execute_or_queue_command(command, &block)
|
528
633
|
end
|
529
634
|
|
530
|
-
#
|
531
|
-
#
|
532
|
-
#
|
635
|
+
# List content.
|
636
|
+
# @param [String] parent
|
637
|
+
# Required. The resource name of the parent lake: projects/`project_id`/
|
638
|
+
# locations/`location_id`/lakes/`lake_id`
|
639
|
+
# @param [String] filter
|
640
|
+
# Optional. Filter request. Filters are case-sensitive. The following formats
|
641
|
+
# are supported:labels.key1 = "value1" labels:key1 type = "NOTEBOOK" type = "
|
642
|
+
# SQL_SCRIPT"These restrictions can be coinjoined with AND, OR and NOT
|
643
|
+
# conjunctions.
|
644
|
+
# @param [Fixnum] page_size
|
645
|
+
# Optional. Maximum number of content to return. The service may return fewer
|
646
|
+
# than this value. If unspecified, at most 10 content will be returned. The
|
647
|
+
# maximum value is 1000; values above 1000 will be coerced to 1000.
|
648
|
+
# @param [String] page_token
|
649
|
+
# Optional. Page token received from a previous ListContent call. Provide this
|
650
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
651
|
+
# provided to ListContent must match the call that provided the page token.
|
652
|
+
# @param [String] fields
|
653
|
+
# Selector specifying which fields to include in a partial response.
|
654
|
+
# @param [String] quota_user
|
655
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
656
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
657
|
+
# @param [Google::Apis::RequestOptions] options
|
658
|
+
# Request-specific options
|
659
|
+
#
|
660
|
+
# @yield [result, err] Result & error if block supplied
|
661
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListContentResponse] parsed result object
|
662
|
+
# @yieldparam err [StandardError] error object if request failed
|
663
|
+
#
|
664
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1ListContentResponse]
|
665
|
+
#
|
666
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
667
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
668
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
669
|
+
def list_project_location_lake_contents(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
670
|
+
command = make_simple_command(:get, 'v1/{+parent}/content', options)
|
671
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListContentResponse::Representation
|
672
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListContentResponse
|
673
|
+
command.params['parent'] = parent unless parent.nil?
|
674
|
+
command.query['filter'] = filter unless filter.nil?
|
675
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
676
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
677
|
+
command.query['fields'] = fields unless fields.nil?
|
678
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
679
|
+
execute_or_queue_command(command, &block)
|
680
|
+
end
|
681
|
+
|
682
|
+
# Update a content. Only supports full resource update.
|
683
|
+
# @param [String] name
|
684
|
+
# Output only. The relative resource name of the content, of the form: projects/`
|
685
|
+
# project_id`/locations/`location_id`/lakes/`lake_id`/content/`content_id`
|
686
|
+
# @param [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content] google_cloud_dataplex_v1_content_object
|
687
|
+
# @param [String] update_mask
|
688
|
+
# Required. Mask of fields to update.
|
689
|
+
# @param [Boolean] validate_only
|
690
|
+
# Optional. Only validate the request, but do not perform mutations. The default
|
691
|
+
# is false.
|
692
|
+
# @param [String] fields
|
693
|
+
# Selector specifying which fields to include in a partial response.
|
694
|
+
# @param [String] quota_user
|
695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
697
|
+
# @param [Google::Apis::RequestOptions] options
|
698
|
+
# Request-specific options
|
699
|
+
#
|
700
|
+
# @yield [result, err] Result & error if block supplied
|
701
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content] parsed result object
|
702
|
+
# @yieldparam err [StandardError] error object if request failed
|
703
|
+
#
|
704
|
+
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1Content]
|
705
|
+
#
|
706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
709
|
+
def patch_project_location_lake_content(name, google_cloud_dataplex_v1_content_object = nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
710
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
711
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content::Representation
|
712
|
+
command.request_object = google_cloud_dataplex_v1_content_object
|
713
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content::Representation
|
714
|
+
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1Content
|
715
|
+
command.params['name'] = name unless name.nil?
|
716
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
717
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
718
|
+
command.query['fields'] = fields unless fields.nil?
|
719
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
720
|
+
execute_or_queue_command(command, &block)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Sets the access control policy on the specified contentitem resource. Replaces
|
724
|
+
# any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy
|
725
|
+
# permission on the resource.
|
533
726
|
# @param [String] resource
|
534
727
|
# REQUIRED: The resource for which the policy is being specified. See Resource
|
535
728
|
# names (https://cloud.google.com/apis/design/resource_names) for the
|
@@ -564,11 +757,12 @@ module Google
|
|
564
757
|
execute_or_queue_command(command, &block)
|
565
758
|
end
|
566
759
|
|
567
|
-
# Returns
|
568
|
-
#
|
569
|
-
#
|
570
|
-
#
|
571
|
-
# This operation may "fail
|
760
|
+
# Returns the caller's permissions on a resource. If the resource does not exist,
|
761
|
+
# an empty set of permissions is returned (a NOT_FOUND error is not returned).A
|
762
|
+
# caller is not required to have Google IAM permission to make this request.Note:
|
763
|
+
# This operation is designed to be used for building permission-aware UIs and
|
764
|
+
# command-line tools, not for authorization checking. This operation may "fail
|
765
|
+
# open" without warning.
|
572
766
|
# @param [String] resource
|
573
767
|
# REQUIRED: The resource for which the policy detail is being requested. See
|
574
768
|
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
@@ -706,6 +900,53 @@ module Google
|
|
706
900
|
execute_or_queue_command(command, &block)
|
707
901
|
end
|
708
902
|
|
903
|
+
# Gets the access control policy for a contentitem resource. A NOT_FOUND error
|
904
|
+
# is returned if the resource does not exist. An empty policy is returned if the
|
905
|
+
# resource exists but does not have a policy set on it.Caller must have Google
|
906
|
+
# IAM dataplex.content.getIamPolicy permission on the resource.
|
907
|
+
# @param [String] resource
|
908
|
+
# REQUIRED: The resource for which the policy is being requested. See Resource
|
909
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
910
|
+
# appropriate value for this field.
|
911
|
+
# @param [Fixnum] options_requested_policy_version
|
912
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
913
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
914
|
+
# rejected.Requests for policies with any conditional role bindings must specify
|
915
|
+
# version 3. Policies with no conditional role bindings may specify any valid
|
916
|
+
# value or leave the field unset.The policy in the response might use the policy
|
917
|
+
# version that you specified, or it might use a lower policy version. For
|
918
|
+
# example, if you specify version 3, but the policy has no conditional role
|
919
|
+
# bindings, the response uses version 1.To learn which resources support
|
920
|
+
# conditions in their IAM policies, see the IAM documentation (https://cloud.
|
921
|
+
# google.com/iam/help/conditions/resource-policies).
|
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::DataplexV1::GoogleIamV1Policy] parsed result object
|
932
|
+
# @yieldparam err [StandardError] error object if request failed
|
933
|
+
#
|
934
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
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 get_project_location_lake_contentitem_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
940
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
941
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
942
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
943
|
+
command.params['resource'] = resource unless resource.nil?
|
944
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
945
|
+
command.query['fields'] = fields unless fields.nil?
|
946
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
947
|
+
execute_or_queue_command(command, &block)
|
948
|
+
end
|
949
|
+
|
709
950
|
# List content.
|
710
951
|
# @param [String] parent
|
711
952
|
# Required. The resource name of the parent lake: projects/`project_id`/
|
@@ -794,6 +1035,83 @@ module Google
|
|
794
1035
|
execute_or_queue_command(command, &block)
|
795
1036
|
end
|
796
1037
|
|
1038
|
+
# Sets the access control policy on the specified contentitem resource. Replaces
|
1039
|
+
# any existing policy.Caller must have Google IAM dataplex.content.setIamPolicy
|
1040
|
+
# permission on the resource.
|
1041
|
+
# @param [String] resource
|
1042
|
+
# REQUIRED: The resource for which the policy is being specified. See Resource
|
1043
|
+
# names (https://cloud.google.com/apis/design/resource_names) for the
|
1044
|
+
# appropriate value for this field.
|
1045
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1046
|
+
# @param [String] fields
|
1047
|
+
# Selector specifying which fields to include in a partial response.
|
1048
|
+
# @param [String] quota_user
|
1049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1051
|
+
# @param [Google::Apis::RequestOptions] options
|
1052
|
+
# Request-specific options
|
1053
|
+
#
|
1054
|
+
# @yield [result, err] Result & error if block supplied
|
1055
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1Policy] parsed result object
|
1056
|
+
# @yieldparam err [StandardError] error object if request failed
|
1057
|
+
#
|
1058
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1Policy]
|
1059
|
+
#
|
1060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1063
|
+
def set_project_location_lake_contentitem_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1064
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
1065
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1SetIamPolicyRequest::Representation
|
1066
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1067
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1Policy::Representation
|
1068
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1Policy
|
1069
|
+
command.params['resource'] = resource unless resource.nil?
|
1070
|
+
command.query['fields'] = fields unless fields.nil?
|
1071
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1072
|
+
execute_or_queue_command(command, &block)
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# Returns the caller's permissions on a resource. If the resource does not exist,
|
1076
|
+
# an empty set of permissions is returned (a NOT_FOUND error is not returned).A
|
1077
|
+
# caller is not required to have Google IAM permission to make this request.Note:
|
1078
|
+
# This operation is designed to be used for building permission-aware UIs and
|
1079
|
+
# command-line tools, not for authorization checking. This operation may "fail
|
1080
|
+
# open" without warning.
|
1081
|
+
# @param [String] resource
|
1082
|
+
# REQUIRED: The resource for which the policy detail is being requested. See
|
1083
|
+
# Resource names (https://cloud.google.com/apis/design/resource_names) for the
|
1084
|
+
# appropriate value for this field.
|
1085
|
+
# @param [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1086
|
+
# @param [String] fields
|
1087
|
+
# Selector specifying which fields to include in a partial response.
|
1088
|
+
# @param [String] quota_user
|
1089
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1090
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1091
|
+
# @param [Google::Apis::RequestOptions] options
|
1092
|
+
# Request-specific options
|
1093
|
+
#
|
1094
|
+
# @yield [result, err] Result & error if block supplied
|
1095
|
+
# @yieldparam result [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1096
|
+
# @yieldparam err [StandardError] error object if request failed
|
1097
|
+
#
|
1098
|
+
# @return [Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse]
|
1099
|
+
#
|
1100
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1101
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1102
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1103
|
+
def test_project_location_lake_contentitem_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1104
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
1105
|
+
command.request_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
1106
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1107
|
+
command.response_representation = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
1108
|
+
command.response_class = Google::Apis::DataplexV1::GoogleIamV1TestIamPermissionsResponse
|
1109
|
+
command.params['resource'] = resource unless resource.nil?
|
1110
|
+
command.query['fields'] = fields unless fields.nil?
|
1111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1112
|
+
execute_or_queue_command(command, &block)
|
1113
|
+
end
|
1114
|
+
|
797
1115
|
# Create an environment resource.
|
798
1116
|
# @param [String] parent
|
799
1117
|
# Required. The resource name of the parent lake: projects/`project_id`/
|
@@ -1116,6 +1434,13 @@ module Google
|
|
1116
1434
|
# Required. The resource name of the parent environment: projects/`
|
1117
1435
|
# project_number`/locations/`location_id`/lakes/`lake_id`/environment/`
|
1118
1436
|
# environment_id`
|
1437
|
+
# @param [String] filter
|
1438
|
+
# Optional. Filter request. The following mode filter is supported to return
|
1439
|
+
# only the sessions belonging to the requester when the mode is USER and return
|
1440
|
+
# sessions of all the users when the mode is ADMIN. When no filter is sent
|
1441
|
+
# default to USER mode. NOTE: When the mode is ADMIN, the requester should have
|
1442
|
+
# dataplex.environments.listAllSessions permission to list all sessions, in
|
1443
|
+
# absence of the permission, the request fails.mode = ADMIN | USER
|
1119
1444
|
# @param [Fixnum] page_size
|
1120
1445
|
# Optional. Maximum number of sessions to return. The service may return fewer
|
1121
1446
|
# than this value. If unspecified, at most 10 sessions will be returned. The
|
@@ -1141,11 +1466,12 @@ module Google
|
|
1141
1466
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1142
1467
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1143
1468
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1144
|
-
def list_project_location_lake_environment_sessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1469
|
+
def list_project_location_lake_environment_sessions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1145
1470
|
command = make_simple_command(:get, 'v1/{+parent}/sessions', options)
|
1146
1471
|
command.response_representation = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListSessionsResponse::Representation
|
1147
1472
|
command.response_class = Google::Apis::DataplexV1::GoogleCloudDataplexV1ListSessionsResponse
|
1148
1473
|
command.params['parent'] = parent unless parent.nil?
|
1474
|
+
command.query['filter'] = filter unless filter.nil?
|
1149
1475
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1150
1476
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1151
1477
|
command.query['fields'] = fields unless fields.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dataplex_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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: 2022-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataplex_v1/v0.7.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dataplex_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Dataplex API V1
|