google-api-client 0.30.6 → 0.30.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +7 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +91 -19
- data/generated/google/apis/dialogflow_v2/representations.rb +32 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +91 -19
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +33 -14
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +103 -0
- data/generated/google/apis/docs_v1/representations.rb +37 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +147 -240
- data/generated/google/apis/jobs_v2/service.rb +24 -44
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +113 -179
- data/generated/google/apis/jobs_v3/service.rb +25 -50
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +119 -187
- data/generated/google/apis/jobs_v3p1beta1/service.rb +25 -50
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +105 -0
- data/generated/google/apis/people_v1/representations.rb +42 -0
- data/generated/google/apis/people_v1/service.rb +98 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +37 -0
- data/generated/google/apis/translate_v3beta1/classes.rb +826 -0
- data/generated/google/apis/translate_v3beta1/representations.rb +404 -0
- data/generated/google/apis/translate_v3beta1/service.rb +706 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +30 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +10 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +30 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +10 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +30 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +10 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +30 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +10 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +30 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +10 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52c10c95e9d406301f8d7e8df7afb46df1d4ef58
|
4
|
+
data.tar.gz: c96902466441d1719d8bf5fe7a3eac6bebdbc9a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b849fe07cbc5b2707d4abc97589fbd09062a5370a1c371e3af9f16e692190c83d3055e348352c36611bc9e8ca28c34406210b3a2fb33e3cf4b26002e2a662d
|
7
|
+
data.tar.gz: c5057875b65ae0cd01ad0fa4d5ce7023cb7412883471661d4be187e1f900a1822787e2b5475e17aeb326d11276af6f9b69786e747505c54fad58d69d5ec0312f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# 0.30.7
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `translate_v3beta1`
|
4
|
+
* Updated `bigquery_v2`
|
5
|
+
* Updated `cloudiot_v1`
|
6
|
+
* Updated `dialogflow_v2`
|
7
|
+
* Updated `dialogflow_v2beta1`
|
8
|
+
* Updated `docs_v1`
|
9
|
+
* Updated `jobs_v2`
|
10
|
+
* Updated `jobs_v3`
|
11
|
+
* Updated `jobs_v3p1beta1`
|
12
|
+
* Updated `people_v1`
|
13
|
+
* Updated `slides_v1`
|
14
|
+
* Updated `videointelligence_v1`
|
15
|
+
* Updated `videointelligence_v1beta2`
|
16
|
+
* Updated `videointelligence_v1p1beta1`
|
17
|
+
* Updated `videointelligence_v1p2beta1`
|
18
|
+
* Updated `videointelligence_v1p3beta1`
|
19
|
+
|
1
20
|
# 0.30.6
|
2
21
|
* Backwards compatible changes:
|
3
22
|
* Added `run_v1beta1`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190712'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -2969,6 +2969,12 @@ module Google
|
|
2969
2969
|
# @return [Array<Google::Apis::BigqueryV2::ExplainQueryStage>]
|
2970
2970
|
attr_accessor :query_plan
|
2971
2971
|
|
2972
|
+
# [Output-only] Referenced routines (persistent user-defined functions and
|
2973
|
+
# stored procedures) for the job.
|
2974
|
+
# Corresponds to the JSON property `referencedRoutines`
|
2975
|
+
# @return [Array<Google::Apis::BigqueryV2::RoutineReference>]
|
2976
|
+
attr_accessor :referenced_routines
|
2977
|
+
|
2972
2978
|
# [Output-only] Referenced tables for the job. Queries that reference more than
|
2973
2979
|
# 50 tables will not have a complete list.
|
2974
2980
|
# Corresponds to the JSON property `referencedTables`
|
@@ -3064,6 +3070,7 @@ module Google
|
|
3064
3070
|
@model_training_expected_total_iteration = args[:model_training_expected_total_iteration] if args.key?(:model_training_expected_total_iteration)
|
3065
3071
|
@num_dml_affected_rows = args[:num_dml_affected_rows] if args.key?(:num_dml_affected_rows)
|
3066
3072
|
@query_plan = args[:query_plan] if args.key?(:query_plan)
|
3073
|
+
@referenced_routines = args[:referenced_routines] if args.key?(:referenced_routines)
|
3067
3074
|
@referenced_tables = args[:referenced_tables] if args.key?(:referenced_tables)
|
3068
3075
|
@reservation_usage = args[:reservation_usage] if args.key?(:reservation_usage)
|
3069
3076
|
@schema = args[:schema] if args.key?(:schema)
|
@@ -1288,6 +1288,8 @@ module Google
|
|
1288
1288
|
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
1289
1289
|
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
|
1290
1290
|
|
1291
|
+
collection :referenced_routines, as: 'referencedRoutines', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
|
1292
|
+
|
1291
1293
|
collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
1292
1294
|
|
1293
1295
|
collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics2::ReservationUsage::Representation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190709'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -82,7 +82,7 @@ module Google
|
|
82
82
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
83
83
|
# who is authenticated with a Google account or a service account.
|
84
84
|
# * `user:`emailid``: An email address that represents a specific Google
|
85
|
-
# account. For example, `alice@
|
85
|
+
# account. For example, `alice@example.com` .
|
86
86
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
87
87
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
88
88
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -845,7 +845,7 @@ module Google
|
|
845
845
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
846
846
|
# ensure that their change will be applied to the same version of the policy.
|
847
847
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
848
|
-
# policy is overwritten
|
848
|
+
# policy is overwritten.
|
849
849
|
# Corresponds to the JSON property `etag`
|
850
850
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
851
851
|
# @return [String]
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190717'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -2679,6 +2679,73 @@ module Google
|
|
2679
2679
|
end
|
2680
2680
|
end
|
2681
2681
|
|
2682
|
+
# Represents an annotated conversation dataset.
|
2683
|
+
# ConversationDataset can have multiple AnnotatedConversationDataset, each of
|
2684
|
+
# them represents one result from one annotation task.
|
2685
|
+
# AnnotatedConversationDataset can only be generated from annotation task,
|
2686
|
+
# which will be triggered by LabelConversation.
|
2687
|
+
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
2688
|
+
include Google::Apis::Core::Hashable
|
2689
|
+
|
2690
|
+
# Output only. Number of examples that have annotations in the annotated
|
2691
|
+
# conversation dataset.
|
2692
|
+
# Corresponds to the JSON property `completedExampleCount`
|
2693
|
+
# @return [Fixnum]
|
2694
|
+
attr_accessor :completed_example_count
|
2695
|
+
|
2696
|
+
# Output only. Creation time of this annotated conversation dataset.
|
2697
|
+
# Corresponds to the JSON property `createTime`
|
2698
|
+
# @return [String]
|
2699
|
+
attr_accessor :create_time
|
2700
|
+
|
2701
|
+
# Optional. The description of the annotated conversation dataset.
|
2702
|
+
# Maximum of 10000 bytes.
|
2703
|
+
# Corresponds to the JSON property `description`
|
2704
|
+
# @return [String]
|
2705
|
+
attr_accessor :description
|
2706
|
+
|
2707
|
+
# Required. The display name of the annotated conversation dataset.
|
2708
|
+
# It's specified when user starts an annotation task. Maximum of 64 bytes.
|
2709
|
+
# Corresponds to the JSON property `displayName`
|
2710
|
+
# @return [String]
|
2711
|
+
attr_accessor :display_name
|
2712
|
+
|
2713
|
+
# Output only. Number of examples in the annotated conversation dataset.
|
2714
|
+
# Corresponds to the JSON property `exampleCount`
|
2715
|
+
# @return [Fixnum]
|
2716
|
+
attr_accessor :example_count
|
2717
|
+
|
2718
|
+
# Output only. AnnotatedConversationDataset resource name. Format:
|
2719
|
+
# `projects/<Project ID>/conversationDatasets/<Conversation Dataset
|
2720
|
+
# ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
|
2721
|
+
# Corresponds to the JSON property `name`
|
2722
|
+
# @return [String]
|
2723
|
+
attr_accessor :name
|
2724
|
+
|
2725
|
+
# Output only. Question type name that identifies a labeling task.
|
2726
|
+
# A question is a single task that a worker answers. A question type is set
|
2727
|
+
# of related questions. Each question belongs to a particular question type.
|
2728
|
+
# It can be used in CrowdCompute UI to filter and manage labeling tasks.
|
2729
|
+
# Corresponds to the JSON property `questionTypeName`
|
2730
|
+
# @return [String]
|
2731
|
+
attr_accessor :question_type_name
|
2732
|
+
|
2733
|
+
def initialize(**args)
|
2734
|
+
update!(**args)
|
2735
|
+
end
|
2736
|
+
|
2737
|
+
# Update properties of this object
|
2738
|
+
def update!(**args)
|
2739
|
+
@completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count)
|
2740
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2741
|
+
@description = args[:description] if args.key?(:description)
|
2742
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2743
|
+
@example_count = args[:example_count] if args.key?(:example_count)
|
2744
|
+
@name = args[:name] if args.key?(:name)
|
2745
|
+
@question_type_name = args[:question_type_name] if args.key?(:question_type_name)
|
2746
|
+
end
|
2747
|
+
end
|
2748
|
+
|
2682
2749
|
# Metadata for article suggestion models.
|
2683
2750
|
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
2684
2751
|
include Google::Apis::Core::Hashable
|
@@ -2811,11 +2878,6 @@ module Google
|
|
2811
2878
|
# @return [String]
|
2812
2879
|
attr_accessor :name
|
2813
2880
|
|
2814
|
-
# Metadata for smart reply models.
|
2815
|
-
# Corresponds to the JSON property `smartReplyModelMetadata`
|
2816
|
-
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
|
2817
|
-
attr_accessor :smart_reply_model_metadata
|
2818
|
-
|
2819
2881
|
# Output only. State of the model. A model can only serve prediction requests
|
2820
2882
|
# after it gets deployed.
|
2821
2883
|
# Corresponds to the JSON property `state`
|
@@ -2833,7 +2895,6 @@ module Google
|
|
2833
2895
|
@datasets = args[:datasets] if args.key?(:datasets)
|
2834
2896
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2835
2897
|
@name = args[:name] if args.key?(:name)
|
2836
|
-
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
2837
2898
|
@state = args[:state] if args.key?(:state)
|
2838
2899
|
end
|
2839
2900
|
end
|
@@ -4588,6 +4649,30 @@ module Google
|
|
4588
4649
|
end
|
4589
4650
|
end
|
4590
4651
|
|
4652
|
+
# The response for
|
4653
|
+
# ConversationDatasets.LabelConversation
|
4654
|
+
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
4655
|
+
include Google::Apis::Core::Hashable
|
4656
|
+
|
4657
|
+
# Represents an annotated conversation dataset.
|
4658
|
+
# ConversationDataset can have multiple AnnotatedConversationDataset, each of
|
4659
|
+
# them represents one result from one annotation task.
|
4660
|
+
# AnnotatedConversationDataset can only be generated from annotation task,
|
4661
|
+
# which will be triggered by LabelConversation.
|
4662
|
+
# Corresponds to the JSON property `annotatedConversationDataset`
|
4663
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset]
|
4664
|
+
attr_accessor :annotated_conversation_dataset
|
4665
|
+
|
4666
|
+
def initialize(**args)
|
4667
|
+
update!(**args)
|
4668
|
+
end
|
4669
|
+
|
4670
|
+
# Update properties of this object
|
4671
|
+
def update!(**args)
|
4672
|
+
@annotated_conversation_dataset = args[:annotated_conversation_dataset] if args.key?(:annotated_conversation_dataset)
|
4673
|
+
end
|
4674
|
+
end
|
4675
|
+
|
4591
4676
|
# Represents the contents of the original request that was passed to
|
4592
4677
|
# the `[Streaming]DetectIntent` call.
|
4593
4678
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
@@ -4831,19 +4916,6 @@ module Google
|
|
4831
4916
|
end
|
4832
4917
|
end
|
4833
4918
|
|
4834
|
-
# Metadata for smart reply models.
|
4835
|
-
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
4836
|
-
include Google::Apis::Core::Hashable
|
4837
|
-
|
4838
|
-
def initialize(**args)
|
4839
|
-
update!(**args)
|
4840
|
-
end
|
4841
|
-
|
4842
|
-
# Update properties of this object
|
4843
|
-
def update!(**args)
|
4844
|
-
end
|
4845
|
-
end
|
4846
|
-
|
4847
4919
|
# The request message for a webhook call.
|
4848
4920
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
4849
4921
|
include Google::Apis::Core::Hashable
|
@@ -424,6 +424,12 @@ module Google
|
|
424
424
|
include Google::Apis::Core::JsonObjectSupport
|
425
425
|
end
|
426
426
|
|
427
|
+
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
427
433
|
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
428
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
435
|
|
@@ -730,31 +736,31 @@ module Google
|
|
730
736
|
include Google::Apis::Core::JsonObjectSupport
|
731
737
|
end
|
732
738
|
|
733
|
-
class
|
739
|
+
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
734
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
741
|
|
736
742
|
include Google::Apis::Core::JsonObjectSupport
|
737
743
|
end
|
738
744
|
|
739
|
-
class
|
745
|
+
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
740
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
747
|
|
742
748
|
include Google::Apis::Core::JsonObjectSupport
|
743
749
|
end
|
744
750
|
|
745
|
-
class
|
751
|
+
class GoogleCloudDialogflowV2beta1QueryResult
|
746
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
753
|
|
748
754
|
include Google::Apis::Core::JsonObjectSupport
|
749
755
|
end
|
750
756
|
|
751
|
-
class
|
757
|
+
class GoogleCloudDialogflowV2beta1Sentiment
|
752
758
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
759
|
|
754
760
|
include Google::Apis::Core::JsonObjectSupport
|
755
761
|
end
|
756
762
|
|
757
|
-
class
|
763
|
+
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
|
758
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
765
|
|
760
766
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -1497,6 +1503,19 @@ module Google
|
|
1497
1503
|
end
|
1498
1504
|
end
|
1499
1505
|
|
1506
|
+
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
1507
|
+
# @private
|
1508
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1509
|
+
property :completed_example_count, :numeric_string => true, as: 'completedExampleCount'
|
1510
|
+
property :create_time, as: 'createTime'
|
1511
|
+
property :description, as: 'description'
|
1512
|
+
property :display_name, as: 'displayName'
|
1513
|
+
property :example_count, :numeric_string => true, as: 'exampleCount'
|
1514
|
+
property :name, as: 'name'
|
1515
|
+
property :question_type_name, as: 'questionTypeName'
|
1516
|
+
end
|
1517
|
+
end
|
1518
|
+
|
1500
1519
|
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
1501
1520
|
# @private
|
1502
1521
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1539,8 +1558,6 @@ module Google
|
|
1539
1558
|
|
1540
1559
|
property :display_name, as: 'displayName'
|
1541
1560
|
property :name, as: 'name'
|
1542
|
-
property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
|
1543
|
-
|
1544
1561
|
property :state, as: 'state'
|
1545
1562
|
end
|
1546
1563
|
end
|
@@ -2012,6 +2029,14 @@ module Google
|
|
2012
2029
|
end
|
2013
2030
|
end
|
2014
2031
|
|
2032
|
+
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
2033
|
+
# @private
|
2034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2035
|
+
property :annotated_conversation_dataset, as: 'annotatedConversationDataset', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset::Representation
|
2036
|
+
|
2037
|
+
end
|
2038
|
+
end
|
2039
|
+
|
2015
2040
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
2016
2041
|
# @private
|
2017
2042
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2064,12 +2089,6 @@ module Google
|
|
2064
2089
|
end
|
2065
2090
|
end
|
2066
2091
|
|
2067
|
-
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
2068
|
-
# @private
|
2069
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2070
|
-
end
|
2071
|
-
end
|
2072
|
-
|
2073
2092
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
2074
2093
|
# @private
|
2075
2094
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190717'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1665,6 +1665,73 @@ module Google
|
|
1665
1665
|
end
|
1666
1666
|
end
|
1667
1667
|
|
1668
|
+
# Represents an annotated conversation dataset.
|
1669
|
+
# ConversationDataset can have multiple AnnotatedConversationDataset, each of
|
1670
|
+
# them represents one result from one annotation task.
|
1671
|
+
# AnnotatedConversationDataset can only be generated from annotation task,
|
1672
|
+
# which will be triggered by LabelConversation.
|
1673
|
+
class GoogleCloudDialogflowV2beta1AnnotatedConversationDataset
|
1674
|
+
include Google::Apis::Core::Hashable
|
1675
|
+
|
1676
|
+
# Output only. Number of examples that have annotations in the annotated
|
1677
|
+
# conversation dataset.
|
1678
|
+
# Corresponds to the JSON property `completedExampleCount`
|
1679
|
+
# @return [Fixnum]
|
1680
|
+
attr_accessor :completed_example_count
|
1681
|
+
|
1682
|
+
# Output only. Creation time of this annotated conversation dataset.
|
1683
|
+
# Corresponds to the JSON property `createTime`
|
1684
|
+
# @return [String]
|
1685
|
+
attr_accessor :create_time
|
1686
|
+
|
1687
|
+
# Optional. The description of the annotated conversation dataset.
|
1688
|
+
# Maximum of 10000 bytes.
|
1689
|
+
# Corresponds to the JSON property `description`
|
1690
|
+
# @return [String]
|
1691
|
+
attr_accessor :description
|
1692
|
+
|
1693
|
+
# Required. The display name of the annotated conversation dataset.
|
1694
|
+
# It's specified when user starts an annotation task. Maximum of 64 bytes.
|
1695
|
+
# Corresponds to the JSON property `displayName`
|
1696
|
+
# @return [String]
|
1697
|
+
attr_accessor :display_name
|
1698
|
+
|
1699
|
+
# Output only. Number of examples in the annotated conversation dataset.
|
1700
|
+
# Corresponds to the JSON property `exampleCount`
|
1701
|
+
# @return [Fixnum]
|
1702
|
+
attr_accessor :example_count
|
1703
|
+
|
1704
|
+
# Output only. AnnotatedConversationDataset resource name. Format:
|
1705
|
+
# `projects/<Project ID>/conversationDatasets/<Conversation Dataset
|
1706
|
+
# ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
|
1707
|
+
# Corresponds to the JSON property `name`
|
1708
|
+
# @return [String]
|
1709
|
+
attr_accessor :name
|
1710
|
+
|
1711
|
+
# Output only. Question type name that identifies a labeling task.
|
1712
|
+
# A question is a single task that a worker answers. A question type is set
|
1713
|
+
# of related questions. Each question belongs to a particular question type.
|
1714
|
+
# It can be used in CrowdCompute UI to filter and manage labeling tasks.
|
1715
|
+
# Corresponds to the JSON property `questionTypeName`
|
1716
|
+
# @return [String]
|
1717
|
+
attr_accessor :question_type_name
|
1718
|
+
|
1719
|
+
def initialize(**args)
|
1720
|
+
update!(**args)
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
# Update properties of this object
|
1724
|
+
def update!(**args)
|
1725
|
+
@completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count)
|
1726
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1727
|
+
@description = args[:description] if args.key?(:description)
|
1728
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1729
|
+
@example_count = args[:example_count] if args.key?(:example_count)
|
1730
|
+
@name = args[:name] if args.key?(:name)
|
1731
|
+
@question_type_name = args[:question_type_name] if args.key?(:question_type_name)
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
|
1668
1735
|
# Metadata for article suggestion models.
|
1669
1736
|
class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
|
1670
1737
|
include Google::Apis::Core::Hashable
|
@@ -2030,11 +2097,6 @@ module Google
|
|
2030
2097
|
# @return [String]
|
2031
2098
|
attr_accessor :name
|
2032
2099
|
|
2033
|
-
# Metadata for smart reply models.
|
2034
|
-
# Corresponds to the JSON property `smartReplyModelMetadata`
|
2035
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
|
2036
|
-
attr_accessor :smart_reply_model_metadata
|
2037
|
-
|
2038
2100
|
# Output only. State of the model. A model can only serve prediction requests
|
2039
2101
|
# after it gets deployed.
|
2040
2102
|
# Corresponds to the JSON property `state`
|
@@ -2052,7 +2114,6 @@ module Google
|
|
2052
2114
|
@datasets = args[:datasets] if args.key?(:datasets)
|
2053
2115
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2054
2116
|
@name = args[:name] if args.key?(:name)
|
2055
|
-
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
2056
2117
|
@state = args[:state] if args.key?(:state)
|
2057
2118
|
end
|
2058
2119
|
end
|
@@ -4221,6 +4282,30 @@ module Google
|
|
4221
4282
|
end
|
4222
4283
|
end
|
4223
4284
|
|
4285
|
+
# The response for
|
4286
|
+
# ConversationDatasets.LabelConversation
|
4287
|
+
class GoogleCloudDialogflowV2beta1LabelConversationResponse
|
4288
|
+
include Google::Apis::Core::Hashable
|
4289
|
+
|
4290
|
+
# Represents an annotated conversation dataset.
|
4291
|
+
# ConversationDataset can have multiple AnnotatedConversationDataset, each of
|
4292
|
+
# them represents one result from one annotation task.
|
4293
|
+
# AnnotatedConversationDataset can only be generated from annotation task,
|
4294
|
+
# which will be triggered by LabelConversation.
|
4295
|
+
# Corresponds to the JSON property `annotatedConversationDataset`
|
4296
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AnnotatedConversationDataset]
|
4297
|
+
attr_accessor :annotated_conversation_dataset
|
4298
|
+
|
4299
|
+
def initialize(**args)
|
4300
|
+
update!(**args)
|
4301
|
+
end
|
4302
|
+
|
4303
|
+
# Update properties of this object
|
4304
|
+
def update!(**args)
|
4305
|
+
@annotated_conversation_dataset = args[:annotated_conversation_dataset] if args.key?(:annotated_conversation_dataset)
|
4306
|
+
end
|
4307
|
+
end
|
4308
|
+
|
4224
4309
|
# The response message for Contexts.ListContexts.
|
4225
4310
|
class GoogleCloudDialogflowV2beta1ListContextsResponse
|
4226
4311
|
include Google::Apis::Core::Hashable
|
@@ -4921,19 +5006,6 @@ module Google
|
|
4921
5006
|
end
|
4922
5007
|
end
|
4923
5008
|
|
4924
|
-
# Metadata for smart reply models.
|
4925
|
-
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
4926
|
-
include Google::Apis::Core::Hashable
|
4927
|
-
|
4928
|
-
def initialize(**args)
|
4929
|
-
update!(**args)
|
4930
|
-
end
|
4931
|
-
|
4932
|
-
# Update properties of this object
|
4933
|
-
def update!(**args)
|
4934
|
-
end
|
4935
|
-
end
|
4936
|
-
|
4937
5009
|
# Configuration of how speech should be synthesized.
|
4938
5010
|
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
4939
5011
|
include Google::Apis::Core::Hashable
|