google-api-client 0.30.1 → 0.30.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +8 -74
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +156 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +68 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +8 -64
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +8 -64
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -64
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -4
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -74
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +10 -74
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2/service.rb +1 -2
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +8 -82
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +1 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +6 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +6 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +12 -111
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +8 -74
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +6 -0
- data/generated/google/apis/content_v2/representations.rb +2 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +12 -111
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +27 -117
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -74
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +56 -0
- data/generated/google/apis/fcm_v1/representations.rb +31 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +6 -6
- data/generated/google/apis/file_v1/representations.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +6 -6
- data/generated/google/apis/file_v1beta1/representations.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +8 -74
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +8 -74
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +14 -113
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +10 -2
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +62 -113
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +17 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +14 -113
- data/generated/google/apis/healthcare_v1beta1/service.rb +2 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -3
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +4 -37
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +4 -37
- data/generated/google/apis/logging_v2.rb +5 -2
- data/generated/google/apis/logging_v2/service.rb +4 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +27 -77
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +5 -2
- data/generated/google/apis/monitoring_v3/classes.rb +13 -97
- data/generated/google/apis/monitoring_v3/service.rb +4 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +12 -78
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +12 -78
- data/generated/google/apis/redis_v1beta1/service.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +20 -185
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +28 -259
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +8 -74
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +12 -111
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +223 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +114 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +211 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +0 -7
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -78
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +36 -333
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +32 -296
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +32 -296
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +2 -2
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190604'
|
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'
|
@@ -993,43 +993,10 @@ module Google
|
|
993
993
|
|
994
994
|
# The `Status` type defines a logical error model that is suitable for
|
995
995
|
# different programming environments, including REST APIs and RPC APIs. It is
|
996
|
-
# used by [gRPC](https://github.com/grpc).
|
997
|
-
#
|
998
|
-
#
|
999
|
-
#
|
1000
|
-
# The `Status` message contains three pieces of data: error code, error
|
1001
|
-
# message, and error details. The error code should be an enum value of
|
1002
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1003
|
-
# error message should be a developer-facing English message that helps
|
1004
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1005
|
-
# error message is needed, put the localized message in the error details or
|
1006
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1007
|
-
# information about the error. There is a predefined set of error detail types
|
1008
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1009
|
-
# # Language mapping
|
1010
|
-
# The `Status` message is the logical representation of the error model, but it
|
1011
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1012
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1013
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1014
|
-
# in Java, but more likely mapped to some error codes in C.
|
1015
|
-
# # Other uses
|
1016
|
-
# The error model and the `Status` message can be used in a variety of
|
1017
|
-
# environments, either with or without APIs, to provide a
|
1018
|
-
# consistent developer experience across different environments.
|
1019
|
-
# Example uses of this error model include:
|
1020
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1021
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1022
|
-
# errors.
|
1023
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1024
|
-
# have a `Status` message for error reporting.
|
1025
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1026
|
-
# `Status` message should be used directly inside batch response, one for
|
1027
|
-
# each error sub-response.
|
1028
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1029
|
-
# results in its response, the status of those operations should be
|
1030
|
-
# represented directly using the `Status` message.
|
1031
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1032
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
996
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
997
|
+
# three pieces of data: error code, error message, and error details.
|
998
|
+
# You can find out more about this error model and how to work with it in the
|
999
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
1033
1000
|
# Corresponds to the JSON property `analysisStatusError`
|
1034
1001
|
# @return [Google::Apis::ContaineranalysisV1beta1::Status]
|
1035
1002
|
attr_accessor :analysis_status_error
|
@@ -2696,43 +2663,10 @@ module Google
|
|
2696
2663
|
|
2697
2664
|
# The `Status` type defines a logical error model that is suitable for
|
2698
2665
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2699
|
-
# used by [gRPC](https://github.com/grpc).
|
2700
|
-
#
|
2701
|
-
#
|
2702
|
-
#
|
2703
|
-
# The `Status` message contains three pieces of data: error code, error
|
2704
|
-
# message, and error details. The error code should be an enum value of
|
2705
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2706
|
-
# error message should be a developer-facing English message that helps
|
2707
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2708
|
-
# error message is needed, put the localized message in the error details or
|
2709
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2710
|
-
# information about the error. There is a predefined set of error detail types
|
2711
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2712
|
-
# # Language mapping
|
2713
|
-
# The `Status` message is the logical representation of the error model, but it
|
2714
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2715
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2716
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2717
|
-
# in Java, but more likely mapped to some error codes in C.
|
2718
|
-
# # Other uses
|
2719
|
-
# The error model and the `Status` message can be used in a variety of
|
2720
|
-
# environments, either with or without APIs, to provide a
|
2721
|
-
# consistent developer experience across different environments.
|
2722
|
-
# Example uses of this error model include:
|
2723
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2724
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2725
|
-
# errors.
|
2726
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2727
|
-
# have a `Status` message for error reporting.
|
2728
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2729
|
-
# `Status` message should be used directly inside batch response, one for
|
2730
|
-
# each error sub-response.
|
2731
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2732
|
-
# results in its response, the status of those operations should be
|
2733
|
-
# represented directly using the `Status` message.
|
2734
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2735
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2666
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2667
|
+
# three pieces of data: error code, error message, and error details.
|
2668
|
+
# You can find out more about this error model and how to work with it in the
|
2669
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2736
2670
|
class Status
|
2737
2671
|
include Google::Apis::Core::Hashable
|
2738
2672
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190531'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -10743,6 +10743,11 @@ module Google
|
|
10743
10743
|
# @return [String]
|
10744
10744
|
attr_accessor :content_language
|
10745
10745
|
|
10746
|
+
# Fees for the item. Optional.
|
10747
|
+
# Corresponds to the JSON property `fees`
|
10748
|
+
# @return [Array<Google::Apis::ContentV2::OrderLineItemProductFee>]
|
10749
|
+
attr_accessor :fees
|
10750
|
+
|
10746
10751
|
# Global Trade Item Number (GTIN) of the item. Optional.
|
10747
10752
|
# Corresponds to the JSON property `gtin`
|
10748
10753
|
# @return [String]
|
@@ -10799,6 +10804,7 @@ module Google
|
|
10799
10804
|
@channel = args[:channel] if args.key?(:channel)
|
10800
10805
|
@condition = args[:condition] if args.key?(:condition)
|
10801
10806
|
@content_language = args[:content_language] if args.key?(:content_language)
|
10807
|
+
@fees = args[:fees] if args.key?(:fees)
|
10802
10808
|
@gtin = args[:gtin] if args.key?(:gtin)
|
10803
10809
|
@image_link = args[:image_link] if args.key?(:image_link)
|
10804
10810
|
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
@@ -4618,6 +4618,8 @@ module Google
|
|
4618
4618
|
property :channel, as: 'channel'
|
4619
4619
|
property :condition, as: 'condition'
|
4620
4620
|
property :content_language, as: 'contentLanguage'
|
4621
|
+
collection :fees, as: 'fees', class: Google::Apis::ContentV2::OrderLineItemProductFee, decorator: Google::Apis::ContentV2::OrderLineItemProductFee::Representation
|
4622
|
+
|
4621
4623
|
property :gtin, as: 'gtin'
|
4622
4624
|
property :image_link, as: 'imageLink'
|
4623
4625
|
property :item_group_id, as: 'itemGroupId'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/shopping-content
|
27
27
|
module ContentV2_1
|
28
28
|
VERSION = 'V2_1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190531'
|
30
30
|
|
31
31
|
# Manage your product listings and accounts for Google Shopping
|
32
32
|
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
|
@@ -8819,6 +8819,11 @@ module Google
|
|
8819
8819
|
# @return [String]
|
8820
8820
|
attr_accessor :content_language
|
8821
8821
|
|
8822
|
+
# Fees for the item. Optional.
|
8823
|
+
# Corresponds to the JSON property `fees`
|
8824
|
+
# @return [Array<Google::Apis::ContentV2_1::OrderLineItemProductFee>]
|
8825
|
+
attr_accessor :fees
|
8826
|
+
|
8822
8827
|
# Global Trade Item Number (GTIN) of the item. Optional.
|
8823
8828
|
# Corresponds to the JSON property `gtin`
|
8824
8829
|
# @return [String]
|
@@ -8874,6 +8879,7 @@ module Google
|
|
8874
8879
|
@brand = args[:brand] if args.key?(:brand)
|
8875
8880
|
@condition = args[:condition] if args.key?(:condition)
|
8876
8881
|
@content_language = args[:content_language] if args.key?(:content_language)
|
8882
|
+
@fees = args[:fees] if args.key?(:fees)
|
8877
8883
|
@gtin = args[:gtin] if args.key?(:gtin)
|
8878
8884
|
@image_link = args[:image_link] if args.key?(:image_link)
|
8879
8885
|
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
@@ -3854,6 +3854,8 @@ module Google
|
|
3854
3854
|
property :brand, as: 'brand'
|
3855
3855
|
property :condition, as: 'condition'
|
3856
3856
|
property :content_language, as: 'contentLanguage'
|
3857
|
+
collection :fees, as: 'fees', class: Google::Apis::ContentV2_1::OrderLineItemProductFee, decorator: Google::Apis::ContentV2_1::OrderLineItemProductFee::Representation
|
3858
|
+
|
3857
3859
|
property :gtin, as: 'gtin'
|
3858
3860
|
property :image_link, as: 'imageLink'
|
3859
3861
|
property :item_group_id, as: 'itemGroupId'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190601'
|
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'
|
@@ -511,43 +511,10 @@ module Google
|
|
511
511
|
|
512
512
|
# The `Status` type defines a logical error model that is suitable for
|
513
513
|
# different programming environments, including REST APIs and RPC APIs. It is
|
514
|
-
# used by [gRPC](https://github.com/grpc).
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
# The `Status` message contains three pieces of data: error code, error
|
519
|
-
# message, and error details. The error code should be an enum value of
|
520
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
521
|
-
# error message should be a developer-facing English message that helps
|
522
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
523
|
-
# error message is needed, put the localized message in the error details or
|
524
|
-
# localize it in the client. The optional error details may contain arbitrary
|
525
|
-
# information about the error. There is a predefined set of error detail types
|
526
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
527
|
-
# # Language mapping
|
528
|
-
# The `Status` message is the logical representation of the error model, but it
|
529
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
530
|
-
# exposed in different client libraries and different wire protocols, it can be
|
531
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
532
|
-
# in Java, but more likely mapped to some error codes in C.
|
533
|
-
# # Other uses
|
534
|
-
# The error model and the `Status` message can be used in a variety of
|
535
|
-
# environments, either with or without APIs, to provide a
|
536
|
-
# consistent developer experience across different environments.
|
537
|
-
# Example uses of this error model include:
|
538
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
539
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
540
|
-
# errors.
|
541
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
542
|
-
# have a `Status` message for error reporting.
|
543
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
544
|
-
# `Status` message should be used directly inside batch response, one for
|
545
|
-
# each error sub-response.
|
546
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
547
|
-
# results in its response, the status of those operations should be
|
548
|
-
# represented directly using the `Status` message.
|
549
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
550
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
514
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
515
|
+
# three pieces of data: error code, error message, and error details.
|
516
|
+
# You can find out more about this error model and how to work with it in the
|
517
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
551
518
|
# Corresponds to the JSON property `webhookStatus`
|
552
519
|
# @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
|
553
520
|
attr_accessor :webhook_status
|
@@ -4488,43 +4455,10 @@ module Google
|
|
4488
4455
|
|
4489
4456
|
# The `Status` type defines a logical error model that is suitable for
|
4490
4457
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4491
|
-
# used by [gRPC](https://github.com/grpc).
|
4492
|
-
#
|
4493
|
-
#
|
4494
|
-
#
|
4495
|
-
# The `Status` message contains three pieces of data: error code, error
|
4496
|
-
# message, and error details. The error code should be an enum value of
|
4497
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4498
|
-
# error message should be a developer-facing English message that helps
|
4499
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4500
|
-
# error message is needed, put the localized message in the error details or
|
4501
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4502
|
-
# information about the error. There is a predefined set of error detail types
|
4503
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4504
|
-
# # Language mapping
|
4505
|
-
# The `Status` message is the logical representation of the error model, but it
|
4506
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4507
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4508
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4509
|
-
# in Java, but more likely mapped to some error codes in C.
|
4510
|
-
# # Other uses
|
4511
|
-
# The error model and the `Status` message can be used in a variety of
|
4512
|
-
# environments, either with or without APIs, to provide a
|
4513
|
-
# consistent developer experience across different environments.
|
4514
|
-
# Example uses of this error model include:
|
4515
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4516
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4517
|
-
# errors.
|
4518
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4519
|
-
# have a `Status` message for error reporting.
|
4520
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4521
|
-
# `Status` message should be used directly inside batch response, one for
|
4522
|
-
# each error sub-response.
|
4523
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4524
|
-
# results in its response, the status of those operations should be
|
4525
|
-
# represented directly using the `Status` message.
|
4526
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4527
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4458
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4459
|
+
# three pieces of data: error code, error message, and error details.
|
4460
|
+
# You can find out more about this error model and how to work with it in the
|
4461
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4528
4462
|
# Corresponds to the JSON property `error`
|
4529
4463
|
# @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
|
4530
4464
|
attr_accessor :error
|
@@ -4591,43 +4525,10 @@ module Google
|
|
4591
4525
|
|
4592
4526
|
# The `Status` type defines a logical error model that is suitable for
|
4593
4527
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4594
|
-
# used by [gRPC](https://github.com/grpc).
|
4595
|
-
#
|
4596
|
-
#
|
4597
|
-
#
|
4598
|
-
# The `Status` message contains three pieces of data: error code, error
|
4599
|
-
# message, and error details. The error code should be an enum value of
|
4600
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4601
|
-
# error message should be a developer-facing English message that helps
|
4602
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4603
|
-
# error message is needed, put the localized message in the error details or
|
4604
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4605
|
-
# information about the error. There is a predefined set of error detail types
|
4606
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4607
|
-
# # Language mapping
|
4608
|
-
# The `Status` message is the logical representation of the error model, but it
|
4609
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4610
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4611
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4612
|
-
# in Java, but more likely mapped to some error codes in C.
|
4613
|
-
# # Other uses
|
4614
|
-
# The error model and the `Status` message can be used in a variety of
|
4615
|
-
# environments, either with or without APIs, to provide a
|
4616
|
-
# consistent developer experience across different environments.
|
4617
|
-
# Example uses of this error model include:
|
4618
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4619
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4620
|
-
# errors.
|
4621
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4622
|
-
# have a `Status` message for error reporting.
|
4623
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4624
|
-
# `Status` message should be used directly inside batch response, one for
|
4625
|
-
# each error sub-response.
|
4626
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4627
|
-
# results in its response, the status of those operations should be
|
4628
|
-
# represented directly using the `Status` message.
|
4629
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4630
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4528
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4529
|
+
# three pieces of data: error code, error message, and error details.
|
4530
|
+
# You can find out more about this error model and how to work with it in the
|
4531
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4631
4532
|
class GoogleRpcStatus
|
4632
4533
|
include Google::Apis::Core::Hashable
|
4633
4534
|
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190601'
|
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'
|
@@ -1992,7 +1992,7 @@ module Google
|
|
1992
1992
|
# Represents the query input. It can contain either:
|
1993
1993
|
# 1. An audio config which
|
1994
1994
|
# instructs the speech recognizer how to process the speech audio.
|
1995
|
-
# 2. A conversational query in the form of text
|
1995
|
+
# 2. A conversational query in the form of text.
|
1996
1996
|
# 3. An event that specifies which intent to trigger.
|
1997
1997
|
# Corresponds to the JSON property `queryInput`
|
1998
1998
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput]
|
@@ -2061,43 +2061,10 @@ module Google
|
|
2061
2061
|
|
2062
2062
|
# The `Status` type defines a logical error model that is suitable for
|
2063
2063
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2064
|
-
# used by [gRPC](https://github.com/grpc).
|
2065
|
-
#
|
2066
|
-
#
|
2067
|
-
#
|
2068
|
-
# The `Status` message contains three pieces of data: error code, error
|
2069
|
-
# message, and error details. The error code should be an enum value of
|
2070
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2071
|
-
# error message should be a developer-facing English message that helps
|
2072
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2073
|
-
# error message is needed, put the localized message in the error details or
|
2074
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2075
|
-
# information about the error. There is a predefined set of error detail types
|
2076
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2077
|
-
# # Language mapping
|
2078
|
-
# The `Status` message is the logical representation of the error model, but it
|
2079
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2080
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2081
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2082
|
-
# in Java, but more likely mapped to some error codes in C.
|
2083
|
-
# # Other uses
|
2084
|
-
# The error model and the `Status` message can be used in a variety of
|
2085
|
-
# environments, either with or without APIs, to provide a
|
2086
|
-
# consistent developer experience across different environments.
|
2087
|
-
# Example uses of this error model include:
|
2088
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2089
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2090
|
-
# errors.
|
2091
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2092
|
-
# have a `Status` message for error reporting.
|
2093
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2094
|
-
# `Status` message should be used directly inside batch response, one for
|
2095
|
-
# each error sub-response.
|
2096
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2097
|
-
# results in its response, the status of those operations should be
|
2098
|
-
# represented directly using the `Status` message.
|
2099
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2100
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2064
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2065
|
+
# three pieces of data: error code, error message, and error details.
|
2066
|
+
# You can find out more about this error model and how to work with it in the
|
2067
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2101
2068
|
# Corresponds to the JSON property `webhookStatus`
|
2102
2069
|
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
2103
2070
|
attr_accessor :webhook_status
|
@@ -2444,6 +2411,15 @@ module Google
|
|
2444
2411
|
# @return [String]
|
2445
2412
|
attr_accessor :audio_encoding
|
2446
2413
|
|
2414
|
+
# Optional. If `true`, Dialogflow returns SpeechWordInfo in
|
2415
|
+
# StreamingRecognitionResult with information about the recognized speech
|
2416
|
+
# words, e.g. start and end time offsets. If false or unspecified, Speech
|
2417
|
+
# doesn't return any word-level information.
|
2418
|
+
# Corresponds to the JSON property `enableWordInfo`
|
2419
|
+
# @return [Boolean]
|
2420
|
+
attr_accessor :enable_word_info
|
2421
|
+
alias_method :enable_word_info?, :enable_word_info
|
2422
|
+
|
2447
2423
|
# Required. The language of the supplied audio. Dialogflow does not do
|
2448
2424
|
# translations. See [Language
|
2449
2425
|
# Support](https://cloud.google.com/dialogflow-enterprise/docs/reference/
|
@@ -2475,10 +2451,9 @@ module Google
|
|
2475
2451
|
# @return [String]
|
2476
2452
|
attr_accessor :model_variant
|
2477
2453
|
|
2478
|
-
# Optional.
|
2479
|
-
#
|
2480
|
-
#
|
2481
|
-
# [Cloud Speech API
|
2454
|
+
# Optional. A list of strings containing words and phrases that the speech
|
2455
|
+
# recognizer should recognize with higher likelihood.
|
2456
|
+
# See [the Cloud Speech
|
2482
2457
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
2483
2458
|
# hints)
|
2484
2459
|
# for more details.
|
@@ -2502,6 +2477,7 @@ module Google
|
|
2502
2477
|
# Update properties of this object
|
2503
2478
|
def update!(**args)
|
2504
2479
|
@audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
|
2480
|
+
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
2505
2481
|
@language_code = args[:language_code] if args.key?(:language_code)
|
2506
2482
|
@model = args[:model] if args.key?(:model)
|
2507
2483
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
@@ -3964,7 +3940,7 @@ module Google
|
|
3964
3940
|
# Represents the query input. It can contain either:
|
3965
3941
|
# 1. An audio config which
|
3966
3942
|
# instructs the speech recognizer how to process the speech audio.
|
3967
|
-
# 2. A conversational query in the form of text
|
3943
|
+
# 2. A conversational query in the form of text.
|
3968
3944
|
# 3. An event that specifies which intent to trigger.
|
3969
3945
|
class GoogleCloudDialogflowV2beta1QueryInput
|
3970
3946
|
include Google::Apis::Core::Hashable
|
@@ -4698,43 +4674,10 @@ module Google
|
|
4698
4674
|
|
4699
4675
|
# The `Status` type defines a logical error model that is suitable for
|
4700
4676
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4701
|
-
# used by [gRPC](https://github.com/grpc).
|
4702
|
-
#
|
4703
|
-
#
|
4704
|
-
#
|
4705
|
-
# The `Status` message contains three pieces of data: error code, error
|
4706
|
-
# message, and error details. The error code should be an enum value of
|
4707
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4708
|
-
# error message should be a developer-facing English message that helps
|
4709
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4710
|
-
# error message is needed, put the localized message in the error details or
|
4711
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4712
|
-
# information about the error. There is a predefined set of error detail types
|
4713
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4714
|
-
# # Language mapping
|
4715
|
-
# The `Status` message is the logical representation of the error model, but it
|
4716
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4717
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4718
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4719
|
-
# in Java, but more likely mapped to some error codes in C.
|
4720
|
-
# # Other uses
|
4721
|
-
# The error model and the `Status` message can be used in a variety of
|
4722
|
-
# environments, either with or without APIs, to provide a
|
4723
|
-
# consistent developer experience across different environments.
|
4724
|
-
# Example uses of this error model include:
|
4725
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4726
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4727
|
-
# errors.
|
4728
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4729
|
-
# have a `Status` message for error reporting.
|
4730
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4731
|
-
# `Status` message should be used directly inside batch response, one for
|
4732
|
-
# each error sub-response.
|
4733
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4734
|
-
# results in its response, the status of those operations should be
|
4735
|
-
# represented directly using the `Status` message.
|
4736
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4737
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4677
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4678
|
+
# three pieces of data: error code, error message, and error details.
|
4679
|
+
# You can find out more about this error model and how to work with it in the
|
4680
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4738
4681
|
# Corresponds to the JSON property `error`
|
4739
4682
|
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
4740
4683
|
attr_accessor :error
|
@@ -4801,43 +4744,10 @@ module Google
|
|
4801
4744
|
|
4802
4745
|
# The `Status` type defines a logical error model that is suitable for
|
4803
4746
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4804
|
-
# used by [gRPC](https://github.com/grpc).
|
4805
|
-
#
|
4806
|
-
#
|
4807
|
-
#
|
4808
|
-
# The `Status` message contains three pieces of data: error code, error
|
4809
|
-
# message, and error details. The error code should be an enum value of
|
4810
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4811
|
-
# error message should be a developer-facing English message that helps
|
4812
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4813
|
-
# error message is needed, put the localized message in the error details or
|
4814
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4815
|
-
# information about the error. There is a predefined set of error detail types
|
4816
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4817
|
-
# # Language mapping
|
4818
|
-
# The `Status` message is the logical representation of the error model, but it
|
4819
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4820
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4821
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4822
|
-
# in Java, but more likely mapped to some error codes in C.
|
4823
|
-
# # Other uses
|
4824
|
-
# The error model and the `Status` message can be used in a variety of
|
4825
|
-
# environments, either with or without APIs, to provide a
|
4826
|
-
# consistent developer experience across different environments.
|
4827
|
-
# Example uses of this error model include:
|
4828
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4829
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4830
|
-
# errors.
|
4831
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4832
|
-
# have a `Status` message for error reporting.
|
4833
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4834
|
-
# `Status` message should be used directly inside batch response, one for
|
4835
|
-
# each error sub-response.
|
4836
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4837
|
-
# results in its response, the status of those operations should be
|
4838
|
-
# represented directly using the `Status` message.
|
4839
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4840
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4747
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4748
|
+
# three pieces of data: error code, error message, and error details.
|
4749
|
+
# You can find out more about this error model and how to work with it in the
|
4750
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4841
4751
|
class GoogleRpcStatus
|
4842
4752
|
include Google::Apis::Core::Hashable
|
4843
4753
|
|