google-api-client 0.42.1 → 0.42.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +76 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +6 -12
- data/generated/google/apis/apigee_v1/representations.rb +1 -2
- data/generated/google/apis/apigee_v1/service.rb +18 -5
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +19 -0
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +39 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → cloudasset_v1p5beta1.rb} +9 -9
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +14 -10
- data/generated/google/apis/customsearch_v1/service.rb +6 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +380 -569
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +148 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +164 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -0
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1666 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +264 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1173 -926
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +21 -0
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +195 -245
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +0 -73
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +0 -477
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +63 -0
- data/generated/google/apis/testing_v1/representations.rb +32 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +511 -651
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +6 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -32
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +0 -346
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200716'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -958,6 +958,11 @@ module Google
|
|
958
958
|
attr_accessor :force
|
959
959
|
alias_method :force?, :force
|
960
960
|
|
961
|
+
# Label IDs for the 'updatelabels' request.
|
962
|
+
# Corresponds to the JSON property `labelIds`
|
963
|
+
# @return [Array<Fixnum>]
|
964
|
+
attr_accessor :label_ids
|
965
|
+
|
961
966
|
# Details about the `link` request.
|
962
967
|
# Corresponds to the JSON property `linkRequest`
|
963
968
|
# @return [Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest]
|
@@ -997,6 +1002,7 @@ module Google
|
|
997
1002
|
@account_id = args[:account_id] if args.key?(:account_id)
|
998
1003
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
999
1004
|
@force = args[:force] if args.key?(:force)
|
1005
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
1000
1006
|
@link_request = args[:link_request] if args.key?(:link_request)
|
1001
1007
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
1002
1008
|
@request_method = args[:request_method] if args.key?(:request_method)
|
@@ -1886,6 +1886,7 @@ module Google
|
|
1886
1886
|
property :account_id, :numeric_string => true, as: 'accountId'
|
1887
1887
|
property :batch_id, as: 'batchId'
|
1888
1888
|
property :force, as: 'force'
|
1889
|
+
collection :label_ids, as: 'labelIds'
|
1889
1890
|
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
1890
1891
|
|
1891
1892
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2_1
|
28
28
|
VERSION = 'V2_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200716'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -828,6 +828,11 @@ module Google
|
|
828
828
|
attr_accessor :force
|
829
829
|
alias_method :force?, :force
|
830
830
|
|
831
|
+
# Label IDs for the 'updatelabels' request.
|
832
|
+
# Corresponds to the JSON property `labelIds`
|
833
|
+
# @return [Array<Fixnum>]
|
834
|
+
attr_accessor :label_ids
|
835
|
+
|
831
836
|
# Details about the `link` request.
|
832
837
|
# Corresponds to the JSON property `linkRequest`
|
833
838
|
# @return [Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest]
|
@@ -867,6 +872,7 @@ module Google
|
|
867
872
|
@account_id = args[:account_id] if args.key?(:account_id)
|
868
873
|
@batch_id = args[:batch_id] if args.key?(:batch_id)
|
869
874
|
@force = args[:force] if args.key?(:force)
|
875
|
+
@label_ids = args[:label_ids] if args.key?(:label_ids)
|
870
876
|
@link_request = args[:link_request] if args.key?(:link_request)
|
871
877
|
@merchant_id = args[:merchant_id] if args.key?(:merchant_id)
|
872
878
|
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
@@ -2005,6 +2005,7 @@ module Google
|
|
2005
2005
|
property :account_id, :numeric_string => true, as: 'accountId'
|
2006
2006
|
property :batch_id, as: 'batchId'
|
2007
2007
|
property :force, as: 'force'
|
2008
|
+
collection :label_ids, as: 'labelIds'
|
2008
2009
|
property :link_request, as: 'linkRequest', class: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest, decorator: Google::Apis::ContentV2_1::AccountsCustomBatchRequestEntryLinkRequest::Representation
|
2009
2010
|
|
2010
2011
|
property :merchant_id, :numeric_string => true, as: 'merchantId'
|
@@ -464,9 +464,10 @@ module Google
|
|
464
464
|
# @return [String]
|
465
465
|
attr_accessor :cr
|
466
466
|
|
467
|
-
# The identifier of
|
468
|
-
# [Control Panel](https://
|
469
|
-
# defined in the OpenSearch spec. This parameter is
|
467
|
+
# The identifier of an engine created using the Programmable Search Engine
|
468
|
+
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
469
|
+
# custom property not defined in the OpenSearch spec. This parameter is
|
470
|
+
# **required**.
|
470
471
|
# Corresponds to the JSON property `cx`
|
471
472
|
# @return [String]
|
472
473
|
attr_accessor :cx
|
@@ -821,9 +822,10 @@ module Google
|
|
821
822
|
# @return [String]
|
822
823
|
attr_accessor :cr
|
823
824
|
|
824
|
-
# The identifier of
|
825
|
-
# [Control Panel](https://
|
826
|
-
# defined in the OpenSearch spec. This parameter is
|
825
|
+
# The identifier of an engine created using the Programmable Search Engine
|
826
|
+
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
827
|
+
# custom property not defined in the OpenSearch spec. This parameter is
|
828
|
+
# **required**.
|
827
829
|
# Corresponds to the JSON property `cx`
|
828
830
|
# @return [String]
|
829
831
|
attr_accessor :cx
|
@@ -1178,9 +1180,10 @@ module Google
|
|
1178
1180
|
# @return [String]
|
1179
1181
|
attr_accessor :cr
|
1180
1182
|
|
1181
|
-
# The identifier of
|
1182
|
-
# [Control Panel](https://
|
1183
|
-
# defined in the OpenSearch spec. This parameter is
|
1183
|
+
# The identifier of an engine created using the Programmable Search Engine
|
1184
|
+
# [Control Panel](https://programmablesearchengine.google.com/). This is a
|
1185
|
+
# custom property not defined in the OpenSearch spec. This parameter is
|
1186
|
+
# **required**.
|
1184
1187
|
# Corresponds to the JSON property `cx`
|
1185
1188
|
# @return [String]
|
1186
1189
|
attr_accessor :cx
|
@@ -1585,7 +1588,8 @@ module Google
|
|
1585
1588
|
# @return [String]
|
1586
1589
|
attr_accessor :template
|
1587
1590
|
|
1588
|
-
# The MIME type of the OpenSearch URL template for the Custom Search
|
1591
|
+
# The MIME type of the OpenSearch URL template for the Custom Search JSON
|
1592
|
+
# API.
|
1589
1593
|
# Corresponds to the JSON property `type`
|
1590
1594
|
# @return [String]
|
1591
1595
|
attr_accessor :type
|
@@ -47,8 +47,8 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
-
# Returns metadata about the search performed, metadata about the
|
51
|
-
#
|
50
|
+
# Returns metadata about the search performed, metadata about the
|
51
|
+
# engine used for the search, and the search results.
|
52
52
|
# @param [String] c2coff
|
53
53
|
# Enables or disables [Simplified and Traditional Chinese
|
54
54
|
# Search](https://developers.google.com/custom-search/docs/xml_results#
|
@@ -71,7 +71,7 @@ module Google
|
|
71
71
|
# xml_results_appendices#countryCollections)
|
72
72
|
# page for a list of valid values for this parameter.
|
73
73
|
# @param [String] cx
|
74
|
-
# The
|
74
|
+
# The Programmable Search Engine ID to use for this request.
|
75
75
|
# @param [String] date_restrict
|
76
76
|
# Restricts results to URLs based on date. Supported values include:
|
77
77
|
# * `d[number]`: requests results from the specified number of past days.
|
@@ -326,8 +326,8 @@ module Google
|
|
326
326
|
execute_or_queue_command(command, &block)
|
327
327
|
end
|
328
328
|
|
329
|
-
# Returns metadata about the search performed, metadata about the
|
330
|
-
#
|
329
|
+
# Returns metadata about the search performed, metadata about the
|
330
|
+
# engine used for the search, and the search results. Uses a small set
|
331
331
|
# of url patterns.
|
332
332
|
# @param [String] c2coff
|
333
333
|
# Enables or disables [Simplified and Traditional Chinese
|
@@ -351,7 +351,7 @@ module Google
|
|
351
351
|
# xml_results_appendices#countryCollections)
|
352
352
|
# page for a list of valid values for this parameter.
|
353
353
|
# @param [String] cx
|
354
|
-
# The
|
354
|
+
# The Programmable Search Engine ID to use for this request.
|
355
355
|
# @param [String] date_restrict
|
356
356
|
# Restricts results to URLs based on date. Supported values include:
|
357
357
|
# * `d[number]`: requests results from the specified number of past days.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/data-catalog/docs/
|
27
27
|
module DatacatalogV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200719'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,69 +26,57 @@ module Google
|
|
26
26
|
class Binding
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# description: "Determines if
|
35
|
-
# expression: "document.
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
# Example (Data Manipulation):
|
45
|
-
# title: "Notification string"
|
46
|
-
# description: "Create a notification string with a timestamp."
|
47
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
48
|
-
# The exact variables and functions that may be referenced within an expression
|
49
|
-
# are determined by the service that evaluates it. See the service
|
50
|
-
# documentation for additional information.
|
29
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
30
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
31
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
32
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
33
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
34
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
35
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
36
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
37
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
38
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
39
|
+
# string" description: "Create a notification string with a timestamp."
|
40
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
41
|
+
# exact variables and functions that may be referenced within an expression are
|
42
|
+
# determined by the service that evaluates it. See the service documentation for
|
43
|
+
# additional information.
|
51
44
|
# Corresponds to the JSON property `condition`
|
52
45
|
# @return [Google::Apis::DatacatalogV1beta1::Expr]
|
53
46
|
attr_accessor :condition
|
54
47
|
|
55
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# * `
|
62
|
-
# account. For example, `
|
63
|
-
# * `
|
64
|
-
#
|
65
|
-
#
|
66
|
-
# For example, `
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# deleted
|
75
|
-
#
|
76
|
-
# If the
|
77
|
-
# `
|
78
|
-
# role in the binding.
|
79
|
-
#
|
80
|
-
#
|
81
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
82
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
83
|
-
# recovered group retains the role in the binding.
|
84
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
85
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
48
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
49
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
50
|
+
# that represents anyone who is on the internet; with or without a Google
|
51
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
52
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
53
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
54
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
55
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
56
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
57
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
58
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
59
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
60
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
61
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
62
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
63
|
+
# identifier) representing a service account that has been recently deleted. For
|
64
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
65
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
66
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
67
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
68
|
+
# identifier) representing a Google group that has been recently deleted. For
|
69
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
70
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
71
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
72
|
+
# primary) that represents all the users of that domain. For example, `google.
|
73
|
+
# com` or `example.com`.
|
86
74
|
# Corresponds to the JSON property `members`
|
87
75
|
# @return [Array<String>]
|
88
76
|
attr_accessor :members
|
89
77
|
|
90
|
-
# Role that is assigned to `members`.
|
91
|
-
#
|
78
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
79
|
+
# , or `roles/owner`.
|
92
80
|
# Corresponds to the JSON property `role`
|
93
81
|
# @return [String]
|
94
82
|
attr_accessor :role
|
@@ -105,13 +93,11 @@ module Google
|
|
105
93
|
end
|
106
94
|
end
|
107
95
|
|
108
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
# `
|
114
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
96
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
97
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
98
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
99
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
100
|
+
# `Empty` is empty JSON object ````.
|
115
101
|
class Empty
|
116
102
|
include Google::Apis::Core::Hashable
|
117
103
|
|
@@ -124,52 +110,43 @@ module Google
|
|
124
110
|
end
|
125
111
|
end
|
126
112
|
|
127
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# description: "Determines if
|
133
|
-
# expression: "document.
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
# Example (Data Manipulation):
|
143
|
-
# title: "Notification string"
|
144
|
-
# description: "Create a notification string with a timestamp."
|
145
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
146
|
-
# The exact variables and functions that may be referenced within an expression
|
147
|
-
# are determined by the service that evaluates it. See the service
|
148
|
-
# documentation for additional information.
|
113
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
114
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
115
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
116
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
117
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
118
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
119
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
120
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
121
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
122
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
123
|
+
# string" description: "Create a notification string with a timestamp."
|
124
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
125
|
+
# exact variables and functions that may be referenced within an expression are
|
126
|
+
# determined by the service that evaluates it. See the service documentation for
|
127
|
+
# additional information.
|
149
128
|
class Expr
|
150
129
|
include Google::Apis::Core::Hashable
|
151
130
|
|
152
|
-
# Optional. Description of the expression. This is a longer text which
|
153
|
-
#
|
131
|
+
# Optional. Description of the expression. This is a longer text which describes
|
132
|
+
# the expression, e.g. when hovered over it in a UI.
|
154
133
|
# Corresponds to the JSON property `description`
|
155
134
|
# @return [String]
|
156
135
|
attr_accessor :description
|
157
136
|
|
158
|
-
# Textual representation of an expression in Common Expression Language
|
159
|
-
# syntax.
|
137
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
160
138
|
# Corresponds to the JSON property `expression`
|
161
139
|
# @return [String]
|
162
140
|
attr_accessor :expression
|
163
141
|
|
164
|
-
# Optional. String indicating the location of the expression for error
|
165
|
-
#
|
142
|
+
# Optional. String indicating the location of the expression for error reporting,
|
143
|
+
# e.g. a file name and a position in the file.
|
166
144
|
# Corresponds to the JSON property `location`
|
167
145
|
# @return [String]
|
168
146
|
attr_accessor :location
|
169
147
|
|
170
|
-
# Optional. Title for the expression, i.e. a short string describing
|
171
|
-
#
|
172
|
-
# expression.
|
148
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
149
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
173
150
|
# Corresponds to the JSON property `title`
|
174
151
|
# @return [String]
|
175
152
|
attr_accessor :title
|
@@ -210,15 +187,13 @@ module Google
|
|
210
187
|
class GetPolicyOptions
|
211
188
|
include Google::Apis::Core::Hashable
|
212
189
|
|
213
|
-
# Optional. The policy format version to be returned.
|
214
|
-
#
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
# [IAM
|
221
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
190
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
191
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
192
|
+
# policies with any conditional bindings must specify version 3. Policies
|
193
|
+
# without any conditional bindings may specify any valid value or leave the
|
194
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
195
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
196
|
+
# resource-policies).
|
222
197
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
223
198
|
# @return [Fixnum]
|
224
199
|
attr_accessor :requested_policy_version
|
@@ -234,17 +209,14 @@ module Google
|
|
234
209
|
end
|
235
210
|
|
236
211
|
# Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
|
237
|
-
# Context:
|
238
|
-
# https://cloud.google.com/bigquery/docs/partitioned-tables#
|
212
|
+
# Context: https://cloud.google.com/bigquery/docs/partitioned-tables#
|
239
213
|
# partitioning_versus_sharding
|
240
214
|
class GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec
|
241
215
|
include Google::Apis::Core::Hashable
|
242
216
|
|
243
217
|
# Output only. The Data Catalog resource name of the dataset entry the current
|
244
|
-
# table
|
245
|
-
#
|
246
|
-
# `projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/
|
247
|
-
# entries/`entry_id``.
|
218
|
+
# table belongs to, for example, `projects/`project_id`/locations/`location`/
|
219
|
+
# entrygroups/`entry_group_id`/entries/`entry_id``.
|
248
220
|
# Corresponds to the JSON property `dataset`
|
249
221
|
# @return [String]
|
250
222
|
attr_accessor :dataset
|
@@ -255,9 +227,8 @@ module Google
|
|
255
227
|
attr_accessor :shard_count
|
256
228
|
|
257
229
|
# Output only. The table name prefix of the shards. The name of any given shard
|
258
|
-
# is
|
259
|
-
# `
|
260
|
-
# `table_prefix` is `MyTable`.
|
230
|
+
# is `[table_prefix]YYYYMMDD`, for example, for shard `MyTable20180101`, the `
|
231
|
+
# table_prefix` is `MyTable`.
|
261
232
|
# Corresponds to the JSON property `tablePrefix`
|
262
233
|
# @return [String]
|
263
234
|
attr_accessor :table_prefix
|
@@ -321,9 +292,8 @@ module Google
|
|
321
292
|
attr_accessor :description
|
322
293
|
|
323
294
|
# Optional. A column's mode indicates whether the values in this column are
|
324
|
-
# required,
|
325
|
-
#
|
326
|
-
# Default mode is `NULLABLE`.
|
295
|
+
# required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are
|
296
|
+
# supported. Default mode is `NULLABLE`.
|
327
297
|
# Corresponds to the JSON property `mode`
|
328
298
|
# @return [String]
|
329
299
|
attr_accessor :mode
|
@@ -352,21 +322,17 @@ module Google
|
|
352
322
|
end
|
353
323
|
end
|
354
324
|
|
355
|
-
# Entry Metadata.
|
356
|
-
#
|
357
|
-
# Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or
|
325
|
+
# Entry Metadata. A Data Catalog Entry resource represents another resource in
|
326
|
+
# Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or
|
358
327
|
# outside of Google Cloud Platform. Clients can use the `linked_resource` field
|
359
328
|
# in the Entry resource to refer to the original resource ID of the source
|
360
|
-
# system.
|
361
|
-
#
|
362
|
-
# also be used to attach flexible metadata, such as a
|
363
|
-
# Tag.
|
329
|
+
# system. An Entry resource contains resource details, such as its schema. An
|
330
|
+
# Entry can also be used to attach flexible metadata, such as a Tag.
|
364
331
|
class GoogleCloudDatacatalogV1beta1Entry
|
365
332
|
include Google::Apis::Core::Hashable
|
366
333
|
|
367
334
|
# Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`.
|
368
|
-
# Context:
|
369
|
-
# https://cloud.google.com/bigquery/docs/partitioned-tables#
|
335
|
+
# Context: https://cloud.google.com/bigquery/docs/partitioned-tables#
|
370
336
|
# partitioning_versus_sharding
|
371
337
|
# Corresponds to the JSON property `bigqueryDateShardedSpec`
|
372
338
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec]
|
@@ -377,15 +343,15 @@ module Google
|
|
377
343
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1BigQueryTableSpec]
|
378
344
|
attr_accessor :bigquery_table_spec
|
379
345
|
|
380
|
-
# Entry description, which can consist of several sentences or paragraphs
|
381
|
-
#
|
346
|
+
# Entry description, which can consist of several sentences or paragraphs that
|
347
|
+
# describe entry contents. Default value is an empty string.
|
382
348
|
# Corresponds to the JSON property `description`
|
383
349
|
# @return [String]
|
384
350
|
attr_accessor :description
|
385
351
|
|
386
352
|
# Display information such as title and description. A short name to identify
|
387
|
-
# the entry, for example, "Analytics Data - Jan 2011". Default value is an
|
388
|
-
#
|
353
|
+
# the entry, for example, "Analytics Data - Jan 2011". Default value is an empty
|
354
|
+
# string.
|
389
355
|
# Corresponds to the JSON property `displayName`
|
390
356
|
# @return [String]
|
391
357
|
attr_accessor :display_name
|
@@ -401,26 +367,21 @@ module Google
|
|
401
367
|
# @return [String]
|
402
368
|
attr_accessor :integrated_system
|
403
369
|
|
404
|
-
# The resource this metadata entry refers to.
|
405
|
-
#
|
406
|
-
# the
|
407
|
-
# resource
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
# tableId
|
412
|
-
# Output only when Entry is of type in the EntryType enum. For entries with
|
413
|
-
# user_specified_type, this field is optional and defaults to an empty
|
414
|
-
# string.
|
370
|
+
# The resource this metadata entry refers to. For Google Cloud Platform
|
371
|
+
# resources, `linked_resource` is the [full name of the resource](https://cloud.
|
372
|
+
# google.com/apis/design/resource_names#full_resource_name). For example, the `
|
373
|
+
# linked_resource` for a table resource from BigQuery is: * //bigquery.
|
374
|
+
# googleapis.com/projects/projectId/datasets/datasetId/tables/tableId Output
|
375
|
+
# only when Entry is of type in the EntryType enum. For entries with
|
376
|
+
# user_specified_type, this field is optional and defaults to an empty string.
|
415
377
|
# Corresponds to the JSON property `linkedResource`
|
416
378
|
# @return [String]
|
417
379
|
attr_accessor :linked_resource
|
418
380
|
|
419
|
-
# The Data Catalog resource name of the entry in URL format. Example:
|
420
|
-
#
|
421
|
-
#
|
422
|
-
#
|
423
|
-
# the location in this name.
|
381
|
+
# The Data Catalog resource name of the entry in URL format. Example: * projects/
|
382
|
+
# `project_id`/locations/`location`/entryGroups/`entry_group_id`/entries/`
|
383
|
+
# entry_id` Note that this Entry and its child resources may not actually be
|
384
|
+
# stored in the location in this name.
|
424
385
|
# Corresponds to the JSON property `name`
|
425
386
|
# @return [String]
|
426
387
|
attr_accessor :name
|
@@ -435,30 +396,27 @@ module Google
|
|
435
396
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps]
|
436
397
|
attr_accessor :source_system_timestamps
|
437
398
|
|
438
|
-
# The type of the entry.
|
439
|
-
# Only used for Entries with types in the EntryType enum.
|
399
|
+
# The type of the entry. Only used for Entries with types in the EntryType enum.
|
440
400
|
# Corresponds to the JSON property `type`
|
441
401
|
# @return [String]
|
442
402
|
attr_accessor :type
|
443
403
|
|
444
404
|
# This field indicates the entry's source system that Data Catalog does not
|
445
|
-
# integrate with. `user_specified_system` strings must begin with a letter
|
446
|
-
#
|
447
|
-
#
|
448
|
-
# long.
|
405
|
+
# integrate with. `user_specified_system` strings must begin with a letter or
|
406
|
+
# underscore and can only contain letters, numbers, and underscores; are case
|
407
|
+
# insensitive; must be at least 1 character and at most 64 characters long.
|
449
408
|
# Corresponds to the JSON property `userSpecifiedSystem`
|
450
409
|
# @return [String]
|
451
410
|
attr_accessor :user_specified_system
|
452
411
|
|
453
|
-
# Entry type if it does not fit any of the input-allowed values listed in
|
454
|
-
#
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
460
|
-
#
|
461
|
-
# through Data Catalog must use `user_specified_type`.
|
412
|
+
# Entry type if it does not fit any of the input-allowed values listed in `
|
413
|
+
# EntryType` enum above. When creating an entry, users should check the enum
|
414
|
+
# values first, if nothing matches the entry to be created, then provide a
|
415
|
+
# custom value, for example "my_special_type". `user_specified_type` strings
|
416
|
+
# must begin with a letter or underscore and can only contain letters, numbers,
|
417
|
+
# and underscores; are case insensitive; must be at least 1 character and at
|
418
|
+
# most 64 characters long. Currently, only FILESET enum value is allowed. All
|
419
|
+
# other entries created through Data Catalog must use `user_specified_type`.
|
462
420
|
# Corresponds to the JSON property `userSpecifiedType`
|
463
421
|
# @return [String]
|
464
422
|
attr_accessor :user_specified_type
|
@@ -485,9 +443,8 @@ module Google
|
|
485
443
|
end
|
486
444
|
end
|
487
445
|
|
488
|
-
# EntryGroup Metadata.
|
489
|
-
#
|
490
|
-
# Data Catalog Entry resources.
|
446
|
+
# EntryGroup Metadata. An EntryGroup resource represents a logical grouping of
|
447
|
+
# zero or more Data Catalog Entry resources.
|
491
448
|
class GoogleCloudDatacatalogV1beta1EntryGroup
|
492
449
|
include Google::Apis::Core::Hashable
|
493
450
|
|
@@ -496,23 +453,22 @@ module Google
|
|
496
453
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SystemTimestamps]
|
497
454
|
attr_accessor :data_catalog_timestamps
|
498
455
|
|
499
|
-
# Entry group description, which can consist of several sentences or
|
500
|
-
#
|
501
|
-
# string.
|
456
|
+
# Entry group description, which can consist of several sentences or paragraphs
|
457
|
+
# that describe entry group contents. Default value is an empty string.
|
502
458
|
# Corresponds to the JSON property `description`
|
503
459
|
# @return [String]
|
504
460
|
attr_accessor :description
|
505
461
|
|
506
|
-
# A short name to identify the entry group, for example,
|
507
|
-
#
|
462
|
+
# A short name to identify the entry group, for example, "analytics data - jan
|
463
|
+
# 2011". Default value is an empty string.
|
508
464
|
# Corresponds to the JSON property `displayName`
|
509
465
|
# @return [String]
|
510
466
|
attr_accessor :display_name
|
511
467
|
|
512
|
-
# The resource name of the entry group in URL format. Example:
|
513
|
-
#
|
514
|
-
#
|
515
|
-
#
|
468
|
+
# The resource name of the entry group in URL format. Example: * projects/`
|
469
|
+
# project_id`/locations/`location`/entryGroups/`entry_group_id` Note that this
|
470
|
+
# EntryGroup and its child resources may not actually be stored in the location
|
471
|
+
# in this name.
|
516
472
|
# Corresponds to the JSON property `name`
|
517
473
|
# @return [String]
|
518
474
|
attr_accessor :name
|
@@ -530,8 +486,7 @@ module Google
|
|
530
486
|
end
|
531
487
|
end
|
532
488
|
|
533
|
-
# Response message for
|
534
|
-
# ExportTaxonomies.
|
489
|
+
# Response message for ExportTaxonomies.
|
535
490
|
class GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse
|
536
491
|
include Google::Apis::Core::Hashable
|
537
492
|
|
@@ -581,11 +536,14 @@ module Google
|
|
581
536
|
|
582
537
|
# The set of allowed values for this enum. This set must not be empty, the
|
583
538
|
# display names of the values in this set must not be empty and the display
|
584
|
-
# names of the values must be case-insensitively unique within this set.
|
585
|
-
#
|
586
|
-
# create
|
587
|
-
#
|
588
|
-
#
|
539
|
+
# names of the values must be case-insensitively unique within this set. The
|
540
|
+
# order of items in this list is preserved. This field can be used to Required
|
541
|
+
# on create; optional on update. The set of allowed values for this enum. This
|
542
|
+
# set must not be empty, the display names of the values in this set must not be
|
543
|
+
# empty and the display names of the values must be case-insensitively unique
|
544
|
+
# within this set. Currently, enum values can only be added to the list of
|
545
|
+
# allowed values. Deletion and renaming of enum values are not supported. Can
|
546
|
+
# have up to 500 allowed values.
|
589
547
|
# Corresponds to the JSON property `allowedValues`
|
590
548
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue>]
|
591
549
|
attr_accessor :allowed_values
|
@@ -654,38 +612,28 @@ module Google
|
|
654
612
|
class GoogleCloudDatacatalogV1beta1GcsFilesetSpec
|
655
613
|
include Google::Apis::Core::Hashable
|
656
614
|
|
657
|
-
# Required. Patterns to identify a set of files in Google Cloud Storage.
|
658
|
-
#
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
# * `gs://bucket_name
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
# `bucket_name`
|
670
|
-
# * `gs://
|
671
|
-
#
|
672
|
-
#
|
673
|
-
# vowel character followed by `.txt` in
|
674
|
-
# `bucket_name`
|
675
|
-
# * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, ...
|
676
|
-
# or `m` followed by `.txt` in `bucket_name`
|
677
|
-
# * `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that match
|
678
|
-
# `a/*/b` pattern, such as `a/c/b`, `a/d/b`
|
679
|
-
# * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
|
680
|
-
# You can combine wildcards to provide more powerful matches, for example:
|
681
|
-
# * `gs://bucket_name/[a-m]??.j*g`
|
615
|
+
# Required. Patterns to identify a set of files in Google Cloud Storage. See [
|
616
|
+
# Cloud Storage documentation](https://cloud.google.com/storage/docs/gsutil/
|
617
|
+
# addlhelp/WildcardNames) for more information. Note that bucket wildcards are
|
618
|
+
# currently not supported. Examples of valid file_patterns: * `gs://bucket_name/
|
619
|
+
# dir/*`: matches all files within `bucket_name/dir` directory. * `gs://
|
620
|
+
# bucket_name/dir/**`: matches all files in `bucket_name/dir` spanning all
|
621
|
+
# subdirectories. * `gs://bucket_name/file*`: matches files prefixed by `file`
|
622
|
+
# in `bucket_name` * `gs://bucket_name/??.txt`: matches files with two
|
623
|
+
# characters followed by `.txt` in `bucket_name` * `gs://bucket_name/[aeiou].txt`
|
624
|
+
# : matches files that contain a single vowel character followed by `.txt` in `
|
625
|
+
# bucket_name` * `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `
|
626
|
+
# b`, ... or `m` followed by `.txt` in `bucket_name` * `gs://bucket_name/a/*/b`:
|
627
|
+
# matches all files in `bucket_name` that match `a/*/b` pattern, such as `a/c/b`,
|
628
|
+
# `a/d/b` * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt`
|
629
|
+
# You can combine wildcards to provide more powerful matches, for example: * `gs:
|
630
|
+
# //bucket_name/[a-m]??.j*g`
|
682
631
|
# Corresponds to the JSON property `filePatterns`
|
683
632
|
# @return [Array<String>]
|
684
633
|
attr_accessor :file_patterns
|
685
634
|
|
686
635
|
# Output only. Sample files contained in this fileset, not all files contained
|
687
|
-
# in this
|
688
|
-
# fileset are represented here.
|
636
|
+
# in this fileset are represented here.
|
689
637
|
# Corresponds to the JSON property `sampleGcsFileSpecs`
|
690
638
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1GcsFileSpec>]
|
691
639
|
attr_accessor :sample_gcs_file_specs
|
@@ -701,8 +649,7 @@ module Google
|
|
701
649
|
end
|
702
650
|
end
|
703
651
|
|
704
|
-
# Request message for
|
705
|
-
# ImportTaxonomies.
|
652
|
+
# Request message for ImportTaxonomies.
|
706
653
|
class GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest
|
707
654
|
include Google::Apis::Core::Hashable
|
708
655
|
|
@@ -721,8 +668,7 @@ module Google
|
|
721
668
|
end
|
722
669
|
end
|
723
670
|
|
724
|
-
# Response message for
|
725
|
-
# ImportTaxonomies.
|
671
|
+
# Response message for ImportTaxonomies.
|
726
672
|
class GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse
|
727
673
|
include Google::Apis::Core::Hashable
|
728
674
|
|
@@ -760,8 +706,7 @@ module Google
|
|
760
706
|
end
|
761
707
|
end
|
762
708
|
|
763
|
-
# Response message for
|
764
|
-
# ListEntries.
|
709
|
+
# Response message for ListEntries.
|
765
710
|
class GoogleCloudDatacatalogV1beta1ListEntriesResponse
|
766
711
|
include Google::Apis::Core::Hashable
|
767
712
|
|
@@ -787,8 +732,7 @@ module Google
|
|
787
732
|
end
|
788
733
|
end
|
789
734
|
|
790
|
-
# Response message for
|
791
|
-
# ListEntryGroups.
|
735
|
+
# Response message for ListEntryGroups.
|
792
736
|
class GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse
|
793
737
|
include Google::Apis::Core::Hashable
|
794
738
|
|
@@ -814,13 +758,12 @@ module Google
|
|
814
758
|
end
|
815
759
|
end
|
816
760
|
|
817
|
-
# Response message for
|
818
|
-
# ListPolicyTags.
|
761
|
+
# Response message for ListPolicyTags.
|
819
762
|
class GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse
|
820
763
|
include Google::Apis::Core::Hashable
|
821
764
|
|
822
|
-
# Token used to retrieve the next page of results, or empty if there are no
|
823
|
-
#
|
765
|
+
# Token used to retrieve the next page of results, or empty if there are no more
|
766
|
+
# results in the list.
|
824
767
|
# Corresponds to the JSON property `nextPageToken`
|
825
768
|
# @return [String]
|
826
769
|
attr_accessor :next_page_token
|
@@ -841,8 +784,7 @@ module Google
|
|
841
784
|
end
|
842
785
|
end
|
843
786
|
|
844
|
-
# Response message for
|
845
|
-
# ListTags.
|
787
|
+
# Response message for ListTags.
|
846
788
|
class GoogleCloudDatacatalogV1beta1ListTagsResponse
|
847
789
|
include Google::Apis::Core::Hashable
|
848
790
|
|
@@ -868,13 +810,12 @@ module Google
|
|
868
810
|
end
|
869
811
|
end
|
870
812
|
|
871
|
-
# Response message for
|
872
|
-
# ListTaxonomies.
|
813
|
+
# Response message for ListTaxonomies.
|
873
814
|
class GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse
|
874
815
|
include Google::Apis::Core::Hashable
|
875
816
|
|
876
|
-
# Token used to retrieve the next page of results, or empty if there are no
|
877
|
-
#
|
817
|
+
# Token used to retrieve the next page of results, or empty if there are no more
|
818
|
+
# results in the list.
|
878
819
|
# Corresponds to the JSON property `nextPageToken`
|
879
820
|
# @return [String]
|
880
821
|
attr_accessor :next_page_token
|
@@ -895,10 +836,10 @@ module Google
|
|
895
836
|
end
|
896
837
|
end
|
897
838
|
|
898
|
-
# Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined
|
899
|
-
#
|
900
|
-
#
|
901
|
-
#
|
839
|
+
# Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in
|
840
|
+
# a hierarchy. For example, consider the following hierarchy: Geolocation -> (
|
841
|
+
# LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy
|
842
|
+
# tags: "LatLong", "City", and "ZipCode".
|
902
843
|
class GoogleCloudDatacatalogV1beta1PolicyTag
|
903
844
|
include Google::Apis::Core::Hashable
|
904
845
|
|
@@ -907,36 +848,34 @@ module Google
|
|
907
848
|
# @return [Array<String>]
|
908
849
|
attr_accessor :child_policy_tags
|
909
850
|
|
910
|
-
# Description of this policy tag. It must: contain only unicode characters,
|
911
|
-
#
|
912
|
-
#
|
913
|
-
#
|
851
|
+
# Description of this policy tag. It must: contain only unicode characters, tabs,
|
852
|
+
# newlines, carriage returns and page breaks; and be at most 2000 bytes long
|
853
|
+
# when encoded in UTF-8. If not set, defaults to an empty description. If not
|
854
|
+
# set, defaults to an empty description.
|
914
855
|
# Corresponds to the JSON property `description`
|
915
856
|
# @return [String]
|
916
857
|
attr_accessor :description
|
917
858
|
|
918
859
|
# Required. User defined name of this policy tag. It must: be unique within the
|
919
|
-
# parent
|
920
|
-
#
|
921
|
-
# spaces; not start or end with spaces; and be at most 200 bytes long when
|
860
|
+
# parent taxonomy; contain only unicode letters, numbers, underscores, dashes
|
861
|
+
# and spaces; not start or end with spaces; and be at most 200 bytes long when
|
922
862
|
# encoded in UTF-8.
|
923
863
|
# Corresponds to the JSON property `displayName`
|
924
864
|
# @return [String]
|
925
865
|
attr_accessor :display_name
|
926
866
|
|
927
|
-
# Output only. Resource name of this policy tag, whose format is:
|
928
|
-
#
|
929
|
-
#
|
867
|
+
# Output only. Resource name of this policy tag, whose format is: "projects/`
|
868
|
+
# project_number`/locations/`location_id`/taxonomies/`taxonomy_id`/policyTags/`
|
869
|
+
# id`".
|
930
870
|
# Corresponds to the JSON property `name`
|
931
871
|
# @return [String]
|
932
872
|
attr_accessor :name
|
933
873
|
|
934
|
-
# Resource name of this policy tag's parent policy tag (e.g. for the
|
935
|
-
#
|
936
|
-
#
|
937
|
-
# policy tag
|
938
|
-
#
|
939
|
-
# empty string.
|
874
|
+
# Resource name of this policy tag's parent policy tag (e.g. for the "LatLong"
|
875
|
+
# policy tag in the example above, this field contains the resource name of the "
|
876
|
+
# Geolocation" policy tag). If empty, it means this policy tag is a top level
|
877
|
+
# policy tag (e.g. this field is empty for the "Geolocation" policy tag in the
|
878
|
+
# example above). If not set, defaults to an empty string.
|
940
879
|
# Corresponds to the JSON property `parentPolicyTag`
|
941
880
|
# @return [String]
|
942
881
|
attr_accessor :parent_policy_tag
|
@@ -955,8 +894,7 @@ module Google
|
|
955
894
|
end
|
956
895
|
end
|
957
896
|
|
958
|
-
# Request message for
|
959
|
-
# RenameTagTemplateFieldEnumValue.
|
897
|
+
# Request message for RenameTagTemplateFieldEnumValue.
|
960
898
|
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
|
961
899
|
include Google::Apis::Core::Hashable
|
962
900
|
|
@@ -976,8 +914,7 @@ module Google
|
|
976
914
|
end
|
977
915
|
end
|
978
916
|
|
979
|
-
# Request message for
|
980
|
-
# RenameTagTemplateField.
|
917
|
+
# Request message for RenameTagTemplateField.
|
981
918
|
class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
|
982
919
|
include Google::Apis::Core::Hashable
|
983
920
|
|
@@ -1001,8 +938,7 @@ module Google
|
|
1001
938
|
include Google::Apis::Core::Hashable
|
1002
939
|
|
1003
940
|
# Required. Schema of columns. A maximum of 10,000 columns and sub-columns can
|
1004
|
-
# be
|
1005
|
-
# specified.
|
941
|
+
# be specified.
|
1006
942
|
# Corresponds to the JSON property `columns`
|
1007
943
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ColumnSchema>]
|
1008
944
|
attr_accessor :columns
|
@@ -1017,17 +953,14 @@ module Google
|
|
1017
953
|
end
|
1018
954
|
end
|
1019
955
|
|
1020
|
-
# Request message for
|
1021
|
-
# SearchCatalog.
|
956
|
+
# Request message for SearchCatalog.
|
1022
957
|
class GoogleCloudDatacatalogV1beta1SearchCatalogRequest
|
1023
958
|
include Google::Apis::Core::Hashable
|
1024
959
|
|
1025
|
-
# Specifies the ordering of results, currently supported case-sensitive
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
#
|
1029
|
-
# specified
|
1030
|
-
# If not specified, defaults to `relevance` descending.
|
960
|
+
# Specifies the ordering of results, currently supported case-sensitive choices
|
961
|
+
# are: * `relevance`, only supports descending * `last_modified_timestamp [asc|
|
962
|
+
# desc]`, defaults to descending if not specified If not specified, defaults to `
|
963
|
+
# relevance` descending.
|
1031
964
|
# Corresponds to the JSON property `orderBy`
|
1032
965
|
# @return [String]
|
1033
966
|
attr_accessor :order_by
|
@@ -1038,25 +971,20 @@ module Google
|
|
1038
971
|
# @return [Fixnum]
|
1039
972
|
attr_accessor :page_size
|
1040
973
|
|
1041
|
-
# Optional. Pagination token returned in an earlier
|
1042
|
-
#
|
1043
|
-
#
|
1044
|
-
#
|
1045
|
-
# call, and that the system should return the next page of data. If empty,
|
1046
|
-
# the first page is returned.
|
974
|
+
# Optional. Pagination token returned in an earlier SearchCatalogResponse.
|
975
|
+
# next_page_token, which indicates that this is a continuation of a prior
|
976
|
+
# SearchCatalogRequest call, and that the system should return the next page of
|
977
|
+
# data. If empty, the first page is returned.
|
1047
978
|
# Corresponds to the JSON property `pageToken`
|
1048
979
|
# @return [String]
|
1049
980
|
attr_accessor :page_token
|
1050
981
|
|
1051
982
|
# Required. The query string in search query syntax. The query must be non-empty.
|
1052
|
-
# Query strings can be simple as "x" or more qualified as:
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
# matching to work correctly. See [Data Catalog Search
|
1058
|
-
# Syntax](https://cloud.google.com/data-catalog/docs/how-to/search-reference)
|
1059
|
-
# for more information.
|
983
|
+
# Query strings can be simple as "x" or more qualified as: * name:x * column:x *
|
984
|
+
# description:y Note: Query tokens need to have a minimum of 3 characters for
|
985
|
+
# substring matching to work correctly. See [Data Catalog Search Syntax](https://
|
986
|
+
# cloud.google.com/data-catalog/docs/how-to/search-reference) for more
|
987
|
+
# information.
|
1060
988
|
# Corresponds to the JSON property `query`
|
1061
989
|
# @return [String]
|
1062
990
|
attr_accessor :query
|
@@ -1084,63 +1012,40 @@ module Google
|
|
1084
1012
|
class GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope
|
1085
1013
|
include Google::Apis::Core::Hashable
|
1086
1014
|
|
1087
|
-
# If `true`, include Google Cloud Platform (GCP) public datasets in the
|
1088
|
-
#
|
1089
|
-
#
|
1090
|
-
# datasets are excluded.
|
1015
|
+
# If `true`, include Google Cloud Platform (GCP) public datasets in the search
|
1016
|
+
# results. Info on GCP public datasets is available at https://cloud.google.com/
|
1017
|
+
# public-datasets/. By default, GCP public datasets are excluded.
|
1091
1018
|
# Corresponds to the JSON property `includeGcpPublicDatasets`
|
1092
1019
|
# @return [Boolean]
|
1093
1020
|
attr_accessor :include_gcp_public_datasets
|
1094
1021
|
alias_method :include_gcp_public_datasets?, :include_gcp_public_datasets
|
1095
1022
|
|
1096
|
-
# The list of organization IDs to search within. To find your organization
|
1097
|
-
#
|
1098
|
-
#
|
1023
|
+
# The list of organization IDs to search within. To find your organization ID,
|
1024
|
+
# follow instructions in https://cloud.google.com/resource-manager/docs/creating-
|
1025
|
+
# managing-organization.
|
1099
1026
|
# Corresponds to the JSON property `includeOrgIds`
|
1100
1027
|
# @return [Array<String>]
|
1101
1028
|
attr_accessor :include_org_ids
|
1102
1029
|
|
1103
|
-
# The list of project IDs to search within. To learn more about the
|
1104
|
-
#
|
1105
|
-
#
|
1030
|
+
# The list of project IDs to search within. To learn more about the distinction
|
1031
|
+
# between project names/IDs/numbers, go to https://cloud.google.com/docs/
|
1032
|
+
# overview/#projects.
|
1106
1033
|
# Corresponds to the JSON property `includeProjectIds`
|
1107
1034
|
# @return [Array<String>]
|
1108
1035
|
attr_accessor :include_project_ids
|
1109
1036
|
|
1110
|
-
# Optional. The list of locations to search within.
|
1111
|
-
#
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
# *
|
1121
|
-
# *
|
1122
|
-
# * asia-northeast1
|
1123
|
-
# * asia-northeast2
|
1124
|
-
# * asia-northeast3
|
1125
|
-
# * asia-south1
|
1126
|
-
# * asia-southeast1
|
1127
|
-
# * australia-southeast1
|
1128
|
-
# * eu
|
1129
|
-
# * europe-north1
|
1130
|
-
# * europe-west1
|
1131
|
-
# * europe-west2
|
1132
|
-
# * europe-west3
|
1133
|
-
# * europe-west4
|
1134
|
-
# * europe-west6
|
1135
|
-
# * global
|
1136
|
-
# * northamerica-northeast1
|
1137
|
-
# * southamerica-east1
|
1138
|
-
# * us
|
1139
|
-
# * us-central1
|
1140
|
-
# * us-east1
|
1141
|
-
# * us-east4
|
1142
|
-
# * us-west1
|
1143
|
-
# * us-west2
|
1037
|
+
# Optional. The list of locations to search within. 1. If empty, search will be
|
1038
|
+
# performed in all locations; 2. If any of the locations are NOT in the valid
|
1039
|
+
# locations list, error will be returned; 3. Otherwise, search only the given
|
1040
|
+
# locations for matching results. Typical usage is to leave this field empty.
|
1041
|
+
# When a location is unreachable as returned in the `SearchCatalogResponse.
|
1042
|
+
# unreachable` field, users can repeat the search request with this parameter
|
1043
|
+
# set to get additional information on the error. Valid locations: * asia-east1 *
|
1044
|
+
# asia-east2 * asia-northeast1 * asia-northeast2 * asia-northeast3 * asia-
|
1045
|
+
# south1 * asia-southeast1 * australia-southeast1 * eu * europe-north1 * europe-
|
1046
|
+
# west1 * europe-west2 * europe-west3 * europe-west4 * europe-west6 * global *
|
1047
|
+
# northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 *
|
1048
|
+
# us-east4 * us-west1 * us-west2
|
1144
1049
|
# Corresponds to the JSON property `restrictedLocations`
|
1145
1050
|
# @return [Array<String>]
|
1146
1051
|
attr_accessor :restricted_locations
|
@@ -1158,8 +1063,7 @@ module Google
|
|
1158
1063
|
end
|
1159
1064
|
end
|
1160
1065
|
|
1161
|
-
# Response message for
|
1162
|
-
# SearchCatalog.
|
1066
|
+
# Response message for SearchCatalog.
|
1163
1067
|
class GoogleCloudDatacatalogV1beta1SearchCatalogResponse
|
1164
1068
|
include Google::Apis::Core::Hashable
|
1165
1069
|
|
@@ -1174,9 +1078,9 @@ module Google
|
|
1174
1078
|
attr_accessor :results
|
1175
1079
|
|
1176
1080
|
# Unreachable locations. Search result does not include data from those
|
1177
|
-
# locations. Users can get additional information on the error by repeating
|
1178
|
-
#
|
1179
|
-
#
|
1081
|
+
# locations. Users can get additional information on the error by repeating the
|
1082
|
+
# search request with a more restrictive parameter -- setting the value for `
|
1083
|
+
# SearchDataCatalogRequest.scope.include_locations`.
|
1180
1084
|
# Corresponds to the JSON property `unreachable`
|
1181
1085
|
# @return [Array<String>]
|
1182
1086
|
attr_accessor :unreachable
|
@@ -1198,28 +1102,24 @@ module Google
|
|
1198
1102
|
class GoogleCloudDatacatalogV1beta1SearchCatalogResult
|
1199
1103
|
include Google::Apis::Core::Hashable
|
1200
1104
|
|
1201
|
-
# The full name of the cloud resource the entry belongs to. See:
|
1202
|
-
#
|
1203
|
-
#
|
1204
|
-
# * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/
|
1205
|
-
# tableId`
|
1105
|
+
# The full name of the cloud resource the entry belongs to. See: https://cloud.
|
1106
|
+
# google.com/apis/design/resource_names#full_resource_name. Example: * `//
|
1107
|
+
# bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId`
|
1206
1108
|
# Corresponds to the JSON property `linkedResource`
|
1207
1109
|
# @return [String]
|
1208
1110
|
attr_accessor :linked_resource
|
1209
1111
|
|
1210
|
-
# The relative resource name of the resource in URL format.
|
1211
|
-
#
|
1212
|
-
# * `projects/`project_id`/
|
1213
|
-
# entries/`entry_id``
|
1214
|
-
# * `projects/`project_id`/tagTemplates/`tag_template_id``
|
1112
|
+
# The relative resource name of the resource in URL format. Examples: * `
|
1113
|
+
# projects/`project_id`/locations/`location_id`/entryGroups/`entry_group_id`/
|
1114
|
+
# entries/`entry_id`` * `projects/`project_id`/tagTemplates/`tag_template_id``
|
1215
1115
|
# Corresponds to the JSON property `relativeResourceName`
|
1216
1116
|
# @return [String]
|
1217
1117
|
attr_accessor :relative_resource_name
|
1218
1118
|
|
1219
1119
|
# Sub-type of the search result. This is a dot-delimited description of the
|
1220
1120
|
# resource's full type, and is the same as the value callers would provide in
|
1221
|
-
# the "type" search facet.
|
1222
|
-
#
|
1121
|
+
# the "type" search facet. Examples: `entry.table`, `entry.dataStream`, `
|
1122
|
+
# tagTemplate`.
|
1223
1123
|
# Corresponds to the JSON property `searchResultSubtype`
|
1224
1124
|
# @return [String]
|
1225
1125
|
attr_accessor :search_result_subtype
|
@@ -1252,9 +1152,9 @@ module Google
|
|
1252
1152
|
# @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1SerializedPolicyTag>]
|
1253
1153
|
attr_accessor :child_policy_tags
|
1254
1154
|
|
1255
|
-
# Description of the serialized policy tag. The length of the
|
1256
|
-
#
|
1257
|
-
#
|
1155
|
+
# Description of the serialized policy tag. The length of the description is
|
1156
|
+
# limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty
|
1157
|
+
# description.
|
1258
1158
|
# Corresponds to the JSON property `description`
|
1259
1159
|
# @return [String]
|
1260
1160
|
attr_accessor :description
|
@@ -1264,8 +1164,8 @@ module Google
|
|
1264
1164
|
# @return [String]
|
1265
1165
|
attr_accessor :display_name
|
1266
1166
|
|
1267
|
-
# Resource name of the policy tag.
|
1268
|
-
#
|
1167
|
+
# Resource name of the policy tag. This field will be ignored when calling
|
1168
|
+
# ImportTaxonomies.
|
1269
1169
|
# Corresponds to the JSON property `policyTag`
|
1270
1170
|
# @return [String]
|
1271
1171
|
attr_accessor :policy_tag
|
@@ -1288,9 +1188,9 @@ module Google
|
|
1288
1188
|
class GoogleCloudDatacatalogV1beta1SerializedTaxonomy
|
1289
1189
|
include Google::Apis::Core::Hashable
|
1290
1190
|
|
1291
|
-
# Description of the serialized taxonomy. The length of the
|
1292
|
-
#
|
1293
|
-
#
|
1191
|
+
# Description of the serialized taxonomy. The length of the description is
|
1192
|
+
# limited to 2000 bytes when encoded in UTF-8. If not set, defaults to an empty
|
1193
|
+
# description.
|
1294
1194
|
# Corresponds to the JSON property `description`
|
1295
1195
|
# @return [String]
|
1296
1196
|
attr_accessor :description
|
@@ -1354,12 +1254,10 @@ module Google
|
|
1354
1254
|
include Google::Apis::Core::Hashable
|
1355
1255
|
|
1356
1256
|
# Output only. If the table is a dated shard, i.e., with name pattern `[prefix]
|
1357
|
-
# YYYYMMDD`,
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
#
|
1361
|
-
# entries/`entry_id``.
|
1362
|
-
# Otherwise, `grouped_entry` is empty.
|
1257
|
+
# YYYYMMDD`, `grouped_entry` is the Data Catalog resource name of the date
|
1258
|
+
# sharded grouped entry, for example, `projects/`project_id`/locations/`location`
|
1259
|
+
# /entrygroups/`entry_group_id`/entries/`entry_id``. Otherwise, `grouped_entry`
|
1260
|
+
# is empty.
|
1363
1261
|
# Corresponds to the JSON property `groupedEntry`
|
1364
1262
|
# @return [String]
|
1365
1263
|
attr_accessor :grouped_entry
|
@@ -1375,42 +1273,38 @@ module Google
|
|
1375
1273
|
end
|
1376
1274
|
|
1377
1275
|
# Tags are used to attach custom metadata to Data Catalog resources. Tags
|
1378
|
-
# conform to the specifications within their tag template.
|
1379
|
-
#
|
1380
|
-
#
|
1381
|
-
# on the permissions needed to create or view tags.
|
1276
|
+
# conform to the specifications within their tag template. See [Data Catalog IAM]
|
1277
|
+
# (https://cloud.google.com/data-catalog/docs/concepts/iam) for information on
|
1278
|
+
# the permissions needed to create or view tags.
|
1382
1279
|
class GoogleCloudDatacatalogV1beta1Tag
|
1383
1280
|
include Google::Apis::Core::Hashable
|
1384
1281
|
|
1385
|
-
# Resources like Entry can have schemas associated with them. This scope
|
1386
|
-
#
|
1387
|
-
#
|
1388
|
-
#
|
1389
|
-
# * `outer_column.inner_column`
|
1282
|
+
# Resources like Entry can have schemas associated with them. This scope allows
|
1283
|
+
# users to attach tags to an individual column based on that schema. For
|
1284
|
+
# attaching a tag to a nested column, use `.` to separate the column names.
|
1285
|
+
# Example: * `outer_column.inner_column`
|
1390
1286
|
# Corresponds to the JSON property `column`
|
1391
1287
|
# @return [String]
|
1392
1288
|
attr_accessor :column
|
1393
1289
|
|
1394
1290
|
# Required. This maps the ID of a tag field to the value of and additional
|
1395
|
-
# information
|
1396
|
-
#
|
1397
|
-
# must have at least 1 field and at most 500 fields.
|
1291
|
+
# information about that field. Valid field IDs are defined by the tag's
|
1292
|
+
# template. A tag must have at least 1 field and at most 500 fields.
|
1398
1293
|
# Corresponds to the JSON property `fields`
|
1399
1294
|
# @return [Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagField>]
|
1400
1295
|
attr_accessor :fields
|
1401
1296
|
|
1402
|
-
# The resource name of the tag in URL format. Example:
|
1403
|
-
#
|
1404
|
-
#
|
1405
|
-
#
|
1406
|
-
# Note that this Tag may not actually be stored in the location in this name.
|
1297
|
+
# The resource name of the tag in URL format. Example: * projects/`project_id`/
|
1298
|
+
# locations/`location`/entrygroups/`entry_group_id`/entries/`entry_id`/tags/`
|
1299
|
+
# tag_id` where `tag_id` is a system-generated identifier. Note that this Tag
|
1300
|
+
# may not actually be stored in the location in this name.
|
1407
1301
|
# Corresponds to the JSON property `name`
|
1408
1302
|
# @return [String]
|
1409
1303
|
attr_accessor :name
|
1410
1304
|
|
1411
|
-
# Required. The resource name of the tag template that this tag uses. Example:
|
1412
|
-
#
|
1413
|
-
#
|
1305
|
+
# Required. The resource name of the tag template that this tag uses. Example: *
|
1306
|
+
# projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id` This
|
1307
|
+
# field cannot be modified after creation.
|
1414
1308
|
# Corresponds to the JSON property `template`
|
1415
1309
|
# @return [String]
|
1416
1310
|
attr_accessor :template
|
@@ -1434,8 +1328,7 @@ module Google
|
|
1434
1328
|
end
|
1435
1329
|
end
|
1436
1330
|
|
1437
|
-
# Contains the value and supporting information for a field within
|
1438
|
-
# a Tag.
|
1331
|
+
# Contains the value and supporting information for a field within a Tag.
|
1439
1332
|
class GoogleCloudDatacatalogV1beta1TagField
|
1440
1333
|
include Google::Apis::Core::Hashable
|
1441
1334
|
|
@@ -1461,11 +1354,9 @@ module Google
|
|
1461
1354
|
attr_accessor :enum_value
|
1462
1355
|
|
1463
1356
|
# Output only. The order of this field with respect to other fields in this tag.
|
1464
|
-
# It can be
|
1465
|
-
#
|
1466
|
-
#
|
1467
|
-
# be negative. Multiple fields can have the same order, and field orders
|
1468
|
-
# within a tag do not have to be sequential.
|
1357
|
+
# It can be set in Tag. For example, a higher value can indicate a more
|
1358
|
+
# important field. The value can be negative. Multiple fields can have the same
|
1359
|
+
# order, and field orders within a tag do not have to be sequential.
|
1469
1360
|
# Corresponds to the JSON property `order`
|
1470
1361
|
# @return [Fixnum]
|
1471
1362
|
attr_accessor :order
|
@@ -1515,15 +1406,13 @@ module Google
|
|
1515
1406
|
end
|
1516
1407
|
end
|
1517
1408
|
|
1518
|
-
# A tag template defines a tag, which can have one or more typed fields.
|
1519
|
-
#
|
1520
|
-
# [Tag template
|
1409
|
+
# A tag template defines a tag, which can have one or more typed fields. The
|
1410
|
+
# template is used to create and attach the tag to GCP resources. [Tag template
|
1521
1411
|
# roles](https://cloud.google.com/iam/docs/understanding-roles#data-catalog-
|
1522
|
-
# roles)
|
1523
|
-
#
|
1524
|
-
# the
|
1525
|
-
#
|
1526
|
-
# which includes permission to use the tag template to tag resources.
|
1412
|
+
# roles) provide permissions to create, edit, and use the template. See, for
|
1413
|
+
# example, the [TagTemplate User](https://cloud.google.com/data-catalog/docs/how-
|
1414
|
+
# to/template-user) role, which includes permission to use the tag template to
|
1415
|
+
# tag resources.
|
1527
1416
|
class GoogleCloudDatacatalogV1beta1TagTemplate
|
1528
1417
|
include Google::Apis::Core::Hashable
|
1529
1418
|
|
@@ -1532,21 +1421,21 @@ module Google
|
|
1532
1421
|
# @return [String]
|
1533
1422
|
attr_accessor :display_name
|
1534
1423
|
|
1535
|
-
# Required. Map of tag template field IDs to the settings for the field.
|
1536
|
-
#
|
1537
|
-
#
|
1538
|
-
#
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1424
|
+
# Required. Map of tag template field IDs to the settings for the field. This
|
1425
|
+
# map is an exhaustive list of the allowed fields. This map must contain at
|
1426
|
+
# least one field and at most 500 fields. The keys to this map are tag template
|
1427
|
+
# field IDs. Field IDs can contain letters (both uppercase and lowercase),
|
1428
|
+
# numbers (0-9) and underscores (_). Field IDs must be at least 1 character long
|
1429
|
+
# and at most 64 characters long. Field IDs must start with a letter or
|
1430
|
+
# underscore.
|
1542
1431
|
# Corresponds to the JSON property `fields`
|
1543
1432
|
# @return [Hash<String,Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField>]
|
1544
1433
|
attr_accessor :fields
|
1545
1434
|
|
1546
|
-
# The resource name of the tag template in URL format. Example:
|
1547
|
-
#
|
1548
|
-
#
|
1549
|
-
#
|
1435
|
+
# The resource name of the tag template in URL format. Example: * projects/`
|
1436
|
+
# project_id`/locations/`location`/tagTemplates/`tag_template_id` Note that this
|
1437
|
+
# TagTemplate and its child resources may not actually be stored in the location
|
1438
|
+
# in this name.
|
1550
1439
|
# Corresponds to the JSON property `name`
|
1551
1440
|
# @return [String]
|
1552
1441
|
attr_accessor :name
|
@@ -1579,19 +1468,17 @@ module Google
|
|
1579
1468
|
alias_method :is_required?, :is_required
|
1580
1469
|
|
1581
1470
|
# Output only. The resource name of the tag template field in URL format.
|
1582
|
-
# Example:
|
1583
|
-
#
|
1584
|
-
#
|
1585
|
-
# Note that this TagTemplateField may not actually be stored in the location
|
1586
|
-
# in this name.
|
1471
|
+
# Example: * projects/`project_id`/locations/`location`/tagTemplates/`
|
1472
|
+
# tag_template`/fields/`field` Note that this TagTemplateField may not actually
|
1473
|
+
# be stored in the location in this name.
|
1587
1474
|
# Corresponds to the JSON property `name`
|
1588
1475
|
# @return [String]
|
1589
1476
|
attr_accessor :name
|
1590
1477
|
|
1591
|
-
# The order of this field with respect to other fields in this tag
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
#
|
1478
|
+
# The order of this field with respect to other fields in this tag template. A
|
1479
|
+
# higher value indicates a more important field. The value can be negative.
|
1480
|
+
# Multiple fields can have the same order, and field orders within a tag do not
|
1481
|
+
# have to be sequential.
|
1595
1482
|
# Corresponds to the JSON property `order`
|
1596
1483
|
# @return [Fixnum]
|
1597
1484
|
attr_accessor :order
|
@@ -1624,30 +1511,28 @@ module Google
|
|
1624
1511
|
include Google::Apis::Core::Hashable
|
1625
1512
|
|
1626
1513
|
# Optional. A list of policy types that are activated for this taxonomy. If not
|
1627
|
-
# set,
|
1628
|
-
# defaults to an empty list.
|
1514
|
+
# set, defaults to an empty list.
|
1629
1515
|
# Corresponds to the JSON property `activatedPolicyTypes`
|
1630
1516
|
# @return [Array<String>]
|
1631
1517
|
attr_accessor :activated_policy_types
|
1632
1518
|
|
1633
1519
|
# Optional. Description of this taxonomy. It must: contain only unicode
|
1634
|
-
# characters,
|
1635
|
-
#
|
1636
|
-
#
|
1520
|
+
# characters, tabs, newlines, carriage returns and page breaks; and be at most
|
1521
|
+
# 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty
|
1522
|
+
# description.
|
1637
1523
|
# Corresponds to the JSON property `description`
|
1638
1524
|
# @return [String]
|
1639
1525
|
attr_accessor :description
|
1640
1526
|
|
1641
1527
|
# Required. User defined name of this taxonomy. It must: contain only unicode
|
1642
|
-
# letters,
|
1643
|
-
#
|
1644
|
-
# be at most 200 bytes long when encoded in UTF-8.
|
1528
|
+
# letters, numbers, underscores, dashes and spaces; not start or end with spaces;
|
1529
|
+
# and be at most 200 bytes long when encoded in UTF-8.
|
1645
1530
|
# Corresponds to the JSON property `displayName`
|
1646
1531
|
# @return [String]
|
1647
1532
|
attr_accessor :display_name
|
1648
1533
|
|
1649
|
-
# Output only. Resource name of this taxonomy, whose format is:
|
1650
|
-
#
|
1534
|
+
# Output only. Resource name of this taxonomy, whose format is: "projects/`
|
1535
|
+
# project_number`/locations/`location_id`/taxonomies/`id`".
|
1651
1536
|
# Corresponds to the JSON property `name`
|
1652
1537
|
# @return [String]
|
1653
1538
|
attr_accessor :name
|
@@ -1685,111 +1570,73 @@ module Google
|
|
1685
1570
|
end
|
1686
1571
|
|
1687
1572
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1688
|
-
# controls for Google Cloud resources.
|
1689
|
-
# A `
|
1690
|
-
#
|
1691
|
-
#
|
1692
|
-
#
|
1693
|
-
#
|
1694
|
-
#
|
1695
|
-
#
|
1696
|
-
#
|
1697
|
-
#
|
1698
|
-
#
|
1699
|
-
# [
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
# `
|
1703
|
-
# "
|
1704
|
-
# `
|
1705
|
-
# "
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
#
|
1712
|
-
#
|
1713
|
-
#
|
1714
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1715
|
-
# "members": [
|
1716
|
-
# "user:eve@example.com"
|
1717
|
-
# ],
|
1718
|
-
# "condition": `
|
1719
|
-
# "title": "expirable access",
|
1720
|
-
# "description": "Does not grant access after Sep 2020",
|
1721
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1722
|
-
# ",
|
1723
|
-
# `
|
1724
|
-
# `
|
1725
|
-
# ],
|
1726
|
-
# "etag": "BwWWja0YfJA=",
|
1727
|
-
# "version": 3
|
1728
|
-
# `
|
1729
|
-
# **YAML example:**
|
1730
|
-
# bindings:
|
1731
|
-
# - members:
|
1732
|
-
# - user:mike@example.com
|
1733
|
-
# - group:admins@example.com
|
1734
|
-
# - domain:google.com
|
1735
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1736
|
-
# role: roles/resourcemanager.organizationAdmin
|
1737
|
-
# - members:
|
1738
|
-
# - user:eve@example.com
|
1739
|
-
# role: roles/resourcemanager.organizationViewer
|
1740
|
-
# condition:
|
1741
|
-
# title: expirable access
|
1742
|
-
# description: Does not grant access after Sep 2020
|
1743
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1744
|
-
# - etag: BwWWja0YfJA=
|
1745
|
-
# - version: 3
|
1746
|
-
# For a description of IAM and its features, see the
|
1747
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1573
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1574
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1575
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1576
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1577
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1578
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1579
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1580
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1581
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1582
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1583
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1584
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1585
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1586
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1587
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1588
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1589
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1590
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1591
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1592
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1593
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1594
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1595
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1596
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1597
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1598
|
+
# google.com/iam/docs/).
|
1748
1599
|
class Policy
|
1749
1600
|
include Google::Apis::Core::Hashable
|
1750
1601
|
|
1751
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1752
|
-
#
|
1753
|
-
#
|
1602
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1603
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1604
|
+
# the `bindings` must contain at least one member.
|
1754
1605
|
# Corresponds to the JSON property `bindings`
|
1755
1606
|
# @return [Array<Google::Apis::DatacatalogV1beta1::Binding>]
|
1756
1607
|
attr_accessor :bindings
|
1757
1608
|
|
1758
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1759
|
-
#
|
1760
|
-
#
|
1761
|
-
#
|
1762
|
-
#
|
1763
|
-
#
|
1764
|
-
#
|
1765
|
-
#
|
1766
|
-
#
|
1767
|
-
#
|
1768
|
-
#
|
1609
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1610
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1611
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1612
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1613
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1614
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1615
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1616
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1617
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1618
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1619
|
+
# are lost.
|
1769
1620
|
# Corresponds to the JSON property `etag`
|
1770
1621
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1771
1622
|
# @return [String]
|
1772
1623
|
attr_accessor :etag
|
1773
1624
|
|
1774
|
-
# Specifies the format of the policy.
|
1775
|
-
#
|
1776
|
-
#
|
1777
|
-
#
|
1778
|
-
#
|
1779
|
-
#
|
1780
|
-
#
|
1781
|
-
#
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1785
|
-
#
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
# specify any valid version or leave the field unset.
|
1790
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1791
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1792
|
-
# policies).
|
1625
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1626
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1627
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1628
|
+
# applies to the following operations: * Getting a policy that includes a
|
1629
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1630
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1631
|
+
# with or without a condition, from a policy that includes conditions **
|
1632
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1633
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1634
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1635
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1636
|
+
# any conditions, operations on that policy may specify any valid version or
|
1637
|
+
# leave the field unset. To learn which resources support conditions in their
|
1638
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1639
|
+
# conditions/resource-policies).
|
1793
1640
|
# Corresponds to the JSON property `version`
|
1794
1641
|
# @return [Fixnum]
|
1795
1642
|
attr_accessor :version
|
@@ -1811,66 +1658,32 @@ module Google
|
|
1811
1658
|
include Google::Apis::Core::Hashable
|
1812
1659
|
|
1813
1660
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1814
|
-
# controls for Google Cloud resources.
|
1815
|
-
# A `
|
1816
|
-
#
|
1817
|
-
#
|
1818
|
-
#
|
1819
|
-
#
|
1820
|
-
#
|
1821
|
-
#
|
1822
|
-
#
|
1823
|
-
#
|
1824
|
-
#
|
1825
|
-
# [
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
# `
|
1829
|
-
# "
|
1830
|
-
# `
|
1831
|
-
# "
|
1832
|
-
#
|
1833
|
-
#
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
#
|
1838
|
-
#
|
1839
|
-
#
|
1840
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1841
|
-
# "members": [
|
1842
|
-
# "user:eve@example.com"
|
1843
|
-
# ],
|
1844
|
-
# "condition": `
|
1845
|
-
# "title": "expirable access",
|
1846
|
-
# "description": "Does not grant access after Sep 2020",
|
1847
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1848
|
-
# ",
|
1849
|
-
# `
|
1850
|
-
# `
|
1851
|
-
# ],
|
1852
|
-
# "etag": "BwWWja0YfJA=",
|
1853
|
-
# "version": 3
|
1854
|
-
# `
|
1855
|
-
# **YAML example:**
|
1856
|
-
# bindings:
|
1857
|
-
# - members:
|
1858
|
-
# - user:mike@example.com
|
1859
|
-
# - group:admins@example.com
|
1860
|
-
# - domain:google.com
|
1861
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1862
|
-
# role: roles/resourcemanager.organizationAdmin
|
1863
|
-
# - members:
|
1864
|
-
# - user:eve@example.com
|
1865
|
-
# role: roles/resourcemanager.organizationViewer
|
1866
|
-
# condition:
|
1867
|
-
# title: expirable access
|
1868
|
-
# description: Does not grant access after Sep 2020
|
1869
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1870
|
-
# - etag: BwWWja0YfJA=
|
1871
|
-
# - version: 3
|
1872
|
-
# For a description of IAM and its features, see the
|
1873
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1661
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1662
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1663
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1664
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1665
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1666
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1667
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1668
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1669
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1670
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1671
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1672
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1673
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1674
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1675
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1676
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1677
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1678
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1679
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1680
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1681
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1682
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1683
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1684
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1685
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1686
|
+
# google.com/iam/docs/).
|
1874
1687
|
# Corresponds to the JSON property `policy`
|
1875
1688
|
# @return [Google::Apis::DatacatalogV1beta1::Policy]
|
1876
1689
|
attr_accessor :policy
|
@@ -1889,10 +1702,9 @@ module Google
|
|
1889
1702
|
class TestIamPermissionsRequest
|
1890
1703
|
include Google::Apis::Core::Hashable
|
1891
1704
|
|
1892
|
-
# The set of permissions to check for the `resource`. Permissions with
|
1893
|
-
#
|
1894
|
-
#
|
1895
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1705
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1706
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1707
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1896
1708
|
# Corresponds to the JSON property `permissions`
|
1897
1709
|
# @return [Array<String>]
|
1898
1710
|
attr_accessor :permissions
|
@@ -1911,8 +1723,7 @@ module Google
|
|
1911
1723
|
class TestIamPermissionsResponse
|
1912
1724
|
include Google::Apis::Core::Hashable
|
1913
1725
|
|
1914
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1915
|
-
# allowed.
|
1726
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1916
1727
|
# Corresponds to the JSON property `permissions`
|
1917
1728
|
# @return [Array<String>]
|
1918
1729
|
attr_accessor :permissions
|