google-api-client 0.41.0 → 0.41.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 +72 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +132 -42
- data/generated/google/apis/apigee_v1/representations.rb +16 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +45 -31
- data/generated/google/apis/compute_alpha/service.rb +9 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +262 -31
- data/generated/google/apis/compute_beta/representations.rb +70 -0
- data/generated/google/apis/compute_beta/service.rb +233 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +592 -29
- data/generated/google/apis/compute_v1/representations.rb +182 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +29 -3
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +172 -0
- data/generated/google/apis/content_v2_1/representations.rb +71 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- 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/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -2
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +4 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1.rb +31 -0
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -173,7 +173,8 @@ module Google
|
|
173
173
|
execute_or_queue_command(command, &block)
|
174
174
|
end
|
175
175
|
|
176
|
-
# Retrieves a list of accelerator types available to the specified
|
176
|
+
# Retrieves a list of accelerator types that are available to the specified
|
177
|
+
# project.
|
177
178
|
# @param [String] project
|
178
179
|
# Project ID for this request.
|
179
180
|
# @param [String] zone
|
@@ -11189,8 +11190,10 @@ module Google
|
|
11189
11190
|
execute_or_queue_command(command, &block)
|
11190
11191
|
end
|
11191
11192
|
|
11192
|
-
# Retrieves
|
11193
|
-
#
|
11193
|
+
# Retrieves a list of resources that refer to the VM instance specified in the
|
11194
|
+
# request. For example, if the VM instance is part of a managed instance group,
|
11195
|
+
# the referrers list includes the managed instance group. For more information,
|
11196
|
+
# read Viewing Referrers to VM Instances.
|
11194
11197
|
# @param [String] project
|
11195
11198
|
# Project ID for this request.
|
11196
11199
|
# @param [String] zone
|
@@ -11916,7 +11919,9 @@ module Google
|
|
11916
11919
|
execute_or_queue_command(command, &block)
|
11917
11920
|
end
|
11918
11921
|
|
11919
|
-
# Sets an instance's scheduling options.
|
11922
|
+
# Sets an instance's scheduling options. You can only call this method on a
|
11923
|
+
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
11924
|
+
# Instance Life Cycle for more information on the possible instance states.
|
11920
11925
|
# @param [String] project
|
11921
11926
|
# Project ID for this request.
|
11922
11927
|
# @param [String] zone
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200606'
|
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'
|
@@ -87,7 +87,7 @@ module Google
|
|
87
87
|
# @return [String]
|
88
88
|
attr_accessor :kind
|
89
89
|
|
90
|
-
# [Output Only] Maximum accelerator cards allowed per instance.
|
90
|
+
# [Output Only] Maximum number of accelerator cards allowed per instance.
|
91
91
|
# Corresponds to the JSON property `maximumCardsPerInstance`
|
92
92
|
# @return [Fixnum]
|
93
93
|
attr_accessor :maximum_cards_per_instance
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# @return [String]
|
98
98
|
attr_accessor :name
|
99
99
|
|
100
|
-
# [Output Only] Server-defined fully
|
100
|
+
# [Output Only] Server-defined, fully qualified URL for this resource.
|
101
101
|
# Corresponds to the JSON property `selfLink`
|
102
102
|
# @return [String]
|
103
103
|
attr_accessor :self_link
|
@@ -1366,6 +1366,13 @@ module Google
|
|
1366
1366
|
# @return [Hash<String,String>]
|
1367
1367
|
attr_accessor :labels
|
1368
1368
|
|
1369
|
+
# Indicates whether or not the disk can be read/write attached to more than one
|
1370
|
+
# instance.
|
1371
|
+
# Corresponds to the JSON property `multiWriter`
|
1372
|
+
# @return [Boolean]
|
1373
|
+
attr_accessor :multi_writer
|
1374
|
+
alias_method :multi_writer?, :multi_writer
|
1375
|
+
|
1369
1376
|
# Specifies which action to take on instance update with this disk. Default is
|
1370
1377
|
# to use the existing disk.
|
1371
1378
|
# Corresponds to the JSON property `onUpdateAction`
|
@@ -1433,6 +1440,7 @@ module Google
|
|
1433
1440
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1434
1441
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1435
1442
|
@labels = args[:labels] if args.key?(:labels)
|
1443
|
+
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1436
1444
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1437
1445
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1438
1446
|
@source_image = args[:source_image] if args.key?(:source_image)
|
@@ -1450,10 +1458,10 @@ module Google
|
|
1450
1458
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
1451
1459
|
# AuditLogConfig are exempted.
|
1452
1460
|
# Example Policy with multiple AuditConfigs:
|
1453
|
-
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
1461
|
+
# ` "audit_configs": [ ` "service": "allServices", "audit_log_configs": [ ` "
|
1454
1462
|
# log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
|
1455
|
-
# log_type": "DATA_WRITE"
|
1456
|
-
# sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ"
|
1463
|
+
# log_type": "DATA_WRITE" `, ` "log_type": "ADMIN_READ" ` ] `, ` "service": "
|
1464
|
+
# sampleservice.googleapis.com", "audit_log_configs": [ ` "log_type": "DATA_READ"
|
1457
1465
|
# `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
|
1458
1466
|
# ] ` ] ` ] `
|
1459
1467
|
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
@@ -1493,7 +1501,7 @@ module Google
|
|
1493
1501
|
|
1494
1502
|
# Provides the configuration for logging a type of permissions. Example:
|
1495
1503
|
# ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
|
1496
|
-
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE"
|
1504
|
+
# user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] `
|
1497
1505
|
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
|
1498
1506
|
# example.com from DATA_READ logging.
|
1499
1507
|
class AuditLogConfig
|
@@ -2117,6 +2125,13 @@ module Google
|
|
2117
2125
|
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyScaleDownControl]
|
2118
2126
|
attr_accessor :scale_down_control
|
2119
2127
|
|
2128
|
+
# Configuration that allows for slower scale in so that even if Autoscaler
|
2129
|
+
# recommends an abrupt scale in of a MIG, it will be throttled as specified by
|
2130
|
+
# the parameters below.
|
2131
|
+
# Corresponds to the JSON property `scaleInControl`
|
2132
|
+
# @return [Google::Apis::ComputeBeta::AutoscalingPolicyScaleInControl]
|
2133
|
+
attr_accessor :scale_in_control
|
2134
|
+
|
2120
2135
|
def initialize(**args)
|
2121
2136
|
update!(**args)
|
2122
2137
|
end
|
@@ -2131,6 +2146,7 @@ module Google
|
|
2131
2146
|
@min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas)
|
2132
2147
|
@mode = args[:mode] if args.key?(:mode)
|
2133
2148
|
@scale_down_control = args[:scale_down_control] if args.key?(:scale_down_control)
|
2149
|
+
@scale_in_control = args[:scale_in_control] if args.key?(:scale_in_control)
|
2134
2150
|
end
|
2135
2151
|
end
|
2136
2152
|
|
@@ -2296,6 +2312,34 @@ module Google
|
|
2296
2312
|
end
|
2297
2313
|
end
|
2298
2314
|
|
2315
|
+
# Configuration that allows for slower scale in so that even if Autoscaler
|
2316
|
+
# recommends an abrupt scale in of a MIG, it will be throttled as specified by
|
2317
|
+
# the parameters below.
|
2318
|
+
class AutoscalingPolicyScaleInControl
|
2319
|
+
include Google::Apis::Core::Hashable
|
2320
|
+
|
2321
|
+
# Encapsulates numeric value that can be either absolute or relative.
|
2322
|
+
# Corresponds to the JSON property `maxScaledInReplicas`
|
2323
|
+
# @return [Google::Apis::ComputeBeta::FixedOrPercent]
|
2324
|
+
attr_accessor :max_scaled_in_replicas
|
2325
|
+
|
2326
|
+
# How long back autoscaling should look when computing recommendations to
|
2327
|
+
# include directives regarding slower scale in, as described above.
|
2328
|
+
# Corresponds to the JSON property `timeWindowSec`
|
2329
|
+
# @return [Fixnum]
|
2330
|
+
attr_accessor :time_window_sec
|
2331
|
+
|
2332
|
+
def initialize(**args)
|
2333
|
+
update!(**args)
|
2334
|
+
end
|
2335
|
+
|
2336
|
+
# Update properties of this object
|
2337
|
+
def update!(**args)
|
2338
|
+
@max_scaled_in_replicas = args[:max_scaled_in_replicas] if args.key?(:max_scaled_in_replicas)
|
2339
|
+
@time_window_sec = args[:time_window_sec] if args.key?(:time_window_sec)
|
2340
|
+
end
|
2341
|
+
end
|
2342
|
+
|
2299
2343
|
# Message containing information of one individual backend.
|
2300
2344
|
class Backend
|
2301
2345
|
include Google::Apis::Core::Hashable
|
@@ -3248,18 +3292,22 @@ module Google
|
|
3248
3292
|
class BackendServiceIap
|
3249
3293
|
include Google::Apis::Core::Hashable
|
3250
3294
|
|
3251
|
-
#
|
3295
|
+
# Whether the serving infrastructure will authenticate and authorize all
|
3296
|
+
# incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields
|
3297
|
+
# must be non-empty.
|
3252
3298
|
# Corresponds to the JSON property `enabled`
|
3253
3299
|
# @return [Boolean]
|
3254
3300
|
attr_accessor :enabled
|
3255
3301
|
alias_method :enabled?, :enabled
|
3256
3302
|
|
3257
|
-
#
|
3303
|
+
# OAuth2 client ID to use for the authentication flow.
|
3258
3304
|
# Corresponds to the JSON property `oauth2ClientId`
|
3259
3305
|
# @return [String]
|
3260
3306
|
attr_accessor :oauth2_client_id
|
3261
3307
|
|
3262
|
-
#
|
3308
|
+
# OAuth2 client secret to use for the authentication flow. For security reasons,
|
3309
|
+
# this value cannot be retrieved via the API. Instead, the SHA-256 hash of the
|
3310
|
+
# value is returned in the oauth2ClientSecretSha256 field.
|
3263
3311
|
# Corresponds to the JSON property `oauth2ClientSecret`
|
3264
3312
|
# @return [String]
|
3265
3313
|
attr_accessor :oauth2_client_secret
|
@@ -4927,6 +4975,13 @@ module Google
|
|
4927
4975
|
# @return [Array<String>]
|
4928
4976
|
attr_accessor :licenses
|
4929
4977
|
|
4978
|
+
# Indicates whether or not the disk can be read/write attached to more than one
|
4979
|
+
# instance.
|
4980
|
+
# Corresponds to the JSON property `multiWriter`
|
4981
|
+
# @return [Boolean]
|
4982
|
+
attr_accessor :multi_writer
|
4983
|
+
alias_method :multi_writer?, :multi_writer
|
4984
|
+
|
4930
4985
|
# Name of the resource. Provided by the client when the resource is created. The
|
4931
4986
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
4932
4987
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -5093,6 +5148,7 @@ module Google
|
|
5093
5148
|
@last_detach_timestamp = args[:last_detach_timestamp] if args.key?(:last_detach_timestamp)
|
5094
5149
|
@license_codes = args[:license_codes] if args.key?(:license_codes)
|
5095
5150
|
@licenses = args[:licenses] if args.key?(:licenses)
|
5151
|
+
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
5096
5152
|
@name = args[:name] if args.key?(:name)
|
5097
5153
|
@options = args[:options] if args.key?(:options)
|
5098
5154
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
@@ -6655,7 +6711,7 @@ module Google
|
|
6655
6711
|
|
6656
6712
|
# Deprecated in favor of enable in LogConfig. This field denotes whether to
|
6657
6713
|
# enable logging for a particular firewall rule. If logging is enabled, logs
|
6658
|
-
# will be exported
|
6714
|
+
# will be exported t Cloud Logging.
|
6659
6715
|
# Corresponds to the JSON property `enableLogging`
|
6660
6716
|
# @return [Boolean]
|
6661
6717
|
attr_accessor :enable_logging
|
@@ -10406,11 +10462,13 @@ module Google
|
|
10406
10462
|
# @return [String]
|
10407
10463
|
attr_accessor :source_disk_id
|
10408
10464
|
|
10409
|
-
# URL of the source image used to create this image.
|
10410
|
-
#
|
10411
|
-
#
|
10412
|
-
# -
|
10413
|
-
# -
|
10465
|
+
# URL of the source image used to create this image.
|
10466
|
+
# In order to create an image, you must provide the full or partial URL of one
|
10467
|
+
# of the following:
|
10468
|
+
# - The selfLink URL
|
10469
|
+
# - This property
|
10470
|
+
# - The rawDisk.source URL
|
10471
|
+
# - The sourceDisk URL
|
10414
10472
|
# Corresponds to the JSON property `sourceImage`
|
10415
10473
|
# @return [String]
|
10416
10474
|
attr_accessor :source_image
|
@@ -10427,12 +10485,14 @@ module Google
|
|
10427
10485
|
# @return [String]
|
10428
10486
|
attr_accessor :source_image_id
|
10429
10487
|
|
10430
|
-
# URL of the source snapshot used to create this image.
|
10431
|
-
#
|
10432
|
-
#
|
10433
|
-
# -
|
10434
|
-
# -
|
10435
|
-
# -
|
10488
|
+
# URL of the source snapshot used to create this image.
|
10489
|
+
# In order to create an image, you must provide the full or partial URL of one
|
10490
|
+
# of the following:
|
10491
|
+
# - The selfLink URL
|
10492
|
+
# - This property
|
10493
|
+
# - The sourceImage URL
|
10494
|
+
# - The rawDisk.source URL
|
10495
|
+
# - The sourceDisk URL
|
10436
10496
|
# Corresponds to the JSON property `sourceSnapshot`
|
10437
10497
|
# @return [String]
|
10438
10498
|
attr_accessor :source_snapshot
|
@@ -15184,8 +15244,7 @@ module Google
|
|
15184
15244
|
end
|
15185
15245
|
|
15186
15246
|
# Describes a single physical circuit between the Customer and Google.
|
15187
|
-
# CircuitInfo objects are created by Google, so all fields are output only.
|
15188
|
-
# id: 4
|
15247
|
+
# CircuitInfo objects are created by Google, so all fields are output only.
|
15189
15248
|
class InterconnectCircuitInfo
|
15190
15249
|
include Google::Apis::Core::Hashable
|
15191
15250
|
|
@@ -15793,7 +15852,7 @@ module Google
|
|
15793
15852
|
end
|
15794
15853
|
end
|
15795
15854
|
|
15796
|
-
# Description of a planned outage on this Interconnect.
|
15855
|
+
# Description of a planned outage on this Interconnect.
|
15797
15856
|
class InterconnectOutageNotification
|
15798
15857
|
include Google::Apis::Core::Hashable
|
15799
15858
|
|
@@ -17563,7 +17622,7 @@ module Google
|
|
17563
17622
|
end
|
17564
17623
|
end
|
17565
17624
|
|
17566
|
-
# The network endpoint.
|
17625
|
+
# The network endpoint.
|
17567
17626
|
class NetworkEndpoint
|
17568
17627
|
include Google::Apis::Core::Hashable
|
17569
17628
|
|
@@ -17630,6 +17689,33 @@ module Google
|
|
17630
17689
|
# @return [Hash<String,String>]
|
17631
17690
|
attr_accessor :annotations
|
17632
17691
|
|
17692
|
+
# Configuration for an App Engine network endpoint group (NEG). The service is
|
17693
|
+
# optional, may be provided explicitly or in the URL mask. The version is
|
17694
|
+
# optional and can only be provided explicitly or in the URL mask when service
|
17695
|
+
# is present.
|
17696
|
+
# Note: App Engine service must be in the same project and located in the same
|
17697
|
+
# region as the Serverless NEG.
|
17698
|
+
# Corresponds to the JSON property `appEngine`
|
17699
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupAppEngine]
|
17700
|
+
attr_accessor :app_engine
|
17701
|
+
|
17702
|
+
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
17703
|
+
# must be provided explicitly or in the URL mask.
|
17704
|
+
# Note: Cloud Function must be in the same project and located in the same
|
17705
|
+
# region as the Serverless NEG.
|
17706
|
+
# Corresponds to the JSON property `cloudFunction`
|
17707
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupCloudFunction]
|
17708
|
+
attr_accessor :cloud_function
|
17709
|
+
|
17710
|
+
# Configuration for a Cloud Run network endpoint group (NEG). The service must
|
17711
|
+
# be provided explicitly or in the URL mask. The tag is optional, may be
|
17712
|
+
# provided explicitly or in the URL mask.
|
17713
|
+
# Note: Cloud Run service must be in the same project and located in the same
|
17714
|
+
# region as the Serverless NEG.
|
17715
|
+
# Corresponds to the JSON property `cloudRun`
|
17716
|
+
# @return [Google::Apis::ComputeBeta::NetworkEndpointGroupCloudRun]
|
17717
|
+
attr_accessor :cloud_run
|
17718
|
+
|
17633
17719
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
17634
17720
|
# Corresponds to the JSON property `creationTimestamp`
|
17635
17721
|
# @return [String]
|
@@ -17685,6 +17771,12 @@ module Google
|
|
17685
17771
|
# @return [String]
|
17686
17772
|
attr_accessor :network_endpoint_type
|
17687
17773
|
|
17774
|
+
# [Output Only] The URL of the region where the network endpoint group is
|
17775
|
+
# located.
|
17776
|
+
# Corresponds to the JSON property `region`
|
17777
|
+
# @return [String]
|
17778
|
+
attr_accessor :region
|
17779
|
+
|
17688
17780
|
# [Output Only] Server-defined URL for the resource.
|
17689
17781
|
# Corresponds to the JSON property `selfLink`
|
17690
17782
|
# @return [String]
|
@@ -17713,6 +17805,9 @@ module Google
|
|
17713
17805
|
# Update properties of this object
|
17714
17806
|
def update!(**args)
|
17715
17807
|
@annotations = args[:annotations] if args.key?(:annotations)
|
17808
|
+
@app_engine = args[:app_engine] if args.key?(:app_engine)
|
17809
|
+
@cloud_function = args[:cloud_function] if args.key?(:cloud_function)
|
17810
|
+
@cloud_run = args[:cloud_run] if args.key?(:cloud_run)
|
17716
17811
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
17717
17812
|
@default_port = args[:default_port] if args.key?(:default_port)
|
17718
17813
|
@description = args[:description] if args.key?(:description)
|
@@ -17722,6 +17817,7 @@ module Google
|
|
17722
17817
|
@name = args[:name] if args.key?(:name)
|
17723
17818
|
@network = args[:network] if args.key?(:network)
|
17724
17819
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
17820
|
+
@region = args[:region] if args.key?(:region)
|
17725
17821
|
@self_link = args[:self_link] if args.key?(:self_link)
|
17726
17822
|
@size = args[:size] if args.key?(:size)
|
17727
17823
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@@ -17848,6 +17944,134 @@ module Google
|
|
17848
17944
|
end
|
17849
17945
|
end
|
17850
17946
|
|
17947
|
+
# Configuration for an App Engine network endpoint group (NEG). The service is
|
17948
|
+
# optional, may be provided explicitly or in the URL mask. The version is
|
17949
|
+
# optional and can only be provided explicitly or in the URL mask when service
|
17950
|
+
# is present.
|
17951
|
+
# Note: App Engine service must be in the same project and located in the same
|
17952
|
+
# region as the Serverless NEG.
|
17953
|
+
class NetworkEndpointGroupAppEngine
|
17954
|
+
include Google::Apis::Core::Hashable
|
17955
|
+
|
17956
|
+
# Optional serving service.
|
17957
|
+
# The service name must be 1-63 characters long, and comply with RFC1035.
|
17958
|
+
# Example value: "default", "my-service".
|
17959
|
+
# Corresponds to the JSON property `service`
|
17960
|
+
# @return [String]
|
17961
|
+
attr_accessor :service
|
17962
|
+
|
17963
|
+
# A template to parse service and version fields from a request URL. URL mask
|
17964
|
+
# allows for routing to multiple App Engine services without having to create
|
17965
|
+
# multiple Network Endpoint Groups and backend services.
|
17966
|
+
# For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-
|
17967
|
+
# appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask
|
17968
|
+
# "-dot-appname.appspot.com/". The URL mask will parse them to ` service = "foo1"
|
17969
|
+
# , version = "v1" ` and ` service = "foo1", version = "v2" ` respectively.
|
17970
|
+
# Corresponds to the JSON property `urlMask`
|
17971
|
+
# @return [String]
|
17972
|
+
attr_accessor :url_mask
|
17973
|
+
|
17974
|
+
# Optional serving version.
|
17975
|
+
# The version must be 1-63 characters long, and comply with RFC1035.
|
17976
|
+
# Example value: "v1", "v2".
|
17977
|
+
# Corresponds to the JSON property `version`
|
17978
|
+
# @return [String]
|
17979
|
+
attr_accessor :version
|
17980
|
+
|
17981
|
+
def initialize(**args)
|
17982
|
+
update!(**args)
|
17983
|
+
end
|
17984
|
+
|
17985
|
+
# Update properties of this object
|
17986
|
+
def update!(**args)
|
17987
|
+
@service = args[:service] if args.key?(:service)
|
17988
|
+
@url_mask = args[:url_mask] if args.key?(:url_mask)
|
17989
|
+
@version = args[:version] if args.key?(:version)
|
17990
|
+
end
|
17991
|
+
end
|
17992
|
+
|
17993
|
+
# Configuration for a Cloud Function network endpoint group (NEG). The function
|
17994
|
+
# must be provided explicitly or in the URL mask.
|
17995
|
+
# Note: Cloud Function must be in the same project and located in the same
|
17996
|
+
# region as the Serverless NEG.
|
17997
|
+
class NetworkEndpointGroupCloudFunction
|
17998
|
+
include Google::Apis::Core::Hashable
|
17999
|
+
|
18000
|
+
# A user-defined name of the Cloud Function.
|
18001
|
+
# The function name is case-sensitive and must be 1-63 characters long.
|
18002
|
+
# Example value: "func1".
|
18003
|
+
# Corresponds to the JSON property `function`
|
18004
|
+
# @return [String]
|
18005
|
+
attr_accessor :function
|
18006
|
+
|
18007
|
+
# A template to parse function field from a request URL. URL mask allows for
|
18008
|
+
# routing to multiple Cloud Functions without having to create multiple Network
|
18009
|
+
# Endpoint Groups and backend services.
|
18010
|
+
# For example, request URLs "mydomain.com/function1" and "mydomain.com/function2"
|
18011
|
+
# can be backed by the same Serverless NEG with URL mask "/". The URL mask will
|
18012
|
+
# parse them to ` function = "function1" ` and ` function = "function2" `
|
18013
|
+
# respectively.
|
18014
|
+
# Corresponds to the JSON property `urlMask`
|
18015
|
+
# @return [String]
|
18016
|
+
attr_accessor :url_mask
|
18017
|
+
|
18018
|
+
def initialize(**args)
|
18019
|
+
update!(**args)
|
18020
|
+
end
|
18021
|
+
|
18022
|
+
# Update properties of this object
|
18023
|
+
def update!(**args)
|
18024
|
+
@function = args[:function] if args.key?(:function)
|
18025
|
+
@url_mask = args[:url_mask] if args.key?(:url_mask)
|
18026
|
+
end
|
18027
|
+
end
|
18028
|
+
|
18029
|
+
# Configuration for a Cloud Run network endpoint group (NEG). The service must
|
18030
|
+
# be provided explicitly or in the URL mask. The tag is optional, may be
|
18031
|
+
# provided explicitly or in the URL mask.
|
18032
|
+
# Note: Cloud Run service must be in the same project and located in the same
|
18033
|
+
# region as the Serverless NEG.
|
18034
|
+
class NetworkEndpointGroupCloudRun
|
18035
|
+
include Google::Apis::Core::Hashable
|
18036
|
+
|
18037
|
+
# Cloud Run service is the main resource of Cloud Run.
|
18038
|
+
# The service must be 1-63 characters long, and comply with RFC1035.
|
18039
|
+
# Example value: "run-service".
|
18040
|
+
# Corresponds to the JSON property `service`
|
18041
|
+
# @return [String]
|
18042
|
+
attr_accessor :service
|
18043
|
+
|
18044
|
+
# Optional Cloud Run tag represents the "named-revision" to provide additional
|
18045
|
+
# fine-grained traffic routing information.
|
18046
|
+
# The tag must be 1-63 characters long, and comply with RFC1035.
|
18047
|
+
# Example value: "revision-0010".
|
18048
|
+
# Corresponds to the JSON property `tag`
|
18049
|
+
# @return [String]
|
18050
|
+
attr_accessor :tag
|
18051
|
+
|
18052
|
+
# A template to parse service and tag fields from a request URL. URL mask allows
|
18053
|
+
# for routing to multiple Run services without having to create multiple network
|
18054
|
+
# endpoint groups and backend services.
|
18055
|
+
# For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2"
|
18056
|
+
# can be backed by the same Serverless Network Endpoint Group (NEG) with URL
|
18057
|
+
# mask ".domain.com/". The URL mask will parse them to ` service="bar1", tag="
|
18058
|
+
# foo1" ` and ` service="bar2", tag="foo2" ` respectively.
|
18059
|
+
# Corresponds to the JSON property `urlMask`
|
18060
|
+
# @return [String]
|
18061
|
+
attr_accessor :url_mask
|
18062
|
+
|
18063
|
+
def initialize(**args)
|
18064
|
+
update!(**args)
|
18065
|
+
end
|
18066
|
+
|
18067
|
+
# Update properties of this object
|
18068
|
+
def update!(**args)
|
18069
|
+
@service = args[:service] if args.key?(:service)
|
18070
|
+
@tag = args[:tag] if args.key?(:tag)
|
18071
|
+
@url_mask = args[:url_mask] if args.key?(:url_mask)
|
18072
|
+
end
|
18073
|
+
end
|
18074
|
+
|
17851
18075
|
# Load balancing specific fields for network endpoint group.
|
17852
18076
|
class NetworkEndpointGroupLbNetworkEndpointGroup
|
17853
18077
|
include Google::Apis::Core::Hashable
|
@@ -18078,7 +18302,7 @@ module Google
|
|
18078
18302
|
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
|
18079
18303
|
include Google::Apis::Core::Hashable
|
18080
18304
|
|
18081
|
-
# The network endpoint.
|
18305
|
+
# The network endpoint.
|
18082
18306
|
# Corresponds to the JSON property `networkEndpoint`
|
18083
18307
|
# @return [Google::Apis::ComputeBeta::NetworkEndpoint]
|
18084
18308
|
attr_accessor :network_endpoint
|
@@ -18307,7 +18531,7 @@ module Google
|
|
18307
18531
|
# @return [Array<Google::Apis::ComputeBeta::HealthStatusForNetworkEndpoint>]
|
18308
18532
|
attr_accessor :healths
|
18309
18533
|
|
18310
|
-
# The network endpoint.
|
18534
|
+
# The network endpoint.
|
18311
18535
|
# Corresponds to the JSON property `networkEndpoint`
|
18312
18536
|
# @return [Google::Apis::ComputeBeta::NetworkEndpoint]
|
18313
18537
|
attr_accessor :network_endpoint
|
@@ -19501,7 +19725,7 @@ module Google
|
|
19501
19725
|
# Represent a sole-tenant Node Template resource.
|
19502
19726
|
# You can use a template to define properties for nodes in a node group. For
|
19503
19727
|
# more information, read Creating node groups and instances. (== resource_for `$
|
19504
|
-
# api_version`.nodeTemplates ==)
|
19728
|
+
# api_version`.nodeTemplates ==)
|
19505
19729
|
class NodeTemplate
|
19506
19730
|
include Google::Apis::Core::Hashable
|
19507
19731
|
|
@@ -22088,6 +22312,8 @@ module Google
|
|
22088
22312
|
# defaultService must not be set. Conversely if defaultService is set,
|
22089
22313
|
# defaultRouteAction cannot contain any weightedBackendServices.
|
22090
22314
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
22315
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
22316
|
+
# within a pathMatcher's defaultRouteAction.
|
22091
22317
|
# Corresponds to the JSON property `defaultRouteAction`
|
22092
22318
|
# @return [Google::Apis::ComputeBeta::HttpRouteAction]
|
22093
22319
|
attr_accessor :default_route_action
|
@@ -22191,6 +22417,8 @@ module Google
|
|
22191
22417
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
22192
22418
|
# routeAction cannot contain any weightedBackendServices.
|
22193
22419
|
# Only one of routeAction or urlRedirect must be set.
|
22420
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
22421
|
+
# within a pathRule's routeAction.
|
22194
22422
|
# Corresponds to the JSON property `routeAction`
|
22195
22423
|
# @return [Google::Apis::ComputeBeta::HttpRouteAction]
|
22196
22424
|
attr_accessor :route_action
|
@@ -26803,7 +27031,7 @@ module Google
|
|
26803
27031
|
end
|
26804
27032
|
end
|
26805
27033
|
|
26806
|
-
# Status of a NAT contained in this router.
|
27034
|
+
# Status of a NAT contained in this router.
|
26807
27035
|
class RouterStatusNatStatus
|
26808
27036
|
include Google::Apis::Core::Hashable
|
26809
27037
|
|
@@ -27290,8 +27518,9 @@ module Google
|
|
27290
27518
|
attr_accessor :on_host_maintenance
|
27291
27519
|
|
27292
27520
|
# Defines whether the instance is preemptible. This can only be set during
|
27293
|
-
# instance creation
|
27294
|
-
#
|
27521
|
+
# instance creation or while the instance is stopped and therefore, in a `
|
27522
|
+
# TERMINATED` state. See Instance Life Cycle for more information on the
|
27523
|
+
# possible instance states.
|
27295
27524
|
# Corresponds to the JSON property `preemptible`
|
27296
27525
|
# @return [Boolean]
|
27297
27526
|
attr_accessor :preemptible
|
@@ -33460,6 +33689,8 @@ module Google
|
|
33460
33689
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
33461
33690
|
# cannot contain any weightedBackendServices.
|
33462
33691
|
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
33692
|
+
# UrlMaps for external HTTP(S) load balancers support only the urlRewrite action
|
33693
|
+
# within defaultRouteAction.
|
33463
33694
|
# Corresponds to the JSON property `defaultRouteAction`
|
33464
33695
|
# @return [Google::Apis::ComputeBeta::HttpRouteAction]
|
33465
33696
|
attr_accessor :default_route_action
|