google-apis-dialogflow_v3 0.19.0 → 0.20.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f673a4ce54d1db6f0d7a915c211436e14f38b57550625bc870d054b6647168d
4
- data.tar.gz: 0fe671071c1b1bf071e31b4dc0b851df976fc0a9d151a39596a3a4db195d0763
3
+ metadata.gz: 00e549984ba51c9642ccdf98c5526852ebd04113766f8c9e19e122be810a0ddd
4
+ data.tar.gz: 85b3e8aac660d29695a60d97acaacabe068a28fb09e0de586e06d9a8eeab378a
5
5
  SHA512:
6
- metadata.gz: 348209a7a31b68be93c4ec093b51a27a2775ad6a9807ac98c6798e6ef937dac1ee24489251899792094f38698e02b309cc05ed6d3bfb77d9294cfdf607e9cc1a
7
- data.tar.gz: 38b96573c88579c0b0988c9aac96afb53b7c765543651bc1ae39ea549506c36eddcab48f529f87eb6803ba88acd9dffd945c5f3c6bcdff990453d83a8b1c832a
6
+ metadata.gz: fa8d5734aca40e0370e8dc2a3cf6709f5f4a9417e2f2049a437209d44669250f921c5eb964f775c931a2c3455993987766f6df293b7184e75dda4a51b768b0d0
7
+ data.tar.gz: 51c7cea1ff89daadd0cb889781223d9892c0e83e3d4d782557595c1220e58d2680a48fc8aa06553e4dec4386f9b78ba2839ad64de4bae680cd6a97b0842b5350
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.20.0 (2021-08-04)
4
+
5
+ * Regenerated from discovery document revision 20210802
6
+
3
7
  ### v0.19.0 (2021-07-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20210727
@@ -1045,11 +1045,9 @@ module Google
1045
1045
  # @return [String]
1046
1046
  attr_accessor :end_time
1047
1047
 
1048
- # LINT.IfChange(default_experiment_length) Maximum number of days to run the
1049
- # experiment/rollout. If auto-rollout is not enabled, default value and maximum
1050
- # will be 30 days. If auto-rollout is enabled, default value and maximum will be
1051
- # 6 days. LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/
1052
- # compute.cc:default_experiment_length)
1048
+ # Maximum number of days to run the experiment/rollout. If auto-rollout is not
1049
+ # enabled, default value and maximum will be 30 days. If auto-rollout is enabled,
1050
+ # default value and maximum will be 6 days.
1053
1051
  # Corresponds to the JSON property `experimentLength`
1054
1052
  # @return [String]
1055
1053
  attr_accessor :experiment_length
@@ -1071,6 +1069,22 @@ module Google
1071
1069
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult]
1072
1070
  attr_accessor :result
1073
1071
 
1072
+ # The configuration for auto rollout.
1073
+ # Corresponds to the JSON property `rolloutConfig`
1074
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig]
1075
+ attr_accessor :rollout_config
1076
+
1077
+ # The reason why rollout has failed. Should only be set when state is
1078
+ # ROLLOUT_FAILED.
1079
+ # Corresponds to the JSON property `rolloutFailureReason`
1080
+ # @return [String]
1081
+ attr_accessor :rollout_failure_reason
1082
+
1083
+ # State of the auto-rollout process.
1084
+ # Corresponds to the JSON property `rolloutState`
1085
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState]
1086
+ attr_accessor :rollout_state
1087
+
1074
1088
  # Start time of this experiment.
1075
1089
  # Corresponds to the JSON property `startTime`
1076
1090
  # @return [String]
@@ -1103,6 +1117,9 @@ module Google
1103
1117
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1104
1118
  @name = args[:name] if args.key?(:name)
1105
1119
  @result = args[:result] if args.key?(:result)
1120
+ @rollout_config = args[:rollout_config] if args.key?(:rollout_config)
1121
+ @rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
1122
+ @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
1106
1123
  @start_time = args[:start_time] if args.key?(:start_time)
1107
1124
  @state = args[:state] if args.key?(:state)
1108
1125
  @variants_history = args[:variants_history] if args.key?(:variants_history)
@@ -4077,6 +4094,109 @@ module Google
4077
4094
  end
4078
4095
  end
4079
4096
 
4097
+ # The configuration for auto rollout.
4098
+ class GoogleCloudDialogflowCxV3RolloutConfig
4099
+ include Google::Apis::Core::Hashable
4100
+
4101
+ # The conditions that are used to evaluate the failure of a rollout step. If not
4102
+ # specified, no rollout steps will fail. E.g. "containment_rate < 10% OR
4103
+ # average_turn_count < 3". See the [conditions reference](https://cloud.google.
4104
+ # com/dialogflow/cx/docs/reference/condition).
4105
+ # Corresponds to the JSON property `failureCondition`
4106
+ # @return [String]
4107
+ attr_accessor :failure_condition
4108
+
4109
+ # The conditions that are used to evaluate the success of a rollout step. If not
4110
+ # specified, all rollout steps will proceed to the next one unless failure
4111
+ # conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See
4112
+ # the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/
4113
+ # reference/condition).
4114
+ # Corresponds to the JSON property `rolloutCondition`
4115
+ # @return [String]
4116
+ attr_accessor :rollout_condition
4117
+
4118
+ # Steps to roll out a flow version. Steps should be sorted by percentage in
4119
+ # ascending order.
4120
+ # Corresponds to the JSON property `rolloutSteps`
4121
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>]
4122
+ attr_accessor :rollout_steps
4123
+
4124
+ def initialize(**args)
4125
+ update!(**args)
4126
+ end
4127
+
4128
+ # Update properties of this object
4129
+ def update!(**args)
4130
+ @failure_condition = args[:failure_condition] if args.key?(:failure_condition)
4131
+ @rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition)
4132
+ @rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps)
4133
+ end
4134
+ end
4135
+
4136
+ # A single rollout step with specified traffic allocation.
4137
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
4138
+ include Google::Apis::Core::Hashable
4139
+
4140
+ # The name of the rollout step;
4141
+ # Corresponds to the JSON property `displayName`
4142
+ # @return [String]
4143
+ attr_accessor :display_name
4144
+
4145
+ # The minimum time that this step should last. Should be longer than 1 hour. If
4146
+ # not set, the default minimum duration for each step will be 1 hour.
4147
+ # Corresponds to the JSON property `minDuration`
4148
+ # @return [String]
4149
+ attr_accessor :min_duration
4150
+
4151
+ # The percentage of traffic allocated to the flow version of this rollout step. (
4152
+ # 0%, 100%].
4153
+ # Corresponds to the JSON property `trafficPercent`
4154
+ # @return [Fixnum]
4155
+ attr_accessor :traffic_percent
4156
+
4157
+ def initialize(**args)
4158
+ update!(**args)
4159
+ end
4160
+
4161
+ # Update properties of this object
4162
+ def update!(**args)
4163
+ @display_name = args[:display_name] if args.key?(:display_name)
4164
+ @min_duration = args[:min_duration] if args.key?(:min_duration)
4165
+ @traffic_percent = args[:traffic_percent] if args.key?(:traffic_percent)
4166
+ end
4167
+ end
4168
+
4169
+ # State of the auto-rollout process.
4170
+ class GoogleCloudDialogflowCxV3RolloutState
4171
+ include Google::Apis::Core::Hashable
4172
+
4173
+ # Start time of the current step.
4174
+ # Corresponds to the JSON property `startTime`
4175
+ # @return [String]
4176
+ attr_accessor :start_time
4177
+
4178
+ # Display name of the current auto rollout step.
4179
+ # Corresponds to the JSON property `step`
4180
+ # @return [String]
4181
+ attr_accessor :step
4182
+
4183
+ # Index of the current step in the auto rollout steps list.
4184
+ # Corresponds to the JSON property `stepIndex`
4185
+ # @return [Fixnum]
4186
+ attr_accessor :step_index
4187
+
4188
+ def initialize(**args)
4189
+ update!(**args)
4190
+ end
4191
+
4192
+ # Update properties of this object
4193
+ def update!(**args)
4194
+ @start_time = args[:start_time] if args.key?(:start_time)
4195
+ @step = args[:step] if args.key?(:step)
4196
+ @step_index = args[:step_index] if args.key?(:step_index)
4197
+ end
4198
+ end
4199
+
4080
4200
  # Metadata returned for the Environments.RunContinuousTest long running
4081
4201
  # operation.
4082
4202
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.19.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 = "20210727"
25
+ REVISION = "20210802"
26
26
  end
27
27
  end
28
28
  end
@@ -676,6 +676,24 @@ module Google
676
676
  include Google::Apis::Core::JsonObjectSupport
677
677
  end
678
678
 
679
+ class GoogleCloudDialogflowCxV3RolloutConfig
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
691
+ class GoogleCloudDialogflowCxV3RolloutState
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
679
697
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
680
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
681
699
 
@@ -2584,6 +2602,11 @@ module Google
2584
2602
  property :name, as: 'name'
2585
2603
  property :result, as: 'result', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult::Representation
2586
2604
 
2605
+ property :rollout_config, as: 'rolloutConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig::Representation
2606
+
2607
+ property :rollout_failure_reason, as: 'rolloutFailureReason'
2608
+ property :rollout_state, as: 'rolloutState', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState::Representation
2609
+
2587
2610
  property :start_time, as: 'startTime'
2588
2611
  property :state, as: 'state'
2589
2612
  collection :variants_history, as: 'variantsHistory', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory::Representation
@@ -3393,6 +3416,34 @@ module Google
3393
3416
  end
3394
3417
  end
3395
3418
 
3419
+ class GoogleCloudDialogflowCxV3RolloutConfig
3420
+ # @private
3421
+ class Representation < Google::Apis::Core::JsonRepresentation
3422
+ property :failure_condition, as: 'failureCondition'
3423
+ property :rollout_condition, as: 'rolloutCondition'
3424
+ collection :rollout_steps, as: 'rolloutSteps', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep::Representation
3425
+
3426
+ end
3427
+ end
3428
+
3429
+ class GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
3430
+ # @private
3431
+ class Representation < Google::Apis::Core::JsonRepresentation
3432
+ property :display_name, as: 'displayName'
3433
+ property :min_duration, as: 'minDuration'
3434
+ property :traffic_percent, as: 'trafficPercent'
3435
+ end
3436
+ end
3437
+
3438
+ class GoogleCloudDialogflowCxV3RolloutState
3439
+ # @private
3440
+ class Representation < Google::Apis::Core::JsonRepresentation
3441
+ property :start_time, as: 'startTime'
3442
+ property :step, as: 'step'
3443
+ property :step_index, as: 'stepIndex'
3444
+ end
3445
+ end
3446
+
3396
3447
  class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
3397
3448
  # @private
3398
3449
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.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-02 00:00:00.000000000 Z
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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []