Autogenerated update (2018-10-11)

Update:
- adexchangebuyer2_v2beta1
- alertcenter_v1beta1
- androidpublisher_v1
- androidpublisher_v1_1
- androidpublisher_v2
- androidpublisher_v3
- firestore_v1beta2
- serviceconsumermanagement_v1
- servicecontrol_v1
- servicemanagement_v1
- serviceuser_v1
- youtube_partner_v1
This commit is contained in:
Google APIs 2018-10-11 00:36:32 +00:00
parent 50c4897e18
commit 325d59fd14
25 changed files with 435 additions and 34 deletions

View File

@ -63718,6 +63718,21 @@
"/firestore:v1beta1/key": key "/firestore:v1beta1/key": key
"/firestore:v1beta1/quotaUser": quota_user "/firestore:v1beta1/quotaUser": quota_user
"/firestore:v1beta2/Empty": empty "/firestore:v1beta2/Empty": empty
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata": google_firestore_admin_v1beta2_export_documents_metadata
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/collectionIds": collection_ids
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/collectionIds/collection_id": collection_id
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/endTime": end_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/operationState": operation_state
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/outputUriPrefix": output_uri_prefix
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/progressBytes": progress_bytes
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/progressDocuments": progress_documents
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsMetadata/startTime": start_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsRequest": google_firestore_admin_v1beta2_export_documents_request
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsRequest/collectionIds": collection_ids
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsRequest/collectionIds/collection_id": collection_id
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsRequest/outputUriPrefix": output_uri_prefix
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsResponse": google_firestore_admin_v1beta2_export_documents_response
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ExportDocumentsResponse/outputUriPrefix": output_uri_prefix
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field": google_firestore_admin_v1beta2_field "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field": google_firestore_admin_v1beta2_field
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/indexConfig": index_config "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/indexConfig": index_config
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/name": name "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Field/name": name
@ -63730,6 +63745,19 @@
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/indexConfigDeltas/index_config_delta": index_config_delta "/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/indexConfigDeltas/index_config_delta": index_config_delta
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/startTime": start_time "/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/startTime": start_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/state": state "/firestore:v1beta2/GoogleFirestoreAdminV1beta2FieldOperationMetadata/state": state
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata": google_firestore_admin_v1beta2_import_documents_metadata
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/collectionIds": collection_ids
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/collectionIds/collection_id": collection_id
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/endTime": end_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/inputUriPrefix": input_uri_prefix
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/operationState": operation_state
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/progressBytes": progress_bytes
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/progressDocuments": progress_documents
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsMetadata/startTime": start_time
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsRequest": google_firestore_admin_v1beta2_import_documents_request
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsRequest/collectionIds": collection_ids
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsRequest/collectionIds/collection_id": collection_id
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2ImportDocumentsRequest/inputUriPrefix": input_uri_prefix
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index": google_firestore_admin_v1beta2_index "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index": google_firestore_admin_v1beta2_index
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index/fields": fields "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index/fields": fields
"/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index/fields/field": field "/firestore:v1beta2/GoogleFirestoreAdminV1beta2Index/fields/field": field
@ -63810,6 +63838,10 @@
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/pageSize": page_size "/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/pageSize": page_size
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/pageToken": page_token "/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/pageToken": page_token
"/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/parent": parent "/firestore:v1beta2/firestore.projects.databases.collectionGroups.indexes.list/parent": parent
"/firestore:v1beta2/firestore.projects.databases.exportDocuments": export_project_database_documents
"/firestore:v1beta2/firestore.projects.databases.exportDocuments/name": name
"/firestore:v1beta2/firestore.projects.databases.importDocuments": import_project_database_documents
"/firestore:v1beta2/firestore.projects.databases.importDocuments/name": name
"/firestore:v1beta2/key": key "/firestore:v1beta2/key": key
"/firestore:v1beta2/quotaUser": quota_user "/firestore:v1beta2/quotaUser": quota_user
"/fitness:v1/AggregateBucket": aggregate_bucket "/fitness:v1/AggregateBucket": aggregate_bucket

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/ # @see https://developers.google.com/authorized-buyers/apis/reference/rest/
module Adexchangebuyer2V2beta1 module Adexchangebuyer2V2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20180925' REVISION = '20181009'
# Manage your Ad Exchange buyer account configuration # Manage your Ad Exchange buyer account configuration
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'

View File

@ -1453,9 +1453,9 @@ module Google
# Name of the owner (bidder or account) of the creative to be deleted. # Name of the owner (bidder or account) of the creative to be deleted.
# For example: # For example:
# - For an account-level creative for the buyer account representing bidder # - For an account-level creative for the buyer account representing bidder
# 123: `bidders/123/accounts/123/` # 123: `bidders/123/accounts/123`
# - For an account-level creative for the child seat buyer account 456 # - For an account-level creative for the child seat buyer account 456
# whose bidder is 123: `bidders/123/accounts/456/` # whose bidder is 123: `bidders/123/accounts/456`
# @param [String] creative_id # @param [String] creative_id
# The ID of the creative to delete. # The ID of the creative to delete.
# @param [String] fields # @param [String] fields

View File

@ -20,12 +20,13 @@ module Google
module Apis module Apis
# G Suite Alert Center API # G Suite Alert Center API
# #
# G Suite API for alerts managment. # G Suite Alert Center API to view and manage alerts on issues affecting your
# domain.
# #
# @see https://gsuite.google.com/products/alerts/ # @see https://developers.google.com/admin-sdk/alertcenter/
module AlertcenterV1beta1 module AlertcenterV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20181005' REVISION = '20181010'
end end
end end
end end

View File

@ -22,7 +22,8 @@ module Google
module AlertcenterV1beta1 module AlertcenterV1beta1
# G Suite Alert Center API # G Suite Alert Center API
# #
# G Suite API for alerts managment. # G Suite Alert Center API to view and manage alerts on issues affecting your
# domain.
# #
# @example # @example
# require 'google/apis/alertcenter_v1beta1' # require 'google/apis/alertcenter_v1beta1'
@ -30,7 +31,7 @@ module Google
# Alertcenter = Google::Apis::AlertcenterV1beta1 # Alias the module # Alertcenter = Google::Apis::AlertcenterV1beta1 # Alias the module
# service = Alertcenter::AlertCenterService.new # service = Alertcenter::AlertCenterService.new
# #
# @see https://gsuite.google.com/products/alerts/ # @see https://developers.google.com/admin-sdk/alertcenter/
class AlertCenterService < Google::Apis::Core::BaseService class AlertCenterService < Google::Apis::Core::BaseService
# @return [String] # @return [String]
# API key. Your API key identifies your project and provides you with API access, # API key. Your API key identifies your project and provides you with API access,

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV1 module AndroidpublisherV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180807' REVISION = '20181009'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -22,7 +22,7 @@ module Google
module AndroidpublisherV1 module AndroidpublisherV1
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @example # @example
# require 'google/apis/androidpublisher_v1' # require 'google/apis/androidpublisher_v1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV1_1 module AndroidpublisherV1_1
VERSION = 'V1_1' VERSION = 'V1_1'
REVISION = '20180807' REVISION = '20181009'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -22,7 +22,7 @@ module Google
module AndroidpublisherV1_1 module AndroidpublisherV1_1
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @example # @example
# require 'google/apis/androidpublisher_v1_1' # require 'google/apis/androidpublisher_v1_1'

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV2 module AndroidpublisherV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20181002' REVISION = '20181009'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -22,7 +22,7 @@ module Google
module AndroidpublisherV2 module AndroidpublisherV2
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @example # @example
# require 'google/apis/androidpublisher_v2' # require 'google/apis/androidpublisher_v2'
@ -680,7 +680,8 @@ module Google
# Unique identifier for this edit. # Unique identifier for this edit.
# @param [Boolean] ack_bundle_installation_warning # @param [Boolean] ack_bundle_installation_warning
# Must be set to true if the bundle installation may trigger a warning on user # Must be set to true if the bundle installation may trigger a warning on user
# devices (i.e. if installation size may be over a threshold, typically 100 MB). # devices (for example, if installation size may be over a threshold, typically
# 100 MB).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -20,12 +20,12 @@ module Google
module Apis module Apis
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @see https://developers.google.com/android-publisher # @see https://developers.google.com/android-publisher
module AndroidpublisherV3 module AndroidpublisherV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20181002' REVISION = '20181009'
# View and manage your Google Play Developer account # View and manage your Google Play Developer account
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher' AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'

View File

@ -22,7 +22,7 @@ module Google
module AndroidpublisherV3 module AndroidpublisherV3
# Google Play Developer API # Google Play Developer API
# #
# Lets Android application developers access their Google Play accounts. # Accesses Android application developers' Google Play accounts.
# #
# @example # @example
# require 'google/apis/androidpublisher_v3' # require 'google/apis/androidpublisher_v3'
@ -414,7 +414,8 @@ module Google
# Unique identifier for this edit. # Unique identifier for this edit.
# @param [Boolean] ack_bundle_installation_warning # @param [Boolean] ack_bundle_installation_warning
# Must be set to true if the bundle installation may trigger a warning on user # Must be set to true if the bundle installation may trigger a warning on user
# devices (i.e. if installation size may be over a threshold, typically 100 MB). # devices (for example, if installation size may be over a threshold, typically
# 100 MB).
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/firestore # @see https://cloud.google.com/firestore
module FirestoreV1beta2 module FirestoreV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20180919' REVISION = '20181002'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -41,6 +41,120 @@ module Google
end end
end end
# Metadata for google.longrunning.Operation results from
# FirestoreAdmin.ExportDocuments.
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
include Google::Apis::Core::Hashable
# Which collection ids are being exported.
# Corresponds to the JSON property `collectionIds`
# @return [Array<String>]
attr_accessor :collection_ids
# The time this operation completed. Will be unset if operation still in
# progress.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The state of the export operation.
# Corresponds to the JSON property `operationState`
# @return [String]
attr_accessor :operation_state
# Where the entities are being exported to.
# Corresponds to the JSON property `outputUriPrefix`
# @return [String]
attr_accessor :output_uri_prefix
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_bytes
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressDocuments`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_documents
# The time this operation started.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
@end_time = args[:end_time] if args.key?(:end_time)
@operation_state = args[:operation_state] if args.key?(:operation_state)
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# The request for FirestoreAdmin.ExportDocuments.
class GoogleFirestoreAdminV1beta2ExportDocumentsRequest
include Google::Apis::Core::Hashable
# Which collection ids to export. Unspecified means all collections.
# Corresponds to the JSON property `collectionIds`
# @return [Array<String>]
attr_accessor :collection_ids
# The output URI. Currently only supports Google Cloud Storage URIs of the
# form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name
# of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional
# Google Cloud Storage namespace path. When
# choosing a name, be sure to consider Google Cloud Storage naming
# guidelines: https://cloud.google.com/storage/docs/naming.
# If the URI is a bucket (without a namespace path), a prefix will be
# generated based on the start time.
# Corresponds to the JSON property `outputUriPrefix`
# @return [String]
attr_accessor :output_uri_prefix
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
end
end
# Returned in the google.longrunning.Operation response field.
class GoogleFirestoreAdminV1beta2ExportDocumentsResponse
include Google::Apis::Core::Hashable
# Location of the output files. This can be used to begin an import
# into Cloud Firestore (this project or another project) after the operation
# completes successfully.
# Corresponds to the JSON property `outputUriPrefix`
# @return [String]
attr_accessor :output_uri_prefix
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@output_uri_prefix = args[:output_uri_prefix] if args.key?(:output_uri_prefix)
end
end
# Represents a single field in the database. # Represents a single field in the database.
# Fields are grouped by their "Collection Group", which represent all # Fields are grouped by their "Collection Group", which represent all
# collections in the database with the same id. # collections in the database with the same id.
@ -155,6 +269,97 @@ module Google
end end
end end
# Metadata for google.longrunning.Operation results from
# FirestoreAdmin.ImportDocuments.
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
include Google::Apis::Core::Hashable
# Which collection ids are being imported.
# Corresponds to the JSON property `collectionIds`
# @return [Array<String>]
attr_accessor :collection_ids
# The time this operation completed. Will be unset if operation still in
# progress.
# Corresponds to the JSON property `endTime`
# @return [String]
attr_accessor :end_time
# The location of the documents being imported.
# Corresponds to the JSON property `inputUriPrefix`
# @return [String]
attr_accessor :input_uri_prefix
# The state of the import operation.
# Corresponds to the JSON property `operationState`
# @return [String]
attr_accessor :operation_state
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressBytes`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_bytes
# Describes the progress of the operation.
# Unit of work is generic and must be interpreted based on where Progress
# is used.
# Corresponds to the JSON property `progressDocuments`
# @return [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress]
attr_accessor :progress_documents
# The time this operation started.
# Corresponds to the JSON property `startTime`
# @return [String]
attr_accessor :start_time
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
@end_time = args[:end_time] if args.key?(:end_time)
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
@operation_state = args[:operation_state] if args.key?(:operation_state)
@progress_bytes = args[:progress_bytes] if args.key?(:progress_bytes)
@progress_documents = args[:progress_documents] if args.key?(:progress_documents)
@start_time = args[:start_time] if args.key?(:start_time)
end
end
# The request for FirestoreAdmin.ImportDocuments.
class GoogleFirestoreAdminV1beta2ImportDocumentsRequest
include Google::Apis::Core::Hashable
# Which collection ids to import. Unspecified means all collections included
# in the import.
# Corresponds to the JSON property `collectionIds`
# @return [Array<String>]
attr_accessor :collection_ids
# Location of the exported files.
# This must match the output_uri_prefix of an ExportDocumentsResponse from
# an export that has completed successfully.
# See:
# google.firestore.admin.v1beta2.ExportDocumentsResponse.output_uri_prefix.
# Corresponds to the JSON property `inputUriPrefix`
# @return [String]
attr_accessor :input_uri_prefix
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@collection_ids = args[:collection_ids] if args.key?(:collection_ids)
@input_uri_prefix = args[:input_uri_prefix] if args.key?(:input_uri_prefix)
end
end
# Cloud Firestore indexes enable simple and complex queries against # Cloud Firestore indexes enable simple and complex queries against
# documents in a database. # documents in a database.
class GoogleFirestoreAdminV1beta2Index class GoogleFirestoreAdminV1beta2Index

View File

@ -28,6 +28,24 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2ExportDocumentsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2ExportDocumentsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2Field class GoogleFirestoreAdminV1beta2Field
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -40,6 +58,18 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2ImportDocumentsRequest
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleFirestoreAdminV1beta2Index class GoogleFirestoreAdminV1beta2Index
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -106,6 +136,36 @@ module Google
end end
end end
class GoogleFirestoreAdminV1beta2ExportDocumentsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :collection_ids, as: 'collectionIds'
property :end_time, as: 'endTime'
property :operation_state, as: 'operationState'
property :output_uri_prefix, as: 'outputUriPrefix'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :start_time, as: 'startTime'
end
end
class GoogleFirestoreAdminV1beta2ExportDocumentsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :collection_ids, as: 'collectionIds'
property :output_uri_prefix, as: 'outputUriPrefix'
end
end
class GoogleFirestoreAdminV1beta2ExportDocumentsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :output_uri_prefix, as: 'outputUriPrefix'
end
end
class GoogleFirestoreAdminV1beta2Field class GoogleFirestoreAdminV1beta2Field
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -131,6 +191,29 @@ module Google
end end
end end
class GoogleFirestoreAdminV1beta2ImportDocumentsMetadata
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :collection_ids, as: 'collectionIds'
property :end_time, as: 'endTime'
property :input_uri_prefix, as: 'inputUriPrefix'
property :operation_state, as: 'operationState'
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress, decorator: Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2Progress::Representation
property :start_time, as: 'startTime'
end
end
class GoogleFirestoreAdminV1beta2ImportDocumentsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :collection_ids, as: 'collectionIds'
property :input_uri_prefix, as: 'inputUriPrefix'
end
end
class GoogleFirestoreAdminV1beta2Index class GoogleFirestoreAdminV1beta2Index
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -48,6 +48,85 @@ module Google
@batch_path = 'batch' @batch_path = 'batch'
end end
# Exports a copy of all or a subset of documents from Google Cloud Firestore
# to another storage system, such as Google Cloud Storage. Recent updates to
# documents may not be reflected in the export. The export occurs in the
# background and its progress can be monitored and managed via the
# Operation resource that is created. The output of an export may only be
# used once the associated operation is done. If an export operation is
# cancelled before completion it may leave partial data behind in Google
# Cloud Storage.
# @param [String] name
# Database to export. Should be of the form:
# `projects/`project_id`/databases/`database_id``.
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ExportDocumentsRequest] google_firestore_admin_v1beta2_export_documents_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def export_project_database_documents(name, google_firestore_admin_v1beta2_export_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+name}:exportDocuments', options)
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ExportDocumentsRequest::Representation
command.request_object = google_firestore_admin_v1beta2_export_documents_request_object
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Imports documents into Google Cloud Firestore. Existing documents with the
# same name are overwritten. The import occurs in the background and its
# progress can be monitored and managed via the Operation resource that is
# created. If an ImportDocuments operation is cancelled, it is possible
# that a subset of the data has already been imported to Cloud Firestore.
# @param [String] name
# Database to import into. Should be of the form:
# `projects/`project_id`/databases/`database_id``.
# @param [Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ImportDocumentsRequest] google_firestore_admin_v1beta2_import_documents_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
# @param [Google::Apis::RequestOptions] options
# Request-specific options
#
# @yield [result, err] Result & error if block supplied
# @yieldparam result [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation] parsed result object
# @yieldparam err [StandardError] error object if request failed
#
# @return [Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation]
#
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
# @raise [Google::Apis::AuthorizationError] Authorization is required
def import_project_database_documents(name, google_firestore_admin_v1beta2_import_documents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
command = make_simple_command(:post, 'v1beta2/{+name}:importDocuments', options)
command.request_representation = Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2ImportDocumentsRequest::Representation
command.request_object = google_firestore_admin_v1beta2_import_documents_request_object
command.response_representation = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation::Representation
command.response_class = Google::Apis::FirestoreV1beta2::GoogleLongrunningOperation
command.params['name'] = name unless name.nil?
command.query['fields'] = fields unless fields.nil?
command.query['quotaUser'] = quota_user unless quota_user.nil?
execute_or_queue_command(command, &block)
end
# Gets the metadata and configuration for a Field. # Gets the metadata and configuration for a Field.
# @param [String] name # @param [String] name
# A name of the form # A name of the form

View File

@ -20,13 +20,12 @@ module Google
module Apis module Apis
# Service Consumer Management API # Service Consumer Management API
# #
# Provides management methods for configuring service producer resources on # Manages the service consumers of a Service Infrastructure service.
# Google Cloud.
# #
# @see https://cloud.google.com/service-consumer-management/docs/overview # @see https://cloud.google.com/service-consumer-management/docs/overview
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20181004' REVISION = '20181009'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -22,8 +22,7 @@ module Google
module ServiceconsumermanagementV1 module ServiceconsumermanagementV1
# Service Consumer Management API # Service Consumer Management API
# #
# Provides management methods for configuring service producer resources on # Manages the service consumers of a Service Infrastructure service.
# Google Cloud.
# #
# @example # @example
# require 'google/apis/serviceconsumermanagement_v1' # require 'google/apis/serviceconsumermanagement_v1'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/service-control/ # @see https://cloud.google.com/service-control/
module ServicecontrolV1 module ServicecontrolV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180919' REVISION = '20181008'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServicemanagementV1 module ServicemanagementV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180922' REVISION = '20181005'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1692,7 +1692,7 @@ module Google
# service Messaging ` # service Messaging `
# rpc GetMessage(GetMessageRequest) returns (Message) ` # rpc GetMessage(GetMessageRequest) returns (Message) `
# option (google.api.http) = ` # option (google.api.http) = `
# get: "/v1/`name=messages/*"`" # get: "/v1/`name=messages/*`"
# `; # `;
# ` # `
# ` # `

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/service-management/ # @see https://cloud.google.com/service-management/
module ServiceuserV1 module ServiceuserV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180922' REVISION = '20181005'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1141,7 +1141,7 @@ module Google
# service Messaging ` # service Messaging `
# rpc GetMessage(GetMessageRequest) returns (Message) ` # rpc GetMessage(GetMessageRequest) returns (Message) `
# option (google.api.http) = ` # option (google.api.http) = `
# get: "/v1/`name=messages/*"`" # get: "/v1/`name=messages/*`"
# `; # `;
# ` # `
# ` # `

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/youtube/partner/ # @see https://developers.google.com/youtube/partner/
module YoutubePartnerV1 module YoutubePartnerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20180925' REVISION = '20181008'
# View and manage your assets and associated content on YouTube # View and manage your assets and associated content on YouTube
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner' AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'