google-api-client 0.40.0 → 0.40.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 +53 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
- data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +63 -99
- data/generated/google/apis/compute_alpha/representations.rb +14 -32
- data/generated/google/apis/compute_alpha/service.rb +37 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +51 -26
- data/generated/google/apis/compute_beta/representations.rb +3 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +5 -5
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +357 -5
- data/generated/google/apis/content_v2_1/representations.rb +135 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +23 -23
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
- data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +463 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1718 -376
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
- data/generated/google/apis/healthcare_v1beta1/service.rb +3 -3
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +36 -5
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +100 -0
- data/generated/google/apis/people_v1/representations.rb +31 -0
- data/generated/google/apis/people_v1/service.rb +95 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +15 -1
- data/generated/google/apis/pubsub_v1/representations.rb +12 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{dialogflow_v3alpha1.rb → recommender_v1.rb} +9 -13
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1 -2
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -7
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +0 -296
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1alpha1
|
27
27
|
VERSION = 'V1alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200601'
|
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'
|
@@ -357,6 +357,15 @@ module Google
|
|
357
357
|
# @return [Fixnum]
|
358
358
|
attr_accessor :disk_size_gb
|
359
359
|
|
360
|
+
# Option to specify whether or not to apply bash style string
|
361
|
+
# operations to the substitutions.
|
362
|
+
# NOTE: this is always enabled for triggered builds and cannot be
|
363
|
+
# overridden in the build configuration file.
|
364
|
+
# Corresponds to the JSON property `dynamicSubstitutions`
|
365
|
+
# @return [Boolean]
|
366
|
+
attr_accessor :dynamic_substitutions
|
367
|
+
alias_method :dynamic_substitutions?, :dynamic_substitutions
|
368
|
+
|
360
369
|
# A list of global environment variable definitions that will exist for all
|
361
370
|
# build steps in this build. If a variable is defined in both globally and in
|
362
371
|
# a build step, the variable will use the build step value.
|
@@ -403,6 +412,8 @@ module Google
|
|
403
412
|
|
404
413
|
# Option to specify behavior when there is an error in the substitution
|
405
414
|
# checks.
|
415
|
+
# NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot
|
416
|
+
# be overridden in the build configuration file.
|
406
417
|
# Corresponds to the JSON property `substitutionOption`
|
407
418
|
# @return [String]
|
408
419
|
attr_accessor :substitution_option
|
@@ -432,6 +443,7 @@ module Google
|
|
432
443
|
# Update properties of this object
|
433
444
|
def update!(**args)
|
434
445
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
446
|
+
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
435
447
|
@env = args[:env] if args.key?(:env)
|
436
448
|
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
437
449
|
@logging = args[:logging] if args.key?(:logging)
|
@@ -261,6 +261,7 @@ module Google
|
|
261
261
|
# @private
|
262
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
263
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
264
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
264
265
|
collection :env, as: 'env'
|
265
266
|
property :log_streaming_option, as: 'logStreamingOption'
|
266
267
|
property :logging, as: 'logging'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200601'
|
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'
|
@@ -357,6 +357,15 @@ module Google
|
|
357
357
|
# @return [Fixnum]
|
358
358
|
attr_accessor :disk_size_gb
|
359
359
|
|
360
|
+
# Option to specify whether or not to apply bash style string
|
361
|
+
# operations to the substitutions.
|
362
|
+
# NOTE: this is always enabled for triggered builds and cannot be
|
363
|
+
# overridden in the build configuration file.
|
364
|
+
# Corresponds to the JSON property `dynamicSubstitutions`
|
365
|
+
# @return [Boolean]
|
366
|
+
attr_accessor :dynamic_substitutions
|
367
|
+
alias_method :dynamic_substitutions?, :dynamic_substitutions
|
368
|
+
|
360
369
|
# A list of global environment variable definitions that will exist for all
|
361
370
|
# build steps in this build. If a variable is defined in both globally and in
|
362
371
|
# a build step, the variable will use the build step value.
|
@@ -403,6 +412,8 @@ module Google
|
|
403
412
|
|
404
413
|
# Option to specify behavior when there is an error in the substitution
|
405
414
|
# checks.
|
415
|
+
# NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot
|
416
|
+
# be overridden in the build configuration file.
|
406
417
|
# Corresponds to the JSON property `substitutionOption`
|
407
418
|
# @return [String]
|
408
419
|
attr_accessor :substitution_option
|
@@ -432,6 +443,7 @@ module Google
|
|
432
443
|
# Update properties of this object
|
433
444
|
def update!(**args)
|
434
445
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
446
|
+
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
435
447
|
@env = args[:env] if args.key?(:env)
|
436
448
|
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
437
449
|
@logging = args[:logging] if args.key?(:logging)
|
@@ -261,6 +261,7 @@ module Google
|
|
261
261
|
# @private
|
262
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
263
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
264
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
264
265
|
collection :env, as: 'env'
|
265
266
|
property :log_streaming_option, as: 'logStreamingOption'
|
266
267
|
property :logging, as: 'logging'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/cloud-search/docs/guides/
|
27
27
|
module CloudsearchV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200519'
|
30
30
|
|
31
31
|
# Index and serve your organization's data with Cloud Search
|
32
32
|
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
@@ -1274,7 +1274,7 @@ module Google
|
|
1274
1274
|
# **Note:** This API requires an admin account to execute.
|
1275
1275
|
# @param [String] name
|
1276
1276
|
# Name of the search application.
|
1277
|
-
# <br />Format:
|
1277
|
+
# <br />Format: searchapplications/`application_id`.
|
1278
1278
|
# @param [Boolean] debug_options_enable_debugging
|
1279
1279
|
# If you are asked by Google to help with debugging, set this field.
|
1280
1280
|
# Otherwise, ignore this field.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200529'
|
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'
|
@@ -47,8 +47,9 @@ module Google
|
|
47
47
|
# The AppEngineRouting used to construct the URL that the task is
|
48
48
|
# delivered to can be set at the queue-level or task-level:
|
49
49
|
# * If app_engine_routing_override is set on the
|
50
|
-
# queue, this value
|
51
|
-
# tasks in the queue, no matter what the setting is for the
|
50
|
+
# queue, this value
|
51
|
+
# is used for all tasks in the queue, no matter what the setting is for the
|
52
|
+
# task-level
|
52
53
|
# app_engine_routing.
|
53
54
|
# The `url` that the task will be sent to is:
|
54
55
|
# * `url =` host `+`
|
@@ -1553,8 +1554,9 @@ module Google
|
|
1553
1554
|
# The AppEngineRouting used to construct the URL that the task is
|
1554
1555
|
# delivered to can be set at the queue-level or task-level:
|
1555
1556
|
# * If app_engine_routing_override is set on the
|
1556
|
-
# queue, this value
|
1557
|
-
# tasks in the queue, no matter what the setting is for the
|
1557
|
+
# queue, this value
|
1558
|
+
# is used for all tasks in the queue, no matter what the setting is for the
|
1559
|
+
# task-level
|
1558
1560
|
# app_engine_routing.
|
1559
1561
|
# The `url` that the task will be sent to is:
|
1560
1562
|
# * `url =` host `+`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
26
26
|
module CloudtasksV2beta3
|
27
27
|
VERSION = 'V2beta3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200529'
|
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'
|
@@ -1157,6 +1157,14 @@ module Google
|
|
1157
1157
|
# @return [String]
|
1158
1158
|
attr_accessor :state
|
1159
1159
|
|
1160
|
+
# Immutable. The type of a queue (push or pull).
|
1161
|
+
# `Queue.type` is an immutable property of the queue that is set at the queue
|
1162
|
+
# creation time. When left unspecified, the default value of `PUSH` is
|
1163
|
+
# selected.
|
1164
|
+
# Corresponds to the JSON property `type`
|
1165
|
+
# @return [String]
|
1166
|
+
attr_accessor :type
|
1167
|
+
|
1160
1168
|
def initialize(**args)
|
1161
1169
|
update!(**args)
|
1162
1170
|
end
|
@@ -1170,6 +1178,7 @@ module Google
|
|
1170
1178
|
@retry_config = args[:retry_config] if args.key?(:retry_config)
|
1171
1179
|
@stackdriver_logging_config = args[:stackdriver_logging_config] if args.key?(:stackdriver_logging_config)
|
1172
1180
|
@state = args[:state] if args.key?(:state)
|
1181
|
+
@type = args[:type] if args.key?(:type)
|
1173
1182
|
end
|
1174
1183
|
end
|
1175
1184
|
|
@@ -403,6 +403,7 @@ module Google
|
|
403
403
|
property :stackdriver_logging_config, as: 'stackdriverLoggingConfig', class: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig, decorator: Google::Apis::CloudtasksV2beta3::StackdriverLoggingConfig::Representation
|
404
404
|
|
405
405
|
property :state, as: 'state'
|
406
|
+
property :type, as: 'type'
|
406
407
|
end
|
407
408
|
end
|
408
409
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200511'
|
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'
|
@@ -2276,11 +2276,6 @@ module Google
|
|
2276
2276
|
# @return [String]
|
2277
2277
|
attr_accessor :mode
|
2278
2278
|
|
2279
|
-
# Configuration parameters of autoscaling based on queuing system.
|
2280
|
-
# Corresponds to the JSON property `queueBasedScaling`
|
2281
|
-
# @return [Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScaling]
|
2282
|
-
attr_accessor :queue_based_scaling
|
2283
|
-
|
2284
2279
|
# Configuration that allows for slower scale down so that even if Autoscaler
|
2285
2280
|
# recommends an abrupt scale down of a MIG, it will be throttled as specified by
|
2286
2281
|
# the parameters below.
|
@@ -2308,7 +2303,6 @@ module Google
|
|
2308
2303
|
@max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas)
|
2309
2304
|
@min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
|
2310
2305
|
@mode = args[:mode] if args.key?(:mode)
|
2311
|
-
@queue_based_scaling = args[:queue_based_scaling] if args.key?(:queue_based_scaling)
|
2312
2306
|
@scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control)
|
2313
2307
|
@scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
|
2314
2308
|
end
|
@@ -2460,74 +2454,6 @@ module Google
|
|
2460
2454
|
end
|
2461
2455
|
end
|
2462
2456
|
|
2463
|
-
# Configuration parameters of autoscaling based on queuing system.
|
2464
|
-
class AutoscalingPolicyQueueBasedScaling
|
2465
|
-
include Google::Apis::Core::Hashable
|
2466
|
-
|
2467
|
-
# Scaling based on the average number of tasks in the queue per each active
|
2468
|
-
# instance. The autoscaler keeps the average number of tasks per instance below
|
2469
|
-
# this number, based on data collected in the last couple of minutes. The
|
2470
|
-
# autoscaler will also take into account incoming tasks when calculating when to
|
2471
|
-
# scale.
|
2472
|
-
# Corresponds to the JSON property `acceptableBacklogPerInstance`
|
2473
|
-
# @return [Float]
|
2474
|
-
attr_accessor :acceptable_backlog_per_instance
|
2475
|
-
|
2476
|
-
# Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.
|
2477
|
-
# Corresponds to the JSON property `cloudPubSub`
|
2478
|
-
# @return [Google::Apis::ComputeAlpha::AutoscalingPolicyQueueBasedScalingCloudPubSub]
|
2479
|
-
attr_accessor :cloud_pub_sub
|
2480
|
-
|
2481
|
-
# The scaling algorithm will also calculate throughput estimates on its own; if
|
2482
|
-
# you explicitly provide this value, the autoscaler will take into account your
|
2483
|
-
# value as well as automatic estimates when deciding how to scale.
|
2484
|
-
# Corresponds to the JSON property `singleWorkerThroughputPerSec`
|
2485
|
-
# @return [Float]
|
2486
|
-
attr_accessor :single_worker_throughput_per_sec
|
2487
|
-
|
2488
|
-
def initialize(**args)
|
2489
|
-
update!(**args)
|
2490
|
-
end
|
2491
|
-
|
2492
|
-
# Update properties of this object
|
2493
|
-
def update!(**args)
|
2494
|
-
@acceptable_backlog_per_instance = args[:acceptable_backlog_per_instance] if args.key?(:acceptable_backlog_per_instance)
|
2495
|
-
@cloud_pub_sub = args[:cloud_pub_sub] if args.key?(:cloud_pub_sub)
|
2496
|
-
@single_worker_throughput_per_sec = args[:single_worker_throughput_per_sec] if args.key?(:single_worker_throughput_per_sec)
|
2497
|
-
end
|
2498
|
-
end
|
2499
|
-
|
2500
|
-
# Configuration parameters for scaling based on Cloud Pub/Sub subscription queue.
|
2501
|
-
class AutoscalingPolicyQueueBasedScalingCloudPubSub
|
2502
|
-
include Google::Apis::Core::Hashable
|
2503
|
-
|
2504
|
-
# Cloud Pub/Sub subscription used for scaling. Provide the partial URL (starting
|
2505
|
-
# with projects/) or just the subscription name. The subscription must be
|
2506
|
-
# assigned to the topic specified in topicName and must be in a pull
|
2507
|
-
# configuration. The subscription must belong to the same project as the
|
2508
|
-
# Autoscaler.
|
2509
|
-
# Corresponds to the JSON property `subscription`
|
2510
|
-
# @return [String]
|
2511
|
-
attr_accessor :subscription
|
2512
|
-
|
2513
|
-
# Cloud Pub/Sub topic used for scaling. Provide the partial URL or partial URL (
|
2514
|
-
# starting with projects/) or just the topic name. The topic must belong to the
|
2515
|
-
# same project as the Autoscaler resource.
|
2516
|
-
# Corresponds to the JSON property `topic`
|
2517
|
-
# @return [String]
|
2518
|
-
attr_accessor :topic
|
2519
|
-
|
2520
|
-
def initialize(**args)
|
2521
|
-
update!(**args)
|
2522
|
-
end
|
2523
|
-
|
2524
|
-
# Update properties of this object
|
2525
|
-
def update!(**args)
|
2526
|
-
@subscription = args[:subscription] if args.key?(:subscription)
|
2527
|
-
@topic = args[:topic] if args.key?(:topic)
|
2528
|
-
end
|
2529
|
-
end
|
2530
|
-
|
2531
2457
|
# Configuration that allows for slower scale down so that even if Autoscaler
|
2532
2458
|
# recommends an abrupt scale down of a MIG, it will be throttled as specified by
|
2533
2459
|
# the parameters below.
|
@@ -5435,6 +5361,12 @@ module Google
|
|
5435
5361
|
# @return [Fixnum]
|
5436
5362
|
attr_accessor :id
|
5437
5363
|
|
5364
|
+
# Specifies the disk interface to use for attaching this disk, which is either
|
5365
|
+
# SCSI or NVME. The default is SCSI.
|
5366
|
+
# Corresponds to the JSON property `interface`
|
5367
|
+
# @return [String]
|
5368
|
+
attr_accessor :interface
|
5369
|
+
|
5438
5370
|
# [Output Only] Type of the resource. Always compute#disk for disks.
|
5439
5371
|
# Corresponds to the JSON property `kind`
|
5440
5372
|
# @return [String]
|
@@ -5665,7 +5597,7 @@ module Google
|
|
5665
5597
|
|
5666
5598
|
# URL of the disk type resource describing which disk type to use to create the
|
5667
5599
|
# disk. Provide this when creating the disk. For example: projects/project/zones/
|
5668
|
-
# zone/diskTypes/pd-standard
|
5600
|
+
# zone/diskTypes/pd-standard or pd-ssd
|
5669
5601
|
# Corresponds to the JSON property `type`
|
5670
5602
|
# @return [String]
|
5671
5603
|
attr_accessor :type
|
@@ -5695,6 +5627,7 @@ module Google
|
|
5695
5627
|
@erase_windows_vss_signature = args[:erase_windows_vss_signature] if args.key?(:erase_windows_vss_signature)
|
5696
5628
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
5697
5629
|
@id = args[:id] if args.key?(:id)
|
5630
|
+
@interface = args[:interface] if args.key?(:interface)
|
5698
5631
|
@kind = args[:kind] if args.key?(:kind)
|
5699
5632
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
5700
5633
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -8452,6 +8385,25 @@ module Google
|
|
8452
8385
|
end
|
8453
8386
|
end
|
8454
8387
|
|
8388
|
+
#
|
8389
|
+
class GetOwnerInstanceResponse
|
8390
|
+
include Google::Apis::Core::Hashable
|
8391
|
+
|
8392
|
+
# Full instance resource URL.
|
8393
|
+
# Corresponds to the JSON property `instance`
|
8394
|
+
# @return [String]
|
8395
|
+
attr_accessor :instance
|
8396
|
+
|
8397
|
+
def initialize(**args)
|
8398
|
+
update!(**args)
|
8399
|
+
end
|
8400
|
+
|
8401
|
+
# Update properties of this object
|
8402
|
+
def update!(**args)
|
8403
|
+
@instance = args[:instance] if args.key?(:instance)
|
8404
|
+
end
|
8405
|
+
end
|
8406
|
+
|
8455
8407
|
#
|
8456
8408
|
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
8457
8409
|
include Google::Apis::Core::Hashable
|
@@ -9329,6 +9281,7 @@ module Google
|
|
9329
9281
|
# @return [String]
|
9330
9282
|
attr_accessor :health_status_aggregation_policy
|
9331
9283
|
|
9284
|
+
# This field is deprecated. Use health_status_aggregation_policy instead.
|
9332
9285
|
# Policy for how the results from multiple health checks for the same endpoint
|
9333
9286
|
# are aggregated.
|
9334
9287
|
# - NO_AGGREGATION. An EndpointHealth message is returned for each backend in
|
@@ -12068,8 +12021,8 @@ module Google
|
|
12068
12021
|
alias_method :start_restricted?, :start_restricted
|
12069
12022
|
|
12070
12023
|
# [Output Only] The status of the instance. One of the following values:
|
12071
|
-
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
|
12072
|
-
# TERMINATED.
|
12024
|
+
# PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING,
|
12025
|
+
# and TERMINATED.
|
12073
12026
|
# Corresponds to the JSON property `status`
|
12074
12027
|
# @return [String]
|
12075
12028
|
attr_accessor :status
|
@@ -29165,7 +29118,7 @@ module Google
|
|
29165
29118
|
end
|
29166
29119
|
|
29167
29120
|
# Represents a Cloud Router resource.
|
29168
|
-
# For more information about Cloud Router, read the
|
29121
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
29169
29122
|
class Router
|
29170
29123
|
include Google::Apis::Core::Hashable
|
29171
29124
|
|
@@ -29451,12 +29404,14 @@ module Google
|
|
29451
29404
|
attr_accessor :asn
|
29452
29405
|
|
29453
29406
|
# The interval in seconds between BGP keepalive messages that are sent to the
|
29454
|
-
# peer.
|
29455
|
-
#
|
29456
|
-
#
|
29457
|
-
#
|
29458
|
-
#
|
29459
|
-
#
|
29407
|
+
# peer.
|
29408
|
+
# Not currently available publicly.
|
29409
|
+
# Hold time is three times the interval at which keepalive messages are sent,
|
29410
|
+
# and the hold time is the maximum number of seconds allowed to elapse between
|
29411
|
+
# successive keepalive messages that BGP receives from a peer.
|
29412
|
+
# BGP will use the smaller of either the local hold time value or the peer's
|
29413
|
+
# hold time value as the hold time for the BGP connection between the two peers.
|
29414
|
+
# If set, this value must be between 1 and 120. The default is 20.
|
29460
29415
|
# Corresponds to the JSON property `keepaliveInterval`
|
29461
29416
|
# @return [Fixnum]
|
29462
29417
|
attr_accessor :keepalive_interval
|
@@ -29514,14 +29469,16 @@ module Google
|
|
29514
29469
|
attr_accessor :advertised_route_priority
|
29515
29470
|
|
29516
29471
|
# BFD configuration for the BGP peering.
|
29472
|
+
# Not currently available publicly.
|
29517
29473
|
# Corresponds to the JSON property `bfd`
|
29518
29474
|
# @return [Google::Apis::ComputeAlpha::RouterBgpPeerBfd]
|
29519
29475
|
attr_accessor :bfd
|
29520
29476
|
|
29521
|
-
# The status of the BGP peer connection.
|
29522
|
-
#
|
29523
|
-
# If set to
|
29524
|
-
# information.
|
29477
|
+
# The status of the BGP peer connection.
|
29478
|
+
# Not currently available publicly.
|
29479
|
+
# If set to FALSE, any active session with the peer is terminated and all
|
29480
|
+
# associated routing information is removed. If set to TRUE, the peer connection
|
29481
|
+
# can be established with routing information. The default is TRUE.
|
29525
29482
|
# Corresponds to the JSON property `enable`
|
29526
29483
|
# @return [String]
|
29527
29484
|
attr_accessor :enable
|
@@ -29598,8 +29555,10 @@ module Google
|
|
29598
29555
|
# The minimum interval, in milliseconds, between BFD control packets received
|
29599
29556
|
# from the peer router. The actual value is negotiated between the two routers
|
29600
29557
|
# and is equal to the greater of this value and the transmit interval of the
|
29601
|
-
# other router.
|
29602
|
-
#
|
29558
|
+
# other router.
|
29559
|
+
# Not currently available publicly.
|
29560
|
+
# If set, this value must be between 100 and 30000.
|
29561
|
+
# The default is 300.
|
29603
29562
|
# Corresponds to the JSON property `minReceiveInterval`
|
29604
29563
|
# @return [Fixnum]
|
29605
29564
|
attr_accessor :min_receive_interval
|
@@ -29607,8 +29566,10 @@ module Google
|
|
29607
29566
|
# The minimum interval, in milliseconds, between BFD control packets transmitted
|
29608
29567
|
# to the peer router. The actual value is negotiated between the two routers and
|
29609
29568
|
# is equal to the greater of this value and the corresponding receive interval
|
29610
|
-
# of the other router.
|
29611
|
-
#
|
29569
|
+
# of the other router.
|
29570
|
+
# Not currently available publicly.
|
29571
|
+
# If set, this value must be between 100 and 30000.
|
29572
|
+
# The default is 300.
|
29612
29573
|
# Corresponds to the JSON property `minTransmitInterval`
|
29613
29574
|
# @return [Fixnum]
|
29614
29575
|
attr_accessor :min_transmit_interval
|
@@ -29623,7 +29584,9 @@ module Google
|
|
29623
29584
|
attr_accessor :mode
|
29624
29585
|
|
29625
29586
|
# The number of consecutive BFD packets that must be missed before BFD declares
|
29626
|
-
# that a peer is unavailable.
|
29587
|
+
# that a peer is unavailable.
|
29588
|
+
# Not currently available publicly.
|
29589
|
+
# If set, the value must be a value between 2 and 16.
|
29627
29590
|
# The default is 3.
|
29628
29591
|
# Corresponds to the JSON property `multiplier`
|
29629
29592
|
# @return [Fixnum]
|
@@ -29641,11 +29604,12 @@ module Google
|
|
29641
29604
|
# @return [String]
|
29642
29605
|
attr_accessor :packet_mode
|
29643
29606
|
|
29644
|
-
# The BFD session initialization mode for this BGP peer.
|
29645
|
-
#
|
29646
|
-
#
|
29647
|
-
#
|
29648
|
-
# peer.
|
29607
|
+
# The BFD session initialization mode for this BGP peer.
|
29608
|
+
# Not currently available publicly.
|
29609
|
+
# If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP
|
29610
|
+
# peer. If set to PASSIVE, the Cloud Router will wait for the peer router to
|
29611
|
+
# initiate the BFD session for this BGP peer. If set to DISABLED, BFD is
|
29612
|
+
# disabled for this BGP peer. The default is PASSIVE.
|
29649
29613
|
# Corresponds to the JSON property `sessionInitializationMode`
|
29650
29614
|
# @return [String]
|
29651
29615
|
attr_accessor :session_initialization_mode
|
@@ -30346,7 +30310,7 @@ module Google
|
|
30346
30310
|
include Google::Apis::Core::Hashable
|
30347
30311
|
|
30348
30312
|
# Represents a Cloud Router resource.
|
30349
|
-
# For more information about Cloud Router, read the
|
30313
|
+
# For more information about Cloud Router, read the Cloud Router overview.
|
30350
30314
|
# Corresponds to the JSON property `resource`
|
30351
30315
|
# @return [Google::Apis::ComputeAlpha::Router]
|
30352
30316
|
attr_accessor :resource
|