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://cloud.google.com/firestore
|
27
27
|
module FirestoreV1beta2
|
28
28
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181002'
|
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,120 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# Metadata for google.longrunning.Operation results from
|
45
|
+
# FirestoreAdmin.ExportDocuments.
|
46
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
|
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::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
|
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::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
|
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 GoogleFirestoreAdminV1beta2ExportDocumentsRequest
|
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 GoogleFirestoreAdminV1beta2ExportDocumentsResponse
|
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
|
+
|
44
158
|
# Represents a single field in the database.
|
45
159
|
# Fields are grouped by their "Collection Group", which represent all
|
46
160
|
# collections in the database with the same id.
|
@@ -155,6 +269,97 @@ module Google
|
|
155
269
|
end
|
156
270
|
end
|
157
271
|
|
272
|
+
# Metadata for google.longrunning.Operation results from
|
273
|
+
# FirestoreAdmin.ImportDocuments.
|
274
|
+
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
|
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::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
|
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::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
|
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 GoogleFirestoreAdminV1beta2ImportDocumentsRequest
|
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.v1beta2.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
|
+
|
158
363
|
# Cloud Firestore indexes enable simple and complex queries against
|
159
364
|
# documents in a database.
|
160
365
|
class GoogleFirestoreAdminV1beta2Index
|
@@ -28,6 +28,24 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
31
49
|
class GoogleFirestoreAdminV1beta2Field
|
32
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
51
|
|
@@ -40,6 +58,18 @@ module Google
|
|
40
58
|
include Google::Apis::Core::JsonObjectSupport
|
41
59
|
end
|
42
60
|
|
61
|
+
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GoogleFirestoreAdminV1beta2ImportDocumentsRequest
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
43
73
|
class GoogleFirestoreAdminV1beta2Index
|
44
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
75
|
|
@@ -106,6 +136,36 @@ module Google
|
|
106
136
|
end
|
107
137
|
end
|
108
138
|
|
139
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
|
140
|
+
# @private
|
141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
142
|
+
collection :collection_ids, as: 'collectionIds'
|
143
|
+
property :end_time, as: 'endTime'
|
144
|
+
property :operation_state, as: 'operationState'
|
145
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
146
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
|
147
|
+
|
148
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
|
149
|
+
|
150
|
+
property :start_time, as: 'startTime'
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsRequest
|
155
|
+
# @private
|
156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
157
|
+
collection :collection_ids, as: 'collectionIds'
|
158
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
class GoogleFirestoreAdminV1beta2ExportDocumentsResponse
|
163
|
+
# @private
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
165
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
109
169
|
class GoogleFirestoreAdminV1beta2Field
|
110
170
|
# @private
|
111
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -131,6 +191,29 @@ module Google
|
|
131
191
|
end
|
132
192
|
end
|
133
193
|
|
194
|
+
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
|
195
|
+
# @private
|
196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
+
collection :collection_ids, as: 'collectionIds'
|
198
|
+
property :end_time, as: 'endTime'
|
199
|
+
property :input_uri_prefix, as: 'inputUriPrefix'
|
200
|
+
property :operation_state, as: 'operationState'
|
201
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
|
202
|
+
|
203
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
|
204
|
+
|
205
|
+
property :start_time, as: 'startTime'
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
class GoogleFirestoreAdminV1beta2ImportDocumentsRequest
|
210
|
+
# @private
|
211
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
212
|
+
collection :collection_ids, as: 'collectionIds'
|
213
|
+
property :input_uri_prefix, as: 'inputUriPrefix'
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
134
217
|
class GoogleFirestoreAdminV1beta2Index
|
135
218
|
# @private
|
136
219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -48,6 +48,85 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
+
# Exports a copy of all or a subset of documents from Google Cloud Firestore
|
52
|
+
# to another storage system, such as Google Cloud Storage. Recent updates to
|
53
|
+
# documents may not be reflected in the export. The export occurs in the
|
54
|
+
# background and its progress can be monitored and managed via the
|
55
|
+
# Operation resource that is created. The output of an export may only be
|
56
|
+
# used once the associated operation is done. If an export operation is
|
57
|
+
# cancelled before completion it may leave partial data behind in Google
|
58
|
+
# Cloud Storage.
|
59
|
+
# @param [String] name
|
60
|
+
# Database to export. Should be of the form:
|
61
|
+
# `projects/`project_id`/databases/`database_id``.
|
62
|
+
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ExportDocumentsRequest] google_firestore_admin_v1beta2_export_documents_request_object
|
63
|
+
# @param [String] fields
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
65
|
+
# @param [String] quota_user
|
66
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
67
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
68
|
+
# @param [Google::Apis::RequestOptions] options
|
69
|
+
# Request-specific options
|
70
|
+
#
|
71
|
+
# @yield [result, err] Result & error if block supplied
|
72
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
|
73
|
+
# @yieldparam err [StandardError] error object if request failed
|
74
|
+
#
|
75
|
+
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
|
76
|
+
#
|
77
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
78
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
|
+
def export_project_database_documents(name, google_firestore_admin_v1beta2_export_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
+
command = make_simple_command(:post, 'v1beta2/{+name}:exportDocuments', options)
|
82
|
+
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ExportDocumentsRequest::Representation
|
83
|
+
command.request_object = google_firestore_admin_v1beta2_export_documents_request_object
|
84
|
+
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
|
85
|
+
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
|
86
|
+
command.params['name'] = name unless name.nil?
|
87
|
+
command.query['fields'] = fields unless fields.nil?
|
88
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
89
|
+
execute_or_queue_command(command, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Imports documents into Google Cloud Firestore. Existing documents with the
|
93
|
+
# same name are overwritten. The import occurs in the background and its
|
94
|
+
# progress can be monitored and managed via the Operation resource that is
|
95
|
+
# created. If an ImportDocuments operation is cancelled, it is possible
|
96
|
+
# that a subset of the data has already been imported to Cloud Firestore.
|
97
|
+
# @param [String] name
|
98
|
+
# Database to import into. Should be of the form:
|
99
|
+
# `projects/`project_id`/databases/`database_id``.
|
100
|
+
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ImportDocumentsRequest] google_firestore_admin_v1beta2_import_documents_request_object
|
101
|
+
# @param [String] fields
|
102
|
+
# Selector specifying which fields to include in a partial response.
|
103
|
+
# @param [String] quota_user
|
104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
106
|
+
# @param [Google::Apis::RequestOptions] options
|
107
|
+
# Request-specific options
|
108
|
+
#
|
109
|
+
# @yield [result, err] Result & error if block supplied
|
110
|
+
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
|
111
|
+
# @yieldparam err [StandardError] error object if request failed
|
112
|
+
#
|
113
|
+
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
|
114
|
+
#
|
115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
118
|
+
def import_project_database_documents(name, google_firestore_admin_v1beta2_import_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
119
|
+
command = make_simple_command(:post, 'v1beta2/{+name}:importDocuments', options)
|
120
|
+
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ImportDocumentsRequest::Representation
|
121
|
+
command.request_object = google_firestore_admin_v1beta2_import_documents_request_object
|
122
|
+
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
|
123
|
+
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
|
124
|
+
command.params['name'] = name unless name.nil?
|
125
|
+
command.query['fields'] = fields unless fields.nil?
|
126
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
127
|
+
execute_or_queue_command(command, &block)
|
128
|
+
end
|
129
|
+
|
51
130
|
# Gets the metadata and configuration for a Field.
|
52
131
|
# @param [String] name
|
53
132
|
# A name of the form
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Genomics API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Uploads, processes, queries, and searches Genomics data in the cloud.
|
24
24
|
#
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181017'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Genomics API
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Uploads, processes, queries, and searches Genomics data in the cloud.
|
24
24
|
#
|
25
25
|
# @see https://cloud.google.com/genomics
|
26
26
|
module GenomicsV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181017'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|