google-api-client 0.23.7 → 0.23.8
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 +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +5 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +31 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +5 -3
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +5 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +27 -22
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/{mybusiness_v3.rb → cloudtasks_v2beta3.rb} +12 -10
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1405 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +421 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +855 -0
- data/generated/google/apis/compute_alpha/classes.rb +178 -135
- data/generated/google/apis/compute_alpha/representations.rb +82 -52
- data/generated/google/apis/compute_alpha/service.rb +57 -4
- data/generated/google/apis/compute_beta/classes.rb +125 -125
- data/generated/google/apis/compute_beta/representations.rb +51 -51
- data/generated/google/apis/compute_beta/service.rb +4 -4
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +152 -0
- data/generated/google/apis/content_v2/representations.rb +77 -0
- data/generated/google/apis/content_v2/service.rb +40 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +39 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +26 -0
- data/generated/google/apis/content_v2sandbox/service.rb +40 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +299 -0
- data/generated/google/apis/dataproc_v1/representations.rb +115 -0
- data/generated/google/apis/dataproc_v1/service.rb +540 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -3
- data/generated/google/apis/dialogflow_v2beta1/service.rb +226 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +54 -6
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +85 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +32 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +30 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +97 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +28 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +37 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +9 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +4 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +56 -1
- data/generated/google/apis/spanner_v1/representations.rb +18 -0
- data/generated/google/apis/spanner_v1/service.rb +9 -3
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +11 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -1
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storage_v1/service.rb +1 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +14 -14
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -6
- data/generated/google/apis/mybusiness_v3/classes.rb +0 -1864
- data/generated/google/apis/mybusiness_v3/representations.rb +0 -741
- data/generated/google/apis/mybusiness_v3/service.rb +0 -961
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/dataproc/
|
|
26
26
|
module DataprocV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180824'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20180828'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -3877,9 +3877,6 @@ module Google
|
|
|
3877
3877
|
# Optional. KnowledgeBases to get alternative results from. If not set, the
|
|
3878
3878
|
# KnowledgeBases enabled in the agent (through UI) will be used.
|
|
3879
3879
|
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
|
|
3880
|
-
# Note: This field is `repeated` for forward compatibility, currently only
|
|
3881
|
-
# the first one is supported, we may return an error if multiple
|
|
3882
|
-
# KnowledgeBases are specified.
|
|
3883
3880
|
# Corresponds to the JSON property `knowledgeBaseNames`
|
|
3884
3881
|
# @return [Array<String>]
|
|
3885
3882
|
attr_accessor :knowledge_base_names
|
|
@@ -2139,6 +2139,232 @@ module Google
|
|
|
2139
2139
|
execute_or_queue_command(command, &block)
|
|
2140
2140
|
end
|
|
2141
2141
|
|
|
2142
|
+
# Deletes all active contexts in the specified session.
|
|
2143
|
+
# @param [String] parent
|
|
2144
|
+
# Required. The name of the session to delete all contexts from. Format:
|
|
2145
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
|
|
2146
|
+
# ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
|
|
2147
|
+
# ID>`. If `Environment ID` is not specified we assume default 'draft'
|
|
2148
|
+
# environment. If `User ID` is not specified, we assume default '-' user.
|
|
2149
|
+
# @param [String] fields
|
|
2150
|
+
# Selector specifying which fields to include in a partial response.
|
|
2151
|
+
# @param [String] quota_user
|
|
2152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2154
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2155
|
+
# Request-specific options
|
|
2156
|
+
#
|
|
2157
|
+
# @yield [result, err] Result & error if block supplied
|
|
2158
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
2159
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2160
|
+
#
|
|
2161
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
2162
|
+
#
|
|
2163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2166
|
+
def delete_project_conversation_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
|
|
2167
|
+
command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
|
|
2168
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
2169
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
2170
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2171
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2173
|
+
execute_or_queue_command(command, &block)
|
|
2174
|
+
end
|
|
2175
|
+
|
|
2176
|
+
# Creates a context.
|
|
2177
|
+
# @param [String] parent
|
|
2178
|
+
# Required. The session to create a context for.
|
|
2179
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
|
2180
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
|
2181
|
+
# ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
|
|
2182
|
+
# default 'draft' environment. If `User ID` is not specified, we assume
|
|
2183
|
+
# default '-' user.
|
|
2184
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
|
2185
|
+
# @param [String] fields
|
|
2186
|
+
# Selector specifying which fields to include in a partial response.
|
|
2187
|
+
# @param [String] quota_user
|
|
2188
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2189
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2190
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2191
|
+
# Request-specific options
|
|
2192
|
+
#
|
|
2193
|
+
# @yield [result, err] Result & error if block supplied
|
|
2194
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
|
2195
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2196
|
+
#
|
|
2197
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
|
2198
|
+
#
|
|
2199
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2200
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2201
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2202
|
+
def create_project_conversation_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2203
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
|
|
2204
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
|
2205
|
+
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
|
2206
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
|
2207
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
|
2208
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2209
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2210
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2211
|
+
execute_or_queue_command(command, &block)
|
|
2212
|
+
end
|
|
2213
|
+
|
|
2214
|
+
# Deletes the specified context.
|
|
2215
|
+
# @param [String] name
|
|
2216
|
+
# Required. The name of the context to delete. Format:
|
|
2217
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
|
2218
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
|
2219
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
|
|
2220
|
+
# not specified, we assume default 'draft' environment. If `User ID` is not
|
|
2221
|
+
# specified, we assume default '-' user.
|
|
2222
|
+
# @param [String] fields
|
|
2223
|
+
# Selector specifying which fields to include in a partial response.
|
|
2224
|
+
# @param [String] quota_user
|
|
2225
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2226
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2227
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2228
|
+
# Request-specific options
|
|
2229
|
+
#
|
|
2230
|
+
# @yield [result, err] Result & error if block supplied
|
|
2231
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
|
2232
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2233
|
+
#
|
|
2234
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
|
2235
|
+
#
|
|
2236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2239
|
+
def delete_project_conversation_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2240
|
+
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
|
2241
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
|
2242
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
|
2243
|
+
command.params['name'] = name unless name.nil?
|
|
2244
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2245
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2246
|
+
execute_or_queue_command(command, &block)
|
|
2247
|
+
end
|
|
2248
|
+
|
|
2249
|
+
# Retrieves the specified context.
|
|
2250
|
+
# @param [String] name
|
|
2251
|
+
# Required. The name of the context. Format:
|
|
2252
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
|
|
2253
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
|
2254
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
|
|
2255
|
+
# not specified, we assume default 'draft' environment. If `User ID` is not
|
|
2256
|
+
# specified, we assume default '-' user.
|
|
2257
|
+
# @param [String] fields
|
|
2258
|
+
# Selector specifying which fields to include in a partial response.
|
|
2259
|
+
# @param [String] quota_user
|
|
2260
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2261
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2262
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2263
|
+
# Request-specific options
|
|
2264
|
+
#
|
|
2265
|
+
# @yield [result, err] Result & error if block supplied
|
|
2266
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
|
2267
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2268
|
+
#
|
|
2269
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
|
2270
|
+
#
|
|
2271
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2272
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2273
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2274
|
+
def get_project_conversation_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2275
|
+
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
|
2276
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
|
2277
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
|
2278
|
+
command.params['name'] = name unless name.nil?
|
|
2279
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2280
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2281
|
+
execute_or_queue_command(command, &block)
|
|
2282
|
+
end
|
|
2283
|
+
|
|
2284
|
+
# Returns the list of all contexts in the specified session.
|
|
2285
|
+
# @param [String] parent
|
|
2286
|
+
# Required. The session to list all contexts from.
|
|
2287
|
+
# Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
|
|
2288
|
+
# `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
|
2289
|
+
# ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
|
|
2290
|
+
# default 'draft' environment. If `User ID` is not specified, we assume
|
|
2291
|
+
# default '-' user.
|
|
2292
|
+
# @param [Fixnum] page_size
|
|
2293
|
+
# Optional. The maximum number of items to return in a single page. By
|
|
2294
|
+
# default 100 and at most 1000.
|
|
2295
|
+
# @param [String] page_token
|
|
2296
|
+
# Optional. The next_page_token value returned from a previous list request.
|
|
2297
|
+
# @param [String] fields
|
|
2298
|
+
# Selector specifying which fields to include in a partial response.
|
|
2299
|
+
# @param [String] quota_user
|
|
2300
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2301
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2302
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2303
|
+
# Request-specific options
|
|
2304
|
+
#
|
|
2305
|
+
# @yield [result, err] Result & error if block supplied
|
|
2306
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse] parsed result object
|
|
2307
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2308
|
+
#
|
|
2309
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse]
|
|
2310
|
+
#
|
|
2311
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2312
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2313
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2314
|
+
def list_project_conversation_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2315
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
|
|
2316
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
|
|
2317
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
|
|
2318
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2319
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2320
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2321
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2322
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2323
|
+
execute_or_queue_command(command, &block)
|
|
2324
|
+
end
|
|
2325
|
+
|
|
2326
|
+
# Updates the specified context.
|
|
2327
|
+
# @param [String] name
|
|
2328
|
+
# Required. The unique identifier of the context. Format:
|
|
2329
|
+
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
|
|
2330
|
+
# or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
|
|
2331
|
+
# ID>/sessions/<Session ID>/contexts/<Context ID>`. The `Context ID` is
|
|
2332
|
+
# always converted to lowercase. If `Environment ID` is not specified, we
|
|
2333
|
+
# assume default 'draft' environment. If `User ID` is not specified, we
|
|
2334
|
+
# assume default '-' user.
|
|
2335
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
|
2336
|
+
# @param [String] update_mask
|
|
2337
|
+
# Optional. The mask to control which fields get updated.
|
|
2338
|
+
# @param [String] fields
|
|
2339
|
+
# Selector specifying which fields to include in a partial response.
|
|
2340
|
+
# @param [String] quota_user
|
|
2341
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2342
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2343
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2344
|
+
# Request-specific options
|
|
2345
|
+
#
|
|
2346
|
+
# @yield [result, err] Result & error if block supplied
|
|
2347
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
|
2348
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2349
|
+
#
|
|
2350
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
|
2351
|
+
#
|
|
2352
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2353
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2354
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2355
|
+
def patch_project_conversation_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2356
|
+
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
|
2357
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
|
2358
|
+
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
|
2359
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
|
2360
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
|
2361
|
+
command.params['name'] = name unless name.nil?
|
|
2362
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2363
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2365
|
+
execute_or_queue_command(command, &block)
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2142
2368
|
# Creates a knowledge base.
|
|
2143
2369
|
# @param [String] parent
|
|
2144
2370
|
# Required. The project to create a knowledge base for.
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/dlp/docs/
|
|
28
28
|
module DlpV2
|
|
29
29
|
VERSION = 'V2'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20180830'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -198,6 +198,17 @@ module Google
|
|
|
198
198
|
# @param [String] parent
|
|
199
199
|
# The parent resource name, for example projects/my-project-id or
|
|
200
200
|
# organizations/my-org-id.
|
|
201
|
+
# @param [String] order_by
|
|
202
|
+
# Optional comma separated list of fields to order by,
|
|
203
|
+
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
|
204
|
+
# default sorting order is ascending, redundant space characters are
|
|
205
|
+
# insignificant.
|
|
206
|
+
# Example: `name asc,update_time, create_time desc`
|
|
207
|
+
# Supported fields are:
|
|
208
|
+
# - `create_time`: corresponds to time the template was created.
|
|
209
|
+
# - `update_time`: corresponds to time the template was last updated.
|
|
210
|
+
# - `name`: corresponds to template's name.
|
|
211
|
+
# - `display_name`: corresponds to template's display name.
|
|
201
212
|
# @param [Fixnum] page_size
|
|
202
213
|
# Optional size of the page, can be limited by server. If zero server returns
|
|
203
214
|
# a page of max size 100.
|
|
@@ -221,11 +232,12 @@ module Google
|
|
|
221
232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
222
233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
223
234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
224
|
-
def list_organization_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
235
|
+
def list_organization_deidentify_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
225
236
|
command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
|
|
226
237
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
|
|
227
238
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
|
228
239
|
command.params['parent'] = parent unless parent.nil?
|
|
240
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
229
241
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
230
242
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
231
243
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -377,6 +389,17 @@ module Google
|
|
|
377
389
|
# @param [String] parent
|
|
378
390
|
# The parent resource name, for example projects/my-project-id or
|
|
379
391
|
# organizations/my-org-id.
|
|
392
|
+
# @param [String] order_by
|
|
393
|
+
# Optional comma separated list of fields to order by,
|
|
394
|
+
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
|
395
|
+
# default sorting order is ascending, redundant space characters are
|
|
396
|
+
# insignificant.
|
|
397
|
+
# Example: `name asc,update_time, create_time desc`
|
|
398
|
+
# Supported fields are:
|
|
399
|
+
# - `create_time`: corresponds to time the template was created.
|
|
400
|
+
# - `update_time`: corresponds to time the template was last updated.
|
|
401
|
+
# - `name`: corresponds to template's name.
|
|
402
|
+
# - `display_name`: corresponds to template's display name.
|
|
380
403
|
# @param [Fixnum] page_size
|
|
381
404
|
# Optional size of the page, can be limited by server. If zero server returns
|
|
382
405
|
# a page of max size 100.
|
|
@@ -400,11 +423,12 @@ module Google
|
|
|
400
423
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
401
424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
402
425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
403
|
-
def list_organization_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
426
|
+
def list_organization_inspect_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
404
427
|
command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
|
|
405
428
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
|
|
406
429
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
|
|
407
430
|
command.params['parent'] = parent unless parent.nil?
|
|
431
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
408
432
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
409
433
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
410
434
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -857,6 +881,17 @@ module Google
|
|
|
857
881
|
# @param [String] parent
|
|
858
882
|
# The parent resource name, for example projects/my-project-id or
|
|
859
883
|
# organizations/my-org-id.
|
|
884
|
+
# @param [String] order_by
|
|
885
|
+
# Optional comma separated list of fields to order by,
|
|
886
|
+
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
|
887
|
+
# default sorting order is ascending, redundant space characters are
|
|
888
|
+
# insignificant.
|
|
889
|
+
# Example: `name asc,update_time, create_time desc`
|
|
890
|
+
# Supported fields are:
|
|
891
|
+
# - `create_time`: corresponds to time the template was created.
|
|
892
|
+
# - `update_time`: corresponds to time the template was last updated.
|
|
893
|
+
# - `name`: corresponds to template's name.
|
|
894
|
+
# - `display_name`: corresponds to template's display name.
|
|
860
895
|
# @param [Fixnum] page_size
|
|
861
896
|
# Optional size of the page, can be limited by server. If zero server returns
|
|
862
897
|
# a page of max size 100.
|
|
@@ -880,11 +915,12 @@ module Google
|
|
|
880
915
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
881
916
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
882
917
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
883
|
-
def list_project_deidentify_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
918
|
+
def list_project_deidentify_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
884
919
|
command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
|
|
885
920
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
|
|
886
921
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
|
|
887
922
|
command.params['parent'] = parent unless parent.nil?
|
|
923
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
888
924
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
889
925
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
890
926
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1277,6 +1313,17 @@ module Google
|
|
|
1277
1313
|
# @param [String] parent
|
|
1278
1314
|
# The parent resource name, for example projects/my-project-id or
|
|
1279
1315
|
# organizations/my-org-id.
|
|
1316
|
+
# @param [String] order_by
|
|
1317
|
+
# Optional comma separated list of fields to order by,
|
|
1318
|
+
# followed by `asc` or `desc` postfix. This list is case-insensitive,
|
|
1319
|
+
# default sorting order is ascending, redundant space characters are
|
|
1320
|
+
# insignificant.
|
|
1321
|
+
# Example: `name asc,update_time, create_time desc`
|
|
1322
|
+
# Supported fields are:
|
|
1323
|
+
# - `create_time`: corresponds to time the template was created.
|
|
1324
|
+
# - `update_time`: corresponds to time the template was last updated.
|
|
1325
|
+
# - `name`: corresponds to template's name.
|
|
1326
|
+
# - `display_name`: corresponds to template's display name.
|
|
1280
1327
|
# @param [Fixnum] page_size
|
|
1281
1328
|
# Optional size of the page, can be limited by server. If zero server returns
|
|
1282
1329
|
# a page of max size 100.
|
|
@@ -1300,11 +1347,12 @@ module Google
|
|
|
1300
1347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1301
1348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1302
1349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1303
|
-
def list_project_inspect_templates(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1350
|
+
def list_project_inspect_templates(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1304
1351
|
command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
|
|
1305
1352
|
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
|
|
1306
1353
|
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
|
|
1307
1354
|
command.params['parent'] = parent unless parent.nil?
|
|
1355
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
1308
1356
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1309
1357
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1310
1358
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1458,8 +1506,8 @@ module Google
|
|
|
1458
1506
|
# insignificant.
|
|
1459
1507
|
# Example: `name asc,update_time, create_time desc`
|
|
1460
1508
|
# Supported fields are:
|
|
1461
|
-
# - `create_time`: corresponds to time the
|
|
1462
|
-
# - `update_time`: corresponds to time the
|
|
1509
|
+
# - `create_time`: corresponds to time the JobTrigger was created.
|
|
1510
|
+
# - `update_time`: corresponds to time the JobTrigger was last updated.
|
|
1463
1511
|
# - `name`: corresponds to JobTrigger's name.
|
|
1464
1512
|
# - `display_name`: corresponds to JobTrigger's display name.
|
|
1465
1513
|
# - `status`: corresponds to JobTrigger's status.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://firebase.google.com/docs/dynamic-links/
|
|
26
26
|
module FirebasedynamiclinksV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180830'
|
|
29
29
|
|
|
30
30
|
# View and administer all your Firebase data and settings
|
|
31
31
|
AUTH_FIREBASE = 'https://www.googleapis.com/auth/firebase'
|
|
@@ -652,6 +652,91 @@ module Google
|
|
|
652
652
|
end
|
|
653
653
|
end
|
|
654
654
|
|
|
655
|
+
# Request for iSDK to get reopen attribution for app universal link open
|
|
656
|
+
# deeplinking. This endpoint is meant for only iOS requests.
|
|
657
|
+
class GetIosReopenAttributionRequest
|
|
658
|
+
include Google::Apis::Core::Hashable
|
|
659
|
+
|
|
660
|
+
# APP bundle ID.
|
|
661
|
+
# Corresponds to the JSON property `bundleId`
|
|
662
|
+
# @return [String]
|
|
663
|
+
attr_accessor :bundle_id
|
|
664
|
+
|
|
665
|
+
# FDL link to be verified from an app universal link open.
|
|
666
|
+
# The FDL link can be one of:
|
|
667
|
+
# 1) short FDL.
|
|
668
|
+
# e.g. <app_code>.page.link/<ddl_id>, or
|
|
669
|
+
# 2) long FDL.
|
|
670
|
+
# e.g. <app_code>.page.link/?`query params`, or
|
|
671
|
+
# 3) Invite FDL.
|
|
672
|
+
# e.g. <app_code>.page.link/i/<invite_id_or_alias>
|
|
673
|
+
# Corresponds to the JSON property `requestedLink`
|
|
674
|
+
# @return [String]
|
|
675
|
+
attr_accessor :requested_link
|
|
676
|
+
|
|
677
|
+
def initialize(**args)
|
|
678
|
+
update!(**args)
|
|
679
|
+
end
|
|
680
|
+
|
|
681
|
+
# Update properties of this object
|
|
682
|
+
def update!(**args)
|
|
683
|
+
@bundle_id = args[:bundle_id] if args.key?(:bundle_id)
|
|
684
|
+
@requested_link = args[:requested_link] if args.key?(:requested_link)
|
|
685
|
+
end
|
|
686
|
+
end
|
|
687
|
+
|
|
688
|
+
# Response for iSDK to get reopen attribution for app universal link open
|
|
689
|
+
# deeplinking. This endpoint is meant for only iOS requests.
|
|
690
|
+
class GetIosReopenAttributionResponse
|
|
691
|
+
include Google::Apis::Core::Hashable
|
|
692
|
+
|
|
693
|
+
# The deep-link attributed the app universal link open. For both regular
|
|
694
|
+
# FDL links and invite FDL links.
|
|
695
|
+
# Corresponds to the JSON property `deepLink`
|
|
696
|
+
# @return [String]
|
|
697
|
+
attr_accessor :deep_link
|
|
698
|
+
|
|
699
|
+
# Optional invitation ID, for only invite typed requested FDL links.
|
|
700
|
+
# Corresponds to the JSON property `invitationId`
|
|
701
|
+
# @return [String]
|
|
702
|
+
attr_accessor :invitation_id
|
|
703
|
+
|
|
704
|
+
# The entire FDL, expanded from a short link. It is the same as the
|
|
705
|
+
# requested_link, if it is long.
|
|
706
|
+
# Corresponds to the JSON property `resolvedLink`
|
|
707
|
+
# @return [String]
|
|
708
|
+
attr_accessor :resolved_link
|
|
709
|
+
|
|
710
|
+
# Scion campaign value to be propagated by iSDK to Scion at app-reopen.
|
|
711
|
+
# Corresponds to the JSON property `utmCampaign`
|
|
712
|
+
# @return [String]
|
|
713
|
+
attr_accessor :utm_campaign
|
|
714
|
+
|
|
715
|
+
# Scion medium value to be propagated by iSDK to Scion at app-reopen.
|
|
716
|
+
# Corresponds to the JSON property `utmMedium`
|
|
717
|
+
# @return [String]
|
|
718
|
+
attr_accessor :utm_medium
|
|
719
|
+
|
|
720
|
+
# Scion source value to be propagated by iSDK to Scion at app-reopen.
|
|
721
|
+
# Corresponds to the JSON property `utmSource`
|
|
722
|
+
# @return [String]
|
|
723
|
+
attr_accessor :utm_source
|
|
724
|
+
|
|
725
|
+
def initialize(**args)
|
|
726
|
+
update!(**args)
|
|
727
|
+
end
|
|
728
|
+
|
|
729
|
+
# Update properties of this object
|
|
730
|
+
def update!(**args)
|
|
731
|
+
@deep_link = args[:deep_link] if args.key?(:deep_link)
|
|
732
|
+
@invitation_id = args[:invitation_id] if args.key?(:invitation_id)
|
|
733
|
+
@resolved_link = args[:resolved_link] if args.key?(:resolved_link)
|
|
734
|
+
@utm_campaign = args[:utm_campaign] if args.key?(:utm_campaign)
|
|
735
|
+
@utm_medium = args[:utm_medium] if args.key?(:utm_medium)
|
|
736
|
+
@utm_source = args[:utm_source] if args.key?(:utm_source)
|
|
737
|
+
end
|
|
738
|
+
end
|
|
739
|
+
|
|
655
740
|
# Parameters for Google Play Campaign Measurements.
|
|
656
741
|
# [Learn more](https://developers.google.com/analytics/devguides/collection/
|
|
657
742
|
# android/v4/campaigns#campaign-params)
|