google-api-client 0.36.1 → 0.36.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 +45 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +19 -2
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +234 -240
- data/generated/google/apis/compute_alpha/representations.rb +7 -47
- data/generated/google/apis/compute_alpha/service.rb +1233 -1068
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +936 -164
- data/generated/google/apis/compute_beta/representations.rb +371 -0
- data/generated/google/apis/compute_beta/service.rb +1394 -899
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +479 -147
- data/generated/google/apis/compute_v1/representations.rb +127 -0
- data/generated/google/apis/compute_v1/service.rb +813 -748
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +73 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
- data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +70 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +152 -0
- data/generated/google/apis/docs_v1/representations.rb +56 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1/service.rb +24 -22
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
- data/generated/google/apis/fitness_v1.rb +11 -11
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +5 -7
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +83 -141
- data/generated/google/apis/iam_v1/representations.rb +0 -6
- data/generated/google/apis/iam_v1/service.rb +11 -21
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +15 -0
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +3 -2
- data/generated/google/apis/logging_v2/service.rb +2 -1
- data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
- data/generated/google/apis/run_v1alpha1/service.rb +862 -46
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
- data/generated/google/apis/securitycenter_v1/service.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +187 -2
- data/generated/google/apis/sheets_v4/representations.rb +47 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +104 -51
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +6 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
- data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
- data/generated/google/apis/sql_v1beta4/service.rb +83 -2
- data/generated/google/apis/toolresults_v1.rb +31 -0
- data/generated/google/apis/toolresults_v1/classes.rb +696 -0
- data/generated/google/apis/toolresults_v1/representations.rb +438 -0
- data/generated/google/apis/toolresults_v1/service.rb +59 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2/representations.rb +0 -305
- data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -334,6 +334,12 @@ module Google
|
|
334
334
|
include Google::Apis::Core::JsonObjectSupport
|
335
335
|
end
|
336
336
|
|
337
|
+
class InsertSectionBreakRequest
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
337
343
|
class InsertTableColumnRequest
|
338
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
345
|
|
@@ -826,6 +832,12 @@ module Google
|
|
826
832
|
include Google::Apis::Core::JsonObjectSupport
|
827
833
|
end
|
828
834
|
|
835
|
+
class UpdateSectionStyleRequest
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
829
841
|
class UpdateTableCellStyleRequest
|
830
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
843
|
|
@@ -1136,6 +1148,10 @@ module Google
|
|
1136
1148
|
property :first_page_header_id, as: 'firstPageHeaderId'
|
1137
1149
|
property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
1138
1150
|
|
1151
|
+
property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
1152
|
+
|
1153
|
+
property :margin_header, as: 'marginHeader', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
1154
|
+
|
1139
1155
|
property :margin_left, as: 'marginLeft', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
1140
1156
|
|
1141
1157
|
property :margin_right, as: 'marginRight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
@@ -1145,6 +1161,7 @@ module Google
|
|
1145
1161
|
property :page_number_start, as: 'pageNumberStart'
|
1146
1162
|
property :page_size, as: 'pageSize', class: Google::Apis::DocsV1::Size, decorator: Google::Apis::DocsV1::Size::Representation
|
1147
1163
|
|
1164
|
+
property :use_custom_header_footer_margins, as: 'useCustomHeaderFooterMargins'
|
1148
1165
|
property :use_even_page_header_footer, as: 'useEvenPageHeaderFooter'
|
1149
1166
|
property :use_first_page_header_footer, as: 'useFirstPageHeaderFooter'
|
1150
1167
|
end
|
@@ -1430,6 +1447,17 @@ module Google
|
|
1430
1447
|
end
|
1431
1448
|
end
|
1432
1449
|
|
1450
|
+
class InsertSectionBreakRequest
|
1451
|
+
# @private
|
1452
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1453
|
+
property :end_of_segment_location, as: 'endOfSegmentLocation', class: Google::Apis::DocsV1::EndOfSegmentLocation, decorator: Google::Apis::DocsV1::EndOfSegmentLocation::Representation
|
1454
|
+
|
1455
|
+
property :location, as: 'location', class: Google::Apis::DocsV1::Location, decorator: Google::Apis::DocsV1::Location::Representation
|
1456
|
+
|
1457
|
+
property :section_type, as: 'sectionType'
|
1458
|
+
end
|
1459
|
+
end
|
1460
|
+
|
1433
1461
|
class InsertTableColumnRequest
|
1434
1462
|
# @private
|
1435
1463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1901,6 +1929,8 @@ module Google
|
|
1901
1929
|
|
1902
1930
|
property :insert_page_break, as: 'insertPageBreak', class: Google::Apis::DocsV1::InsertPageBreakRequest, decorator: Google::Apis::DocsV1::InsertPageBreakRequest::Representation
|
1903
1931
|
|
1932
|
+
property :insert_section_break, as: 'insertSectionBreak', class: Google::Apis::DocsV1::InsertSectionBreakRequest, decorator: Google::Apis::DocsV1::InsertSectionBreakRequest::Representation
|
1933
|
+
|
1904
1934
|
property :insert_table, as: 'insertTable', class: Google::Apis::DocsV1::InsertTableRequest, decorator: Google::Apis::DocsV1::InsertTableRequest::Representation
|
1905
1935
|
|
1906
1936
|
property :insert_table_column, as: 'insertTableColumn', class: Google::Apis::DocsV1::InsertTableColumnRequest, decorator: Google::Apis::DocsV1::InsertTableColumnRequest::Representation
|
@@ -1923,6 +1953,8 @@ module Google
|
|
1923
1953
|
|
1924
1954
|
property :update_paragraph_style, as: 'updateParagraphStyle', class: Google::Apis::DocsV1::UpdateParagraphStyleRequest, decorator: Google::Apis::DocsV1::UpdateParagraphStyleRequest::Representation
|
1925
1955
|
|
1956
|
+
property :update_section_style, as: 'updateSectionStyle', class: Google::Apis::DocsV1::UpdateSectionStyleRequest, decorator: Google::Apis::DocsV1::UpdateSectionStyleRequest::Representation
|
1957
|
+
|
1926
1958
|
property :update_table_cell_style, as: 'updateTableCellStyle', class: Google::Apis::DocsV1::UpdateTableCellStyleRequest, decorator: Google::Apis::DocsV1::UpdateTableCellStyleRequest::Representation
|
1927
1959
|
|
1928
1960
|
property :update_table_column_properties, as: 'updateTableColumnProperties', class: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest, decorator: Google::Apis::DocsV1::UpdateTableColumnPropertiesRequest::Representation
|
@@ -1988,6 +2020,19 @@ module Google
|
|
1988
2020
|
|
1989
2021
|
property :column_separator_style, as: 'columnSeparatorStyle'
|
1990
2022
|
property :content_direction, as: 'contentDirection'
|
2023
|
+
property :margin_bottom, as: 'marginBottom', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2024
|
+
|
2025
|
+
property :margin_footer, as: 'marginFooter', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2026
|
+
|
2027
|
+
property :margin_header, as: 'marginHeader', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2028
|
+
|
2029
|
+
property :margin_left, as: 'marginLeft', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2030
|
+
|
2031
|
+
property :margin_right, as: 'marginRight', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2032
|
+
|
2033
|
+
property :margin_top, as: 'marginTop', class: Google::Apis::DocsV1::Dimension, decorator: Google::Apis::DocsV1::Dimension::Representation
|
2034
|
+
|
2035
|
+
property :section_type, as: 'sectionType'
|
1991
2036
|
end
|
1992
2037
|
end
|
1993
2038
|
|
@@ -2417,6 +2462,17 @@ module Google
|
|
2417
2462
|
end
|
2418
2463
|
end
|
2419
2464
|
|
2465
|
+
class UpdateSectionStyleRequest
|
2466
|
+
# @private
|
2467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2468
|
+
property :fields, as: 'fields'
|
2469
|
+
property :range, as: 'range', class: Google::Apis::DocsV1::Range, decorator: Google::Apis::DocsV1::Range::Representation
|
2470
|
+
|
2471
|
+
property :section_style, as: 'sectionStyle', class: Google::Apis::DocsV1::SectionStyle, decorator: Google::Apis::DocsV1::SectionStyle::Representation
|
2472
|
+
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2420
2476
|
class UpdateTableCellStyleRequest
|
2421
2477
|
# @private
|
2422
2478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/bid-manager/
|
26
26
|
module DoubleclickbidmanagerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191210'
|
29
29
|
|
30
30
|
# View and manage your reports in DoubleClick Bid Manager
|
31
31
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/bid-manager/
|
26
26
|
module DoubleclickbidmanagerV1_1
|
27
27
|
VERSION = 'V1_1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191210'
|
29
29
|
|
30
30
|
# View and manage your reports in DoubleClick Bid Manager
|
31
31
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/drive/activity/
|
26
26
|
module DriveactivityV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191218'
|
29
29
|
|
30
30
|
# View and add to the activity record of files in your Google Drive
|
31
31
|
AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity'
|
@@ -252,6 +252,11 @@ module Google
|
|
252
252
|
class Assignment
|
253
253
|
include Google::Apis::Core::Hashable
|
254
254
|
|
255
|
+
# Information about an end user.
|
256
|
+
# Corresponds to the JSON property `assignedUser`
|
257
|
+
# @return [Google::Apis::DriveactivityV2::User]
|
258
|
+
attr_accessor :assigned_user
|
259
|
+
|
255
260
|
# The sub-type of this event.
|
256
261
|
# Corresponds to the JSON property `subtype`
|
257
262
|
# @return [String]
|
@@ -263,6 +268,7 @@ module Google
|
|
263
268
|
|
264
269
|
# Update properties of this object
|
265
270
|
def update!(**args)
|
271
|
+
@assigned_user = args[:assigned_user] if args.key?(:assigned_user)
|
266
272
|
@subtype = args[:subtype] if args.key?(:subtype)
|
267
273
|
end
|
268
274
|
end
|
@@ -433,6 +433,8 @@ module Google
|
|
433
433
|
class Assignment
|
434
434
|
# @private
|
435
435
|
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :assigned_user, as: 'assignedUser', class: Google::Apis::DriveactivityV2::User, decorator: Google::Apis::DriveactivityV2::User::Representation
|
437
|
+
|
436
438
|
property :subtype, as: 'subtype'
|
437
439
|
end
|
438
440
|
end
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com
|
27
27
|
module FirebaseV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191217'
|
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,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191206'
|
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'
|
@@ -1914,7 +1914,7 @@ module Google
|
|
1914
1914
|
class RollbackRequest
|
1915
1915
|
include Google::Apis::Core::Hashable
|
1916
1916
|
|
1917
|
-
# The transaction to roll back.
|
1917
|
+
# Required. The transaction to roll back.
|
1918
1918
|
# Corresponds to the JSON property `transaction`
|
1919
1919
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1920
1920
|
# @return [String]
|
@@ -57,7 +57,7 @@ module Google
|
|
57
57
|
# cancelled before completion it may leave partial data behind in Google
|
58
58
|
# Cloud Storage.
|
59
59
|
# @param [String] name
|
60
|
-
# Database to export. Should be of the form:
|
60
|
+
# Required. Database to export. Should be of the form:
|
61
61
|
# `projects/`project_id`/databases/`database_id``.
|
62
62
|
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ExportDocumentsRequest] google_firestore_admin_v1_export_documents_request_object
|
63
63
|
# @param [String] fields
|
@@ -95,7 +95,7 @@ module Google
|
|
95
95
|
# created. If an ImportDocuments operation is cancelled, it is possible
|
96
96
|
# that a subset of the data has already been imported to Cloud Firestore.
|
97
97
|
# @param [String] name
|
98
|
-
# Database to import into. Should be of the form:
|
98
|
+
# Required. Database to import into. Should be of the form:
|
99
99
|
# `projects/`project_id`/databases/`database_id``.
|
100
100
|
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1ImportDocumentsRequest] google_firestore_admin_v1_import_documents_request_object
|
101
101
|
# @param [String] fields
|
@@ -129,7 +129,7 @@ module Google
|
|
129
129
|
|
130
130
|
# Gets the metadata and configuration for a Field.
|
131
131
|
# @param [String] name
|
132
|
-
# A name of the form
|
132
|
+
# Required. A name of the form
|
133
133
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
134
134
|
# /fields/`field_id``
|
135
135
|
# @param [String] fields
|
@@ -165,7 +165,7 @@ module Google
|
|
165
165
|
# FirestoreAdmin.ListFields with the filter set to
|
166
166
|
# `indexConfig.usesAncestorConfig:false`.
|
167
167
|
# @param [String] parent
|
168
|
-
# A parent name of the form
|
168
|
+
# Required. A parent name of the form
|
169
169
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
170
170
|
# `
|
171
171
|
# @param [String] filter
|
@@ -285,7 +285,7 @@ module Google
|
|
285
285
|
# which may be used to track the status of the creation. The metadata for
|
286
286
|
# the operation will be the type IndexOperationMetadata.
|
287
287
|
# @param [String] parent
|
288
|
-
# A parent name of the form
|
288
|
+
# Required. A parent name of the form
|
289
289
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
290
290
|
# `
|
291
291
|
# @param [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index] google_firestore_admin_v1_index_object
|
@@ -320,7 +320,7 @@ module Google
|
|
320
320
|
|
321
321
|
# Deletes a composite index.
|
322
322
|
# @param [String] name
|
323
|
-
# A name of the form
|
323
|
+
# Required. A name of the form
|
324
324
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
325
325
|
# /indexes/`index_id``
|
326
326
|
# @param [String] fields
|
@@ -352,7 +352,7 @@ module Google
|
|
352
352
|
|
353
353
|
# Gets a composite index.
|
354
354
|
# @param [String] name
|
355
|
-
# A name of the form
|
355
|
+
# Required. A name of the form
|
356
356
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
357
357
|
# /indexes/`index_id``
|
358
358
|
# @param [String] fields
|
@@ -384,7 +384,7 @@ module Google
|
|
384
384
|
|
385
385
|
# Lists composite indexes.
|
386
386
|
# @param [String] parent
|
387
|
-
# A parent name of the form
|
387
|
+
# Required. A parent name of the form
|
388
388
|
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
389
389
|
# `
|
390
390
|
# @param [String] filter
|
@@ -429,7 +429,7 @@ module Google
|
|
429
429
|
# Documents returned by this method are not guaranteed to be returned in the
|
430
430
|
# same order that they were requested.
|
431
431
|
# @param [String] database
|
432
|
-
# The database name. In the format:
|
432
|
+
# Required. The database name. In the format:
|
433
433
|
# `projects/`project_id`/databases/`database_id``.
|
434
434
|
# @param [Google::Apis::FirestoreV1::BatchGetDocumentsRequest] batch_get_documents_request_object
|
435
435
|
# @param [String] fields
|
@@ -463,7 +463,7 @@ module Google
|
|
463
463
|
|
464
464
|
# Starts a new transaction.
|
465
465
|
# @param [String] database
|
466
|
-
# The database name. In the format:
|
466
|
+
# Required. The database name. In the format:
|
467
467
|
# `projects/`project_id`/databases/`database_id``.
|
468
468
|
# @param [Google::Apis::FirestoreV1::BeginTransactionRequest] begin_transaction_request_object
|
469
469
|
# @param [String] fields
|
@@ -497,7 +497,7 @@ module Google
|
|
497
497
|
|
498
498
|
# Commits a transaction, while optionally updating documents.
|
499
499
|
# @param [String] database
|
500
|
-
# The database name. In the format:
|
500
|
+
# Required. The database name. In the format:
|
501
501
|
# `projects/`project_id`/databases/`database_id``.
|
502
502
|
# @param [Google::Apis::FirestoreV1::CommitRequest] commit_request_object
|
503
503
|
# @param [String] fields
|
@@ -531,12 +531,13 @@ module Google
|
|
531
531
|
|
532
532
|
# Creates a new document.
|
533
533
|
# @param [String] parent
|
534
|
-
# The parent resource. For example:
|
534
|
+
# Required. The parent resource. For example:
|
535
535
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
536
536
|
# `projects/`project_id`/databases/`database_id`/documents/chatrooms/`
|
537
537
|
# chatroom_id``
|
538
538
|
# @param [String] collection_id
|
539
|
-
# The collection ID, relative to `parent`, to list. For example: `
|
539
|
+
# Required. The collection ID, relative to `parent`, to list. For example: `
|
540
|
+
# chatrooms`.
|
540
541
|
# @param [Google::Apis::FirestoreV1::Document] document_object
|
541
542
|
# @param [String] document_id
|
542
543
|
# The client-assigned document ID to use for this document.
|
@@ -578,7 +579,7 @@ module Google
|
|
578
579
|
|
579
580
|
# Deletes a document.
|
580
581
|
# @param [String] name
|
581
|
-
# The resource name of the Document to delete. In the format:
|
582
|
+
# Required. The resource name of the Document to delete. In the format:
|
582
583
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
583
584
|
# @param [Boolean] current_document_exists
|
584
585
|
# When set to `true`, the target document must exist.
|
@@ -617,7 +618,7 @@ module Google
|
|
617
618
|
|
618
619
|
# Gets a single document.
|
619
620
|
# @param [String] name
|
620
|
-
# The resource name of the Document to get. In the format:
|
621
|
+
# Required. The resource name of the Document to get. In the format:
|
621
622
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
622
623
|
# @param [Array<String>, String] mask_field_paths
|
623
624
|
# The list of field paths in the mask. See Document.fields for a field
|
@@ -659,14 +660,15 @@ module Google
|
|
659
660
|
|
660
661
|
# Lists documents.
|
661
662
|
# @param [String] parent
|
662
|
-
# The parent resource name. In the format:
|
663
|
+
# Required. The parent resource name. In the format:
|
663
664
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
664
665
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
665
666
|
# For example:
|
666
667
|
# `projects/my-project/databases/my-database/documents` or
|
667
668
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
668
669
|
# @param [String] collection_id
|
669
|
-
# The collection ID, relative to `parent`, to list. For example: `
|
670
|
+
# Required. The collection ID, relative to `parent`, to list. For example: `
|
671
|
+
# chatrooms`
|
670
672
|
# or `messages`.
|
671
673
|
# @param [Array<String>, String] mask_field_paths
|
672
674
|
# The list of field paths in the mask. See Document.fields for a field
|
@@ -726,7 +728,7 @@ module Google
|
|
726
728
|
|
727
729
|
# Lists all the collection IDs underneath a document.
|
728
730
|
# @param [String] parent
|
729
|
-
# The parent document. In the format:
|
731
|
+
# Required. The parent document. In the format:
|
730
732
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
731
733
|
# For example:
|
732
734
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
@@ -762,7 +764,7 @@ module Google
|
|
762
764
|
|
763
765
|
# Listens to changes.
|
764
766
|
# @param [String] database
|
765
|
-
# The database name. In the format:
|
767
|
+
# Required. The database name. In the format:
|
766
768
|
# `projects/`project_id`/databases/`database_id``.
|
767
769
|
# @param [Google::Apis::FirestoreV1::ListenRequest] listen_request_object
|
768
770
|
# @param [String] fields
|
@@ -846,7 +848,7 @@ module Google
|
|
846
848
|
|
847
849
|
# Rolls back a transaction.
|
848
850
|
# @param [String] database
|
849
|
-
# The database name. In the format:
|
851
|
+
# Required. The database name. In the format:
|
850
852
|
# `projects/`project_id`/databases/`database_id``.
|
851
853
|
# @param [Google::Apis::FirestoreV1::RollbackRequest] rollback_request_object
|
852
854
|
# @param [String] fields
|
@@ -880,7 +882,7 @@ module Google
|
|
880
882
|
|
881
883
|
# Runs a query.
|
882
884
|
# @param [String] parent
|
883
|
-
# The parent resource name. In the format:
|
885
|
+
# Required. The parent resource name. In the format:
|
884
886
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
885
887
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
886
888
|
# For example:
|
@@ -918,7 +920,7 @@ module Google
|
|
918
920
|
|
919
921
|
# Streams batches of document updates and deletes, in order.
|
920
922
|
# @param [String] database
|
921
|
-
# The database name. In the format:
|
923
|
+
# Required. The database name. In the format:
|
922
924
|
# `projects/`project_id`/databases/`database_id``.
|
923
925
|
# This is only required in the first message.
|
924
926
|
# @param [Google::Apis::FirestoreV1::WriteRequest] write_request_object
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191206'
|
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'
|
@@ -1552,7 +1552,7 @@ module Google
|
|
1552
1552
|
class RollbackRequest
|
1553
1553
|
include Google::Apis::Core::Hashable
|
1554
1554
|
|
1555
|
-
# The transaction to roll back.
|
1555
|
+
# Required. The transaction to roll back.
|
1556
1556
|
# Corresponds to the JSON property `transaction`
|
1557
1557
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1558
1558
|
# @return [String]
|
@@ -131,7 +131,7 @@ module Google
|
|
131
131
|
# Documents returned by this method are not guaranteed to be returned in the
|
132
132
|
# same order that they were requested.
|
133
133
|
# @param [String] database
|
134
|
-
# The database name. In the format:
|
134
|
+
# Required. The database name. In the format:
|
135
135
|
# `projects/`project_id`/databases/`database_id``.
|
136
136
|
# @param [Google::Apis::FirestoreV1beta1::BatchGetDocumentsRequest] batch_get_documents_request_object
|
137
137
|
# @param [String] fields
|
@@ -165,7 +165,7 @@ module Google
|
|
165
165
|
|
166
166
|
# Starts a new transaction.
|
167
167
|
# @param [String] database
|
168
|
-
# The database name. In the format:
|
168
|
+
# Required. The database name. In the format:
|
169
169
|
# `projects/`project_id`/databases/`database_id``.
|
170
170
|
# @param [Google::Apis::FirestoreV1beta1::BeginTransactionRequest] begin_transaction_request_object
|
171
171
|
# @param [String] fields
|
@@ -199,7 +199,7 @@ module Google
|
|
199
199
|
|
200
200
|
# Commits a transaction, while optionally updating documents.
|
201
201
|
# @param [String] database
|
202
|
-
# The database name. In the format:
|
202
|
+
# Required. The database name. In the format:
|
203
203
|
# `projects/`project_id`/databases/`database_id``.
|
204
204
|
# @param [Google::Apis::FirestoreV1beta1::CommitRequest] commit_request_object
|
205
205
|
# @param [String] fields
|
@@ -233,12 +233,13 @@ module Google
|
|
233
233
|
|
234
234
|
# Creates a new document.
|
235
235
|
# @param [String] parent
|
236
|
-
# The parent resource. For example:
|
236
|
+
# Required. The parent resource. For example:
|
237
237
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
238
238
|
# `projects/`project_id`/databases/`database_id`/documents/chatrooms/`
|
239
239
|
# chatroom_id``
|
240
240
|
# @param [String] collection_id
|
241
|
-
# The collection ID, relative to `parent`, to list. For example: `
|
241
|
+
# Required. The collection ID, relative to `parent`, to list. For example: `
|
242
|
+
# chatrooms`.
|
242
243
|
# @param [Google::Apis::FirestoreV1beta1::Document] document_object
|
243
244
|
# @param [String] document_id
|
244
245
|
# The client-assigned document ID to use for this document.
|
@@ -280,7 +281,7 @@ module Google
|
|
280
281
|
|
281
282
|
# Deletes a document.
|
282
283
|
# @param [String] name
|
283
|
-
# The resource name of the Document to delete. In the format:
|
284
|
+
# Required. The resource name of the Document to delete. In the format:
|
284
285
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
285
286
|
# @param [Boolean] current_document_exists
|
286
287
|
# When set to `true`, the target document must exist.
|
@@ -319,7 +320,7 @@ module Google
|
|
319
320
|
|
320
321
|
# Gets a single document.
|
321
322
|
# @param [String] name
|
322
|
-
# The resource name of the Document to get. In the format:
|
323
|
+
# Required. The resource name of the Document to get. In the format:
|
323
324
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
324
325
|
# @param [Array<String>, String] mask_field_paths
|
325
326
|
# The list of field paths in the mask. See Document.fields for a field
|
@@ -361,14 +362,15 @@ module Google
|
|
361
362
|
|
362
363
|
# Lists documents.
|
363
364
|
# @param [String] parent
|
364
|
-
# The parent resource name. In the format:
|
365
|
+
# Required. The parent resource name. In the format:
|
365
366
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
366
367
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
367
368
|
# For example:
|
368
369
|
# `projects/my-project/databases/my-database/documents` or
|
369
370
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
370
371
|
# @param [String] collection_id
|
371
|
-
# The collection ID, relative to `parent`, to list. For example: `
|
372
|
+
# Required. The collection ID, relative to `parent`, to list. For example: `
|
373
|
+
# chatrooms`
|
372
374
|
# or `messages`.
|
373
375
|
# @param [Array<String>, String] mask_field_paths
|
374
376
|
# The list of field paths in the mask. See Document.fields for a field
|
@@ -428,7 +430,7 @@ module Google
|
|
428
430
|
|
429
431
|
# Lists all the collection IDs underneath a document.
|
430
432
|
# @param [String] parent
|
431
|
-
# The parent document. In the format:
|
433
|
+
# Required. The parent document. In the format:
|
432
434
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
433
435
|
# For example:
|
434
436
|
# `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
|
@@ -464,7 +466,7 @@ module Google
|
|
464
466
|
|
465
467
|
# Listens to changes.
|
466
468
|
# @param [String] database
|
467
|
-
# The database name. In the format:
|
469
|
+
# Required. The database name. In the format:
|
468
470
|
# `projects/`project_id`/databases/`database_id``.
|
469
471
|
# @param [Google::Apis::FirestoreV1beta1::ListenRequest] listen_request_object
|
470
472
|
# @param [String] fields
|
@@ -548,7 +550,7 @@ module Google
|
|
548
550
|
|
549
551
|
# Rolls back a transaction.
|
550
552
|
# @param [String] database
|
551
|
-
# The database name. In the format:
|
553
|
+
# Required. The database name. In the format:
|
552
554
|
# `projects/`project_id`/databases/`database_id``.
|
553
555
|
# @param [Google::Apis::FirestoreV1beta1::RollbackRequest] rollback_request_object
|
554
556
|
# @param [String] fields
|
@@ -582,7 +584,7 @@ module Google
|
|
582
584
|
|
583
585
|
# Runs a query.
|
584
586
|
# @param [String] parent
|
585
|
-
# The parent resource name. In the format:
|
587
|
+
# Required. The parent resource name. In the format:
|
586
588
|
# `projects/`project_id`/databases/`database_id`/documents` or
|
587
589
|
# `projects/`project_id`/databases/`database_id`/documents/`document_path``.
|
588
590
|
# For example:
|
@@ -620,7 +622,7 @@ module Google
|
|
620
622
|
|
621
623
|
# Streams batches of document updates and deletes, in order.
|
622
624
|
# @param [String] database
|
623
|
-
# The database name. In the format:
|
625
|
+
# Required. The database name. In the format:
|
624
626
|
# `projects/`project_id`/databases/`database_id``.
|
625
627
|
# This is only required in the first message.
|
626
628
|
# @param [Google::Apis::FirestoreV1beta1::WriteRequest] write_request_object
|