google-apis-dialogflow_v2beta1 0.18.0 → 0.19.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: 0a040e114e4e3dc7445df0efca8f20e1b4188d3e29039ffa96f9981e39b9edcd
4
- data.tar.gz: acd1e246da1d0b6edbb58f812c5f3dc609795f08a3b9798123fd804894596972
3
+ metadata.gz: 258228e754570e89a034762059f1e861845daa8dce8bfd15e15de431c6815e94
4
+ data.tar.gz: f6e23eff4cacac747bf6d9b0940b6338dd575be28af55577d30068a031c45853
5
5
  SHA512:
6
- metadata.gz: eed6b8a22e81cdab8354dae418c2e378af1e8e7a3004f6c41fd06a8ca5cff7f1eaa4cf1032059fa86a504809e1a145e7c9305e31ba4a5d15a77551e0ea7bd448
7
- data.tar.gz: 461f9b3af8132fa24fca395993775963a9312e7e227b895597887ce8541e931270dedd599d28e992ec31140ad5deb75166d63f9aa3b60a42c47f8db6d9e5e592
6
+ metadata.gz: e1641542ff2ff04fcd6226b24421f31b72fca0c3f033d9706c21ac4958addf43e7ca560184725ab3e50e55fc02efc76216bcfd6dc46a3ae8207791d63895bd00
7
+ data.tar.gz: 5e273022bae7d11fd0f52583796889e48e148892204a93249f59527636187f57bb167576275c1a3d6a30f5561f9020598957545a2648fad326fc663c20193370
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.19.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210830
6
+
3
7
  ### v0.18.0 (2021-07-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20210727
@@ -221,7 +221,8 @@ module Google
221
221
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Page]
222
222
  attr_accessor :current_page
223
223
 
224
- # Required. Input only. The diagnostic info output for the turn.
224
+ # Required. Input only. The diagnostic info output for the turn. Required to
225
+ # calculate the testing coverage.
225
226
  # Corresponds to the JSON property `diagnosticInfo`
226
227
  # @return [Hash<String,Object>]
227
228
  attr_accessor :diagnostic_info
@@ -489,6 +490,7 @@ module Google
489
490
  end
490
491
 
491
492
  # Metadata returned for the TestCases.ExportTestCases long running operation.
493
+ # This message currently has no fields.
492
494
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
493
495
  include Google::Apis::Core::Hashable
494
496
 
@@ -1868,7 +1870,8 @@ module Google
1868
1870
  end
1869
1871
  end
1870
1872
 
1871
- # Metadata returned for the TestCases.RunTestCase long running operation.
1873
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
1874
+ # message currently has no fields.
1872
1875
  class GoogleCloudDialogflowCxV3RunTestCaseMetadata
1873
1876
  include Google::Apis::Core::Hashable
1874
1877
 
@@ -2759,7 +2762,8 @@ module Google
2759
2762
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Page]
2760
2763
  attr_accessor :current_page
2761
2764
 
2762
- # Required. Input only. The diagnostic info output for the turn.
2765
+ # Required. Input only. The diagnostic info output for the turn. Required to
2766
+ # calculate the testing coverage.
2763
2767
  # Corresponds to the JSON property `diagnosticInfo`
2764
2768
  # @return [Hash<String,Object>]
2765
2769
  attr_accessor :diagnostic_info
@@ -3027,6 +3031,7 @@ module Google
3027
3031
  end
3028
3032
 
3029
3033
  # Metadata returned for the TestCases.ExportTestCases long running operation.
3034
+ # This message currently has no fields.
3030
3035
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3031
3036
  include Google::Apis::Core::Hashable
3032
3037
 
@@ -4406,7 +4411,8 @@ module Google
4406
4411
  end
4407
4412
  end
4408
4413
 
4409
- # Metadata returned for the TestCases.RunTestCase long running operation.
4414
+ # Metadata returned for the TestCases.RunTestCase long running operation. This
4415
+ # message currently has no fields.
4410
4416
  class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
4411
4417
  include Google::Apis::Core::Hashable
4412
4418
 
@@ -5627,8 +5633,9 @@ module Google
5627
5633
  # @return [Array<String>]
5628
5634
  attr_accessor :events
5629
5635
 
5630
- # Read-only. Information about all followup intents that have this intent as a
5631
- # direct or indirect parent. We populate this field only in the output.
5636
+ # Output only. Read-only. Information about all followup intents that have this
5637
+ # intent as a direct or indirect parent. We populate this field only in the
5638
+ # output.
5632
5639
  # Corresponds to the JSON property `followupIntentInfo`
5633
5640
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
5634
5641
  attr_accessor :followup_intent_info
@@ -5713,9 +5720,10 @@ module Google
5713
5720
  attr_accessor :reset_contexts
5714
5721
  alias_method :reset_contexts?, :reset_contexts
5715
5722
 
5716
- # Read-only. The unique identifier of the root intent in the chain of followup
5717
- # intents. It identifies the correct followup intents chain for this intent. We
5718
- # populate this field only in the output. Format: `projects//agent/intents/`.
5723
+ # Output only. Read-only. The unique identifier of the root intent in the chain
5724
+ # of followup intents. It identifies the correct followup intents chain for this
5725
+ # intent. We populate this field only in the output. Format: `projects//agent/
5726
+ # intents/`.
5719
5727
  # Corresponds to the JSON property `rootFollowupIntentName`
5720
5728
  # @return [String]
5721
5729
  attr_accessor :root_followup_intent_name
@@ -14640,6 +14648,78 @@ module Google
14640
14648
  end
14641
14649
  end
14642
14650
 
14651
+ # The response message for Locations.ListLocations.
14652
+ class GoogleCloudLocationListLocationsResponse
14653
+ include Google::Apis::Core::Hashable
14654
+
14655
+ # A list of locations that matches the specified filter in the request.
14656
+ # Corresponds to the JSON property `locations`
14657
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation>]
14658
+ attr_accessor :locations
14659
+
14660
+ # The standard List next-page token.
14661
+ # Corresponds to the JSON property `nextPageToken`
14662
+ # @return [String]
14663
+ attr_accessor :next_page_token
14664
+
14665
+ def initialize(**args)
14666
+ update!(**args)
14667
+ end
14668
+
14669
+ # Update properties of this object
14670
+ def update!(**args)
14671
+ @locations = args[:locations] if args.key?(:locations)
14672
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
14673
+ end
14674
+ end
14675
+
14676
+ # A resource that represents Google Cloud Platform location.
14677
+ class GoogleCloudLocationLocation
14678
+ include Google::Apis::Core::Hashable
14679
+
14680
+ # The friendly name for this location, typically a nearby city name. For example,
14681
+ # "Tokyo".
14682
+ # Corresponds to the JSON property `displayName`
14683
+ # @return [String]
14684
+ attr_accessor :display_name
14685
+
14686
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
14687
+ # region": "us-east1"`
14688
+ # Corresponds to the JSON property `labels`
14689
+ # @return [Hash<String,String>]
14690
+ attr_accessor :labels
14691
+
14692
+ # The canonical id for this location. For example: `"us-east1"`.
14693
+ # Corresponds to the JSON property `locationId`
14694
+ # @return [String]
14695
+ attr_accessor :location_id
14696
+
14697
+ # Service-specific metadata. For example the available capacity at the given
14698
+ # location.
14699
+ # Corresponds to the JSON property `metadata`
14700
+ # @return [Hash<String,Object>]
14701
+ attr_accessor :metadata
14702
+
14703
+ # Resource name for the location, which may vary between implementations. For
14704
+ # example: `"projects/example-project/locations/us-east1"`
14705
+ # Corresponds to the JSON property `name`
14706
+ # @return [String]
14707
+ attr_accessor :name
14708
+
14709
+ def initialize(**args)
14710
+ update!(**args)
14711
+ end
14712
+
14713
+ # Update properties of this object
14714
+ def update!(**args)
14715
+ @display_name = args[:display_name] if args.key?(:display_name)
14716
+ @labels = args[:labels] if args.key?(:labels)
14717
+ @location_id = args[:location_id] if args.key?(:location_id)
14718
+ @metadata = args[:metadata] if args.key?(:metadata)
14719
+ @name = args[:name] if args.key?(:name)
14720
+ end
14721
+ end
14722
+
14643
14723
  # The response message for Operations.ListOperations.
14644
14724
  class GoogleLongrunningListOperationsResponse
14645
14725
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.19.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 = "20210830"
26
26
  end
27
27
  end
28
28
  end
@@ -2404,6 +2404,18 @@ module Google
2404
2404
  include Google::Apis::Core::JsonObjectSupport
2405
2405
  end
2406
2406
 
2407
+ class GoogleCloudLocationListLocationsResponse
2408
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2409
+
2410
+ include Google::Apis::Core::JsonObjectSupport
2411
+ end
2412
+
2413
+ class GoogleCloudLocationLocation
2414
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2415
+
2416
+ include Google::Apis::Core::JsonObjectSupport
2417
+ end
2418
+
2407
2419
  class GoogleLongrunningListOperationsResponse
2408
2420
  class Representation < Google::Apis::Core::JsonRepresentation; end
2409
2421
 
@@ -6455,6 +6467,26 @@ module Google
6455
6467
  end
6456
6468
  end
6457
6469
 
6470
+ class GoogleCloudLocationListLocationsResponse
6471
+ # @private
6472
+ class Representation < Google::Apis::Core::JsonRepresentation
6473
+ collection :locations, as: 'locations', class: Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation::Representation
6474
+
6475
+ property :next_page_token, as: 'nextPageToken'
6476
+ end
6477
+ end
6478
+
6479
+ class GoogleCloudLocationLocation
6480
+ # @private
6481
+ class Representation < Google::Apis::Core::JsonRepresentation
6482
+ property :display_name, as: 'displayName'
6483
+ hash :labels, as: 'labels'
6484
+ property :location_id, as: 'locationId'
6485
+ hash :metadata, as: 'metadata'
6486
+ property :name, as: 'name'
6487
+ end
6488
+ end
6489
+
6458
6490
  class GoogleLongrunningListOperationsResponse
6459
6491
  # @private
6460
6492
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4418,6 +4418,36 @@ module Google
4418
4418
  execute_or_queue_command(command, &block)
4419
4419
  end
4420
4420
 
4421
+ # Gets information about a location.
4422
+ # @param [String] name
4423
+ # Resource name for the location.
4424
+ # @param [String] fields
4425
+ # Selector specifying which fields to include in a partial response.
4426
+ # @param [String] quota_user
4427
+ # Available to use for quota purposes for server-side applications. Can be any
4428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4429
+ # @param [Google::Apis::RequestOptions] options
4430
+ # Request-specific options
4431
+ #
4432
+ # @yield [result, err] Result & error if block supplied
4433
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation] parsed result object
4434
+ # @yieldparam err [StandardError] error object if request failed
4435
+ #
4436
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation]
4437
+ #
4438
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4439
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4440
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4441
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
4442
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
4443
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation::Representation
4444
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationLocation
4445
+ command.params['name'] = name unless name.nil?
4446
+ command.query['fields'] = fields unless fields.nil?
4447
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4448
+ execute_or_queue_command(command, &block)
4449
+ end
4450
+
4421
4451
  # Retrieves the specified agent.
4422
4452
  # @param [String] parent
4423
4453
  # Required. The project that the agent to fetch is associated with. Format: `
@@ -4449,6 +4479,49 @@ module Google
4449
4479
  execute_or_queue_command(command, &block)
4450
4480
  end
4451
4481
 
4482
+ # Lists information about the supported locations for this service.
4483
+ # @param [String] name
4484
+ # The resource that owns the locations collection, if applicable.
4485
+ # @param [String] filter
4486
+ # A filter to narrow down results to a preferred subset. The filtering language
4487
+ # accepts strings like "displayName=tokyo", and is documented in more detail in [
4488
+ # AIP-160](https://google.aip.dev/160).
4489
+ # @param [Fixnum] page_size
4490
+ # The maximum number of results to return. If not set, the service selects a
4491
+ # default.
4492
+ # @param [String] page_token
4493
+ # A page token received from the `next_page_token` field in the response. Send
4494
+ # that page token to receive the subsequent page.
4495
+ # @param [String] fields
4496
+ # Selector specifying which fields to include in a partial response.
4497
+ # @param [String] quota_user
4498
+ # Available to use for quota purposes for server-side applications. Can be any
4499
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4500
+ # @param [Google::Apis::RequestOptions] options
4501
+ # Request-specific options
4502
+ #
4503
+ # @yield [result, err] Result & error if block supplied
4504
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse] parsed result object
4505
+ # @yieldparam err [StandardError] error object if request failed
4506
+ #
4507
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse]
4508
+ #
4509
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4510
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4511
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4512
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4513
+ command = make_simple_command(:get, 'v2beta1/{+name}/locations', options)
4514
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse::Representation
4515
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse
4516
+ command.params['name'] = name unless name.nil?
4517
+ command.query['filter'] = filter unless filter.nil?
4518
+ command.query['pageSize'] = page_size unless page_size.nil?
4519
+ command.query['pageToken'] = page_token unless page_token.nil?
4520
+ command.query['fields'] = fields unless fields.nil?
4521
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4522
+ execute_or_queue_command(command, &block)
4523
+ end
4524
+
4452
4525
  # Creates/updates the specified agent. Note: You should always train an agent
4453
4526
  # prior to sending it queries. See the [training documentation](https://cloud.
4454
4527
  # google.com/dialogflow/es/docs/training).
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V2beta1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # View, manage and query your Dialogflow agents
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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-09-06 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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []