google-apis-dialogflow_v2beta1 0.110.0 → 0.112.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.
@@ -4923,8 +4923,8 @@ module Google
4923
4923
  # @param [String] name
4924
4924
  # The resource that owns the locations collection, if applicable.
4925
4925
  # @param [Array<String>, String] extra_location_types
4926
- # Optional. Do not use this field. It is unsupported and is ignored unless
4927
- # explicitly documented otherwise. This is primarily for internal usage.
4926
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
4927
+ # field which is primarily intended for internal usage.
4928
4928
  # @param [String] filter
4929
4929
  # A filter to narrow down results to a preferred subset. The filtering language
4930
4930
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -8787,6 +8787,141 @@ module Google
8787
8787
  execute_or_queue_command(command, &block)
8788
8788
  end
8789
8789
 
8790
+ # Creates evaluation of a generator.
8791
+ # @param [String] parent
8792
+ # Required. The generator resource name. Format: `projects//locations//
8793
+ # generators/`
8794
+ # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] google_cloud_dialogflow_v2beta1_generator_evaluation_object
8795
+ # @param [String] fields
8796
+ # Selector specifying which fields to include in a partial response.
8797
+ # @param [String] quota_user
8798
+ # Available to use for quota purposes for server-side applications. Can be any
8799
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8800
+ # @param [Google::Apis::RequestOptions] options
8801
+ # Request-specific options
8802
+ #
8803
+ # @yield [result, err] Result & error if block supplied
8804
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
8805
+ # @yieldparam err [StandardError] error object if request failed
8806
+ #
8807
+ # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
8808
+ #
8809
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8810
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8811
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8812
+ def create_project_location_generator_evaluation(parent, google_cloud_dialogflow_v2beta1_generator_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8813
+ command = make_simple_command(:post, 'v2beta1/{+parent}/evaluations', options)
8814
+ command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation
8815
+ command.request_object = google_cloud_dialogflow_v2beta1_generator_evaluation_object
8816
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
8817
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
8818
+ command.params['parent'] = parent unless parent.nil?
8819
+ command.query['fields'] = fields unless fields.nil?
8820
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8821
+ execute_or_queue_command(command, &block)
8822
+ end
8823
+
8824
+ # Deletes an evaluation of generator.
8825
+ # @param [String] name
8826
+ # Required. The generator evaluation resource name. Format: `projects//locations/
8827
+ # /generators// evaluations/`
8828
+ # @param [String] fields
8829
+ # Selector specifying which fields to include in a partial response.
8830
+ # @param [String] quota_user
8831
+ # Available to use for quota purposes for server-side applications. Can be any
8832
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8833
+ # @param [Google::Apis::RequestOptions] options
8834
+ # Request-specific options
8835
+ #
8836
+ # @yield [result, err] Result & error if block supplied
8837
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
8838
+ # @yieldparam err [StandardError] error object if request failed
8839
+ #
8840
+ # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
8841
+ #
8842
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8843
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8844
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8845
+ def delete_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
8846
+ command = make_simple_command(:delete, 'v2beta1/{+name}', options)
8847
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
8848
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
8849
+ command.params['name'] = name unless name.nil?
8850
+ command.query['fields'] = fields unless fields.nil?
8851
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8852
+ execute_or_queue_command(command, &block)
8853
+ end
8854
+
8855
+ # Gets an evaluation of generator.
8856
+ # @param [String] name
8857
+ # Required. The generator evaluation resource name. Format: `projects//locations/
8858
+ # /generators//evaluations/`
8859
+ # @param [String] fields
8860
+ # Selector specifying which fields to include in a partial response.
8861
+ # @param [String] quota_user
8862
+ # Available to use for quota purposes for server-side applications. Can be any
8863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8864
+ # @param [Google::Apis::RequestOptions] options
8865
+ # Request-specific options
8866
+ #
8867
+ # @yield [result, err] Result & error if block supplied
8868
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] parsed result object
8869
+ # @yieldparam err [StandardError] error object if request failed
8870
+ #
8871
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation]
8872
+ #
8873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8876
+ def get_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
8877
+ command = make_simple_command(:get, 'v2beta1/{+name}', options)
8878
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation
8879
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation
8880
+ command.params['name'] = name unless name.nil?
8881
+ command.query['fields'] = fields unless fields.nil?
8882
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8883
+ execute_or_queue_command(command, &block)
8884
+ end
8885
+
8886
+ # Lists evaluations of generator.
8887
+ # @param [String] parent
8888
+ # Required. The generator resource name. Format: `projects//locations//
8889
+ # generators/` Wildcard value `-` is supported on generator_id to list
8890
+ # evaluations across all generators under same project.
8891
+ # @param [Fixnum] page_size
8892
+ # Optional. Maximum number of evaluations to return in a single page. By default
8893
+ # 100 and at most 1000.
8894
+ # @param [String] page_token
8895
+ # Optional. The next_page_token value returned from a previous list request.
8896
+ # @param [String] fields
8897
+ # Selector specifying which fields to include in a partial response.
8898
+ # @param [String] quota_user
8899
+ # Available to use for quota purposes for server-side applications. Can be any
8900
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8901
+ # @param [Google::Apis::RequestOptions] options
8902
+ # Request-specific options
8903
+ #
8904
+ # @yield [result, err] Result & error if block supplied
8905
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse] parsed result object
8906
+ # @yieldparam err [StandardError] error object if request failed
8907
+ #
8908
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse]
8909
+ #
8910
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8911
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8912
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8913
+ def list_project_location_generator_evaluations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8914
+ command = make_simple_command(:get, 'v2beta1/{+parent}/evaluations', options)
8915
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse::Representation
8916
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse
8917
+ command.params['parent'] = parent unless parent.nil?
8918
+ command.query['pageSize'] = page_size unless page_size.nil?
8919
+ command.query['pageToken'] = page_token unless page_token.nil?
8920
+ command.query['fields'] = fields unless fields.nil?
8921
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8922
+ execute_or_queue_command(command, &block)
8923
+ end
8924
+
8790
8925
  # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource
8791
8926
  # is deprecated; only use `projects.knowledgeBases`.
8792
8927
  # @param [String] parent
@@ -9354,6 +9489,13 @@ module Google
9354
9489
  # The standard list page size.
9355
9490
  # @param [String] page_token
9356
9491
  # The standard list page token.
9492
+ # @param [Boolean] return_partial_success
9493
+ # When set to `true`, operations that are reachable are returned as normal, and
9494
+ # those that are unreachable are returned in the [ListOperationsResponse.
9495
+ # unreachable] field. This can only be `true` when reading across collections e.
9496
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9497
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9498
+ # explicitly documented otherwise in service or product specific documentation.
9357
9499
  # @param [String] fields
9358
9500
  # Selector specifying which fields to include in a partial response.
9359
9501
  # @param [String] quota_user
@@ -9371,7 +9513,7 @@ module Google
9371
9513
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9372
9514
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9373
9515
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9374
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9516
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
9375
9517
  command = make_simple_command(:get, 'v2beta1/{+name}/operations', options)
9376
9518
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse::Representation
9377
9519
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse
@@ -9379,6 +9521,7 @@ module Google
9379
9521
  command.query['filter'] = filter unless filter.nil?
9380
9522
  command.query['pageSize'] = page_size unless page_size.nil?
9381
9523
  command.query['pageToken'] = page_token unless page_token.nil?
9524
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9382
9525
  command.query['fields'] = fields unless fields.nil?
9383
9526
  command.query['quotaUser'] = quota_user unless quota_user.nil?
9384
9527
  execute_or_queue_command(command, &block)
@@ -9885,6 +10028,13 @@ module Google
9885
10028
  # The standard list page size.
9886
10029
  # @param [String] page_token
9887
10030
  # The standard list page token.
10031
+ # @param [Boolean] return_partial_success
10032
+ # When set to `true`, operations that are reachable are returned as normal, and
10033
+ # those that are unreachable are returned in the [ListOperationsResponse.
10034
+ # unreachable] field. This can only be `true` when reading across collections e.
10035
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
10036
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
10037
+ # explicitly documented otherwise in service or product specific documentation.
9888
10038
  # @param [String] fields
9889
10039
  # Selector specifying which fields to include in a partial response.
9890
10040
  # @param [String] quota_user
@@ -9902,7 +10052,7 @@ module Google
9902
10052
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9903
10053
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9904
10054
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9905
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10055
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
9906
10056
  command = make_simple_command(:get, 'v2beta1/{+name}/operations', options)
9907
10057
  command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse::Representation
9908
10058
  command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningListOperationsResponse
@@ -9910,6 +10060,7 @@ module Google
9910
10060
  command.query['filter'] = filter unless filter.nil?
9911
10061
  command.query['pageSize'] = page_size unless page_size.nil?
9912
10062
  command.query['pageToken'] = page_token unless page_token.nil?
10063
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
9913
10064
  command.query['fields'] = fields unless fields.nil?
9914
10065
  command.query['quotaUser'] = quota_user unless quota_user.nil?
9915
10066
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.110.0
4
+ version: 0.112.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.110.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.112.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
62
62
  rdoc_options: []
63
63
  require_paths: