google-apis-discoveryengine_v1beta 0.75.0 → 0.77.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.
@@ -51,6 +51,51 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Downloads a file from the session.
55
+ # @param [String] name
56
+ # Required. The resource name of the Session. Format: `projects/`project`/
57
+ # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
58
+ # session``
59
+ # @param [String] file_id
60
+ # Required. The ID of the file to be downloaded.
61
+ # @param [String] view_id
62
+ # Optional. The ID of the view to be downloaded.
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [IO, String] download_dest
69
+ # IO stream or filename to receive content download
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GdataMedia] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::DiscoveryengineV1beta::GdataMedia]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
83
+ if download_dest.nil?
84
+ command = make_simple_command(:get, 'v1beta/{+name}:downloadFile', options)
85
+ else
86
+ command = make_download_command(:get, 'v1beta/{+name}:downloadFile', options)
87
+ command.download_dest = download_dest
88
+ end
89
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GdataMedia::Representation
90
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GdataMedia
91
+ command.params['name'] = name unless name.nil?
92
+ command.query['fileId'] = file_id unless file_id.nil?
93
+ command.query['viewId'] = view_id unless view_id.nil?
94
+ command.query['fields'] = fields unless fields.nil?
95
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
96
+ execute_or_queue_command(command, &block)
97
+ end
98
+
54
99
  # Provisions the project resource. During the process, related systems will get
55
100
  # prepared and initialized. Caller must read the [Terms for data use](https://
56
101
  # cloud.google.com/retail/data-use-terms), and optionally specify in request to
@@ -2649,10 +2694,10 @@ module Google
2649
2694
  # @param [String] filter
2650
2695
  # A comma-separated list of fields to filter by, in EBNF grammar. The supported
2651
2696
  # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
2652
- # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
2653
- # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
2654
- # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
2655
- # "
2697
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
2698
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
2699
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
2700
+ # `
2656
2701
  # @param [String] order_by
2657
2702
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
2658
2703
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -5044,10 +5089,10 @@ module Google
5044
5089
  # @param [String] filter
5045
5090
  # A comma-separated list of fields to filter by, in EBNF grammar. The supported
5046
5091
  # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
5047
- # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
5048
- # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
5049
- # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
5050
- # "
5092
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
5093
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
5094
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
5095
+ # `
5051
5096
  # @param [String] order_by
5052
5097
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
5053
5098
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -7260,10 +7305,10 @@ module Google
7260
7305
  # @param [String] filter
7261
7306
  # A comma-separated list of fields to filter by, in EBNF grammar. The supported
7262
7307
  # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
7263
- # is_pinned` * `labels` * `create_time` * `update_time` Examples: "
7264
- # user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
7265
- # is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
7266
- # "
7308
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
7309
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
7310
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
7311
+ # `
7267
7312
  # @param [String] order_by
7268
7313
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
7269
7314
  # desc" after a field name for descending. Supported fields: * `update_time` * `
@@ -8120,13 +8165,13 @@ module Google
8120
8165
  # Evaluations under this location, regardless of whether or not this location
8121
8166
  # exists, a `PERMISSION_DENIED` error is returned.
8122
8167
  # @param [Fixnum] page_size
8123
- # Maximum number of Evaluations to return. If unspecified, defaults to 100. The
8124
- # maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If
8125
- # this field is negative, an `INVALID_ARGUMENT` error is returned.
8168
+ # Optional. Maximum number of Evaluations to return. If unspecified, defaults to
8169
+ # 100. The maximum allowed value is 1000. Values above 1000 will be coerced to
8170
+ # 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
8126
8171
  # @param [String] page_token
8127
- # A page token ListEvaluationsResponse.next_page_token, received from a previous
8128
- # EvaluationService.ListEvaluations call. Provide this to retrieve the
8129
- # subsequent page. When paginating, all other parameters provided to
8172
+ # Optional. A page token ListEvaluationsResponse.next_page_token, received from
8173
+ # a previous EvaluationService.ListEvaluations call. Provide this to retrieve
8174
+ # the subsequent page. When paginating, all other parameters provided to
8130
8175
  # EvaluationService.ListEvaluations must match the call that provided the page
8131
8176
  # token. Otherwise, an `INVALID_ARGUMENT` error is returned.
8132
8177
  # @param [String] fields
@@ -8166,13 +8211,13 @@ module Google
8166
8211
  # regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED`
8167
8212
  # error is returned.
8168
8213
  # @param [Fixnum] page_size
8169
- # Maximum number of ListEvaluationResultsResponse.EvaluationResult to return. If
8170
- # unspecified, defaults to 100. The maximum allowed value is 1000. Values above
8171
- # 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT`
8172
- # error is returned.
8214
+ # Optional. Maximum number of ListEvaluationResultsResponse.EvaluationResult to
8215
+ # return. If unspecified, defaults to 100. The maximum allowed value is 1000.
8216
+ # Values above 1000 will be coerced to 1000. If this field is negative, an `
8217
+ # INVALID_ARGUMENT` error is returned.
8173
8218
  # @param [String] page_token
8174
- # A page token ListEvaluationResultsResponse.next_page_token, received from a
8175
- # previous EvaluationService.ListEvaluationResults call. Provide this to
8219
+ # Optional. A page token ListEvaluationResultsResponse.next_page_token, received
8220
+ # from a previous EvaluationService.ListEvaluationResults call. Provide this to
8176
8221
  # retrieve the subsequent page. When paginating, all other parameters provided
8177
8222
  # to EvaluationService.ListEvaluationResults must match the call that provided
8178
8223
  # the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.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-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.77.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: