google-api-client 0.24.0 → 0.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +47 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +41 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +10 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +18 -15
- data/generated/google/apis/cloudkms_v1.rb +3 -6
- data/generated/google/apis/cloudkms_v1/service.rb +2 -5
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +156 -144
- data/generated/google/apis/compute_alpha/representations.rb +66 -66
- data/generated/google/apis/compute_alpha/service.rb +7 -7
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +221 -10
- data/generated/google/apis/compute_beta/representations.rb +111 -2
- data/generated/google/apis/compute_beta/service.rb +39 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -0
- data/generated/google/apis/container_v1/representations.rb +19 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +9 -6
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +76 -5
- data/generated/google/apis/content_v2/representations.rb +42 -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 +70 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +42 -0
- data/generated/google/apis/content_v2sandbox/service.rb +40 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +8 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2/service.rb +9 -8
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +23 -17
- data/generated/google/apis/dialogflow_v2beta1/service.rb +9 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +178 -21
- data/generated/google/apis/dlp_v2/representations.rb +68 -0
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +102 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +47 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +144 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +8 -2
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +18 -7
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/service.rb +18 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +21 -7
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -2
- data/generated/google/apis/indexing_v3.rb +4 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +35 -35
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +38 -0
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2910 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +966 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +692 -0
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +10 -3
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +2 -242
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -60
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +3 -242
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -60
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +4 -242
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -60
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/service.rb +11 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +11 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -21
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +26 -16
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -7
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -64,12 +64,6 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class AuthorizationRule
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
67
|
class Backend
|
74
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
69
|
|
@@ -244,18 +238,6 @@ module Google
|
|
244
238
|
include Google::Apis::Core::JsonObjectSupport
|
245
239
|
end
|
246
240
|
|
247
|
-
class MediaDownload
|
248
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
-
|
250
|
-
include Google::Apis::Core::JsonObjectSupport
|
251
|
-
end
|
252
|
-
|
253
|
-
class MediaUpload
|
254
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
-
|
256
|
-
include Google::Apis::Core::JsonObjectSupport
|
257
|
-
end
|
258
|
-
|
259
241
|
class MethodProp
|
260
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
243
|
|
@@ -522,14 +504,6 @@ module Google
|
|
522
504
|
end
|
523
505
|
end
|
524
506
|
|
525
|
-
class AuthorizationRule
|
526
|
-
# @private
|
527
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
528
|
-
property :permissions, as: 'permissions'
|
529
|
-
property :selector, as: 'selector'
|
530
|
-
end
|
531
|
-
end
|
532
|
-
|
533
507
|
class Backend
|
534
508
|
# @private
|
535
509
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -737,23 +711,15 @@ module Google
|
|
737
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
738
712
|
collection :additional_bindings, as: 'additionalBindings', class: Google::Apis::ServiceconsumermanagementV1::HttpRule, decorator: Google::Apis::ServiceconsumermanagementV1::HttpRule::Representation
|
739
713
|
|
740
|
-
collection :authorizations, as: 'authorizations', class: Google::Apis::ServiceconsumermanagementV1::AuthorizationRule, decorator: Google::Apis::ServiceconsumermanagementV1::AuthorizationRule::Representation
|
741
|
-
|
742
714
|
property :body, as: 'body'
|
743
715
|
property :custom, as: 'custom', class: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern, decorator: Google::Apis::ServiceconsumermanagementV1::CustomHttpPattern::Representation
|
744
716
|
|
745
717
|
property :delete, as: 'delete'
|
746
718
|
property :get, as: 'get'
|
747
|
-
property :media_download, as: 'mediaDownload', class: Google::Apis::ServiceconsumermanagementV1::MediaDownload, decorator: Google::Apis::ServiceconsumermanagementV1::MediaDownload::Representation
|
748
|
-
|
749
|
-
property :media_upload, as: 'mediaUpload', class: Google::Apis::ServiceconsumermanagementV1::MediaUpload, decorator: Google::Apis::ServiceconsumermanagementV1::MediaUpload::Representation
|
750
|
-
|
751
719
|
property :patch, as: 'patch'
|
752
720
|
property :post, as: 'post'
|
753
721
|
property :put, as: 'put'
|
754
722
|
property :response_body, as: 'responseBody'
|
755
|
-
property :rest_collection, as: 'restCollection'
|
756
|
-
property :rest_method_name, as: 'restMethodName'
|
757
723
|
property :selector, as: 'selector'
|
758
724
|
end
|
759
725
|
end
|
@@ -814,32 +780,6 @@ module Google
|
|
814
780
|
end
|
815
781
|
end
|
816
782
|
|
817
|
-
class MediaDownload
|
818
|
-
# @private
|
819
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
820
|
-
property :complete_notification, as: 'completeNotification'
|
821
|
-
property :download_service, as: 'downloadService'
|
822
|
-
property :dropzone, as: 'dropzone'
|
823
|
-
property :enabled, as: 'enabled'
|
824
|
-
property :max_direct_download_size, :numeric_string => true, as: 'maxDirectDownloadSize'
|
825
|
-
property :use_direct_download, as: 'useDirectDownload'
|
826
|
-
end
|
827
|
-
end
|
828
|
-
|
829
|
-
class MediaUpload
|
830
|
-
# @private
|
831
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
832
|
-
property :complete_notification, as: 'completeNotification'
|
833
|
-
property :dropzone, as: 'dropzone'
|
834
|
-
property :enabled, as: 'enabled'
|
835
|
-
property :max_size, :numeric_string => true, as: 'maxSize'
|
836
|
-
collection :mime_types, as: 'mimeTypes'
|
837
|
-
property :progress_notification, as: 'progressNotification'
|
838
|
-
property :start_notification, as: 'startNotification'
|
839
|
-
property :upload_service, as: 'uploadService'
|
840
|
-
end
|
841
|
-
end
|
842
|
-
|
843
783
|
class MethodProp
|
844
784
|
# @private
|
845
785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
27
27
|
module ServicecontrolV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180919'
|
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'
|
@@ -926,7 +926,7 @@ module Google
|
|
926
926
|
# @return [Fixnum]
|
927
927
|
attr_accessor :request_size
|
928
928
|
|
929
|
-
# The scheme (http, https), the host name, the path and the query
|
929
|
+
# The scheme (http, https), the host name, the path, and the query
|
930
930
|
# portion of the URL that was requested.
|
931
931
|
# Example: `"http://example.com/some/info?color=red"`.
|
932
932
|
# Corresponds to the JSON property `requestUrl`
|
@@ -945,7 +945,7 @@ module Google
|
|
945
945
|
# @return [String]
|
946
946
|
attr_accessor :server_ip
|
947
947
|
|
948
|
-
# The response code indicating the status of response.
|
948
|
+
# The response code indicating the status of the response.
|
949
949
|
# Examples: 200, 404.
|
950
950
|
# Corresponds to the JSON property `status`
|
951
951
|
# @return [Fixnum]
|
@@ -1086,8 +1086,8 @@ module Google
|
|
1086
1086
|
attr_accessor :timestamp
|
1087
1087
|
|
1088
1088
|
# Optional. Resource name of the trace associated with the log entry, if any.
|
1089
|
-
# If
|
1090
|
-
# to `//tracing.googleapis.com`. Example:
|
1089
|
+
# If this field contains a relative resource name, you can assume the name is
|
1090
|
+
# relative to `//tracing.googleapis.com`. Example:
|
1091
1091
|
# `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
|
1092
1092
|
# Corresponds to the JSON property `trace`
|
1093
1093
|
# @return [String]
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180919'
|
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'
|
@@ -340,49 +340,6 @@ module Google
|
|
340
340
|
end
|
341
341
|
end
|
342
342
|
|
343
|
-
# Authorization rule for API services.
|
344
|
-
# It specifies the permission(s) required for an API element for the overall
|
345
|
-
# API request to succeed. It is typically used to mark request message fields
|
346
|
-
# that contain the name of the resource and indicates the permissions that
|
347
|
-
# will be checked on that resource.
|
348
|
-
# For example:
|
349
|
-
# package google.storage.v1;
|
350
|
-
# message CopyObjectRequest `
|
351
|
-
# string source = 1 [
|
352
|
-
# (google.api.authz).permissions = "storage.objects.get"];
|
353
|
-
# string destination = 2 [
|
354
|
-
# (google.api.authz).permissions =
|
355
|
-
# "storage.objects.create,storage.objects.update"];
|
356
|
-
# `
|
357
|
-
class AuthorizationRule
|
358
|
-
include Google::Apis::Core::Hashable
|
359
|
-
|
360
|
-
# The required permissions. The acceptable values vary depend on the
|
361
|
-
# authorization system used. For Google APIs, it should be a comma-separated
|
362
|
-
# Google IAM permission values. When multiple permissions are listed, the
|
363
|
-
# semantics is not defined by the system. Additional documentation must
|
364
|
-
# be provided manually.
|
365
|
-
# Corresponds to the JSON property `permissions`
|
366
|
-
# @return [String]
|
367
|
-
attr_accessor :permissions
|
368
|
-
|
369
|
-
# Selects the API elements to which this rule applies.
|
370
|
-
# Refer to selector for syntax details.
|
371
|
-
# Corresponds to the JSON property `selector`
|
372
|
-
# @return [String]
|
373
|
-
attr_accessor :selector
|
374
|
-
|
375
|
-
def initialize(**args)
|
376
|
-
update!(**args)
|
377
|
-
end
|
378
|
-
|
379
|
-
# Update properties of this object
|
380
|
-
def update!(**args)
|
381
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
382
|
-
@selector = args[:selector] if args.key?(:selector)
|
383
|
-
end
|
384
|
-
end
|
385
|
-
|
386
343
|
# `Backend` defines the backend configuration for a service.
|
387
344
|
class Backend
|
388
345
|
include Google::Apis::Core::Hashable
|
@@ -1628,6 +1585,7 @@ module Google
|
|
1628
1585
|
# quota checks at runtime.
|
1629
1586
|
# An example quota configuration in yaml format:
|
1630
1587
|
# quota:
|
1588
|
+
# limits:
|
1631
1589
|
# - name: apiWriteQpsPerProject
|
1632
1590
|
# metric: library.googleapis.com/write_calls
|
1633
1591
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
@@ -1906,6 +1864,7 @@ module Google
|
|
1906
1864
|
# quota checks at runtime.
|
1907
1865
|
# An example quota configuration in yaml format:
|
1908
1866
|
# quota:
|
1867
|
+
# limits:
|
1909
1868
|
# - name: apiWriteQpsPerProject
|
1910
1869
|
# metric: library.googleapis.com/write_calls
|
1911
1870
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
@@ -2229,14 +2188,6 @@ module Google
|
|
2229
2188
|
# @return [Array<Google::Apis::ServiceusageV1::HttpRule>]
|
2230
2189
|
attr_accessor :additional_bindings
|
2231
2190
|
|
2232
|
-
# Specifies the permission(s) required for an API element for the overall
|
2233
|
-
# API request to succeed. It is typically used to mark request message fields
|
2234
|
-
# that contain the name of the resource and indicates the permissions that
|
2235
|
-
# will be checked on that resource.
|
2236
|
-
# Corresponds to the JSON property `authorizations`
|
2237
|
-
# @return [Array<Google::Apis::ServiceusageV1::AuthorizationRule>]
|
2238
|
-
attr_accessor :authorizations
|
2239
|
-
|
2240
2191
|
# The name of the request field whose value is mapped to the HTTP request
|
2241
2192
|
# body, or `*` for mapping all request fields not captured by the path
|
2242
2193
|
# pattern to the HTTP body, or omitted for not having any HTTP request body.
|
@@ -2262,22 +2213,6 @@ module Google
|
|
2262
2213
|
# @return [String]
|
2263
2214
|
attr_accessor :get
|
2264
2215
|
|
2265
|
-
# Defines the Media configuration for a service in case of a download.
|
2266
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
2267
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
2268
|
-
# your configuration for Bytestream methods.
|
2269
|
-
# Corresponds to the JSON property `mediaDownload`
|
2270
|
-
# @return [Google::Apis::ServiceusageV1::MediaDownload]
|
2271
|
-
attr_accessor :media_download
|
2272
|
-
|
2273
|
-
# Defines the Media configuration for a service in case of an upload.
|
2274
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
2275
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
2276
|
-
# your configuration for Bytestream methods.
|
2277
|
-
# Corresponds to the JSON property `mediaUpload`
|
2278
|
-
# @return [Google::Apis::ServiceusageV1::MediaUpload]
|
2279
|
-
attr_accessor :media_upload
|
2280
|
-
|
2281
2216
|
# Maps to HTTP PATCH. Used for updating a resource.
|
2282
2217
|
# Corresponds to the JSON property `patch`
|
2283
2218
|
# @return [String]
|
@@ -2302,44 +2237,6 @@ module Google
|
|
2302
2237
|
# @return [String]
|
2303
2238
|
attr_accessor :response_body
|
2304
2239
|
|
2305
|
-
# DO NOT USE. This is an experimental field.
|
2306
|
-
# Optional. The REST collection name is by default derived from the URL
|
2307
|
-
# pattern. If specified, this field overrides the default collection name.
|
2308
|
-
# Example:
|
2309
|
-
# rpc AddressesAggregatedList(AddressesAggregatedListRequest)
|
2310
|
-
# returns (AddressesAggregatedListResponse) `
|
2311
|
-
# option (google.api.http) = `
|
2312
|
-
# get: "/v1/projects/`project_id`/aggregated/addresses"
|
2313
|
-
# rest_collection: "projects.addresses"
|
2314
|
-
# `;
|
2315
|
-
# `
|
2316
|
-
# This method has the automatically derived collection name
|
2317
|
-
# "projects.aggregated". Because, semantically, this rpc is actually an
|
2318
|
-
# operation on the "projects.addresses" collection, the `rest_collection`
|
2319
|
-
# field is configured to override the derived collection name.
|
2320
|
-
# Corresponds to the JSON property `restCollection`
|
2321
|
-
# @return [String]
|
2322
|
-
attr_accessor :rest_collection
|
2323
|
-
|
2324
|
-
# DO NOT USE. This is an experimental field.
|
2325
|
-
# Optional. The rest method name is by default derived from the URL
|
2326
|
-
# pattern. If specified, this field overrides the default method name.
|
2327
|
-
# Example:
|
2328
|
-
# rpc CreateResource(CreateResourceRequest)
|
2329
|
-
# returns (CreateResourceResponse) `
|
2330
|
-
# option (google.api.http) = `
|
2331
|
-
# post: "/v1/resources",
|
2332
|
-
# body: "resource",
|
2333
|
-
# rest_method_name: "insert"
|
2334
|
-
# `;
|
2335
|
-
# `
|
2336
|
-
# This method has the automatically derived rest method name
|
2337
|
-
# "create", but for backwards compatibility with apiary, it is specified as
|
2338
|
-
# insert.
|
2339
|
-
# Corresponds to the JSON property `restMethodName`
|
2340
|
-
# @return [String]
|
2341
|
-
attr_accessor :rest_method_name
|
2342
|
-
|
2343
2240
|
# Selects a method to which this rule applies.
|
2344
2241
|
# Refer to selector for syntax details.
|
2345
2242
|
# Corresponds to the JSON property `selector`
|
@@ -2353,19 +2250,14 @@ module Google
|
|
2353
2250
|
# Update properties of this object
|
2354
2251
|
def update!(**args)
|
2355
2252
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
2356
|
-
@authorizations = args[:authorizations] if args.key?(:authorizations)
|
2357
2253
|
@body = args[:body] if args.key?(:body)
|
2358
2254
|
@custom = args[:custom] if args.key?(:custom)
|
2359
2255
|
@delete = args[:delete] if args.key?(:delete)
|
2360
2256
|
@get = args[:get] if args.key?(:get)
|
2361
|
-
@media_download = args[:media_download] if args.key?(:media_download)
|
2362
|
-
@media_upload = args[:media_upload] if args.key?(:media_upload)
|
2363
2257
|
@patch = args[:patch] if args.key?(:patch)
|
2364
2258
|
@post = args[:post] if args.key?(:post)
|
2365
2259
|
@put = args[:put] if args.key?(:put)
|
2366
2260
|
@response_body = args[:response_body] if args.key?(:response_body)
|
2367
|
-
@rest_collection = args[:rest_collection] if args.key?(:rest_collection)
|
2368
|
-
@rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name)
|
2369
2261
|
@selector = args[:selector] if args.key?(:selector)
|
2370
2262
|
end
|
2371
2263
|
end
|
@@ -2589,138 +2481,6 @@ module Google
|
|
2589
2481
|
end
|
2590
2482
|
end
|
2591
2483
|
|
2592
|
-
# Defines the Media configuration for a service in case of a download.
|
2593
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
2594
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
2595
|
-
# your configuration for Bytestream methods.
|
2596
|
-
class MediaDownload
|
2597
|
-
include Google::Apis::Core::Hashable
|
2598
|
-
|
2599
|
-
# A boolean that determines whether a notification for the completion of a
|
2600
|
-
# download should be sent to the backend.
|
2601
|
-
# Corresponds to the JSON property `completeNotification`
|
2602
|
-
# @return [Boolean]
|
2603
|
-
attr_accessor :complete_notification
|
2604
|
-
alias_method :complete_notification?, :complete_notification
|
2605
|
-
|
2606
|
-
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
|
2607
|
-
# Specify name of the download service if one is used for download.
|
2608
|
-
# Corresponds to the JSON property `downloadService`
|
2609
|
-
# @return [String]
|
2610
|
-
attr_accessor :download_service
|
2611
|
-
|
2612
|
-
# Name of the Scotty dropzone to use for the current API.
|
2613
|
-
# Corresponds to the JSON property `dropzone`
|
2614
|
-
# @return [String]
|
2615
|
-
attr_accessor :dropzone
|
2616
|
-
|
2617
|
-
# Whether download is enabled.
|
2618
|
-
# Corresponds to the JSON property `enabled`
|
2619
|
-
# @return [Boolean]
|
2620
|
-
attr_accessor :enabled
|
2621
|
-
alias_method :enabled?, :enabled
|
2622
|
-
|
2623
|
-
# Optional maximum acceptable size for direct download.
|
2624
|
-
# The size is specified in bytes.
|
2625
|
-
# Corresponds to the JSON property `maxDirectDownloadSize`
|
2626
|
-
# @return [Fixnum]
|
2627
|
-
attr_accessor :max_direct_download_size
|
2628
|
-
|
2629
|
-
# A boolean that determines if direct download from ESF should be used for
|
2630
|
-
# download of this media.
|
2631
|
-
# Corresponds to the JSON property `useDirectDownload`
|
2632
|
-
# @return [Boolean]
|
2633
|
-
attr_accessor :use_direct_download
|
2634
|
-
alias_method :use_direct_download?, :use_direct_download
|
2635
|
-
|
2636
|
-
def initialize(**args)
|
2637
|
-
update!(**args)
|
2638
|
-
end
|
2639
|
-
|
2640
|
-
# Update properties of this object
|
2641
|
-
def update!(**args)
|
2642
|
-
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
|
2643
|
-
@download_service = args[:download_service] if args.key?(:download_service)
|
2644
|
-
@dropzone = args[:dropzone] if args.key?(:dropzone)
|
2645
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
2646
|
-
@max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size)
|
2647
|
-
@use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download)
|
2648
|
-
end
|
2649
|
-
end
|
2650
|
-
|
2651
|
-
# Defines the Media configuration for a service in case of an upload.
|
2652
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
2653
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
2654
|
-
# your configuration for Bytestream methods.
|
2655
|
-
class MediaUpload
|
2656
|
-
include Google::Apis::Core::Hashable
|
2657
|
-
|
2658
|
-
# A boolean that determines whether a notification for the completion of an
|
2659
|
-
# upload should be sent to the backend. These notifications will not be seen
|
2660
|
-
# by the client and will not consume quota.
|
2661
|
-
# Corresponds to the JSON property `completeNotification`
|
2662
|
-
# @return [Boolean]
|
2663
|
-
attr_accessor :complete_notification
|
2664
|
-
alias_method :complete_notification?, :complete_notification
|
2665
|
-
|
2666
|
-
# Name of the Scotty dropzone to use for the current API.
|
2667
|
-
# Corresponds to the JSON property `dropzone`
|
2668
|
-
# @return [String]
|
2669
|
-
attr_accessor :dropzone
|
2670
|
-
|
2671
|
-
# Whether upload is enabled.
|
2672
|
-
# Corresponds to the JSON property `enabled`
|
2673
|
-
# @return [Boolean]
|
2674
|
-
attr_accessor :enabled
|
2675
|
-
alias_method :enabled?, :enabled
|
2676
|
-
|
2677
|
-
# Optional maximum acceptable size for an upload.
|
2678
|
-
# The size is specified in bytes.
|
2679
|
-
# Corresponds to the JSON property `maxSize`
|
2680
|
-
# @return [Fixnum]
|
2681
|
-
attr_accessor :max_size
|
2682
|
-
|
2683
|
-
# An array of mimetype patterns. Esf will only accept uploads that match one
|
2684
|
-
# of the given patterns.
|
2685
|
-
# Corresponds to the JSON property `mimeTypes`
|
2686
|
-
# @return [Array<String>]
|
2687
|
-
attr_accessor :mime_types
|
2688
|
-
|
2689
|
-
# Whether to receive a notification for progress changes of media upload.
|
2690
|
-
# Corresponds to the JSON property `progressNotification`
|
2691
|
-
# @return [Boolean]
|
2692
|
-
attr_accessor :progress_notification
|
2693
|
-
alias_method :progress_notification?, :progress_notification
|
2694
|
-
|
2695
|
-
# Whether to receive a notification on the start of media upload.
|
2696
|
-
# Corresponds to the JSON property `startNotification`
|
2697
|
-
# @return [Boolean]
|
2698
|
-
attr_accessor :start_notification
|
2699
|
-
alias_method :start_notification?, :start_notification
|
2700
|
-
|
2701
|
-
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
|
2702
|
-
# Specify name of the upload service if one is used for upload.
|
2703
|
-
# Corresponds to the JSON property `uploadService`
|
2704
|
-
# @return [String]
|
2705
|
-
attr_accessor :upload_service
|
2706
|
-
|
2707
|
-
def initialize(**args)
|
2708
|
-
update!(**args)
|
2709
|
-
end
|
2710
|
-
|
2711
|
-
# Update properties of this object
|
2712
|
-
def update!(**args)
|
2713
|
-
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
|
2714
|
-
@dropzone = args[:dropzone] if args.key?(:dropzone)
|
2715
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
2716
|
-
@max_size = args[:max_size] if args.key?(:max_size)
|
2717
|
-
@mime_types = args[:mime_types] if args.key?(:mime_types)
|
2718
|
-
@progress_notification = args[:progress_notification] if args.key?(:progress_notification)
|
2719
|
-
@start_notification = args[:start_notification] if args.key?(:start_notification)
|
2720
|
-
@upload_service = args[:upload_service] if args.key?(:upload_service)
|
2721
|
-
end
|
2722
|
-
end
|
2723
|
-
|
2724
2484
|
# Method represents a method of an API interface.
|
2725
2485
|
class MethodProp
|
2726
2486
|
include Google::Apis::Core::Hashable
|
@@ -3467,6 +3227,7 @@ module Google
|
|
3467
3227
|
# quota checks at runtime.
|
3468
3228
|
# An example quota configuration in yaml format:
|
3469
3229
|
# quota:
|
3230
|
+
# limits:
|
3470
3231
|
# - name: apiWriteQpsPerProject
|
3471
3232
|
# metric: library.googleapis.com/write_calls
|
3472
3233
|
# unit: "1/min/`project`" # rate limit for consumer projects
|