google-api-client 0.27.0 → 0.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -2
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +15 -3
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +74 -1
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +42 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +67 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +6 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +6 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +44 -6
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +5 -2
- data/generated/google/apis/cloudidentity_v1.rb +31 -0
- data/generated/google/apis/cloudidentity_v1/classes.rb +495 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +197 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +517 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +31 -0
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +475 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +184 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +477 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -2
- data/generated/google/apis/composer_v1beta1/service.rb +10 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +7 -103
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -30
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -103
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -30
- data/generated/google/apis/dialogflow_v2beta1/service.rb +0 -228
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +7 -0
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/service.rb +3 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/service.rb +3 -2
- data/generated/google/apis/monitoring_v1.rb +33 -0
- data/generated/google/apis/monitoring_v1/classes.rb +474 -0
- data/generated/google/apis/monitoring_v1/representations.rb +195 -0
- data/generated/google/apis/monitoring_v1/service.rb +211 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -8
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +22 -9
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +12 -8
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +12 -8
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +14 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181217'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -530,12 +530,12 @@ module Google
|
|
530
530
|
# @return [Hash<String,String>]
|
531
531
|
attr_accessor :env_variables
|
532
532
|
|
533
|
-
#
|
533
|
+
# The version of the software running in the environment.
|
534
534
|
# This encapsulates both the version of Cloud Composer functionality and the
|
535
535
|
# version of Apache Airflow. It must match the regular expression
|
536
536
|
# `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
|
537
537
|
# When used as input, the server will also check if the provided version is
|
538
|
-
# supported and deny the
|
538
|
+
# supported and deny the request for an unsupported version.
|
539
539
|
# The Cloud Composer portion of the version is a
|
540
540
|
# [semantic version](https://semver.org) or `latest`. The patch version
|
541
541
|
# can be omitted and the current Cloud Composer patch version
|
@@ -306,6 +306,16 @@ module Google
|
|
306
306
|
# It is an error to provide both this mask and a mask specifying one or
|
307
307
|
# more individual environment variables.</td>
|
308
308
|
# </tr>
|
309
|
+
# <tr>
|
310
|
+
# <td>config.softwareConfig.imageVersion</td>
|
311
|
+
# <td>Upgrade the version of the environment in-place. Refer to
|
312
|
+
# `SoftwareConfig.image_version` for information on how to format the new
|
313
|
+
# image version. Additionally, the new image version cannot effect a version
|
314
|
+
# downgrade and must match the current image version's Composer major
|
315
|
+
# version and Airflow major and minor versions. Consult the
|
316
|
+
# <a href="/composer/docs/concepts/versioning/composer-versions">Cloud
|
317
|
+
# Composer Version List</a> for valid values.</td>
|
318
|
+
# </tr>
|
309
319
|
# </tbody>
|
310
320
|
# </table>
|
311
321
|
# @param [String] fields
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/datastore/
|
27
27
|
module DatastoreV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20181207'
|
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'
|
@@ -689,7 +689,6 @@ module Google
|
|
689
689
|
end
|
690
690
|
|
691
691
|
# A minimal index definition.
|
692
|
-
# Next tag: 8
|
693
692
|
class GoogleDatastoreAdminV1Index
|
694
693
|
include Google::Apis::Core::Hashable
|
695
694
|
|
@@ -775,7 +774,7 @@ module Google
|
|
775
774
|
end
|
776
775
|
end
|
777
776
|
|
778
|
-
#
|
777
|
+
# A property of an index.
|
779
778
|
class GoogleDatastoreAdminV1IndexedProperty
|
780
779
|
include Google::Apis::Core::Hashable
|
781
780
|
|
@@ -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 = '20181215'
|
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'
|
@@ -2034,8 +2034,9 @@ module Google
|
|
2034
2034
|
attr_accessor :all_required_params_present
|
2035
2035
|
alias_method :all_required_params_present?, :all_required_params_present
|
2036
2036
|
|
2037
|
-
# The free-form diagnostic info. For example, this field
|
2038
|
-
#
|
2037
|
+
# The free-form diagnostic info. For example, this field could contain
|
2038
|
+
# webhook call latency. The string keys of the Struct's fields map can change
|
2039
|
+
# without notice.
|
2039
2040
|
# Corresponds to the JSON property `diagnosticInfo`
|
2040
2041
|
# @return [Hash<String,Object>]
|
2041
2042
|
attr_accessor :diagnostic_info
|
@@ -2264,7 +2265,7 @@ module Google
|
|
2264
2265
|
attr_accessor :language_code
|
2265
2266
|
|
2266
2267
|
# Required. The UTF-8 encoded natural language text to be processed.
|
2267
|
-
# Text length must not exceed 256
|
2268
|
+
# Text length must not exceed 256 characters.
|
2268
2269
|
# Corresponds to the JSON property `text`
|
2269
2270
|
# @return [String]
|
2270
2271
|
attr_accessor :text
|
@@ -2494,77 +2495,6 @@ module Google
|
|
2494
2495
|
end
|
2495
2496
|
end
|
2496
2497
|
|
2497
|
-
# Represents a notification sent to Cloud Pub/Sub subscribers for conversation
|
2498
|
-
# lifecycle events.
|
2499
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
2500
|
-
include Google::Apis::Core::Hashable
|
2501
|
-
|
2502
|
-
# Required. The unique identifier of the conversation this notification
|
2503
|
-
# refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
|
2504
|
-
# Corresponds to the JSON property `conversation`
|
2505
|
-
# @return [String]
|
2506
|
-
attr_accessor :conversation
|
2507
|
-
|
2508
|
-
# The `Status` type defines a logical error model that is suitable for different
|
2509
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
2510
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
2511
|
-
# - Simple to use and understand for most users
|
2512
|
-
# - Flexible enough to meet unexpected needs
|
2513
|
-
# # Overview
|
2514
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
2515
|
-
# and error details. The error code should be an enum value of
|
2516
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2517
|
-
# error message should be a developer-facing English message that helps
|
2518
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2519
|
-
# error message is needed, put the localized message in the error details or
|
2520
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2521
|
-
# information about the error. There is a predefined set of error detail types
|
2522
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2523
|
-
# # Language mapping
|
2524
|
-
# The `Status` message is the logical representation of the error model, but it
|
2525
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2526
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2527
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2528
|
-
# in Java, but more likely mapped to some error codes in C.
|
2529
|
-
# # Other uses
|
2530
|
-
# The error model and the `Status` message can be used in a variety of
|
2531
|
-
# environments, either with or without APIs, to provide a
|
2532
|
-
# consistent developer experience across different environments.
|
2533
|
-
# Example uses of this error model include:
|
2534
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2535
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2536
|
-
# errors.
|
2537
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2538
|
-
# have a `Status` message for error reporting.
|
2539
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2540
|
-
# `Status` message should be used directly inside batch response, one for
|
2541
|
-
# each error sub-response.
|
2542
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2543
|
-
# results in its response, the status of those operations should be
|
2544
|
-
# represented directly using the `Status` message.
|
2545
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2546
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2547
|
-
# Corresponds to the JSON property `errorStatus`
|
2548
|
-
# @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
|
2549
|
-
attr_accessor :error_status
|
2550
|
-
|
2551
|
-
# Required. The type of the event that this notification refers to.
|
2552
|
-
# Corresponds to the JSON property `type`
|
2553
|
-
# @return [String]
|
2554
|
-
attr_accessor :type
|
2555
|
-
|
2556
|
-
def initialize(**args)
|
2557
|
-
update!(**args)
|
2558
|
-
end
|
2559
|
-
|
2560
|
-
# Update properties of this object
|
2561
|
-
def update!(**args)
|
2562
|
-
@conversation = args[:conversation] if args.key?(:conversation)
|
2563
|
-
@error_status = args[:error_status] if args.key?(:error_status)
|
2564
|
-
@type = args[:type] if args.key?(:type)
|
2565
|
-
end
|
2566
|
-
end
|
2567
|
-
|
2568
2498
|
# Represents an entity type.
|
2569
2499
|
# Entity types serve as a tool for extracting parameter values from natural
|
2570
2500
|
# language queries.
|
@@ -2723,33 +2653,6 @@ module Google
|
|
2723
2653
|
end
|
2724
2654
|
end
|
2725
2655
|
|
2726
|
-
# Represents a notification sent to Cloud Pub/Sub subscribers for
|
2727
|
-
# agent assistant events in a specific conversation.
|
2728
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
2729
|
-
include Google::Apis::Core::Hashable
|
2730
|
-
|
2731
|
-
# Required. The conversation this notification refers to.
|
2732
|
-
# Format: `projects/<Project ID>/conversations/<Conversation ID>`.
|
2733
|
-
# Corresponds to the JSON property `conversation`
|
2734
|
-
# @return [String]
|
2735
|
-
attr_accessor :conversation
|
2736
|
-
|
2737
|
-
# Required. The type of the event that this notification refers to.
|
2738
|
-
# Corresponds to the JSON property `type`
|
2739
|
-
# @return [String]
|
2740
|
-
attr_accessor :type
|
2741
|
-
|
2742
|
-
def initialize(**args)
|
2743
|
-
update!(**args)
|
2744
|
-
end
|
2745
|
-
|
2746
|
-
# Update properties of this object
|
2747
|
-
def update!(**args)
|
2748
|
-
@conversation = args[:conversation] if args.key?(:conversation)
|
2749
|
-
@type = args[:type] if args.key?(:type)
|
2750
|
-
end
|
2751
|
-
end
|
2752
|
-
|
2753
2656
|
# Represents an intent.
|
2754
2657
|
# Intents convert a number of user expressions or patterns into an action. An
|
2755
2658
|
# action is an extraction of a user command or sentence semantics.
|
@@ -3965,8 +3868,9 @@ module Google
|
|
3965
3868
|
attr_accessor :all_required_params_present
|
3966
3869
|
alias_method :all_required_params_present?, :all_required_params_present
|
3967
3870
|
|
3968
|
-
# The free-form diagnostic info. For example, this field
|
3969
|
-
#
|
3871
|
+
# The free-form diagnostic info. For example, this field could contain
|
3872
|
+
# webhook call latency. The string keys of the Struct's fields map can change
|
3873
|
+
# without notice.
|
3970
3874
|
# Corresponds to the JSON property `diagnosticInfo`
|
3971
3875
|
# @return [Hash<String,Object>]
|
3972
3876
|
attr_accessor :diagnostic_info
|
@@ -406,12 +406,6 @@ module Google
|
|
406
406
|
include Google::Apis::Core::JsonObjectSupport
|
407
407
|
end
|
408
408
|
|
409
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
410
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
-
|
412
|
-
include Google::Apis::Core::JsonObjectSupport
|
413
|
-
end
|
414
|
-
|
415
409
|
class GoogleCloudDialogflowV2beta1EntityType
|
416
410
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
411
|
|
@@ -436,12 +430,6 @@ module Google
|
|
436
430
|
include Google::Apis::Core::JsonObjectSupport
|
437
431
|
end
|
438
432
|
|
439
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
440
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
-
|
442
|
-
include Google::Apis::Core::JsonObjectSupport
|
443
|
-
end
|
444
|
-
|
445
433
|
class GoogleCloudDialogflowV2beta1Intent
|
446
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
435
|
|
@@ -1336,16 +1324,6 @@ module Google
|
|
1336
1324
|
end
|
1337
1325
|
end
|
1338
1326
|
|
1339
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
1340
|
-
# @private
|
1341
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1342
|
-
property :conversation, as: 'conversation'
|
1343
|
-
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
|
1344
|
-
|
1345
|
-
property :type, as: 'type'
|
1346
|
-
end
|
1347
|
-
end
|
1348
|
-
|
1349
1327
|
class GoogleCloudDialogflowV2beta1EntityType
|
1350
1328
|
# @private
|
1351
1329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1383,14 +1361,6 @@ module Google
|
|
1383
1361
|
end
|
1384
1362
|
end
|
1385
1363
|
|
1386
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
1387
|
-
# @private
|
1388
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1389
|
-
property :conversation, as: 'conversation'
|
1390
|
-
property :type, as: 'type'
|
1391
|
-
end
|
1392
|
-
end
|
1393
|
-
|
1394
1364
|
class GoogleCloudDialogflowV2beta1Intent
|
1395
1365
|
# @private
|
1396
1366
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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 = '20181215'
|
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'
|
@@ -1247,8 +1247,9 @@ module Google
|
|
1247
1247
|
attr_accessor :all_required_params_present
|
1248
1248
|
alias_method :all_required_params_present?, :all_required_params_present
|
1249
1249
|
|
1250
|
-
# The free-form diagnostic info. For example, this field
|
1251
|
-
#
|
1250
|
+
# The free-form diagnostic info. For example, this field could contain
|
1251
|
+
# webhook call latency. The string keys of the Struct's fields map can change
|
1252
|
+
# without notice.
|
1252
1253
|
# Corresponds to the JSON property `diagnosticInfo`
|
1253
1254
|
# @return [Hash<String,Object>]
|
1254
1255
|
attr_accessor :diagnostic_info
|
@@ -1875,77 +1876,6 @@ module Google
|
|
1875
1876
|
end
|
1876
1877
|
end
|
1877
1878
|
|
1878
|
-
# Represents a notification sent to Cloud Pub/Sub subscribers for conversation
|
1879
|
-
# lifecycle events.
|
1880
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
1881
|
-
include Google::Apis::Core::Hashable
|
1882
|
-
|
1883
|
-
# Required. The unique identifier of the conversation this notification
|
1884
|
-
# refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
|
1885
|
-
# Corresponds to the JSON property `conversation`
|
1886
|
-
# @return [String]
|
1887
|
-
attr_accessor :conversation
|
1888
|
-
|
1889
|
-
# The `Status` type defines a logical error model that is suitable for different
|
1890
|
-
# programming environments, including REST APIs and RPC APIs. It is used by
|
1891
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
1892
|
-
# - Simple to use and understand for most users
|
1893
|
-
# - Flexible enough to meet unexpected needs
|
1894
|
-
# # Overview
|
1895
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
1896
|
-
# and error details. The error code should be an enum value of
|
1897
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1898
|
-
# error message should be a developer-facing English message that helps
|
1899
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1900
|
-
# error message is needed, put the localized message in the error details or
|
1901
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1902
|
-
# information about the error. There is a predefined set of error detail types
|
1903
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1904
|
-
# # Language mapping
|
1905
|
-
# The `Status` message is the logical representation of the error model, but it
|
1906
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1907
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1908
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1909
|
-
# in Java, but more likely mapped to some error codes in C.
|
1910
|
-
# # Other uses
|
1911
|
-
# The error model and the `Status` message can be used in a variety of
|
1912
|
-
# environments, either with or without APIs, to provide a
|
1913
|
-
# consistent developer experience across different environments.
|
1914
|
-
# Example uses of this error model include:
|
1915
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1916
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1917
|
-
# errors.
|
1918
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1919
|
-
# have a `Status` message for error reporting.
|
1920
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1921
|
-
# `Status` message should be used directly inside batch response, one for
|
1922
|
-
# each error sub-response.
|
1923
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1924
|
-
# results in its response, the status of those operations should be
|
1925
|
-
# represented directly using the `Status` message.
|
1926
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1927
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1928
|
-
# Corresponds to the JSON property `errorStatus`
|
1929
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
1930
|
-
attr_accessor :error_status
|
1931
|
-
|
1932
|
-
# Required. The type of the event that this notification refers to.
|
1933
|
-
# Corresponds to the JSON property `type`
|
1934
|
-
# @return [String]
|
1935
|
-
attr_accessor :type
|
1936
|
-
|
1937
|
-
def initialize(**args)
|
1938
|
-
update!(**args)
|
1939
|
-
end
|
1940
|
-
|
1941
|
-
# Update properties of this object
|
1942
|
-
def update!(**args)
|
1943
|
-
@conversation = args[:conversation] if args.key?(:conversation)
|
1944
|
-
@error_status = args[:error_status] if args.key?(:error_status)
|
1945
|
-
@type = args[:type] if args.key?(:type)
|
1946
|
-
end
|
1947
|
-
end
|
1948
|
-
|
1949
1879
|
# The request to detect user's intent.
|
1950
1880
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
1951
1881
|
include Google::Apis::Core::Hashable
|
@@ -2358,33 +2288,6 @@ module Google
|
|
2358
2288
|
end
|
2359
2289
|
end
|
2360
2290
|
|
2361
|
-
# Represents a notification sent to Cloud Pub/Sub subscribers for
|
2362
|
-
# agent assistant events in a specific conversation.
|
2363
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
2364
|
-
include Google::Apis::Core::Hashable
|
2365
|
-
|
2366
|
-
# Required. The conversation this notification refers to.
|
2367
|
-
# Format: `projects/<Project ID>/conversations/<Conversation ID>`.
|
2368
|
-
# Corresponds to the JSON property `conversation`
|
2369
|
-
# @return [String]
|
2370
|
-
attr_accessor :conversation
|
2371
|
-
|
2372
|
-
# Required. The type of the event that this notification refers to.
|
2373
|
-
# Corresponds to the JSON property `type`
|
2374
|
-
# @return [String]
|
2375
|
-
attr_accessor :type
|
2376
|
-
|
2377
|
-
def initialize(**args)
|
2378
|
-
update!(**args)
|
2379
|
-
end
|
2380
|
-
|
2381
|
-
# Update properties of this object
|
2382
|
-
def update!(**args)
|
2383
|
-
@conversation = args[:conversation] if args.key?(:conversation)
|
2384
|
-
@type = args[:type] if args.key?(:type)
|
2385
|
-
end
|
2386
|
-
end
|
2387
|
-
|
2388
2291
|
# The request message for Agents.ImportAgent.
|
2389
2292
|
class GoogleCloudDialogflowV2beta1ImportAgentRequest
|
2390
2293
|
include Google::Apis::Core::Hashable
|
@@ -4067,8 +3970,9 @@ module Google
|
|
4067
3970
|
attr_accessor :all_required_params_present
|
4068
3971
|
alias_method :all_required_params_present?, :all_required_params_present
|
4069
3972
|
|
4070
|
-
# The free-form diagnostic info. For example, this field
|
4071
|
-
#
|
3973
|
+
# The free-form diagnostic info. For example, this field could contain
|
3974
|
+
# webhook call latency. The string keys of the Struct's fields map can change
|
3975
|
+
# without notice.
|
4072
3976
|
# Corresponds to the JSON property `diagnosticInfo`
|
4073
3977
|
# @return [Hash<String,Object>]
|
4074
3978
|
attr_accessor :diagnostic_info
|
@@ -4455,7 +4359,7 @@ module Google
|
|
4455
4359
|
attr_accessor :language_code
|
4456
4360
|
|
4457
4361
|
# Required. The UTF-8 encoded natural language text to be processed.
|
4458
|
-
# Text length must not exceed 256
|
4362
|
+
# Text length must not exceed 256 characters.
|
4459
4363
|
# Corresponds to the JSON property `text`
|
4460
4364
|
# @return [String]
|
4461
4365
|
attr_accessor :text
|
@@ -298,12 +298,6 @@ module Google
|
|
298
298
|
include Google::Apis::Core::JsonObjectSupport
|
299
299
|
end
|
300
300
|
|
301
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
302
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
-
|
304
|
-
include Google::Apis::Core::JsonObjectSupport
|
305
|
-
end
|
306
|
-
|
307
301
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
308
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
303
|
|
@@ -358,12 +352,6 @@ module Google
|
|
358
352
|
include Google::Apis::Core::JsonObjectSupport
|
359
353
|
end
|
360
354
|
|
361
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
362
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
-
|
364
|
-
include Google::Apis::Core::JsonObjectSupport
|
365
|
-
end
|
366
|
-
|
367
355
|
class GoogleCloudDialogflowV2beta1ImportAgentRequest
|
368
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
357
|
|
@@ -1223,16 +1211,6 @@ module Google
|
|
1223
1211
|
end
|
1224
1212
|
end
|
1225
1213
|
|
1226
|
-
class GoogleCloudDialogflowV2beta1ConversationEvent
|
1227
|
-
# @private
|
1228
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1229
|
-
property :conversation, as: 'conversation'
|
1230
|
-
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation
|
1231
|
-
|
1232
|
-
property :type, as: 'type'
|
1233
|
-
end
|
1234
|
-
end
|
1235
|
-
|
1236
1214
|
class GoogleCloudDialogflowV2beta1DetectIntentRequest
|
1237
1215
|
# @private
|
1238
1216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1327,14 +1305,6 @@ module Google
|
|
1327
1305
|
end
|
1328
1306
|
end
|
1329
1307
|
|
1330
|
-
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
1331
|
-
# @private
|
1332
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1333
|
-
property :conversation, as: 'conversation'
|
1334
|
-
property :type, as: 'type'
|
1335
|
-
end
|
1336
|
-
end
|
1337
|
-
|
1338
1308
|
class GoogleCloudDialogflowV2beta1ImportAgentRequest
|
1339
1309
|
# @private
|
1340
1310
|
class Representation < Google::Apis::Core::JsonRepresentation
|