google-apis-dialogflow_v3beta1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bf3bb384b9ff54d8e08bc9af6c1cc5103acf6230c9a025b431da5e4848f8a07
|
4
|
+
data.tar.gz: d89f4be7146e3788f2d9982e529fae8fcb010e843fef8ba7384fbfa21f3e54f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248cc7cadb3d81eb6b4062bf0ddfaa8704cb1458f349239be401b8bc876a8e523fbea298545465e2c07702f128b8bc4c3938ca6fd3bbba0e13694be76afaf716
|
7
|
+
data.tar.gz: 8bbd34573b9c971b6becd8a16c5c24884df4125f8c4cb10611b2d2cb26c456b1f32a71f7dc93cf84134878bdcf470ac41b22e63aea51a15369d9b436ca8a9349
|
data/CHANGELOG.md
CHANGED
@@ -3583,11 +3583,9 @@ module Google
|
|
3583
3583
|
# @return [String]
|
3584
3584
|
attr_accessor :end_time
|
3585
3585
|
|
3586
|
-
#
|
3587
|
-
#
|
3588
|
-
#
|
3589
|
-
# LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:
|
3590
|
-
# default_experiment_length)
|
3586
|
+
# Maximum number of days to run the experiment. If auto-rollout is not enabled,
|
3587
|
+
# default value and maximum will be 30 days. If auto-rollout is enabled, default
|
3588
|
+
# value and maximum will be 6 days.
|
3591
3589
|
# Corresponds to the JSON property `experimentLength`
|
3592
3590
|
# @return [String]
|
3593
3591
|
attr_accessor :experiment_length
|
@@ -3609,6 +3607,22 @@ module Google
|
|
3609
3607
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult]
|
3610
3608
|
attr_accessor :result
|
3611
3609
|
|
3610
|
+
# The configuration for auto rollout.
|
3611
|
+
# Corresponds to the JSON property `rolloutConfig`
|
3612
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig]
|
3613
|
+
attr_accessor :rollout_config
|
3614
|
+
|
3615
|
+
# The reason why rollout has failed. Should only be set when state is
|
3616
|
+
# ROLLOUT_FAILED.
|
3617
|
+
# Corresponds to the JSON property `rolloutFailureReason`
|
3618
|
+
# @return [String]
|
3619
|
+
attr_accessor :rollout_failure_reason
|
3620
|
+
|
3621
|
+
# State of the auto-rollout process.
|
3622
|
+
# Corresponds to the JSON property `rolloutState`
|
3623
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState]
|
3624
|
+
attr_accessor :rollout_state
|
3625
|
+
|
3612
3626
|
# Start time of this experiment.
|
3613
3627
|
# Corresponds to the JSON property `startTime`
|
3614
3628
|
# @return [String]
|
@@ -3641,6 +3655,9 @@ module Google
|
|
3641
3655
|
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
3642
3656
|
@name = args[:name] if args.key?(:name)
|
3643
3657
|
@result = args[:result] if args.key?(:result)
|
3658
|
+
@rollout_config = args[:rollout_config] if args.key?(:rollout_config)
|
3659
|
+
@rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
|
3660
|
+
@rollout_state = args[:rollout_state] if args.key?(:rollout_state)
|
3644
3661
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3645
3662
|
@state = args[:state] if args.key?(:state)
|
3646
3663
|
@variants_history = args[:variants_history] if args.key?(:variants_history)
|
@@ -6615,6 +6632,109 @@ module Google
|
|
6615
6632
|
end
|
6616
6633
|
end
|
6617
6634
|
|
6635
|
+
# The configuration for auto rollout.
|
6636
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
6637
|
+
include Google::Apis::Core::Hashable
|
6638
|
+
|
6639
|
+
# The conditions that are used to evaluate the failure of a rollout step. If not
|
6640
|
+
# specified, no rollout steps will fail. E.g. "containment_rate < 10% OR
|
6641
|
+
# average_turn_count < 3". See the [conditions reference](https://cloud.google.
|
6642
|
+
# com/dialogflow/cx/docs/reference/condition).
|
6643
|
+
# Corresponds to the JSON property `failureCondition`
|
6644
|
+
# @return [String]
|
6645
|
+
attr_accessor :failure_condition
|
6646
|
+
|
6647
|
+
# The conditions that are used to evaluate the success of a rollout step. If not
|
6648
|
+
# specified, all rollout steps will proceed to the next one unless failure
|
6649
|
+
# conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See
|
6650
|
+
# the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/
|
6651
|
+
# reference/condition).
|
6652
|
+
# Corresponds to the JSON property `rolloutCondition`
|
6653
|
+
# @return [String]
|
6654
|
+
attr_accessor :rollout_condition
|
6655
|
+
|
6656
|
+
# Steps to roll out a flow version. Steps should be sorted by percentage in
|
6657
|
+
# ascending order.
|
6658
|
+
# Corresponds to the JSON property `rolloutSteps`
|
6659
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep>]
|
6660
|
+
attr_accessor :rollout_steps
|
6661
|
+
|
6662
|
+
def initialize(**args)
|
6663
|
+
update!(**args)
|
6664
|
+
end
|
6665
|
+
|
6666
|
+
# Update properties of this object
|
6667
|
+
def update!(**args)
|
6668
|
+
@failure_condition = args[:failure_condition] if args.key?(:failure_condition)
|
6669
|
+
@rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition)
|
6670
|
+
@rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps)
|
6671
|
+
end
|
6672
|
+
end
|
6673
|
+
|
6674
|
+
# A single rollout step with specified traffic allocation.
|
6675
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
|
6676
|
+
include Google::Apis::Core::Hashable
|
6677
|
+
|
6678
|
+
# The name of the rollout step;
|
6679
|
+
# Corresponds to the JSON property `displayName`
|
6680
|
+
# @return [String]
|
6681
|
+
attr_accessor :display_name
|
6682
|
+
|
6683
|
+
# The minimum time that this step should last. Should be longer than 1 hour. If
|
6684
|
+
# not set, the default minimum duration for each step will be 1 hour.
|
6685
|
+
# Corresponds to the JSON property `minDuration`
|
6686
|
+
# @return [String]
|
6687
|
+
attr_accessor :min_duration
|
6688
|
+
|
6689
|
+
# The percentage of traffic allocated to the flow version of this rollout step. (
|
6690
|
+
# 0%, 100%].
|
6691
|
+
# Corresponds to the JSON property `trafficPercent`
|
6692
|
+
# @return [Fixnum]
|
6693
|
+
attr_accessor :traffic_percent
|
6694
|
+
|
6695
|
+
def initialize(**args)
|
6696
|
+
update!(**args)
|
6697
|
+
end
|
6698
|
+
|
6699
|
+
# Update properties of this object
|
6700
|
+
def update!(**args)
|
6701
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6702
|
+
@min_duration = args[:min_duration] if args.key?(:min_duration)
|
6703
|
+
@traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
|
6704
|
+
end
|
6705
|
+
end
|
6706
|
+
|
6707
|
+
# State of the auto-rollout process.
|
6708
|
+
class GoogleCloudDialogflowCxV3beta1RolloutState
|
6709
|
+
include Google::Apis::Core::Hashable
|
6710
|
+
|
6711
|
+
# Start time of the current step.
|
6712
|
+
# Corresponds to the JSON property `startTime`
|
6713
|
+
# @return [String]
|
6714
|
+
attr_accessor :start_time
|
6715
|
+
|
6716
|
+
# Display name of the current auto rollout step.
|
6717
|
+
# Corresponds to the JSON property `step`
|
6718
|
+
# @return [String]
|
6719
|
+
attr_accessor :step
|
6720
|
+
|
6721
|
+
# Index of the current step in the auto rollout steps list.
|
6722
|
+
# Corresponds to the JSON property `stepIndex`
|
6723
|
+
# @return [Fixnum]
|
6724
|
+
attr_accessor :step_index
|
6725
|
+
|
6726
|
+
def initialize(**args)
|
6727
|
+
update!(**args)
|
6728
|
+
end
|
6729
|
+
|
6730
|
+
# Update properties of this object
|
6731
|
+
def update!(**args)
|
6732
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
6733
|
+
@step = args[:step] if args.key?(:step)
|
6734
|
+
@step_index = args[:step_index] if args.key?(:step_index)
|
6735
|
+
end
|
6736
|
+
end
|
6737
|
+
|
6618
6738
|
# Metadata returned for the Environments.RunContinuousTest long running
|
6619
6739
|
# operation.
|
6620
6740
|
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1114,6 +1114,24 @@ module Google
|
|
1114
1114
|
include Google::Apis::Core::JsonObjectSupport
|
1115
1115
|
end
|
1116
1116
|
|
1117
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1123
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1125
|
+
|
1126
|
+
include Google::Apis::Core::JsonObjectSupport
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
class GoogleCloudDialogflowCxV3beta1RolloutState
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1131
|
+
|
1132
|
+
include Google::Apis::Core::JsonObjectSupport
|
1133
|
+
end
|
1134
|
+
|
1117
1135
|
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
1118
1136
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
1137
|
|
@@ -3296,6 +3314,11 @@ module Google
|
|
3296
3314
|
property :name, as: 'name'
|
3297
3315
|
property :result, as: 'result', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResult::Representation
|
3298
3316
|
|
3317
|
+
property :rollout_config, as: 'rolloutConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig::Representation
|
3318
|
+
|
3319
|
+
property :rollout_failure_reason, as: 'rolloutFailureReason'
|
3320
|
+
property :rollout_state, as: 'rolloutState', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutState::Representation
|
3321
|
+
|
3299
3322
|
property :start_time, as: 'startTime'
|
3300
3323
|
property :state, as: 'state'
|
3301
3324
|
collection :variants_history, as: 'variantsHistory', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory::Representation
|
@@ -4105,6 +4128,34 @@ module Google
|
|
4105
4128
|
end
|
4106
4129
|
end
|
4107
4130
|
|
4131
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfig
|
4132
|
+
# @private
|
4133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4134
|
+
property :failure_condition, as: 'failureCondition'
|
4135
|
+
property :rollout_condition, as: 'rolloutCondition'
|
4136
|
+
collection :rollout_steps, as: 'rolloutSteps', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep::Representation
|
4137
|
+
|
4138
|
+
end
|
4139
|
+
end
|
4140
|
+
|
4141
|
+
class GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep
|
4142
|
+
# @private
|
4143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4144
|
+
property :display_name, as: 'displayName'
|
4145
|
+
property :min_duration, as: 'minDuration'
|
4146
|
+
property :traffic_percent, as: 'trafficPercent'
|
4147
|
+
end
|
4148
|
+
end
|
4149
|
+
|
4150
|
+
class GoogleCloudDialogflowCxV3beta1RolloutState
|
4151
|
+
# @private
|
4152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4153
|
+
property :start_time, as: 'startTime'
|
4154
|
+
property :step, as: 'step'
|
4155
|
+
property :step_index, as: 'stepIndex'
|
4156
|
+
end
|
4157
|
+
end
|
4158
|
+
|
4108
4159
|
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4109
4160
|
# @private
|
4110
4161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|