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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
26
26
|
module LoggingV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180915'
|
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'
|
@@ -532,7 +532,7 @@ module Google
|
|
532
532
|
# destination,filter,includeChildren At some point in the future, behavior will
|
533
533
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
534
534
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
535
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
535
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
536
536
|
# @param [String] fields
|
537
537
|
# Selector specifying which fields to include in a partial response.
|
538
538
|
# @param [String] quota_user
|
@@ -594,7 +594,7 @@ module Google
|
|
594
594
|
# destination,filter,includeChildren At some point in the future, behavior will
|
595
595
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
596
596
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
597
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
597
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
598
598
|
# @param [String] fields
|
599
599
|
# Selector specifying which fields to include in a partial response.
|
600
600
|
# @param [String] quota_user
|
@@ -1377,7 +1377,7 @@ module Google
|
|
1377
1377
|
# destination,filter,includeChildren At some point in the future, behavior will
|
1378
1378
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
1379
1379
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
1380
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
1380
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
1381
1381
|
# @param [String] fields
|
1382
1382
|
# Selector specifying which fields to include in a partial response.
|
1383
1383
|
# @param [String] quota_user
|
@@ -1439,7 +1439,7 @@ module Google
|
|
1439
1439
|
# destination,filter,includeChildren At some point in the future, behavior will
|
1440
1440
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
1441
1441
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
1442
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
1442
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
1443
1443
|
# @param [String] fields
|
1444
1444
|
# Selector specifying which fields to include in a partial response.
|
1445
1445
|
# @param [String] quota_user
|
@@ -2079,7 +2079,7 @@ module Google
|
|
2079
2079
|
# destination,filter,includeChildren At some point in the future, behavior will
|
2080
2080
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
2081
2081
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
2082
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
2082
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
2083
2083
|
# @param [String] fields
|
2084
2084
|
# Selector specifying which fields to include in a partial response.
|
2085
2085
|
# @param [String] quota_user
|
@@ -2141,7 +2141,7 @@ module Google
|
|
2141
2141
|
# destination,filter,includeChildren At some point in the future, behavior will
|
2142
2142
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
2143
2143
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
2144
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
2144
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
2145
2145
|
# @param [String] fields
|
2146
2146
|
# Selector specifying which fields to include in a partial response.
|
2147
2147
|
# @param [String] quota_user
|
@@ -2834,7 +2834,7 @@ module Google
|
|
2834
2834
|
# destination,filter,includeChildren At some point in the future, behavior will
|
2835
2835
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
2836
2836
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
2837
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
2837
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
2838
2838
|
# @param [String] fields
|
2839
2839
|
# Selector specifying which fields to include in a partial response.
|
2840
2840
|
# @param [String] quota_user
|
@@ -2896,7 +2896,7 @@ module Google
|
|
2896
2896
|
# destination,filter,includeChildren At some point in the future, behavior will
|
2897
2897
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
2898
2898
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
2899
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
2899
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
2900
2900
|
# @param [String] fields
|
2901
2901
|
# Selector specifying which fields to include in a partial response.
|
2902
2902
|
# @param [String] quota_user
|
@@ -3127,7 +3127,7 @@ module Google
|
|
3127
3127
|
# destination,filter,includeChildren At some point in the future, behavior will
|
3128
3128
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
3129
3129
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
3130
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
3130
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
3131
3131
|
# @param [String] fields
|
3132
3132
|
# Selector specifying which fields to include in a partial response.
|
3133
3133
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/logging/docs/
|
26
26
|
module LoggingV2beta1
|
27
27
|
VERSION = 'V2beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180915'
|
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'
|
@@ -780,7 +780,7 @@ module Google
|
|
780
780
|
# destination,filter,includeChildren At some point in the future, behavior will
|
781
781
|
# be removed and specifying an empty updateMask will be an error.For a detailed
|
782
782
|
# FieldMask definition, see https://developers.google.com/protocol-buffers/docs/
|
783
|
-
# reference/google.protobuf#FieldMaskExample: updateMask=filter.
|
783
|
+
# reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
|
784
784
|
# @param [String] fields
|
785
785
|
# Selector specifying which fields to include in a partial response.
|
786
786
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
26
26
|
module MlV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180918'
|
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'
|
@@ -968,6 +968,11 @@ module Google
|
|
968
968
|
# @return [String]
|
969
969
|
attr_accessor :model_name
|
970
970
|
|
971
|
+
# Optional. Format of the output data files, defaults to JSON.
|
972
|
+
# Corresponds to the JSON property `outputDataFormat`
|
973
|
+
# @return [String]
|
974
|
+
attr_accessor :output_data_format
|
975
|
+
|
971
976
|
# Required. The output Google Cloud Storage location.
|
972
977
|
# Corresponds to the JSON property `outputPath`
|
973
978
|
# @return [String]
|
@@ -1027,6 +1032,7 @@ module Google
|
|
1027
1032
|
@input_paths = args[:input_paths] if args.key?(:input_paths)
|
1028
1033
|
@max_worker_count = args[:max_worker_count] if args.key?(:max_worker_count)
|
1029
1034
|
@model_name = args[:model_name] if args.key?(:model_name)
|
1035
|
+
@output_data_format = args[:output_data_format] if args.key?(:output_data_format)
|
1030
1036
|
@output_path = args[:output_path] if args.key?(:output_path)
|
1031
1037
|
@region = args[:region] if args.key?(:region)
|
1032
1038
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
@@ -1406,9 +1412,10 @@ module Google
|
|
1406
1412
|
|
1407
1413
|
# Optional. The machine learning framework Cloud ML Engine uses to train
|
1408
1414
|
# this version of the model. Valid values are `TENSORFLOW`, `SCIKIT_LEARN`,
|
1409
|
-
#
|
1410
|
-
#
|
1411
|
-
#
|
1415
|
+
# `XGBOOST`. If you do not specify a framework, Cloud ML Engine
|
1416
|
+
# will analyze files in the deployment_uri to determine a framework. If you
|
1417
|
+
# choose `SCIKIT_LEARN` or `XGBOOST`, you must also set the runtime version
|
1418
|
+
# of the model to 1.4 or greater.
|
1412
1419
|
# Corresponds to the JSON property `framework`
|
1413
1420
|
# @return [String]
|
1414
1421
|
attr_accessor :framework
|
@@ -482,6 +482,7 @@ module Google
|
|
482
482
|
collection :input_paths, as: 'inputPaths'
|
483
483
|
property :max_worker_count, :numeric_string => true, as: 'maxWorkerCount'
|
484
484
|
property :model_name, as: 'modelName'
|
485
|
+
property :output_data_format, as: 'outputDataFormat'
|
485
486
|
property :output_path, as: 'outputPath'
|
486
487
|
property :region, as: 'region'
|
487
488
|
property :runtime_version, as: 'runtimeVersion'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/monitoring/api/
|
28
28
|
module MonitoringV3
|
29
29
|
VERSION = 'V3'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180916'
|
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'
|
@@ -847,7 +847,7 @@ module Google
|
|
847
847
|
end
|
848
848
|
|
849
849
|
# Creates a new notification channel, representing a single notification
|
850
|
-
# endpoint such as an email address, SMS number, or
|
850
|
+
# endpoint such as an email address, SMS number, or PagerDuty service.
|
851
851
|
# @param [String] name
|
852
852
|
# The project on which to execute the request. The format is:
|
853
853
|
# projects/[PROJECT_ID]
|
@@ -510,13 +510,14 @@ module Google
|
|
510
510
|
include Google::Apis::Core::Hashable
|
511
511
|
|
512
512
|
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
513
|
-
# if specifying a year
|
513
|
+
# if specifying a year by itself or a year and month where the day is not
|
514
|
+
# significant.
|
514
515
|
# Corresponds to the JSON property `day`
|
515
516
|
# @return [Fixnum]
|
516
517
|
attr_accessor :day
|
517
518
|
|
518
|
-
# Month of year. Must be from 1 to 12, or 0 if specifying a
|
519
|
-
# month.
|
519
|
+
# Month of year. Must be from 1 to 12, or 0 if specifying a year without a
|
520
|
+
# month and day.
|
520
521
|
# Corresponds to the JSON property `month`
|
521
522
|
# @return [Fixnum]
|
522
523
|
attr_accessor :month
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
27
27
|
module ServiceconsumermanagementV1
|
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'
|
@@ -370,49 +370,6 @@ module Google
|
|
370
370
|
end
|
371
371
|
end
|
372
372
|
|
373
|
-
# Authorization rule for API services.
|
374
|
-
# It specifies the permission(s) required for an API element for the overall
|
375
|
-
# API request to succeed. It is typically used to mark request message fields
|
376
|
-
# that contain the name of the resource and indicates the permissions that
|
377
|
-
# will be checked on that resource.
|
378
|
-
# For example:
|
379
|
-
# package google.storage.v1;
|
380
|
-
# message CopyObjectRequest `
|
381
|
-
# string source = 1 [
|
382
|
-
# (google.api.authz).permissions = "storage.objects.get"];
|
383
|
-
# string destination = 2 [
|
384
|
-
# (google.api.authz).permissions =
|
385
|
-
# "storage.objects.create,storage.objects.update"];
|
386
|
-
# `
|
387
|
-
class AuthorizationRule
|
388
|
-
include Google::Apis::Core::Hashable
|
389
|
-
|
390
|
-
# The required permissions. The acceptable values vary depend on the
|
391
|
-
# authorization system used. For Google APIs, it should be a comma-separated
|
392
|
-
# Google IAM permission values. When multiple permissions are listed, the
|
393
|
-
# semantics is not defined by the system. Additional documentation must
|
394
|
-
# be provided manually.
|
395
|
-
# Corresponds to the JSON property `permissions`
|
396
|
-
# @return [String]
|
397
|
-
attr_accessor :permissions
|
398
|
-
|
399
|
-
# Selects the API elements to which this rule applies.
|
400
|
-
# Refer to selector for syntax details.
|
401
|
-
# Corresponds to the JSON property `selector`
|
402
|
-
# @return [String]
|
403
|
-
attr_accessor :selector
|
404
|
-
|
405
|
-
def initialize(**args)
|
406
|
-
update!(**args)
|
407
|
-
end
|
408
|
-
|
409
|
-
# Update properties of this object
|
410
|
-
def update!(**args)
|
411
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
412
|
-
@selector = args[:selector] if args.key?(:selector)
|
413
|
-
end
|
414
|
-
end
|
415
|
-
|
416
373
|
# `Backend` defines the backend configuration for a service.
|
417
374
|
class Backend
|
418
375
|
include Google::Apis::Core::Hashable
|
@@ -1472,14 +1429,6 @@ module Google
|
|
1472
1429
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::HttpRule>]
|
1473
1430
|
attr_accessor :additional_bindings
|
1474
1431
|
|
1475
|
-
# Specifies the permission(s) required for an API element for the overall
|
1476
|
-
# API request to succeed. It is typically used to mark request message fields
|
1477
|
-
# that contain the name of the resource and indicates the permissions that
|
1478
|
-
# will be checked on that resource.
|
1479
|
-
# Corresponds to the JSON property `authorizations`
|
1480
|
-
# @return [Array<Google::Apis::ServiceconsumermanagementV1::AuthorizationRule>]
|
1481
|
-
attr_accessor :authorizations
|
1482
|
-
|
1483
1432
|
# The name of the request field whose value is mapped to the HTTP request
|
1484
1433
|
# body, or `*` for mapping all request fields not captured by the path
|
1485
1434
|
# pattern to the HTTP body, or omitted for not having any HTTP request body.
|
@@ -1505,22 +1454,6 @@ module Google
|
|
1505
1454
|
# @return [String]
|
1506
1455
|
attr_accessor :get
|
1507
1456
|
|
1508
|
-
# Defines the Media configuration for a service in case of a download.
|
1509
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
1510
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
1511
|
-
# your configuration for Bytestream methods.
|
1512
|
-
# Corresponds to the JSON property `mediaDownload`
|
1513
|
-
# @return [Google::Apis::ServiceconsumermanagementV1::MediaDownload]
|
1514
|
-
attr_accessor :media_download
|
1515
|
-
|
1516
|
-
# Defines the Media configuration for a service in case of an upload.
|
1517
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
1518
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
1519
|
-
# your configuration for Bytestream methods.
|
1520
|
-
# Corresponds to the JSON property `mediaUpload`
|
1521
|
-
# @return [Google::Apis::ServiceconsumermanagementV1::MediaUpload]
|
1522
|
-
attr_accessor :media_upload
|
1523
|
-
|
1524
1457
|
# Maps to HTTP PATCH. Used for updating a resource.
|
1525
1458
|
# Corresponds to the JSON property `patch`
|
1526
1459
|
# @return [String]
|
@@ -1545,44 +1478,6 @@ module Google
|
|
1545
1478
|
# @return [String]
|
1546
1479
|
attr_accessor :response_body
|
1547
1480
|
|
1548
|
-
# DO NOT USE. This is an experimental field.
|
1549
|
-
# Optional. The REST collection name is by default derived from the URL
|
1550
|
-
# pattern. If specified, this field overrides the default collection name.
|
1551
|
-
# Example:
|
1552
|
-
# rpc AddressesAggregatedList(AddressesAggregatedListRequest)
|
1553
|
-
# returns (AddressesAggregatedListResponse) `
|
1554
|
-
# option (google.api.http) = `
|
1555
|
-
# get: "/v1/projects/`project_id`/aggregated/addresses"
|
1556
|
-
# rest_collection: "projects.addresses"
|
1557
|
-
# `;
|
1558
|
-
# `
|
1559
|
-
# This method has the automatically derived collection name
|
1560
|
-
# "projects.aggregated". Because, semantically, this rpc is actually an
|
1561
|
-
# operation on the "projects.addresses" collection, the `rest_collection`
|
1562
|
-
# field is configured to override the derived collection name.
|
1563
|
-
# Corresponds to the JSON property `restCollection`
|
1564
|
-
# @return [String]
|
1565
|
-
attr_accessor :rest_collection
|
1566
|
-
|
1567
|
-
# DO NOT USE. This is an experimental field.
|
1568
|
-
# Optional. The rest method name is by default derived from the URL
|
1569
|
-
# pattern. If specified, this field overrides the default method name.
|
1570
|
-
# Example:
|
1571
|
-
# rpc CreateResource(CreateResourceRequest)
|
1572
|
-
# returns (CreateResourceResponse) `
|
1573
|
-
# option (google.api.http) = `
|
1574
|
-
# post: "/v1/resources",
|
1575
|
-
# body: "resource",
|
1576
|
-
# rest_method_name: "insert"
|
1577
|
-
# `;
|
1578
|
-
# `
|
1579
|
-
# This method has the automatically derived rest method name
|
1580
|
-
# "create", but for backwards compatibility with apiary, it is specified as
|
1581
|
-
# insert.
|
1582
|
-
# Corresponds to the JSON property `restMethodName`
|
1583
|
-
# @return [String]
|
1584
|
-
attr_accessor :rest_method_name
|
1585
|
-
|
1586
1481
|
# Selects a method to which this rule applies.
|
1587
1482
|
# Refer to selector for syntax details.
|
1588
1483
|
# Corresponds to the JSON property `selector`
|
@@ -1596,19 +1491,14 @@ module Google
|
|
1596
1491
|
# Update properties of this object
|
1597
1492
|
def update!(**args)
|
1598
1493
|
@additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
|
1599
|
-
@authorizations = args[:authorizations] if args.key?(:authorizations)
|
1600
1494
|
@body = args[:body] if args.key?(:body)
|
1601
1495
|
@custom = args[:custom] if args.key?(:custom)
|
1602
1496
|
@delete = args[:delete] if args.key?(:delete)
|
1603
1497
|
@get = args[:get] if args.key?(:get)
|
1604
|
-
@media_download = args[:media_download] if args.key?(:media_download)
|
1605
|
-
@media_upload = args[:media_upload] if args.key?(:media_upload)
|
1606
1498
|
@patch = args[:patch] if args.key?(:patch)
|
1607
1499
|
@post = args[:post] if args.key?(:post)
|
1608
1500
|
@put = args[:put] if args.key?(:put)
|
1609
1501
|
@response_body = args[:response_body] if args.key?(:response_body)
|
1610
|
-
@rest_collection = args[:rest_collection] if args.key?(:rest_collection)
|
1611
|
-
@rest_method_name = args[:rest_method_name] if args.key?(:rest_method_name)
|
1612
1502
|
@selector = args[:selector] if args.key?(:selector)
|
1613
1503
|
end
|
1614
1504
|
end
|
@@ -1831,138 +1721,6 @@ module Google
|
|
1831
1721
|
end
|
1832
1722
|
end
|
1833
1723
|
|
1834
|
-
# Defines the Media configuration for a service in case of a download.
|
1835
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
1836
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
1837
|
-
# your configuration for Bytestream methods.
|
1838
|
-
class MediaDownload
|
1839
|
-
include Google::Apis::Core::Hashable
|
1840
|
-
|
1841
|
-
# A boolean that determines whether a notification for the completion of a
|
1842
|
-
# download should be sent to the backend.
|
1843
|
-
# Corresponds to the JSON property `completeNotification`
|
1844
|
-
# @return [Boolean]
|
1845
|
-
attr_accessor :complete_notification
|
1846
|
-
alias_method :complete_notification?, :complete_notification
|
1847
|
-
|
1848
|
-
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
|
1849
|
-
# Specify name of the download service if one is used for download.
|
1850
|
-
# Corresponds to the JSON property `downloadService`
|
1851
|
-
# @return [String]
|
1852
|
-
attr_accessor :download_service
|
1853
|
-
|
1854
|
-
# Name of the Scotty dropzone to use for the current API.
|
1855
|
-
# Corresponds to the JSON property `dropzone`
|
1856
|
-
# @return [String]
|
1857
|
-
attr_accessor :dropzone
|
1858
|
-
|
1859
|
-
# Whether download is enabled.
|
1860
|
-
# Corresponds to the JSON property `enabled`
|
1861
|
-
# @return [Boolean]
|
1862
|
-
attr_accessor :enabled
|
1863
|
-
alias_method :enabled?, :enabled
|
1864
|
-
|
1865
|
-
# Optional maximum acceptable size for direct download.
|
1866
|
-
# The size is specified in bytes.
|
1867
|
-
# Corresponds to the JSON property `maxDirectDownloadSize`
|
1868
|
-
# @return [Fixnum]
|
1869
|
-
attr_accessor :max_direct_download_size
|
1870
|
-
|
1871
|
-
# A boolean that determines if direct download from ESF should be used for
|
1872
|
-
# download of this media.
|
1873
|
-
# Corresponds to the JSON property `useDirectDownload`
|
1874
|
-
# @return [Boolean]
|
1875
|
-
attr_accessor :use_direct_download
|
1876
|
-
alias_method :use_direct_download?, :use_direct_download
|
1877
|
-
|
1878
|
-
def initialize(**args)
|
1879
|
-
update!(**args)
|
1880
|
-
end
|
1881
|
-
|
1882
|
-
# Update properties of this object
|
1883
|
-
def update!(**args)
|
1884
|
-
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
|
1885
|
-
@download_service = args[:download_service] if args.key?(:download_service)
|
1886
|
-
@dropzone = args[:dropzone] if args.key?(:dropzone)
|
1887
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
1888
|
-
@max_direct_download_size = args[:max_direct_download_size] if args.key?(:max_direct_download_size)
|
1889
|
-
@use_direct_download = args[:use_direct_download] if args.key?(:use_direct_download)
|
1890
|
-
end
|
1891
|
-
end
|
1892
|
-
|
1893
|
-
# Defines the Media configuration for a service in case of an upload.
|
1894
|
-
# Use this only for Scotty Requests. Do not use this for media support using
|
1895
|
-
# Bytestream, add instead [][google.bytestream.RestByteStream] as an API to
|
1896
|
-
# your configuration for Bytestream methods.
|
1897
|
-
class MediaUpload
|
1898
|
-
include Google::Apis::Core::Hashable
|
1899
|
-
|
1900
|
-
# A boolean that determines whether a notification for the completion of an
|
1901
|
-
# upload should be sent to the backend. These notifications will not be seen
|
1902
|
-
# by the client and will not consume quota.
|
1903
|
-
# Corresponds to the JSON property `completeNotification`
|
1904
|
-
# @return [Boolean]
|
1905
|
-
attr_accessor :complete_notification
|
1906
|
-
alias_method :complete_notification?, :complete_notification
|
1907
|
-
|
1908
|
-
# Name of the Scotty dropzone to use for the current API.
|
1909
|
-
# Corresponds to the JSON property `dropzone`
|
1910
|
-
# @return [String]
|
1911
|
-
attr_accessor :dropzone
|
1912
|
-
|
1913
|
-
# Whether upload is enabled.
|
1914
|
-
# Corresponds to the JSON property `enabled`
|
1915
|
-
# @return [Boolean]
|
1916
|
-
attr_accessor :enabled
|
1917
|
-
alias_method :enabled?, :enabled
|
1918
|
-
|
1919
|
-
# Optional maximum acceptable size for an upload.
|
1920
|
-
# The size is specified in bytes.
|
1921
|
-
# Corresponds to the JSON property `maxSize`
|
1922
|
-
# @return [Fixnum]
|
1923
|
-
attr_accessor :max_size
|
1924
|
-
|
1925
|
-
# An array of mimetype patterns. Esf will only accept uploads that match one
|
1926
|
-
# of the given patterns.
|
1927
|
-
# Corresponds to the JSON property `mimeTypes`
|
1928
|
-
# @return [Array<String>]
|
1929
|
-
attr_accessor :mime_types
|
1930
|
-
|
1931
|
-
# Whether to receive a notification for progress changes of media upload.
|
1932
|
-
# Corresponds to the JSON property `progressNotification`
|
1933
|
-
# @return [Boolean]
|
1934
|
-
attr_accessor :progress_notification
|
1935
|
-
alias_method :progress_notification?, :progress_notification
|
1936
|
-
|
1937
|
-
# Whether to receive a notification on the start of media upload.
|
1938
|
-
# Corresponds to the JSON property `startNotification`
|
1939
|
-
# @return [Boolean]
|
1940
|
-
attr_accessor :start_notification
|
1941
|
-
alias_method :start_notification?, :start_notification
|
1942
|
-
|
1943
|
-
# DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.
|
1944
|
-
# Specify name of the upload service if one is used for upload.
|
1945
|
-
# Corresponds to the JSON property `uploadService`
|
1946
|
-
# @return [String]
|
1947
|
-
attr_accessor :upload_service
|
1948
|
-
|
1949
|
-
def initialize(**args)
|
1950
|
-
update!(**args)
|
1951
|
-
end
|
1952
|
-
|
1953
|
-
# Update properties of this object
|
1954
|
-
def update!(**args)
|
1955
|
-
@complete_notification = args[:complete_notification] if args.key?(:complete_notification)
|
1956
|
-
@dropzone = args[:dropzone] if args.key?(:dropzone)
|
1957
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
1958
|
-
@max_size = args[:max_size] if args.key?(:max_size)
|
1959
|
-
@mime_types = args[:mime_types] if args.key?(:mime_types)
|
1960
|
-
@progress_notification = args[:progress_notification] if args.key?(:progress_notification)
|
1961
|
-
@start_notification = args[:start_notification] if args.key?(:start_notification)
|
1962
|
-
@upload_service = args[:upload_service] if args.key?(:upload_service)
|
1963
|
-
end
|
1964
|
-
end
|
1965
|
-
|
1966
1724
|
# Method represents a method of an API interface.
|
1967
1725
|
class MethodProp
|
1968
1726
|
include Google::Apis::Core::Hashable
|
@@ -2717,6 +2475,7 @@ module Google
|
|
2717
2475
|
# quota checks at runtime.
|
2718
2476
|
# An example quota configuration in yaml format:
|
2719
2477
|
# quota:
|
2478
|
+
# limits:
|
2720
2479
|
# - name: apiWriteQpsPerProject
|
2721
2480
|
# metric: library.googleapis.com/write_calls
|
2722
2481
|
# unit: "1/min/`project`" # rate limit for consumer projects
|
@@ -3265,6 +3024,7 @@ module Google
|
|
3265
3024
|
# quota checks at runtime.
|
3266
3025
|
# An example quota configuration in yaml format:
|
3267
3026
|
# quota:
|
3027
|
+
# limits:
|
3268
3028
|
# - name: apiWriteQpsPerProject
|
3269
3029
|
# metric: library.googleapis.com/write_calls
|
3270
3030
|
# unit: "1/min/`project`" # rate limit for consumer projects
|