Autogenerated update (2017-09-09)
Update: - adsensehost_v4_1 - bigquery_v2 - content_v2 - gmail_v1 - servicemanagement_v1 - serviceuser_v1 - videointelligence_v1beta1
This commit is contained in:
parent
db457a47fa
commit
c0c25621f2
|
@ -8599,6 +8599,8 @@
|
||||||
"/bigquery:v2/DatasetReference": dataset_reference
|
"/bigquery:v2/DatasetReference": dataset_reference
|
||||||
"/bigquery:v2/DatasetReference/datasetId": dataset_id
|
"/bigquery:v2/DatasetReference/datasetId": dataset_id
|
||||||
"/bigquery:v2/DatasetReference/projectId": project_id
|
"/bigquery:v2/DatasetReference/projectId": project_id
|
||||||
|
"/bigquery:v2/EncryptionConfiguration": encryption_configuration
|
||||||
|
"/bigquery:v2/EncryptionConfiguration/kmsKeyName": kms_key_name
|
||||||
"/bigquery:v2/ErrorProto": error_proto
|
"/bigquery:v2/ErrorProto": error_proto
|
||||||
"/bigquery:v2/ErrorProto/debugInfo": debug_info
|
"/bigquery:v2/ErrorProto/debugInfo": debug_info
|
||||||
"/bigquery:v2/ErrorProto/location": location
|
"/bigquery:v2/ErrorProto/location": location
|
||||||
|
@ -8661,6 +8663,9 @@
|
||||||
"/bigquery:v2/GetQueryResultsResponse/schema": schema
|
"/bigquery:v2/GetQueryResultsResponse/schema": schema
|
||||||
"/bigquery:v2/GetQueryResultsResponse/totalBytesProcessed": total_bytes_processed
|
"/bigquery:v2/GetQueryResultsResponse/totalBytesProcessed": total_bytes_processed
|
||||||
"/bigquery:v2/GetQueryResultsResponse/totalRows": total_rows
|
"/bigquery:v2/GetQueryResultsResponse/totalRows": total_rows
|
||||||
|
"/bigquery:v2/GetServiceAccountResponse": get_service_account_response
|
||||||
|
"/bigquery:v2/GetServiceAccountResponse/email": email
|
||||||
|
"/bigquery:v2/GetServiceAccountResponse/kind": kind
|
||||||
"/bigquery:v2/GoogleSheetsOptions": google_sheets_options
|
"/bigquery:v2/GoogleSheetsOptions": google_sheets_options
|
||||||
"/bigquery:v2/GoogleSheetsOptions/skipLeadingRows": skip_leading_rows
|
"/bigquery:v2/GoogleSheetsOptions/skipLeadingRows": skip_leading_rows
|
||||||
"/bigquery:v2/Job": job
|
"/bigquery:v2/Job": job
|
||||||
|
@ -8698,6 +8703,7 @@
|
||||||
"/bigquery:v2/JobConfigurationLoad/allowQuotedNewlines": allow_quoted_newlines
|
"/bigquery:v2/JobConfigurationLoad/allowQuotedNewlines": allow_quoted_newlines
|
||||||
"/bigquery:v2/JobConfigurationLoad/autodetect": autodetect
|
"/bigquery:v2/JobConfigurationLoad/autodetect": autodetect
|
||||||
"/bigquery:v2/JobConfigurationLoad/createDisposition": create_disposition
|
"/bigquery:v2/JobConfigurationLoad/createDisposition": create_disposition
|
||||||
|
"/bigquery:v2/JobConfigurationLoad/destinationEncryptionConfiguration": destination_encryption_configuration
|
||||||
"/bigquery:v2/JobConfigurationLoad/destinationTable": destination_table
|
"/bigquery:v2/JobConfigurationLoad/destinationTable": destination_table
|
||||||
"/bigquery:v2/JobConfigurationLoad/encoding": encoding
|
"/bigquery:v2/JobConfigurationLoad/encoding": encoding
|
||||||
"/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter
|
"/bigquery:v2/JobConfigurationLoad/fieldDelimiter": field_delimiter
|
||||||
|
@ -8722,6 +8728,7 @@
|
||||||
"/bigquery:v2/JobConfigurationQuery/allowLargeResults": allow_large_results
|
"/bigquery:v2/JobConfigurationQuery/allowLargeResults": allow_large_results
|
||||||
"/bigquery:v2/JobConfigurationQuery/createDisposition": create_disposition
|
"/bigquery:v2/JobConfigurationQuery/createDisposition": create_disposition
|
||||||
"/bigquery:v2/JobConfigurationQuery/defaultDataset": default_dataset
|
"/bigquery:v2/JobConfigurationQuery/defaultDataset": default_dataset
|
||||||
|
"/bigquery:v2/JobConfigurationQuery/destinationEncryptionConfiguration": destination_encryption_configuration
|
||||||
"/bigquery:v2/JobConfigurationQuery/destinationTable": destination_table
|
"/bigquery:v2/JobConfigurationQuery/destinationTable": destination_table
|
||||||
"/bigquery:v2/JobConfigurationQuery/flattenResults": flatten_results
|
"/bigquery:v2/JobConfigurationQuery/flattenResults": flatten_results
|
||||||
"/bigquery:v2/JobConfigurationQuery/maximumBillingTier": maximum_billing_tier
|
"/bigquery:v2/JobConfigurationQuery/maximumBillingTier": maximum_billing_tier
|
||||||
|
@ -8744,6 +8751,7 @@
|
||||||
"/bigquery:v2/JobConfigurationQuery/writeDisposition": write_disposition
|
"/bigquery:v2/JobConfigurationQuery/writeDisposition": write_disposition
|
||||||
"/bigquery:v2/JobConfigurationTableCopy": job_configuration_table_copy
|
"/bigquery:v2/JobConfigurationTableCopy": job_configuration_table_copy
|
||||||
"/bigquery:v2/JobConfigurationTableCopy/createDisposition": create_disposition
|
"/bigquery:v2/JobConfigurationTableCopy/createDisposition": create_disposition
|
||||||
|
"/bigquery:v2/JobConfigurationTableCopy/destinationEncryptionConfiguration": destination_encryption_configuration
|
||||||
"/bigquery:v2/JobConfigurationTableCopy/destinationTable": destination_table
|
"/bigquery:v2/JobConfigurationTableCopy/destinationTable": destination_table
|
||||||
"/bigquery:v2/JobConfigurationTableCopy/sourceTable": source_table
|
"/bigquery:v2/JobConfigurationTableCopy/sourceTable": source_table
|
||||||
"/bigquery:v2/JobConfigurationTableCopy/sourceTables": source_tables
|
"/bigquery:v2/JobConfigurationTableCopy/sourceTables": source_tables
|
||||||
|
@ -8872,6 +8880,7 @@
|
||||||
"/bigquery:v2/Table": table
|
"/bigquery:v2/Table": table
|
||||||
"/bigquery:v2/Table/creationTime": creation_time
|
"/bigquery:v2/Table/creationTime": creation_time
|
||||||
"/bigquery:v2/Table/description": description
|
"/bigquery:v2/Table/description": description
|
||||||
|
"/bigquery:v2/Table/encryptionConfiguration": encryption_configuration
|
||||||
"/bigquery:v2/Table/etag": etag
|
"/bigquery:v2/Table/etag": etag
|
||||||
"/bigquery:v2/Table/expirationTime": expiration_time
|
"/bigquery:v2/Table/expirationTime": expiration_time
|
||||||
"/bigquery:v2/Table/externalDataConfiguration": external_data_configuration
|
"/bigquery:v2/Table/externalDataConfiguration": external_data_configuration
|
||||||
|
@ -9008,6 +9017,8 @@
|
||||||
"/bigquery:v2/bigquery.jobs.list/stateFilter": state_filter
|
"/bigquery:v2/bigquery.jobs.list/stateFilter": state_filter
|
||||||
"/bigquery:v2/bigquery.jobs.query": query_job
|
"/bigquery:v2/bigquery.jobs.query": query_job
|
||||||
"/bigquery:v2/bigquery.jobs.query/projectId": project_id
|
"/bigquery:v2/bigquery.jobs.query/projectId": project_id
|
||||||
|
"/bigquery:v2/bigquery.projects.getServiceAccount": get_project_service_account
|
||||||
|
"/bigquery:v2/bigquery.projects.getServiceAccount/projectId": project_id
|
||||||
"/bigquery:v2/bigquery.projects.list": list_projects
|
"/bigquery:v2/bigquery.projects.list": list_projects
|
||||||
"/bigquery:v2/bigquery.projects.list/maxResults": max_results
|
"/bigquery:v2/bigquery.projects.list/maxResults": max_results
|
||||||
"/bigquery:v2/bigquery.projects.list/pageToken": page_token
|
"/bigquery:v2/bigquery.projects.list/pageToken": page_token
|
||||||
|
@ -41702,6 +41713,7 @@
|
||||||
"/gmail:v1/ImapSettings/expungeBehavior": expunge_behavior
|
"/gmail:v1/ImapSettings/expungeBehavior": expunge_behavior
|
||||||
"/gmail:v1/ImapSettings/maxFolderSize": max_folder_size
|
"/gmail:v1/ImapSettings/maxFolderSize": max_folder_size
|
||||||
"/gmail:v1/Label": label
|
"/gmail:v1/Label": label
|
||||||
|
"/gmail:v1/Label/color": color
|
||||||
"/gmail:v1/Label/id": id
|
"/gmail:v1/Label/id": id
|
||||||
"/gmail:v1/Label/labelListVisibility": label_list_visibility
|
"/gmail:v1/Label/labelListVisibility": label_list_visibility
|
||||||
"/gmail:v1/Label/messageListVisibility": message_list_visibility
|
"/gmail:v1/Label/messageListVisibility": message_list_visibility
|
||||||
|
@ -41711,6 +41723,9 @@
|
||||||
"/gmail:v1/Label/threadsTotal": threads_total
|
"/gmail:v1/Label/threadsTotal": threads_total
|
||||||
"/gmail:v1/Label/threadsUnread": threads_unread
|
"/gmail:v1/Label/threadsUnread": threads_unread
|
||||||
"/gmail:v1/Label/type": type
|
"/gmail:v1/Label/type": type
|
||||||
|
"/gmail:v1/LabelColor": label_color
|
||||||
|
"/gmail:v1/LabelColor/backgroundColor": background_color
|
||||||
|
"/gmail:v1/LabelColor/textColor": text_color
|
||||||
"/gmail:v1/ListDraftsResponse": list_drafts_response
|
"/gmail:v1/ListDraftsResponse": list_drafts_response
|
||||||
"/gmail:v1/ListDraftsResponse/drafts": drafts
|
"/gmail:v1/ListDraftsResponse/drafts": drafts
|
||||||
"/gmail:v1/ListDraftsResponse/drafts/draft": draft
|
"/gmail:v1/ListDraftsResponse/drafts/draft": draft
|
||||||
|
@ -56871,6 +56886,58 @@
|
||||||
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment": google_cloud_videointelligence_v1beta1_video_segment
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment": google_cloud_videointelligence_v1beta1_video_segment
|
||||||
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/endTimeOffset": end_time_offset
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/endTimeOffset": end_time_offset
|
||||||
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/startTimeOffset": start_time_offset
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta1_VideoSegment/startTimeOffset": start_time_offset
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress": google_cloud_videointelligence_v1beta2_annotate_video_progress
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress/annotationProgress": annotation_progress
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress/annotationProgress/annotation_progress": annotation_progress
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse": google_cloud_videointelligence_v1beta2_annotate_video_response
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse/annotationResults": annotation_results
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse/annotationResults/annotation_result": annotation_result
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_Entity": google_cloud_videointelligence_v1beta2_entity
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_Entity/description": description
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_Entity/entityId": entity_id
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_Entity/languageCode": language_code
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation": google_cloud_videointelligence_v1beta2_explicit_content_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation/frames": frames
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation/frames/frame": frame
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": google_cloud_videointelligence_v1beta2_explicit_content_frame
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/pornographyLikelihood": pornography_likelihood
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame/timeOffset": time_offset
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation": google_cloud_videointelligence_v1beta2_label_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities": category_entities
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/categoryEntities/category_entity": category_entity
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/entity": entity
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/frames": frames
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/frames/frame": frame
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/segments": segments
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelAnnotation/segments/segment": segment
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelFrame": google_cloud_videointelligence_v1beta2_label_frame
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelFrame/confidence": confidence
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelFrame/timeOffset": time_offset
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelSegment": google_cloud_videointelligence_v1beta2_label_segment
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelSegment/confidence": confidence
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_LabelSegment/segment": segment
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress": google_cloud_videointelligence_v1beta2_video_annotation_progress
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress/inputUri": input_uri
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress/progressPercent": progress_percent
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress/startTime": start_time
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress/updateTime": update_time
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": google_cloud_videointelligence_v1beta2_video_annotation_results
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/error": error
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/explicitAnnotation": explicit_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations": frame_label_annotations
|
||||||
|
? "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/frameLabelAnnotations/frame_label_annotation"
|
||||||
|
: frame_label_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/inputUri": input_uri
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations": segment_label_annotations
|
||||||
|
? "/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/segmentLabelAnnotations/segment_label_annotation"
|
||||||
|
: segment_label_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/shotAnnotations": shot_annotations
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/shotAnnotations/shot_annotation": shot_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/shotLabelAnnotations": shot_label_annotations
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults/shotLabelAnnotations/shot_label_annotation": shot_label_annotation
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoSegment": google_cloud_videointelligence_v1beta2_video_segment
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoSegment/endTimeOffset": end_time_offset
|
||||||
|
"/videointelligence:v1beta1/GoogleCloudVideointelligenceV1beta2_VideoSegment/startTimeOffset": start_time_offset
|
||||||
"/videointelligence:v1beta1/GoogleLongrunning_Operation": google_longrunning_operation
|
"/videointelligence:v1beta1/GoogleLongrunning_Operation": google_longrunning_operation
|
||||||
"/videointelligence:v1beta1/GoogleLongrunning_Operation/done": done
|
"/videointelligence:v1beta1/GoogleLongrunning_Operation/done": done
|
||||||
"/videointelligence:v1beta1/GoogleLongrunning_Operation/error": error
|
"/videointelligence:v1beta1/GoogleLongrunning_Operation/error": error
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adexchangebuyer/v1.2/')
|
super('https://www.googleapis.com/', 'adexchangebuyer/v1.2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adexchangebuyer/v1.2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets one account by ID.
|
# Gets one account by ID.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'admin/directory/v1/')
|
super('https://www.googleapis.com/', 'admin/directory/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/admin/directory_v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Delete an ASP issued by a user.
|
# Delete an ASP issued by a user.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/adsense/host/
|
# @see https://developers.google.com/adsense/host/
|
||||||
module AdsensehostV4_1
|
module AdsensehostV4_1
|
||||||
VERSION = 'V4_1'
|
VERSION = 'V4_1'
|
||||||
REVISION = '20170905'
|
REVISION = '20170906'
|
||||||
|
|
||||||
# View and manage your AdSense host data and associated accounts
|
# View and manage your AdSense host data and associated accounts
|
||||||
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
AUTH_ADSENSEHOST = 'https://www.googleapis.com/auth/adsensehost'
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'adsensehost/v4.1/')
|
super('https://www.googleapis.com/', 'adsensehost/v4.1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/adsensehost/v4.1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get information about the selected associated AdSense account.
|
# Get information about the selected associated AdSense account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'analytics/v2.4/')
|
super('https://www.googleapis.com/', 'analytics/v2.4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/analytics/v2.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns Analytics report data for a view (profile).
|
# Returns Analytics report data for a view (profile).
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'analytics/v3/')
|
super('https://www.googleapis.com/', 'analytics/v3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/analytics/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns Analytics data for a view (profile).
|
# Returns Analytics data for a view (profile).
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'androidpublisher/v1/applications/')
|
super('https://www.googleapis.com/', 'androidpublisher/v1/applications/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/androidpublisher/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancels a user's subscription purchase. The subscription remains valid until
|
# Cancels a user's subscription purchase. The subscription remains valid until
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/')
|
super('https://www.googleapis.com/', 'androidpublisher/v1.1/applications/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/androidpublisher/v1.1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Checks the purchase and consumption status of an inapp item.
|
# Checks the purchase and consumption status of an inapp item.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'appstate/v1/')
|
super('https://www.googleapis.com/', 'appstate/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/appstate/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Clears (sets to empty) the data for the passed key if and only if the passed
|
# Clears (sets to empty) the data for the passed key if and only if the passed
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/bigquery/
|
# @see https://cloud.google.com/bigquery/
|
||||||
module BigqueryV2
|
module BigqueryV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170825'
|
REVISION = '20170903'
|
||||||
|
|
||||||
# View and manage your data in Google BigQuery
|
# View and manage your data in Google BigQuery
|
||||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||||
|
|
|
@ -556,6 +556,27 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class EncryptionConfiguration
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# [Optional] Describes the Cloud KMS encryption key that will be used to protect
|
||||||
|
# destination BigQuery table. The BigQuery Service Account associated with your
|
||||||
|
# project requires access to this encryption key.
|
||||||
|
# Corresponds to the JSON property `kmsKeyName`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kms_key_name
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class ErrorProto
|
class ErrorProto
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -980,6 +1001,31 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class GetServiceAccountResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The service account email address.
|
||||||
|
# Corresponds to the JSON property `email`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :email
|
||||||
|
|
||||||
|
# The resource type of the response.
|
||||||
|
# Corresponds to the JSON property `kind`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :kind
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@email = args[:email] if args.key?(:email)
|
||||||
|
@kind = args[:kind] if args.key?(:kind)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class GoogleSheetsOptions
|
class GoogleSheetsOptions
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1261,6 +1307,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_disposition
|
attr_accessor :create_disposition
|
||||||
|
|
||||||
|
# [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
|
||||||
|
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
||||||
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
||||||
|
attr_accessor :destination_encryption_configuration
|
||||||
|
|
||||||
# [Required] The destination table to load the data into.
|
# [Required] The destination table to load the data into.
|
||||||
# Corresponds to the JSON property `destinationTable`
|
# Corresponds to the JSON property `destinationTable`
|
||||||
# @return [Google::Apis::BigqueryV2::TableReference]
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||||
|
@ -1419,6 +1470,7 @@ module Google
|
||||||
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
@allow_quoted_newlines = args[:allow_quoted_newlines] if args.key?(:allow_quoted_newlines)
|
||||||
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
@autodetect = args[:autodetect] if args.key?(:autodetect)
|
||||||
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
||||||
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
||||||
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
||||||
@encoding = args[:encoding] if args.key?(:encoding)
|
@encoding = args[:encoding] if args.key?(:encoding)
|
||||||
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
||||||
|
@ -1469,6 +1521,11 @@ module Google
|
||||||
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
# @return [Google::Apis::BigqueryV2::DatasetReference]
|
||||||
attr_accessor :default_dataset
|
attr_accessor :default_dataset
|
||||||
|
|
||||||
|
# [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
|
||||||
|
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
||||||
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
||||||
|
attr_accessor :destination_encryption_configuration
|
||||||
|
|
||||||
# [Optional] Describes the table where the query results should be stored. If
|
# [Optional] Describes the table where the query results should be stored. If
|
||||||
# not present, a new table will be created to store the results. This property
|
# not present, a new table will be created to store the results. This property
|
||||||
# must be set for large results that exceed the maximum response size.
|
# must be set for large results that exceed the maximum response size.
|
||||||
|
@ -1601,6 +1658,7 @@ module Google
|
||||||
@allow_large_results = args[:allow_large_results] if args.key?(:allow_large_results)
|
@allow_large_results = args[:allow_large_results] if args.key?(:allow_large_results)
|
||||||
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
||||||
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
@default_dataset = args[:default_dataset] if args.key?(:default_dataset)
|
||||||
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
||||||
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
||||||
@flatten_results = args[:flatten_results] if args.key?(:flatten_results)
|
@flatten_results = args[:flatten_results] if args.key?(:flatten_results)
|
||||||
@maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier)
|
@maximum_billing_tier = args[:maximum_billing_tier] if args.key?(:maximum_billing_tier)
|
||||||
|
@ -1634,6 +1692,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :create_disposition
|
attr_accessor :create_disposition
|
||||||
|
|
||||||
|
# [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
|
||||||
|
# Corresponds to the JSON property `destinationEncryptionConfiguration`
|
||||||
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
||||||
|
attr_accessor :destination_encryption_configuration
|
||||||
|
|
||||||
# [Required] The destination table
|
# [Required] The destination table
|
||||||
# Corresponds to the JSON property `destinationTable`
|
# Corresponds to the JSON property `destinationTable`
|
||||||
# @return [Google::Apis::BigqueryV2::TableReference]
|
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||||
|
@ -1668,6 +1731,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
@create_disposition = args[:create_disposition] if args.key?(:create_disposition)
|
||||||
|
@destination_encryption_configuration = args[:destination_encryption_configuration] if args.key?(:destination_encryption_configuration)
|
||||||
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
@destination_table = args[:destination_table] if args.key?(:destination_table)
|
||||||
@source_table = args[:source_table] if args.key?(:source_table)
|
@source_table = args[:source_table] if args.key?(:source_table)
|
||||||
@source_tables = args[:source_tables] if args.key?(:source_tables)
|
@source_tables = args[:source_tables] if args.key?(:source_tables)
|
||||||
|
@ -2531,6 +2595,11 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :description
|
attr_accessor :description
|
||||||
|
|
||||||
|
# [Experimental] Custom encryption configuration (e.g., Cloud KMS keys).
|
||||||
|
# Corresponds to the JSON property `encryptionConfiguration`
|
||||||
|
# @return [Google::Apis::BigqueryV2::EncryptionConfiguration]
|
||||||
|
attr_accessor :encryption_configuration
|
||||||
|
|
||||||
# [Output-only] A hash of this resource.
|
# [Output-only] A hash of this resource.
|
||||||
# Corresponds to the JSON property `etag`
|
# Corresponds to the JSON property `etag`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -2653,6 +2722,7 @@ module Google
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
@creation_time = args[:creation_time] if args.key?(:creation_time)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@encryption_configuration = args[:encryption_configuration] if args.key?(:encryption_configuration)
|
||||||
@etag = args[:etag] if args.key?(:etag)
|
@etag = args[:etag] if args.key?(:etag)
|
||||||
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
||||||
@external_data_configuration = args[:external_data_configuration] if args.key?(:external_data_configuration)
|
@external_data_configuration = args[:external_data_configuration] if args.key?(:external_data_configuration)
|
||||||
|
|
|
@ -76,6 +76,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EncryptionConfiguration
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ErrorProto
|
class ErrorProto
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -106,6 +112,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetServiceAccountResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleSheetsOptions
|
class GoogleSheetsOptions
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -475,6 +487,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class EncryptionConfiguration
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :kms_key_name, as: 'kmsKeyName'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ErrorProto
|
class ErrorProto
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -566,6 +585,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GetServiceAccountResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :email, as: 'email'
|
||||||
|
property :kind, as: 'kind'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleSheetsOptions
|
class GoogleSheetsOptions
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -638,6 +665,8 @@ module Google
|
||||||
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
property :allow_quoted_newlines, as: 'allowQuotedNewlines'
|
||||||
property :autodetect, as: 'autodetect'
|
property :autodetect, as: 'autodetect'
|
||||||
property :create_disposition, as: 'createDisposition'
|
property :create_disposition, as: 'createDisposition'
|
||||||
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||||
|
|
||||||
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
||||||
|
|
||||||
property :encoding, as: 'encoding'
|
property :encoding, as: 'encoding'
|
||||||
|
@ -668,6 +697,8 @@ module Google
|
||||||
property :create_disposition, as: 'createDisposition'
|
property :create_disposition, as: 'createDisposition'
|
||||||
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
||||||
|
|
||||||
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||||
|
|
||||||
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
||||||
|
|
||||||
property :flatten_results, as: 'flattenResults'
|
property :flatten_results, as: 'flattenResults'
|
||||||
|
@ -696,6 +727,8 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :create_disposition, as: 'createDisposition'
|
property :create_disposition, as: 'createDisposition'
|
||||||
|
property :destination_encryption_configuration, as: 'destinationEncryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||||
|
|
||||||
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
property :destination_table, as: 'destinationTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
||||||
|
|
||||||
property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
property :source_table, as: 'sourceTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
||||||
|
@ -938,6 +971,8 @@ module Google
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :creation_time, :numeric_string => true, as: 'creationTime'
|
property :creation_time, :numeric_string => true, as: 'creationTime'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
|
property :encryption_configuration, as: 'encryptionConfiguration', class: Google::Apis::BigqueryV2::EncryptionConfiguration, decorator: Google::Apis::BigqueryV2::EncryptionConfiguration::Representation
|
||||||
|
|
||||||
property :etag, as: 'etag'
|
property :etag, as: 'etag'
|
||||||
property :expiration_time, :numeric_string => true, as: 'expirationTime'
|
property :expiration_time, :numeric_string => true, as: 'expirationTime'
|
||||||
property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'bigquery/v2/')
|
super('https://www.googleapis.com/', 'bigquery/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/bigquery/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the dataset specified by the datasetId value. Before you can delete a
|
# Deletes the dataset specified by the datasetId value. Before you can delete a
|
||||||
|
@ -582,6 +582,42 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Returns the email address of the service account for your project used for
|
||||||
|
# interactions with Google Cloud KMS.
|
||||||
|
# @param [String] project_id
|
||||||
|
# Project ID for which the service account is requested.
|
||||||
|
# @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.
|
||||||
|
# Overrides userIp if both are provided.
|
||||||
|
# @param [String] user_ip
|
||||||
|
# IP address of the site where the request originates. Use this if you want to
|
||||||
|
# enforce per-user limits.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::BigqueryV2::GetServiceAccountResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::BigqueryV2::GetServiceAccountResponse]
|
||||||
|
#
|
||||||
|
# @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 get_project_service_account(project_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
|
||||||
|
command.response_representation = Google::Apis::BigqueryV2::GetServiceAccountResponse::Representation
|
||||||
|
command.response_class = Google::Apis::BigqueryV2::GetServiceAccountResponse
|
||||||
|
command.params['projectId'] = project_id unless project_id.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Lists all projects to which you have been granted any project role.
|
# Lists all projects to which you have been granted any project role.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of results to return
|
# Maximum number of results to return
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'blogger/v3/')
|
super('https://www.googleapis.com/', 'blogger/v3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/blogger/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets one blog and user info pair by blogId and userId.
|
# Gets one blog and user info pair by blogId and userId.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'clouduseraccounts/vm_alpha/projects/')
|
super('https://www.googleapis.com/', 'clouduseraccounts/vm_alpha/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/clouduseraccounts/vm_alpha'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the specified operation resource.
|
# Deletes the specified operation resource.
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/shopping-content
|
# @see https://developers.google.com/shopping-content
|
||||||
module ContentV2
|
module ContentV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20170830'
|
REVISION = '20170905'
|
||||||
|
|
||||||
# Manage your product listings and accounts for Google Shopping
|
# Manage your product listings and accounts for Google Shopping
|
||||||
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'content/v2/')
|
super('https://www.googleapis.com/', 'content/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/content/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns information about the authenticated user.
|
# Returns information about the authenticated user.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'content/v2sandbox/')
|
super('https://www.googleapis.com/', 'content/v2sandbox/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/content/v2sandbox'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Marks an order as acknowledged. This method can only be called for non-multi-
|
# Marks an order as acknowledged. This method can only be called for non-multi-
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
|
super('https://www.googleapis.com/', 'deploymentmanager/v2/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/deploymentmanager/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Cancels and removes the preview currently associated with the deployment.
|
# Cancels and removes the preview currently associated with the deployment.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'deploymentmanager/v2beta/projects/')
|
super('https://www.googleapis.com/', 'deploymentmanager/v2beta/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/deploymentmanager/v2beta'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a composite type.
|
# Deletes a composite type.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'dns/v1/projects/')
|
super('https://www.googleapis.com/', 'dns/v1/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/dns/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Atomically update the ResourceRecordSet collection.
|
# Atomically update the ResourceRecordSet collection.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
|
super('https://www.googleapis.com/', 'doubleclicksearch/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/doubleclicksearch/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'fusiontables/v2/')
|
super('https://www.googleapis.com/', 'fusiontables/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/fusiontables/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the specified column.
|
# Deletes the specified column.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'games/v1management/')
|
super('https://www.googleapis.com/', 'games/v1management/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/gamesManagement/v1management'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Resets the achievement with the given ID for the currently authenticated
|
# Resets the achievement with the given ID for the currently authenticated
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/gmail/api/
|
# @see https://developers.google.com/gmail/api/
|
||||||
module GmailV1
|
module GmailV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20170829'
|
REVISION = '20170905'
|
||||||
|
|
||||||
# Read, send, delete, and manage your email
|
# Read, send, delete, and manage your email
|
||||||
AUTH_SCOPE = 'https://mail.google.com/'
|
AUTH_SCOPE = 'https://mail.google.com/'
|
||||||
|
|
|
@ -485,6 +485,13 @@ module Google
|
||||||
class Label
|
class Label
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Color to assign to the label. This field is hidden behind an API server mendel
|
||||||
|
# experiment and only available for user-defined labels. Will be unset if the
|
||||||
|
# label doesn't have a color configured.
|
||||||
|
# Corresponds to the JSON property `color`
|
||||||
|
# @return [Google::Apis::GmailV1::LabelColor]
|
||||||
|
attr_accessor :color
|
||||||
|
|
||||||
# The immutable ID of the label.
|
# The immutable ID of the label.
|
||||||
# Corresponds to the JSON property `id`
|
# Corresponds to the JSON property `id`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
|
@ -543,6 +550,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@color = args[:color] if args.key?(:color)
|
||||||
@id = args[:id] if args.key?(:id)
|
@id = args[:id] if args.key?(:id)
|
||||||
@label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility)
|
@label_list_visibility = args[:label_list_visibility] if args.key?(:label_list_visibility)
|
||||||
@message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility)
|
@message_list_visibility = args[:message_list_visibility] if args.key?(:message_list_visibility)
|
||||||
|
@ -555,6 +563,34 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class LabelColor
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Background color represented as hex string #RRGGBB (ex #000000). Only a
|
||||||
|
# restricted predefined set of color values are allowed. See (go/gmail-api-label-
|
||||||
|
# colors).
|
||||||
|
# Corresponds to the JSON property `backgroundColor`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :background_color
|
||||||
|
|
||||||
|
# Text color represented as hex string #RRGGBB (ex #000000). Only a restricted
|
||||||
|
# predefined set of color values are allowed. See (go/gmail-api-label-colors).
|
||||||
|
# Corresponds to the JSON property `textColor`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :text_color
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@background_color = args[:background_color] if args.key?(:background_color)
|
||||||
|
@text_color = args[:text_color] if args.key?(:text_color)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -112,6 +112,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class LabelColor
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -397,6 +403,8 @@ module Google
|
||||||
class Label
|
class Label
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :color, as: 'color', class: Google::Apis::GmailV1::LabelColor, decorator: Google::Apis::GmailV1::LabelColor::Representation
|
||||||
|
|
||||||
property :id, as: 'id'
|
property :id, as: 'id'
|
||||||
property :label_list_visibility, as: 'labelListVisibility'
|
property :label_list_visibility, as: 'labelListVisibility'
|
||||||
property :message_list_visibility, as: 'messageListVisibility'
|
property :message_list_visibility, as: 'messageListVisibility'
|
||||||
|
@ -409,6 +417,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class LabelColor
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :background_color, as: 'backgroundColor'
|
||||||
|
property :text_color, as: 'textColor'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class ListDraftsResponse
|
class ListDraftsResponse
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/')
|
super('https://www.googleapis.com/', 'identitytoolkit/v3/relyingparty/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/identitytoolkit/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates the URI used by the IdP to authenticate the user.
|
# Creates the URI used by the IdP to authenticate the user.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', '')
|
super('https://www.googleapis.com/', '')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/oauth2/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', '')
|
super('https://www.googleapis.com/', '')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/oauth2/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
|
super('https://www.googleapis.com/', 'pagespeedonline/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/pagespeedonline/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
# Runs PageSpeed analysis on the page at the specified URL, and returns
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'plusDomains/v1/')
|
super('https://www.googleapis.com/', 'plusDomains/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/plusDomains/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get an activity.
|
# Get an activity.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'prediction/v1.4/')
|
super('https://www.googleapis.com/', 'prediction/v1.4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/prediction/v1.4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Submit input and request an output against a hosted model.
|
# Submit input and request an output against a hosted model.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'qpxExpress/v1/trips/')
|
super('https://www.googleapis.com/', 'qpxExpress/v1/trips/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/qpxExpress/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Returns a list of flights.
|
# Returns a list of flights.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/reseller/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get a customer account.
|
# Get a customer account.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'resourceviews/v1beta1/projects/')
|
super('https://www.googleapis.com/', 'resourceviews/v1beta1/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/resourceviews/v1beta1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add resources to the view.
|
# Add resources to the view.
|
||||||
|
|
|
@ -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 = '20170828'
|
REVISION = '20170901'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -525,8 +525,7 @@ module Google
|
||||||
attr_accessor :address
|
attr_accessor :address
|
||||||
|
|
||||||
# The number of seconds to wait for a response from a request. The default
|
# The number of seconds to wait for a response from a request. The default
|
||||||
# deadline for gRPC and HTTP requests is 5 seconds. For Stubby requests,
|
# deadline for gRPC and HTTP requests is 5 seconds.
|
||||||
# the default is no deadline.
|
|
||||||
# Corresponds to the JSON property `deadline`
|
# Corresponds to the JSON property `deadline`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :deadline
|
attr_accessor :deadline
|
||||||
|
|
|
@ -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 = '20170828'
|
REVISION = '20170901'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -424,8 +424,7 @@ module Google
|
||||||
attr_accessor :address
|
attr_accessor :address
|
||||||
|
|
||||||
# The number of seconds to wait for a response from a request. The default
|
# The number of seconds to wait for a response from a request. The default
|
||||||
# deadline for gRPC and HTTP requests is 5 seconds. For Stubby requests,
|
# deadline for gRPC and HTTP requests is 5 seconds.
|
||||||
# the default is no deadline.
|
|
||||||
# Corresponds to the JSON property `deadline`
|
# Corresponds to the JSON property `deadline`
|
||||||
# @return [Float]
|
# @return [Float]
|
||||||
attr_accessor :deadline
|
attr_accessor :deadline
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'sql/v1beta4/')
|
super('https://www.googleapis.com/', 'sql/v1beta4/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/sqladmin/v1beta4'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the backup taken by a backup run.
|
# Deletes the backup taken by a backup run.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'storage/v1/')
|
super('https://www.googleapis.com/', 'storage/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/storage/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Permanently deletes the ACL entry for the specified entity on the specified
|
# Permanently deletes the ACL entry for the specified entity on the specified
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'surveys/v2/')
|
super('https://www.googleapis.com/', 'surveys/v2/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/surveys/v2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
# Retrieves a MobileAppPanel that is available to the authenticated user.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'taskqueue/v1beta2/projects/')
|
super('https://www.googleapis.com/', 'taskqueue/v1beta2/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/taskqueue/v1beta2'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Get detailed information about a TaskQueue.
|
# Get detailed information about a TaskQueue.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'tasks/v1/')
|
super('https://www.googleapis.com/', 'tasks/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/tasks/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes the authenticated user's specified task list.
|
# Deletes the authenticated user's specified task list.
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
super('https://www.googleapis.com/', 'toolresults/v1beta3/projects/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/toolresults/v1beta3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Gets the Tool Results settings for a project.
|
# Gets the Tool Results settings for a project.
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/video-intelligence/docs/
|
# @see https://cloud.google.com/video-intelligence/docs/
|
||||||
module VideointelligenceV1beta1
|
module VideointelligenceV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20170807'
|
REVISION = '20170908'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -730,13 +730,391 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Video annotation progress. Included in the `metadata`
|
||||||
|
# field of the `Operation` returned by the `GetOperation`
|
||||||
|
# call of the `google::longrunning::Operations` service.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Progress metadata for all videos specified in `AnnotateVideoRequest`.
|
||||||
|
# Corresponds to the JSON property `annotationProgress`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress>]
|
||||||
|
attr_accessor :annotation_progress
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotation_progress = args[:annotation_progress] if args.key?(:annotation_progress)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Video annotation response. Included in the `response`
|
||||||
|
# field of the `Operation` returned by the `GetOperation`
|
||||||
|
# call of the `google::longrunning::Operations` service.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Annotation results for all videos specified in `AnnotateVideoRequest`.
|
||||||
|
# Corresponds to the JSON property `annotationResults`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationResults>]
|
||||||
|
attr_accessor :annotation_results
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@annotation_results = args[:annotation_results] if args.key?(:annotation_results)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Detected entity from video analysis.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2Entity
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Textual description, e.g. `Fixed-gear bicycle`.
|
||||||
|
# Corresponds to the JSON property `description`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :description
|
||||||
|
|
||||||
|
# Opaque entity ID. Some IDs may be available in
|
||||||
|
# [Google Knowledge Graph Search
|
||||||
|
# API](https://developers.google.com/knowledge-graph/).
|
||||||
|
# Corresponds to the JSON property `entityId`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :entity_id
|
||||||
|
|
||||||
|
# Language code for `description` in BCP-47 format.
|
||||||
|
# Corresponds to the JSON property `languageCode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :language_code
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@description = args[:description] if args.key?(:description)
|
||||||
|
@entity_id = args[:entity_id] if args.key?(:entity_id)
|
||||||
|
@language_code = args[:language_code] if args.key?(:language_code)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Explicit content annotation (based on per-frame visual signals only).
|
||||||
|
# If no explicit content has been detected in a frame, no annotations are
|
||||||
|
# present for that frame.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# All video frames where explicit content was detected.
|
||||||
|
# Corresponds to the JSON property `frames`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame>]
|
||||||
|
attr_accessor :frames
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@frames = args[:frames] if args.key?(:frames)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Video frame level annotation results for explicit content.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentFrame
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Likelihood of the pornography content..
|
||||||
|
# Corresponds to the JSON property `pornographyLikelihood`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :pornography_likelihood
|
||||||
|
|
||||||
|
# Time-offset, relative to the beginning of the video, corresponding to the
|
||||||
|
# video frame for this location.
|
||||||
|
# Corresponds to the JSON property `timeOffset`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :time_offset
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@pornography_likelihood = args[:pornography_likelihood] if args.key?(:pornography_likelihood)
|
||||||
|
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Label annotation.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Common categories for the detected entity.
|
||||||
|
# E.g. when the label is `Terrier` the category is likely `dog`. And in some
|
||||||
|
# cases there might be more than one categories e.g. `Terrier` could also be
|
||||||
|
# a `pet`.
|
||||||
|
# Corresponds to the JSON property `categoryEntities`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity>]
|
||||||
|
attr_accessor :category_entities
|
||||||
|
|
||||||
|
# Detected entity from video analysis.
|
||||||
|
# Corresponds to the JSON property `entity`
|
||||||
|
# @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity]
|
||||||
|
attr_accessor :entity
|
||||||
|
|
||||||
|
# All video frames where a label was detected.
|
||||||
|
# Corresponds to the JSON property `frames`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelFrame>]
|
||||||
|
attr_accessor :frames
|
||||||
|
|
||||||
|
# All video segments where a label was detected.
|
||||||
|
# Corresponds to the JSON property `segments`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelSegment>]
|
||||||
|
attr_accessor :segments
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@category_entities = args[:category_entities] if args.key?(:category_entities)
|
||||||
|
@entity = args[:entity] if args.key?(:entity)
|
||||||
|
@frames = args[:frames] if args.key?(:frames)
|
||||||
|
@segments = args[:segments] if args.key?(:segments)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Video frame level annotation results for label detection.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelFrame
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Confidence that the label is accurate. Range: [0, 1].
|
||||||
|
# Corresponds to the JSON property `confidence`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :confidence
|
||||||
|
|
||||||
|
# Time-offset, relative to the beginning of the video, corresponding to the
|
||||||
|
# video frame for this location.
|
||||||
|
# Corresponds to the JSON property `timeOffset`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :time_offset
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@confidence = args[:confidence] if args.key?(:confidence)
|
||||||
|
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Video segment level annotation results for label detection.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelSegment
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Confidence that the label is accurate. Range: [0, 1].
|
||||||
|
# Corresponds to the JSON property `confidence`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :confidence
|
||||||
|
|
||||||
|
# Video segment.
|
||||||
|
# Corresponds to the JSON property `segment`
|
||||||
|
# @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
||||||
|
attr_accessor :segment
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@confidence = args[:confidence] if args.key?(:confidence)
|
||||||
|
@segment = args[:segment] if args.key?(:segment)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Annotation progress for a single video.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Video file location in
|
||||||
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||||
|
# Corresponds to the JSON property `inputUri`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :input_uri
|
||||||
|
|
||||||
|
# Approximate percentage processed thus far.
|
||||||
|
# Guaranteed to be 100 when fully processed.
|
||||||
|
# Corresponds to the JSON property `progressPercent`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :progress_percent
|
||||||
|
|
||||||
|
# Time when the request was received.
|
||||||
|
# Corresponds to the JSON property `startTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start_time
|
||||||
|
|
||||||
|
# Time of the most recent update.
|
||||||
|
# Corresponds to the JSON property `updateTime`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :update_time
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||||
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
||||||
|
@start_time = args[:start_time] if args.key?(:start_time)
|
||||||
|
@update_time = args[:update_time] if args.key?(:update_time)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Annotation results for a single video.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The `Status` type defines a logical error model that is suitable for different
|
||||||
|
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||||
|
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
|
# - Simple to use and understand for most users
|
||||||
|
# - Flexible enough to meet unexpected needs
|
||||||
|
# # Overview
|
||||||
|
# The `Status` message contains three pieces of data: error code, error message,
|
||||||
|
# and error details. The error code should be an enum value of
|
||||||
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
|
# error message should be a developer-facing English message that helps
|
||||||
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
# error message is needed, put the localized message in the error details or
|
||||||
|
# localize it in the client. The optional error details may contain arbitrary
|
||||||
|
# information about the error. There is a predefined set of error detail types
|
||||||
|
# in the package `google.rpc` that can be used for common error conditions.
|
||||||
|
# # Language mapping
|
||||||
|
# The `Status` message is the logical representation of the error model, but it
|
||||||
|
# is not necessarily the actual wire format. When the `Status` message is
|
||||||
|
# exposed in different client libraries and different wire protocols, it can be
|
||||||
|
# mapped differently. For example, it will likely be mapped to some exceptions
|
||||||
|
# in Java, but more likely mapped to some error codes in C.
|
||||||
|
# # Other uses
|
||||||
|
# The error model and the `Status` message can be used in a variety of
|
||||||
|
# environments, either with or without APIs, to provide a
|
||||||
|
# consistent developer experience across different environments.
|
||||||
|
# Example uses of this error model include:
|
||||||
|
# - Partial errors. If a service needs to return partial errors to the client,
|
||||||
|
# it may embed the `Status` in the normal response to indicate the partial
|
||||||
|
# errors.
|
||||||
|
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
||||||
|
# have a `Status` message for error reporting.
|
||||||
|
# - Batch operations. If a client uses batch request and batch response, the
|
||||||
|
# `Status` message should be used directly inside batch response, one for
|
||||||
|
# each error sub-response.
|
||||||
|
# - Asynchronous operations. If an API call embeds asynchronous operation
|
||||||
|
# results in its response, the status of those operations should be
|
||||||
|
# represented directly using the `Status` message.
|
||||||
|
# - Logging. If some API errors are stored in logs, the message `Status` could
|
||||||
|
# be used directly after any stripping needed for security/privacy reasons.
|
||||||
|
# Corresponds to the JSON property `error`
|
||||||
|
# @return [Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus]
|
||||||
|
attr_accessor :error
|
||||||
|
|
||||||
|
# Explicit content annotation (based on per-frame visual signals only).
|
||||||
|
# If no explicit content has been detected in a frame, no annotations are
|
||||||
|
# present for that frame.
|
||||||
|
# Corresponds to the JSON property `explicitAnnotation`
|
||||||
|
# @return [Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
|
||||||
|
attr_accessor :explicit_annotation
|
||||||
|
|
||||||
|
# Label annotations on frame level.
|
||||||
|
# There is exactly one element for each unique label.
|
||||||
|
# Corresponds to the JSON property `frameLabelAnnotations`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||||
|
attr_accessor :frame_label_annotations
|
||||||
|
|
||||||
|
# Video file location in
|
||||||
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
||||||
|
# Corresponds to the JSON property `inputUri`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :input_uri
|
||||||
|
|
||||||
|
# Label annotations on video level or user specified segment level.
|
||||||
|
# There is exactly one element for each unique label.
|
||||||
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||||
|
attr_accessor :segment_label_annotations
|
||||||
|
|
||||||
|
# Shot annotations. Each shot is represented as a video segment.
|
||||||
|
# Corresponds to the JSON property `shotAnnotations`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
||||||
|
attr_accessor :shot_annotations
|
||||||
|
|
||||||
|
# Label annotations on shot level.
|
||||||
|
# There is exactly one element for each unique label.
|
||||||
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
||||||
|
# @return [Array<Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
||||||
|
attr_accessor :shot_label_annotations
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@error = args[:error] if args.key?(:error)
|
||||||
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
||||||
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
||||||
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
||||||
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
||||||
|
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
||||||
|
@shot_label_annotations = args[:shot_label_annotations] if args.key?(:shot_label_annotations)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Video segment.
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoSegment
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Time-offset, relative to the beginning of the video,
|
||||||
|
# corresponding to the end of the segment (inclusive).
|
||||||
|
# Corresponds to the JSON property `endTimeOffset`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :end_time_offset
|
||||||
|
|
||||||
|
# Time-offset, relative to the beginning of the video,
|
||||||
|
# corresponding to the start of the segment (inclusive).
|
||||||
|
# Corresponds to the JSON property `startTimeOffset`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :start_time_offset
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@end_time_offset = args[:end_time_offset] if args.key?(:end_time_offset)
|
||||||
|
@start_time_offset = args[:start_time_offset] if args.key?(:start_time_offset)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# This resource represents a long-running operation that is the result of a
|
# This resource represents a long-running operation that is the result of a
|
||||||
# network API call.
|
# network API call.
|
||||||
class GoogleLongrunningOperation
|
class GoogleLongrunningOperation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
# If the value is `false`, it means the operation is still in progress.
|
# If the value is `false`, it means the operation is still in progress.
|
||||||
# If true, the operation is completed, and either `error` or `response` is
|
# If `true`, the operation is completed, and either `error` or `response` is
|
||||||
# available.
|
# available.
|
||||||
# Corresponds to the JSON property `done`
|
# Corresponds to the JSON property `done`
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
|
|
|
@ -130,6 +130,72 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2Entity
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentFrame
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelFrame
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelSegment
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoSegment
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleLongrunningOperation
|
class GoogleLongrunningOperation
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -326,6 +392,115 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoProgress
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotation_progress, as: 'annotationProgress', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2AnnotateVideoResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :annotation_results, as: 'annotationResults', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationResults, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoAnnotationResults::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2Entity
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :description, as: 'description'
|
||||||
|
property :entity_id, as: 'entityId'
|
||||||
|
property :language_code, as: 'languageCode'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentFrame::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2ExplicitContentFrame
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :pornography_likelihood, as: 'pornographyLikelihood'
|
||||||
|
property :time_offset, as: 'timeOffset'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :category_entities, as: 'categoryEntities', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity::Representation
|
||||||
|
|
||||||
|
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2Entity::Representation
|
||||||
|
|
||||||
|
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelFrame, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelFrame::Representation
|
||||||
|
|
||||||
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelSegment::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelFrame
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :confidence, as: 'confidence'
|
||||||
|
property :time_offset, as: 'timeOffset'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2LabelSegment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :confidence, as: 'confidence'
|
||||||
|
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :input_uri, as: 'inputUri'
|
||||||
|
property :progress_percent, as: 'progressPercent'
|
||||||
|
property :start_time, as: 'startTime'
|
||||||
|
property :update_time, as: 'updateTime'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationResults
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :error, as: 'error', class: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus, decorator: Google::Apis::VideointelligenceV1beta1::GoogleRpcStatus::Representation
|
||||||
|
|
||||||
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
|
||||||
|
|
||||||
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||||
|
|
||||||
|
property :input_uri, as: 'inputUri'
|
||||||
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||||
|
|
||||||
|
collection :shot_annotations, as: 'shotAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
||||||
|
|
||||||
|
collection :shot_label_annotations, as: 'shotLabelAnnotations', class: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class GoogleCloudVideointelligenceV1beta2VideoSegment
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :end_time_offset, as: 'endTimeOffset'
|
||||||
|
property :start_time_offset, as: 'startTimeOffset'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleLongrunningOperation
|
class GoogleLongrunningOperation
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -52,7 +52,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'webfonts/v1/')
|
super('https://www.googleapis.com/', 'webfonts/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/webfonts/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Retrieves the list of fonts currently served by the Google Fonts Developer API
|
# Retrieves the list of fonts currently served by the Google Fonts Developer API
|
||||||
|
|
|
@ -50,7 +50,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'youtube/analytics/v1/')
|
super('https://www.googleapis.com/', 'youtube/analytics/v1/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/youtubeAnalytics/v1'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Removes an item from a group.
|
# Removes an item from a group.
|
||||||
|
|
|
@ -51,7 +51,7 @@ module Google
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
super('https://www.googleapis.com/', 'youtube/v3/')
|
super('https://www.googleapis.com/', 'youtube/v3/')
|
||||||
@batch_path = 'batch'
|
@batch_path = 'batch/youtube/v3'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Posts a bulletin for a specific channel. (The user submitting the request must
|
# Posts a bulletin for a specific channel. (The user submitting the request must
|
||||||
|
|
Loading…
Reference in New Issue