From 10b80cfffcc5e763a1657e69ed51a3074cbdaf8f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 1 Dec 2018 00:36:27 +0000 Subject: [PATCH] Autogenerated update (2018-12-01) Update: - cloudfunctions_v1beta2 - container_v1beta1 - speech_v1 - speech_v1p1beta1 --- api_names_out.yaml | 32 ++ .../google/apis/cloudfunctions_v1beta2.rb | 2 +- .../apis/cloudfunctions_v1beta2/classes.rb | 5 +- generated/google/apis/container_v1beta1.rb | 6 +- .../google/apis/container_v1beta1/classes.rb | 51 +- .../apis/container_v1beta1/representations.rb | 17 + .../google/apis/container_v1beta1/service.rb | 4 +- generated/google/apis/speech_v1.rb | 2 +- generated/google/apis/speech_v1/classes.rb | 68 ++- .../google/apis/speech_v1/representations.rb | 30 +- generated/google/apis/speech_v1p1beta1.rb | 2 +- .../google/apis/speech_v1p1beta1/classes.rb | 503 +++--------------- .../apis/speech_v1p1beta1/representations.rb | 167 +----- .../google/apis/speech_v1p1beta1/service.rb | 330 +----------- 14 files changed, 311 insertions(+), 908 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 0ca5837d2..840239a40 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -36961,6 +36961,7 @@ "/container:v1beta1/Cluster/statusMessage": status_message "/container:v1beta1/Cluster/subnetwork": subnetwork "/container:v1beta1/Cluster/tpuIpv4CidrBlock": tpu_ipv4_cidr_block +"/container:v1beta1/Cluster/verticalPodAutoscaling": vertical_pod_autoscaling "/container:v1beta1/Cluster/zone": zone "/container:v1beta1/ClusterAutoscaling": cluster_autoscaling "/container:v1beta1/ClusterAutoscaling/enableNodeAutoprovisioning": enable_node_autoprovisioning @@ -36981,6 +36982,7 @@ "/container:v1beta1/ClusterUpdate/desiredNodePoolId": desired_node_pool_id "/container:v1beta1/ClusterUpdate/desiredNodeVersion": desired_node_version "/container:v1beta1/ClusterUpdate/desiredPodSecurityPolicyConfig": desired_pod_security_policy_config +"/container:v1beta1/ClusterUpdate/desiredVerticalPodAutoscaling": desired_vertical_pod_autoscaling "/container:v1beta1/CompleteIPRotationRequest": complete_ip_rotation_request "/container:v1beta1/CompleteIPRotationRequest/clusterId": cluster_id "/container:v1beta1/CompleteIPRotationRequest/name": name @@ -37316,6 +37318,8 @@ "/container:v1beta1/UsableSubnetworkSecondaryRange/ipCidrRange": ip_cidr_range "/container:v1beta1/UsableSubnetworkSecondaryRange/rangeName": range_name "/container:v1beta1/UsableSubnetworkSecondaryRange/status": status +"/container:v1beta1/VerticalPodAutoscaling": vertical_pod_autoscaling +"/container:v1beta1/VerticalPodAutoscaling/enabled": enabled "/container:v1beta1/WorkloadMetadataConfig": workload_metadata_config "/container:v1beta1/WorkloadMetadataConfig/nodeMetadata": node_metadata "/container:v1beta1/container.projects.aggregated.usableSubnetworks.list": list_project_aggregated_usable_subnetworks @@ -85372,9 +85376,16 @@ "/speech:v1/ListOperationsResponse/nextPageToken": next_page_token "/speech:v1/ListOperationsResponse/operations": operations "/speech:v1/ListOperationsResponse/operations/operation": operation +"/speech:v1/LongRunningRecognizeMetadata": long_running_recognize_metadata +"/speech:v1/LongRunningRecognizeMetadata/lastUpdateTime": last_update_time +"/speech:v1/LongRunningRecognizeMetadata/progressPercent": progress_percent +"/speech:v1/LongRunningRecognizeMetadata/startTime": start_time "/speech:v1/LongRunningRecognizeRequest": long_running_recognize_request "/speech:v1/LongRunningRecognizeRequest/audio": audio "/speech:v1/LongRunningRecognizeRequest/config": config +"/speech:v1/LongRunningRecognizeResponse": long_running_recognize_response +"/speech:v1/LongRunningRecognizeResponse/results": results +"/speech:v1/LongRunningRecognizeResponse/results/result": result "/speech:v1/Operation": operation "/speech:v1/Operation/done": done "/speech:v1/Operation/error": error @@ -85552,12 +85563,23 @@ "/speech:v1p1beta1/ListModelsResponse/models": models "/speech:v1p1beta1/ListModelsResponse/models/model": model "/speech:v1p1beta1/ListModelsResponse/nextPageToken": next_page_token +"/speech:v1p1beta1/ListOperationsResponse": list_operations_response +"/speech:v1p1beta1/ListOperationsResponse/nextPageToken": next_page_token +"/speech:v1p1beta1/ListOperationsResponse/operations": operations +"/speech:v1p1beta1/ListOperationsResponse/operations/operation": operation "/speech:v1p1beta1/LogBucketStats": log_bucket_stats "/speech:v1p1beta1/LogBucketStats/bucketName": bucket_name "/speech:v1p1beta1/LogBucketStats/count": count +"/speech:v1p1beta1/LongRunningRecognizeMetadata": long_running_recognize_metadata +"/speech:v1p1beta1/LongRunningRecognizeMetadata/lastUpdateTime": last_update_time +"/speech:v1p1beta1/LongRunningRecognizeMetadata/progressPercent": progress_percent +"/speech:v1p1beta1/LongRunningRecognizeMetadata/startTime": start_time "/speech:v1p1beta1/LongRunningRecognizeRequest": long_running_recognize_request "/speech:v1p1beta1/LongRunningRecognizeRequest/audio": audio "/speech:v1p1beta1/LongRunningRecognizeRequest/config": config +"/speech:v1p1beta1/LongRunningRecognizeResponse": long_running_recognize_response +"/speech:v1p1beta1/LongRunningRecognizeResponse/results": results +"/speech:v1p1beta1/LongRunningRecognizeResponse/results/result": result "/speech:v1p1beta1/Model": model "/speech:v1p1beta1/Model/createTime": create_time "/speech:v1p1beta1/Model/displayName": display_name @@ -85580,6 +85602,7 @@ "/speech:v1p1beta1/RecognitionConfig/alternativeLanguageCodes": alternative_language_codes "/speech:v1p1beta1/RecognitionConfig/alternativeLanguageCodes/alternative_language_code": alternative_language_code "/speech:v1p1beta1/RecognitionConfig/audioChannelCount": audio_channel_count +"/speech:v1p1beta1/RecognitionConfig/diarizationConfig": diarization_config "/speech:v1p1beta1/RecognitionConfig/diarizationSpeakerCount": diarization_speaker_count "/speech:v1p1beta1/RecognitionConfig/enableAutomaticPunctuation": enable_automatic_punctuation "/speech:v1p1beta1/RecognitionConfig/enableSeparateRecognitionPerChannel": enable_separate_recognition_per_channel @@ -85616,6 +85639,10 @@ "/speech:v1p1beta1/RecognizeResponse/results/result": result "/speech:v1p1beta1/RefreshDataRequest": refresh_data_request "/speech:v1p1beta1/RefreshDataRequest/uri": uri +"/speech:v1p1beta1/SpeakerDiarizationConfig": speaker_diarization_config +"/speech:v1p1beta1/SpeakerDiarizationConfig/enableSpeakerDiarization": enable_speaker_diarization +"/speech:v1p1beta1/SpeakerDiarizationConfig/maxSpeakerCount": max_speaker_count +"/speech:v1p1beta1/SpeakerDiarizationConfig/minSpeakerCount": min_speaker_count "/speech:v1p1beta1/SpeechContext": speech_context "/speech:v1p1beta1/SpeechContext/phrases": phrases "/speech:v1p1beta1/SpeechContext/phrases/phrase": phrase @@ -85647,6 +85674,11 @@ "/speech:v1p1beta1/quotaUser": quota_user "/speech:v1p1beta1/speech.operations.get": get_operation "/speech:v1p1beta1/speech.operations.get/name": name +"/speech:v1p1beta1/speech.operations.list": list_operations +"/speech:v1p1beta1/speech.operations.list/filter": filter +"/speech:v1p1beta1/speech.operations.list/name": name +"/speech:v1p1beta1/speech.operations.list/pageSize": page_size +"/speech:v1p1beta1/speech.operations.list/pageToken": page_token "/speech:v1p1beta1/speech.projects.locations.datasets.create": create_project_location_dataset "/speech:v1p1beta1/speech.projects.locations.datasets.create/parent": parent "/speech:v1p1beta1/speech.projects.locations.datasets.get": get_project_location_dataset diff --git a/generated/google/apis/cloudfunctions_v1beta2.rb b/generated/google/apis/cloudfunctions_v1beta2.rb index 58ee6ee59..b50edb160 100644 --- a/generated/google/apis/cloudfunctions_v1beta2.rb +++ b/generated/google/apis/cloudfunctions_v1beta2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/functions module CloudfunctionsV1beta2 VERSION = 'V1beta2' - REVISION = '20181010' + REVISION = '20181121' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/cloudfunctions_v1beta2/classes.rb b/generated/google/apis/cloudfunctions_v1beta2/classes.rb index 2fbb42524..556aa5359 100644 --- a/generated/google/apis/cloudfunctions_v1beta2/classes.rb +++ b/generated/google/apis/cloudfunctions_v1beta2/classes.rb @@ -95,7 +95,6 @@ module Google # @return [String] attr_accessor :entry_point - # **Beta Feature** # Environment variables that shall be available during function execution. # Corresponds to the JSON property `environmentVariables` # @return [Hash] @@ -683,7 +682,7 @@ module Google attr_accessor :update_time # Version id of the function created or updated by an API call. - # This field is only pupulated for Create and Update operations. + # This field is only populated for Create and Update operations. # Corresponds to the JSON property `versionId` # @return [Fixnum] attr_accessor :version_id @@ -728,7 +727,7 @@ module Google attr_accessor :update_time # Version id of the function created or updated by an API call. - # This field is only pupulated for Create and Update operations. + # This field is only populated for Create and Update operations. # Corresponds to the JSON property `versionId` # @return [Fixnum] attr_accessor :version_id diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 1c0b87657..90d47b976 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -20,13 +20,13 @@ module Google module Apis # Kubernetes Engine API # - # The Google Kubernetes Engine API is used for building and managing container - # based applications, powered by the open source Kubernetes technology. + # Builds and manages container-based applications, powered by the open source + # Kubernetes technology. # # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20180917' + REVISION = '20181109' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index abc6e502e..692d6bbb4 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -276,7 +276,8 @@ module Google # @return [String] attr_accessor :current_master_version - # [Output only] The number of nodes currently in the cluster. + # [Output only] The number of nodes currently in the cluster. Deprecated. + # Call Kubernetes API directly to retrieve node information. # Corresponds to the JSON property `currentNodeCount` # @return [Fixnum] attr_accessor :current_node_count @@ -390,7 +391,7 @@ module Google attr_accessor :location # The list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes + # [zones](/compute/docs/zones#available) in which the cluster's nodes # should be located. # Corresponds to the JSON property `locations` # @return [Array] @@ -557,6 +558,13 @@ module Google # @return [String] attr_accessor :tpu_ipv4_cidr_block + # VerticalPodAutoscaling contains global, per-cluster information + # required by Vertical Pod Autoscaler to automatically adjust + # the resources of pods controlled by it. + # Corresponds to the JSON property `verticalPodAutoscaling` + # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling] + attr_accessor :vertical_pod_autoscaling + # [Output only] The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. @@ -617,6 +625,7 @@ module Google @status_message = args[:status_message] if args.key?(:status_message) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) @tpu_ipv4_cidr_block = args[:tpu_ipv4_cidr_block] if args.key?(:tpu_ipv4_cidr_block) + @vertical_pod_autoscaling = args[:vertical_pod_autoscaling] if args.key?(:vertical_pod_autoscaling) @zone = args[:zone] if args.key?(:zone) end end @@ -683,7 +692,7 @@ module Google attr_accessor :desired_image_type # The desired list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes + # [zones](/compute/docs/zones#available) in which the cluster's nodes # should be located. Changing the locations a cluster is in will result # in nodes being either created or removed from the cluster, depending on # whether locations are being added or removed. @@ -765,6 +774,13 @@ module Google # @return [Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig] attr_accessor :desired_pod_security_policy_config + # VerticalPodAutoscaling contains global, per-cluster information + # required by Vertical Pod Autoscaler to automatically adjust + # the resources of pods controlled by it. + # Corresponds to the JSON property `desiredVerticalPodAutoscaling` + # @return [Google::Apis::ContainerV1beta1::VerticalPodAutoscaling] + attr_accessor :desired_vertical_pod_autoscaling + def initialize(**args) update!(**args) end @@ -784,6 +800,7 @@ module Google @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_pod_security_policy_config = args[:desired_pod_security_policy_config] if args.key?(:desired_pod_security_policy_config) + @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling) end end @@ -1466,8 +1483,8 @@ module Google attr_accessor :password # The username to use for HTTP basic authentication to the master endpoint. - # For clusters v1.6.0 and later, you can disable basic authentication by - # providing an empty username. + # For clusters v1.6.0 and later, basic authentication can be disabled by + # leaving username unspecified (or setting it to the empty string). # Corresponds to the JSON property `username` # @return [String] attr_accessor :username @@ -2559,7 +2576,7 @@ module Google attr_accessor :cluster_id # The desired list of Google Compute Engine - # [locations](/compute/docs/zones#available) in which the cluster's nodes + # [zones](/compute/docs/zones#available) in which the cluster's nodes # should be located. Changing the locations a cluster is in will result # in nodes being either created or removed from the cluster, depending on # whether locations are being added or removed. @@ -3384,6 +3401,28 @@ module Google end end + # VerticalPodAutoscaling contains global, per-cluster information + # required by Vertical Pod Autoscaler to automatically adjust + # the resources of pods controlled by it. + class VerticalPodAutoscaling + include Google::Apis::Core::Hashable + + # Enables vertical pod autoscaling. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + # WorkloadMetadataConfig defines the metadata configuration to expose to # workloads on the node pool. class WorkloadMetadataConfig diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 93268040f..68c979aa0 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -418,6 +418,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class VerticalPodAutoscaling + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class WorkloadMetadataConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -551,6 +557,8 @@ module Google property :status_message, as: 'statusMessage' property :subnetwork, as: 'subnetwork' property :tpu_ipv4_cidr_block, as: 'tpuIpv4CidrBlock' + property :vertical_pod_autoscaling, as: 'verticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation + property :zone, as: 'zone' end end @@ -586,6 +594,8 @@ module Google property :desired_node_version, as: 'desiredNodeVersion' property :desired_pod_security_policy_config, as: 'desiredPodSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation + property :desired_vertical_pod_autoscaling, as: 'desiredVerticalPodAutoscaling', class: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::VerticalPodAutoscaling::Representation + end end @@ -1193,6 +1203,13 @@ module Google end end + class VerticalPodAutoscaling + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enabled, as: 'enabled' + end + end + class WorkloadMetadataConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/container_v1beta1/service.rb b/generated/google/apis/container_v1beta1/service.rb index b4c6e9191..096474839 100644 --- a/generated/google/apis/container_v1beta1/service.rb +++ b/generated/google/apis/container_v1beta1/service.rb @@ -22,8 +22,8 @@ module Google module ContainerV1beta1 # Kubernetes Engine API # - # The Google Kubernetes Engine API is used for building and managing container - # based applications, powered by the open source Kubernetes technology. + # Builds and manages container-based applications, powered by the open source + # Kubernetes technology. # # @example # require 'google/apis/container_v1beta1' diff --git a/generated/google/apis/speech_v1.rb b/generated/google/apis/speech_v1.rb index 3315f9d6d..2c45dd6a8 100644 --- a/generated/google/apis/speech_v1.rb +++ b/generated/google/apis/speech_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1 VERSION = 'V1' - REVISION = '20180914' + REVISION = '20181127' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/speech_v1/classes.rb b/generated/google/apis/speech_v1/classes.rb index 8d80a279f..55a2f04b2 100644 --- a/generated/google/apis/speech_v1/classes.rb +++ b/generated/google/apis/speech_v1/classes.rb @@ -47,6 +47,40 @@ module Google end end + # Describes the progress of a long-running `LongRunningRecognize` call. It is + # included in the `metadata` field of the `Operation` returned by the + # `GetOperation` call of the `google::longrunning::Operations` service. + class LongRunningRecognizeMetadata + include Google::Apis::Core::Hashable + + # Time of the most recent processing update. + # Corresponds to the JSON property `lastUpdateTime` + # @return [String] + attr_accessor :last_update_time + + # Approximate percentage of audio processed thus far. Guaranteed to be 100 + # when the audio is fully processed and the results are available. + # 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 + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @last_update_time = args[:last_update_time] if args.key?(:last_update_time) + @progress_percent = args[:progress_percent] if args.key?(:progress_percent) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + # The top-level message sent by the client for the `LongRunningRecognize` # method. class LongRunningRecognizeRequest @@ -77,6 +111,30 @@ module Google end end + # The only message returned to the client by the `LongRunningRecognize` method. + # It contains the result as zero or more sequential `SpeechRecognitionResult` + # messages. It is included in the `result.response` field of the `Operation` + # returned by the `GetOperation` call of the `google::longrunning::Operations` + # service. + class LongRunningRecognizeResponse + include Google::Apis::Core::Hashable + + # Output only. Sequential list of transcription results corresponding to + # sequential portions of audio. + # Corresponds to the JSON property `results` + # @return [Array] + attr_accessor :results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @results = args[:results] if args.key?(:results) + end + end + # This resource represents a long-running operation that is the result of a # network API call. class Operation @@ -586,15 +644,6 @@ module Google # @return [String] attr_accessor :end_time - # Output only. A distinct integer value is assigned for every speaker within - # the audio. This field specifies which one of those speakers was detected to - # have spoken this word. Value ranges from '1' to diarization_speaker_count. - # speaker_tag is set if enable_speaker_diarization = 'true' and only in the - # top alternative. - # Corresponds to the JSON property `speakerTag` - # @return [Fixnum] - attr_accessor :speaker_tag - # Output only. Time offset relative to the beginning of the audio, # and corresponding to the start of the spoken word. # This field is only set if `enable_word_time_offsets=true` and only @@ -617,7 +666,6 @@ module Google # Update properties of this object def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) - @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag) @start_time = args[:start_time] if args.key?(:start_time) @word = args[:word] if args.key?(:word) end diff --git a/generated/google/apis/speech_v1/representations.rb b/generated/google/apis/speech_v1/representations.rb index b9f182db2..d3ff3e5be 100644 --- a/generated/google/apis/speech_v1/representations.rb +++ b/generated/google/apis/speech_v1/representations.rb @@ -28,12 +28,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LongRunningRecognizeMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class LongRunningRecognizeRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LongRunningRecognizeResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Operation class Representation < Google::Apis::Core::JsonRepresentation; end @@ -103,6 +115,15 @@ module Google end end + class LongRunningRecognizeMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_update_time, as: 'lastUpdateTime' + property :progress_percent, as: 'progressPercent' + property :start_time, as: 'startTime' + end + end + class LongRunningRecognizeRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -113,6 +134,14 @@ module Google end end + class LongRunningRecognizeResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :results, as: 'results', class: Google::Apis::SpeechV1::SpeechRecognitionResult, decorator: Google::Apis::SpeechV1::SpeechRecognitionResult::Representation + + end + end + class Operation # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -206,7 +235,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :end_time, as: 'endTime' - property :speaker_tag, as: 'speakerTag' property :start_time, as: 'startTime' property :word, as: 'word' end diff --git a/generated/google/apis/speech_v1p1beta1.rb b/generated/google/apis/speech_v1p1beta1.rb index 2ecf312e4..096cc456b 100644 --- a/generated/google/apis/speech_v1p1beta1.rb +++ b/generated/google/apis/speech_v1p1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol module SpeechV1p1beta1 VERSION = 'V1p1beta1' - REVISION = '20181107' + REVISION = '20181127' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/speech_v1p1beta1/classes.rb b/generated/google/apis/speech_v1p1beta1/classes.rb index a0308f664..435d24f36 100644 --- a/generated/google/apis/speech_v1p1beta1/classes.rb +++ b/generated/google/apis/speech_v1p1beta1/classes.rb @@ -22,362 +22,52 @@ module Google module Apis module SpeechV1p1beta1 - # Different types of dataset errors and the stats associated with each error. - class DataErrors + # The response message for Operations.ListOperations. + class ListOperationsResponse include Google::Apis::Core::Hashable - # Number of records having errors associated with the enum. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # Type of the error. - # Corresponds to the JSON property `errorType` - # @return [String] - attr_accessor :error_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @error_type = args[:error_type] if args.key?(:error_type) - end - end - - # Contains stats about the data which was uploaded and preprocessed to be - # use by downstream pipelines like training, evals pipelines. - class DataStats - include Google::Apis::Core::Hashable - - # Different types of data errors and the counts associated with them. - # Corresponds to the JSON property `dataErrors` - # @return [Array] - attr_accessor :data_errors - - # The number of examples used for testing. - # Corresponds to the JSON property `testExampleCount` - # @return [Fixnum] - attr_accessor :test_example_count - - # The number of examples used for training. - # Corresponds to the JSON property `trainingExampleCount` - # @return [Fixnum] - attr_accessor :training_example_count - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @data_errors = args[:data_errors] if args.key?(:data_errors) - @test_example_count = args[:test_example_count] if args.key?(:test_example_count) - @training_example_count = args[:training_example_count] if args.key?(:training_example_count) - end - end - - # Specifies the parameters needed for creating a dataset. In addition this - # is also the message returned to the client by the `CreateDataset` method. - # It is included in the `result.response` field of the `Operation` - # returned by the `GetOperation` call of the `google::longrunning::Operations` - # service. - class Dataset - include Google::Apis::Core::Hashable - - # Output only. All the blocking operations associated with this dataset. - # Like (pre-processing, training-model, testing-model) - # Corresponds to the JSON property `blockingOperationIds` - # @return [Array] - attr_accessor :blocking_operation_ids - - # If set, the log data to be used in this dataset is restricted to the - # bucket specified. This field is only applicable if use_logged_data is true. - # If use_logged_data is true, but this field is not set, then all logs will - # be used for training the models. See: RecognitionMetadata for information - # on setting up data logs. - # Corresponds to the JSON property `bucketName` - # @return [String] - attr_accessor :bucket_name - - # Output only. The timestamp this dataset is created. - # Corresponds to the JSON property `createTime` - # @return [String] - attr_accessor :create_time - - # Location where the data should be processed. If not specified then we will - # pick a location on behalf of the user for storing and processing the data. - # Currently only us-central is supported. - # Corresponds to the JSON property `dataProcessingRegion` - # @return [String] - attr_accessor :data_processing_region - - # Contains stats about the data which was uploaded and preprocessed to be - # use by downstream pipelines like training, evals pipelines. - # Corresponds to the JSON property `dataStats` - # @return [Google::Apis::SpeechV1p1beta1::DataStats] - attr_accessor :data_stats - - # Required. Name of the data set for display. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. True if the data is sufficient to create custom models. - # Corresponds to the JSON property `hasSufficientData` - # @return [Boolean] - attr_accessor :has_sufficient_data - alias_method :has_sufficient_data?, :has_sufficient_data - - # Required. The language of the supplied audio as a - # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. - # Example: "en-US". - # See [Language Support](/speech-to-text/docs/languages) - # for a list of the currently supported language codes. - # Corresponds to the JSON property `languageCode` - # @return [String] - attr_accessor :language_code - - # All the models (including models pending training) built using the dataset. - # Corresponds to the JSON property `models` - # @return [Array] - attr_accessor :models - - # Output only. Resource name of the dataset. Form :- - # '/projects/`project_number`/locations/`location_id`/datasets/`dataset_id`' - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Output only. The timestamp this dataset is last updated. - # Corresponds to the JSON property `updateTime` - # @return [String] - attr_accessor :update_time - - # URI that points to a file in csv file where each row has following format. - # ,,