google-api-client 0.24.3 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/CHANGELOG.md +99 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +0 -1
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/{content_v2sandbox.rb → accesscontextmanager_v1beta.rb} +11 -12
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +697 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +240 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +666 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +16 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +4 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +9 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +3 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +68 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +92 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +36 -0
- data/generated/google/apis/androidpublisher_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/androidpublisher_v3.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +3 -2
- data/generated/google/apis/appengine_v1.rb +2 -3
- data/generated/google/apis/appengine_v1/service.rb +1 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -3
- data/generated/google/apis/appengine_v1alpha/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -3
- data/generated/google/apis/appengine_v1beta/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -3
- data/generated/google/apis/appengine_v1beta4/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/service.rb +1 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +98 -7
- data/generated/google/apis/bigquery_v2/representations.rb +35 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +5 -5
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +10 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +418 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +121 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +107 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +16 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +59 -0
- data/generated/google/apis/cloudsearch_v1/classes.rb +4697 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +2151 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +1351 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +34 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +34 -30
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +5 -8
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +197 -69
- data/generated/google/apis/content_v2/representations.rb +64 -33
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +19 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +19 -19
- data/generated/google/apis/dialogflow_v2.rb +6 -3
- data/generated/google/apis/dialogflow_v2/classes.rb +112 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +30 -0
- data/generated/google/apis/dialogflow_v2/service.rb +7 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +6 -3
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +116 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +30 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +19 -8
- data/generated/google/apis/digitalassetlinks_v1.rb +2 -3
- data/generated/google/apis/digitalassetlinks_v1/service.rb +1 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -5
- data/generated/google/apis/dlp_v2/representations.rb +2 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +34 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +637 -0
- data/generated/google/apis/firestore_v1/representations.rb +260 -0
- data/generated/google/apis/firestore_v1/service.rb +377 -0
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +205 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +83 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +79 -0
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +2 -2
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +2 -3
- data/generated/google/apis/indexing_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +3 -3
- data/generated/google/apis/jobs_v3/service.rb +20 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/jobs_v3p1beta1/service.rb +20 -2
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/service.rb +3 -3
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/language_v1beta2.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -13
- data/generated/google/apis/logging_v2/representations.rb +0 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -41
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -16
- data/generated/google/apis/logging_v2beta1/service.rb +0 -255
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +25 -15
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +366 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/service.rb +10 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +7 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +6 -0
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +6 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -6
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +7 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +2 -3
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +7 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/classes.rb +18 -230
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -99
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -140
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +24 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +3 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +7 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +7 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/slides_v1.rb +2 -2
- data/generated/google/apis/slides_v1/classes.rb +4 -3
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +6 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +547 -12
- data/generated/google/apis/videointelligence_v1/representations.rb +190 -2
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +547 -12
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +190 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +418 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +153 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1139 -54
- data/generated/google/apis/vision_v1/representations.rb +478 -0
- data/generated/google/apis/vision_v1/service.rb +744 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +761 -16
- data/generated/google/apis/vision_v1p1beta1/representations.rb +333 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +758 -13
- data/generated/google/apis/vision_v1p2beta1/representations.rb +333 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +83 -10
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -14
- data/generated/google/apis/content_v2sandbox/classes.rb +0 -4436
- data/generated/google/apis/content_v2sandbox/representations.rb +0 -1956
- data/generated/google/apis/content_v2sandbox/service.rb +0 -1296
- data/generated/google/apis/dfareporting_v2_8.rb +0 -40
- data/generated/google/apis/dfareporting_v2_8/classes.rb +0 -12043
- data/generated/google/apis/dfareporting_v2_8/representations.rb +0 -4311
- data/generated/google/apis/dfareporting_v2_8/service.rb +0 -8727
- data/generated/google/apis/serviceuser_v1.rb +0 -42
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -3472
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1030
- data/generated/google/apis/serviceuser_v1/service.rb +0 -215
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/doubleclick-search/
|
27
27
|
module DoubleclicksearchV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181030'
|
30
30
|
|
31
31
|
# View and manage your advertising data in DoubleClick Search
|
32
32
|
AUTH_DOUBLECLICKSEARCH = 'https://www.googleapis.com/auth/doubleclicksearch'
|
@@ -652,7 +652,7 @@ module Google
|
|
652
652
|
# @return [String]
|
653
653
|
attr_accessor :report_type
|
654
654
|
|
655
|
-
# Synchronous report only. The
|
655
|
+
# Synchronous report only. The maximum number of rows to return; additional rows
|
656
656
|
# are dropped. Acceptable values are 0 to 10000, inclusive. Defaults to 10000.
|
657
657
|
# Corresponds to the JSON property `rowCount`
|
658
658
|
# @return [Fixnum]
|
@@ -1339,7 +1339,9 @@ module Google
|
|
1339
1339
|
# @return [String]
|
1340
1340
|
attr_accessor :description
|
1341
1341
|
|
1342
|
-
#
|
1342
|
+
# Short lived download URL for the file. This field is only populated for files
|
1343
|
+
# with content stored in Drive; it is not populated for Google Docs or shortcut
|
1344
|
+
# files.
|
1343
1345
|
# Corresponds to the JSON property `downloadUrl`
|
1344
1346
|
# @return [String]
|
1345
1347
|
attr_accessor :download_url
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/storage/security
|
27
27
|
module FirebaserulesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181005'
|
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 = '20181020'
|
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'
|
@@ -41,6 +41,643 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# Metadata for google.longrunning.Operation results from
|
45
|
+
# FirestoreAdmin.ExportDocuments.
|
46
|
+
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
47
|
+
include Google::Apis::Core::Hashable
|
48
|
+
|
49
|
+
# Which collection ids are being exported.
|
50
|
+
# Corresponds to the JSON property `collectionIds`
|
51
|
+
# @return [Array<String>]
|
52
|
+
attr_accessor :collection_ids
|
53
|
+
|
54
|
+
# The time this operation completed. Will be unset if operation still in
|
55
|
+
# progress.
|
56
|
+
# Corresponds to the JSON property `endTime`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :end_time
|
59
|
+
|
60
|
+
# The state of the export operation.
|
61
|
+
# Corresponds to the JSON property `operationState`
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :operation_state
|
64
|
+
|
65
|
+
# Where the entities are being exported to.
|
66
|
+
# Corresponds to the JSON property `outputUriPrefix`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :output_uri_prefix
|
69
|
+
|
70
|
+
# Describes the progress of the operation.
|
71
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
72
|
+
# is used.
|
73
|
+
# Corresponds to the JSON property `progressBytes`
|
74
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
75
|
+
attr_accessor :progress_bytes
|
76
|
+
|
77
|
+
# Describes the progress of the operation.
|
78
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
79
|
+
# is used.
|
80
|
+
# Corresponds to the JSON property `progressDocuments`
|
81
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
82
|
+
attr_accessor :progress_documents
|
83
|
+
|
84
|
+
# The time this operation started.
|
85
|
+
# Corresponds to the JSON property `startTime`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :start_time
|
88
|
+
|
89
|
+
def initialize(**args)
|
90
|
+
update!(**args)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Update properties of this object
|
94
|
+
def update!(**args)
|
95
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
96
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
97
|
+
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
98
|
+
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
99
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
100
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
101
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
# The request for FirestoreAdmin.ExportDocuments.
|
106
|
+
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
107
|
+
include Google::Apis::Core::Hashable
|
108
|
+
|
109
|
+
# Which collection ids to export. Unspecified means all collections.
|
110
|
+
# Corresponds to the JSON property `collectionIds`
|
111
|
+
# @return [Array<String>]
|
112
|
+
attr_accessor :collection_ids
|
113
|
+
|
114
|
+
# The output URI. Currently only supports Google Cloud Storage URIs of the
|
115
|
+
# form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
|
116
|
+
# of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
|
117
|
+
# Google Cloud Storage namespace path. When
|
118
|
+
# choosing a name, be sure to consider Google Cloud Storage naming
|
119
|
+
# guidelines: https://cloud.google.com/storage/docs/naming.
|
120
|
+
# If the URI is a bucket (without a namespace path), a prefix will be
|
121
|
+
# generated based on the start time.
|
122
|
+
# Corresponds to the JSON property `outputUriPrefix`
|
123
|
+
# @return [String]
|
124
|
+
attr_accessor :output_uri_prefix
|
125
|
+
|
126
|
+
def initialize(**args)
|
127
|
+
update!(**args)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Update properties of this object
|
131
|
+
def update!(**args)
|
132
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
133
|
+
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
137
|
+
# Returned in the google.longrunning.Operation response field.
|
138
|
+
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
139
|
+
include Google::Apis::Core::Hashable
|
140
|
+
|
141
|
+
# Location of the output files. This can be used to begin an import
|
142
|
+
# into Cloud Firestore (this project or another project) after the operation
|
143
|
+
# completes successfully.
|
144
|
+
# Corresponds to the JSON property `outputUriPrefix`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :output_uri_prefix
|
147
|
+
|
148
|
+
def initialize(**args)
|
149
|
+
update!(**args)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Update properties of this object
|
153
|
+
def update!(**args)
|
154
|
+
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# Represents a single field in the database.
|
159
|
+
# Fields are grouped by their "Collection Group", which represent all
|
160
|
+
# collections in the database with the same id.
|
161
|
+
class GoogleFirestoreAdminV1Field
|
162
|
+
include Google::Apis::Core::Hashable
|
163
|
+
|
164
|
+
# The index configuration for this field.
|
165
|
+
# Corresponds to the JSON property `indexConfig`
|
166
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig]
|
167
|
+
attr_accessor :index_config
|
168
|
+
|
169
|
+
# A field name of the form
|
170
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
171
|
+
# /fields/`field_path``
|
172
|
+
# A field path may be a simple field name, e.g. `address` or a path to fields
|
173
|
+
# within map_value , e.g. `address.city`,
|
174
|
+
# or a special field path. The only valid special field is `*`, which
|
175
|
+
# represents any field.
|
176
|
+
# Field paths may be quoted using ` (backtick). The only character that needs
|
177
|
+
# to be escaped within a quoted field path is the backtick character itself,
|
178
|
+
# escaped using a backslash. Special characters in field paths that
|
179
|
+
# must be quoted include: `*`, `.`,
|
180
|
+
# ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
|
181
|
+
# Examples:
|
182
|
+
# (Note: Comments here are written in markdown syntax, so there is an
|
183
|
+
# additional layer of backticks to represent a code block)
|
184
|
+
# `\`address.city\`` represents a field named `address.city`, not the map key
|
185
|
+
# `city` in the field `address`.
|
186
|
+
# `\`*\`` represents a field named `*`, not any field.
|
187
|
+
# A special `Field` contains the default indexing settings for all fields.
|
188
|
+
# This field's resource name is:
|
189
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/__default__/
|
190
|
+
# fields/*`
|
191
|
+
# Indexes defined on this `Field` will be applied to all fields which do not
|
192
|
+
# have their own `Field` index configuration.
|
193
|
+
# Corresponds to the JSON property `name`
|
194
|
+
# @return [String]
|
195
|
+
attr_accessor :name
|
196
|
+
|
197
|
+
def initialize(**args)
|
198
|
+
update!(**args)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Update properties of this object
|
202
|
+
def update!(**args)
|
203
|
+
@index_config = args[:index_config] if args.key?(:index_config)
|
204
|
+
@name = args[:name] if args.key?(:name)
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
208
|
+
# Metadata for google.longrunning.Operation results from
|
209
|
+
# FirestoreAdmin.UpdateField.
|
210
|
+
class GoogleFirestoreAdminV1FieldOperationMetadata
|
211
|
+
include Google::Apis::Core::Hashable
|
212
|
+
|
213
|
+
# The time this operation completed. Will be unset if operation still in
|
214
|
+
# progress.
|
215
|
+
# Corresponds to the JSON property `endTime`
|
216
|
+
# @return [String]
|
217
|
+
attr_accessor :end_time
|
218
|
+
|
219
|
+
# The field resource that this operation is acting on. For example:
|
220
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
221
|
+
# /fields/`field_path``
|
222
|
+
# Corresponds to the JSON property `field`
|
223
|
+
# @return [String]
|
224
|
+
attr_accessor :field
|
225
|
+
|
226
|
+
# A list of IndexConfigDelta, which describe the intent of this
|
227
|
+
# operation.
|
228
|
+
# Corresponds to the JSON property `indexConfigDeltas`
|
229
|
+
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta>]
|
230
|
+
attr_accessor :index_config_deltas
|
231
|
+
|
232
|
+
# Describes the progress of the operation.
|
233
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
234
|
+
# is used.
|
235
|
+
# Corresponds to the JSON property `progressBytes`
|
236
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
237
|
+
attr_accessor :progress_bytes
|
238
|
+
|
239
|
+
# Describes the progress of the operation.
|
240
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
241
|
+
# is used.
|
242
|
+
# Corresponds to the JSON property `progressDocuments`
|
243
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
244
|
+
attr_accessor :progress_documents
|
245
|
+
|
246
|
+
# The time this operation started.
|
247
|
+
# Corresponds to the JSON property `startTime`
|
248
|
+
# @return [String]
|
249
|
+
attr_accessor :start_time
|
250
|
+
|
251
|
+
# The state of the operation.
|
252
|
+
# Corresponds to the JSON property `state`
|
253
|
+
# @return [String]
|
254
|
+
attr_accessor :state
|
255
|
+
|
256
|
+
def initialize(**args)
|
257
|
+
update!(**args)
|
258
|
+
end
|
259
|
+
|
260
|
+
# Update properties of this object
|
261
|
+
def update!(**args)
|
262
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
263
|
+
@field = args[:field] if args.key?(:field)
|
264
|
+
@index_config_deltas = args[:index_config_deltas] if args.key?(:index_config_deltas)
|
265
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
266
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
267
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
268
|
+
@state = args[:state] if args.key?(:state)
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# Metadata for google.longrunning.Operation results from
|
273
|
+
# FirestoreAdmin.ImportDocuments.
|
274
|
+
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
275
|
+
include Google::Apis::Core::Hashable
|
276
|
+
|
277
|
+
# Which collection ids are being imported.
|
278
|
+
# Corresponds to the JSON property `collectionIds`
|
279
|
+
# @return [Array<String>]
|
280
|
+
attr_accessor :collection_ids
|
281
|
+
|
282
|
+
# The time this operation completed. Will be unset if operation still in
|
283
|
+
# progress.
|
284
|
+
# Corresponds to the JSON property `endTime`
|
285
|
+
# @return [String]
|
286
|
+
attr_accessor :end_time
|
287
|
+
|
288
|
+
# The location of the documents being imported.
|
289
|
+
# Corresponds to the JSON property `inputUriPrefix`
|
290
|
+
# @return [String]
|
291
|
+
attr_accessor :input_uri_prefix
|
292
|
+
|
293
|
+
# The state of the import operation.
|
294
|
+
# Corresponds to the JSON property `operationState`
|
295
|
+
# @return [String]
|
296
|
+
attr_accessor :operation_state
|
297
|
+
|
298
|
+
# Describes the progress of the operation.
|
299
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
300
|
+
# is used.
|
301
|
+
# Corresponds to the JSON property `progressBytes`
|
302
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
303
|
+
attr_accessor :progress_bytes
|
304
|
+
|
305
|
+
# Describes the progress of the operation.
|
306
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
307
|
+
# is used.
|
308
|
+
# Corresponds to the JSON property `progressDocuments`
|
309
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
310
|
+
attr_accessor :progress_documents
|
311
|
+
|
312
|
+
# The time this operation started.
|
313
|
+
# Corresponds to the JSON property `startTime`
|
314
|
+
# @return [String]
|
315
|
+
attr_accessor :start_time
|
316
|
+
|
317
|
+
def initialize(**args)
|
318
|
+
update!(**args)
|
319
|
+
end
|
320
|
+
|
321
|
+
# Update properties of this object
|
322
|
+
def update!(**args)
|
323
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
324
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
325
|
+
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
326
|
+
@operation_state = args[:operation_state] if args.key?(:operation_state)
|
327
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
328
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
329
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
# The request for FirestoreAdmin.ImportDocuments.
|
334
|
+
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
335
|
+
include Google::Apis::Core::Hashable
|
336
|
+
|
337
|
+
# Which collection ids to import. Unspecified means all collections included
|
338
|
+
# in the import.
|
339
|
+
# Corresponds to the JSON property `collectionIds`
|
340
|
+
# @return [Array<String>]
|
341
|
+
attr_accessor :collection_ids
|
342
|
+
|
343
|
+
# Location of the exported files.
|
344
|
+
# This must match the output_uri_prefix of an ExportDocumentsResponse from
|
345
|
+
# an export that has completed successfully.
|
346
|
+
# See:
|
347
|
+
# google.firestore.admin.v1.ExportDocumentsResponse.output_uri_prefix.
|
348
|
+
# Corresponds to the JSON property `inputUriPrefix`
|
349
|
+
# @return [String]
|
350
|
+
attr_accessor :input_uri_prefix
|
351
|
+
|
352
|
+
def initialize(**args)
|
353
|
+
update!(**args)
|
354
|
+
end
|
355
|
+
|
356
|
+
# Update properties of this object
|
357
|
+
def update!(**args)
|
358
|
+
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
|
359
|
+
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# Cloud Firestore indexes enable simple and complex queries against
|
364
|
+
# documents in a database.
|
365
|
+
class GoogleFirestoreAdminV1Index
|
366
|
+
include Google::Apis::Core::Hashable
|
367
|
+
|
368
|
+
# The fields supported by this index.
|
369
|
+
# For composite indexes, this is always 2 or more fields.
|
370
|
+
# The last field entry is always for the field path `__name__`. If, on
|
371
|
+
# creation, `__name__` was not specified as the last field, it will be added
|
372
|
+
# automatically with the same direction as that of the last field defined. If
|
373
|
+
# the final field in a composite index is not directional, the `__name__`
|
374
|
+
# will be ordered ASCENDING (unless explicitly specified).
|
375
|
+
# For single field indexes, this will always be exactly one entry with a
|
376
|
+
# field path equal to the field path of the associated field.
|
377
|
+
# Corresponds to the JSON property `fields`
|
378
|
+
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
|
379
|
+
attr_accessor :fields
|
380
|
+
|
381
|
+
# Output only.
|
382
|
+
# A server defined name for this index.
|
383
|
+
# The form of this name for composite indexes will be:
|
384
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
385
|
+
# /indexes/`composite_index_id``
|
386
|
+
# For single field indexes, this field will be empty.
|
387
|
+
# Corresponds to the JSON property `name`
|
388
|
+
# @return [String]
|
389
|
+
attr_accessor :name
|
390
|
+
|
391
|
+
# Indexes with a collection query scope specified allow queries
|
392
|
+
# against a collection that is the child of a specific document, specified at
|
393
|
+
# query time, and that has the same collection id.
|
394
|
+
# Indexes with a collection group query scope specified allow queries against
|
395
|
+
# all collections descended from a specific document, specified at query
|
396
|
+
# time, and that have the same collection id as this index.
|
397
|
+
# Corresponds to the JSON property `queryScope`
|
398
|
+
# @return [String]
|
399
|
+
attr_accessor :query_scope
|
400
|
+
|
401
|
+
# Output only.
|
402
|
+
# The serving state of the index.
|
403
|
+
# Corresponds to the JSON property `state`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :state
|
406
|
+
|
407
|
+
def initialize(**args)
|
408
|
+
update!(**args)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Update properties of this object
|
412
|
+
def update!(**args)
|
413
|
+
@fields = args[:fields] if args.key?(:fields)
|
414
|
+
@name = args[:name] if args.key?(:name)
|
415
|
+
@query_scope = args[:query_scope] if args.key?(:query_scope)
|
416
|
+
@state = args[:state] if args.key?(:state)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# The index configuration for this field.
|
421
|
+
class GoogleFirestoreAdminV1IndexConfig
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
# Output only.
|
425
|
+
# Specifies the resource name of the `Field` from which this field's
|
426
|
+
# index configuration is set (when `uses_ancestor_config` is true),
|
427
|
+
# or from which it *would* be set if this field had no index configuration
|
428
|
+
# (when `uses_ancestor_config` is false).
|
429
|
+
# Corresponds to the JSON property `ancestorField`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :ancestor_field
|
432
|
+
|
433
|
+
# The indexes supported for this field.
|
434
|
+
# Corresponds to the JSON property `indexes`
|
435
|
+
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>]
|
436
|
+
attr_accessor :indexes
|
437
|
+
|
438
|
+
# Output only
|
439
|
+
# When true, the `Field`'s index configuration is in the process of being
|
440
|
+
# reverted. Once complete, the index config will transition to the same
|
441
|
+
# state as the field specified by `ancestor_field`, at which point
|
442
|
+
# `uses_ancestor_config` will be `true` and `reverting` will be `false`.
|
443
|
+
# Corresponds to the JSON property `reverting`
|
444
|
+
# @return [Boolean]
|
445
|
+
attr_accessor :reverting
|
446
|
+
alias_method :reverting?, :reverting
|
447
|
+
|
448
|
+
# Output only.
|
449
|
+
# When true, the `Field`'s index configuration is set from the
|
450
|
+
# configuration specified by the `ancestor_field`.
|
451
|
+
# When false, the `Field`'s index configuration is defined explicitly.
|
452
|
+
# Corresponds to the JSON property `usesAncestorConfig`
|
453
|
+
# @return [Boolean]
|
454
|
+
attr_accessor :uses_ancestor_config
|
455
|
+
alias_method :uses_ancestor_config?, :uses_ancestor_config
|
456
|
+
|
457
|
+
def initialize(**args)
|
458
|
+
update!(**args)
|
459
|
+
end
|
460
|
+
|
461
|
+
# Update properties of this object
|
462
|
+
def update!(**args)
|
463
|
+
@ancestor_field = args[:ancestor_field] if args.key?(:ancestor_field)
|
464
|
+
@indexes = args[:indexes] if args.key?(:indexes)
|
465
|
+
@reverting = args[:reverting] if args.key?(:reverting)
|
466
|
+
@uses_ancestor_config = args[:uses_ancestor_config] if args.key?(:uses_ancestor_config)
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
# Information about an index configuration change.
|
471
|
+
class GoogleFirestoreAdminV1IndexConfigDelta
|
472
|
+
include Google::Apis::Core::Hashable
|
473
|
+
|
474
|
+
# Specifies how the index is changing.
|
475
|
+
# Corresponds to the JSON property `changeType`
|
476
|
+
# @return [String]
|
477
|
+
attr_accessor :change_type
|
478
|
+
|
479
|
+
# Cloud Firestore indexes enable simple and complex queries against
|
480
|
+
# documents in a database.
|
481
|
+
# Corresponds to the JSON property `index`
|
482
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index]
|
483
|
+
attr_accessor :index
|
484
|
+
|
485
|
+
def initialize(**args)
|
486
|
+
update!(**args)
|
487
|
+
end
|
488
|
+
|
489
|
+
# Update properties of this object
|
490
|
+
def update!(**args)
|
491
|
+
@change_type = args[:change_type] if args.key?(:change_type)
|
492
|
+
@index = args[:index] if args.key?(:index)
|
493
|
+
end
|
494
|
+
end
|
495
|
+
|
496
|
+
# A field in an index.
|
497
|
+
# The field_path describes which field is indexed, the value_mode describes
|
498
|
+
# how the field value is indexed.
|
499
|
+
class GoogleFirestoreAdminV1IndexField
|
500
|
+
include Google::Apis::Core::Hashable
|
501
|
+
|
502
|
+
# Indicates that this field supports operations on `array_value`s.
|
503
|
+
# Corresponds to the JSON property `arrayConfig`
|
504
|
+
# @return [String]
|
505
|
+
attr_accessor :array_config
|
506
|
+
|
507
|
+
# Can be __name__.
|
508
|
+
# For single field indexes, this must match the name of the field or may
|
509
|
+
# be omitted.
|
510
|
+
# Corresponds to the JSON property `fieldPath`
|
511
|
+
# @return [String]
|
512
|
+
attr_accessor :field_path
|
513
|
+
|
514
|
+
# Indicates that this field supports ordering by the specified order or
|
515
|
+
# comparing using =, <, <=, >, >=.
|
516
|
+
# Corresponds to the JSON property `order`
|
517
|
+
# @return [String]
|
518
|
+
attr_accessor :order
|
519
|
+
|
520
|
+
def initialize(**args)
|
521
|
+
update!(**args)
|
522
|
+
end
|
523
|
+
|
524
|
+
# Update properties of this object
|
525
|
+
def update!(**args)
|
526
|
+
@array_config = args[:array_config] if args.key?(:array_config)
|
527
|
+
@field_path = args[:field_path] if args.key?(:field_path)
|
528
|
+
@order = args[:order] if args.key?(:order)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
# Metadata for google.longrunning.Operation results from
|
533
|
+
# FirestoreAdmin.CreateIndex.
|
534
|
+
class GoogleFirestoreAdminV1IndexOperationMetadata
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# The time this operation completed. Will be unset if operation still in
|
538
|
+
# progress.
|
539
|
+
# Corresponds to the JSON property `endTime`
|
540
|
+
# @return [String]
|
541
|
+
attr_accessor :end_time
|
542
|
+
|
543
|
+
# The index resource that this operation is acting on. For example:
|
544
|
+
# `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
|
545
|
+
# /indexes/`index_id``
|
546
|
+
# Corresponds to the JSON property `index`
|
547
|
+
# @return [String]
|
548
|
+
attr_accessor :index
|
549
|
+
|
550
|
+
# Describes the progress of the operation.
|
551
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
552
|
+
# is used.
|
553
|
+
# Corresponds to the JSON property `progressBytes`
|
554
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
555
|
+
attr_accessor :progress_bytes
|
556
|
+
|
557
|
+
# Describes the progress of the operation.
|
558
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
559
|
+
# is used.
|
560
|
+
# Corresponds to the JSON property `progressDocuments`
|
561
|
+
# @return [Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress]
|
562
|
+
attr_accessor :progress_documents
|
563
|
+
|
564
|
+
# The time this operation started.
|
565
|
+
# Corresponds to the JSON property `startTime`
|
566
|
+
# @return [String]
|
567
|
+
attr_accessor :start_time
|
568
|
+
|
569
|
+
# The state of the operation.
|
570
|
+
# Corresponds to the JSON property `state`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :state
|
573
|
+
|
574
|
+
def initialize(**args)
|
575
|
+
update!(**args)
|
576
|
+
end
|
577
|
+
|
578
|
+
# Update properties of this object
|
579
|
+
def update!(**args)
|
580
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
581
|
+
@index = args[:index] if args.key?(:index)
|
582
|
+
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
|
583
|
+
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
|
584
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
585
|
+
@state = args[:state] if args.key?(:state)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# The response for FirestoreAdmin.ListFields.
|
590
|
+
class GoogleFirestoreAdminV1ListFieldsResponse
|
591
|
+
include Google::Apis::Core::Hashable
|
592
|
+
|
593
|
+
# The requested fields.
|
594
|
+
# Corresponds to the JSON property `fields`
|
595
|
+
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field>]
|
596
|
+
attr_accessor :fields
|
597
|
+
|
598
|
+
# A page token that may be used to request another page of results. If blank,
|
599
|
+
# this is the last page.
|
600
|
+
# Corresponds to the JSON property `nextPageToken`
|
601
|
+
# @return [String]
|
602
|
+
attr_accessor :next_page_token
|
603
|
+
|
604
|
+
def initialize(**args)
|
605
|
+
update!(**args)
|
606
|
+
end
|
607
|
+
|
608
|
+
# Update properties of this object
|
609
|
+
def update!(**args)
|
610
|
+
@fields = args[:fields] if args.key?(:fields)
|
611
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# The response for FirestoreAdmin.ListIndexes.
|
616
|
+
class GoogleFirestoreAdminV1ListIndexesResponse
|
617
|
+
include Google::Apis::Core::Hashable
|
618
|
+
|
619
|
+
# The requested indexes.
|
620
|
+
# Corresponds to the JSON property `indexes`
|
621
|
+
# @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index>]
|
622
|
+
attr_accessor :indexes
|
623
|
+
|
624
|
+
# A page token that may be used to request another page of results. If blank,
|
625
|
+
# this is the last page.
|
626
|
+
# Corresponds to the JSON property `nextPageToken`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :next_page_token
|
629
|
+
|
630
|
+
def initialize(**args)
|
631
|
+
update!(**args)
|
632
|
+
end
|
633
|
+
|
634
|
+
# Update properties of this object
|
635
|
+
def update!(**args)
|
636
|
+
@indexes = args[:indexes] if args.key?(:indexes)
|
637
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# The metadata message for google.cloud.location.Location.metadata.
|
642
|
+
class GoogleFirestoreAdminV1LocationMetadata
|
643
|
+
include Google::Apis::Core::Hashable
|
644
|
+
|
645
|
+
def initialize(**args)
|
646
|
+
update!(**args)
|
647
|
+
end
|
648
|
+
|
649
|
+
# Update properties of this object
|
650
|
+
def update!(**args)
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
# Describes the progress of the operation.
|
655
|
+
# Unit of work is generic and must be interpreted based on where Progress
|
656
|
+
# is used.
|
657
|
+
class GoogleFirestoreAdminV1Progress
|
658
|
+
include Google::Apis::Core::Hashable
|
659
|
+
|
660
|
+
# The amount of work completed.
|
661
|
+
# Corresponds to the JSON property `completedWork`
|
662
|
+
# @return [Fixnum]
|
663
|
+
attr_accessor :completed_work
|
664
|
+
|
665
|
+
# The amount of work estimated.
|
666
|
+
# Corresponds to the JSON property `estimatedWork`
|
667
|
+
# @return [Fixnum]
|
668
|
+
attr_accessor :estimated_work
|
669
|
+
|
670
|
+
def initialize(**args)
|
671
|
+
update!(**args)
|
672
|
+
end
|
673
|
+
|
674
|
+
# Update properties of this object
|
675
|
+
def update!(**args)
|
676
|
+
@completed_work = args[:completed_work] if args.key?(:completed_work)
|
677
|
+
@estimated_work = args[:estimated_work] if args.key?(:estimated_work)
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
44
681
|
# The request message for Operations.CancelOperation.
|
45
682
|
class GoogleLongrunningCancelOperationRequest
|
46
683
|
include Google::Apis::Core::Hashable
|