google-api-client 0.28.0 → 0.28.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 +38 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +4 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +13 -1
- data/generated/google/apis/admin_directory_v1/representations.rb +2 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +3 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -33
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/service.rb +2 -2
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +48 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +17 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +6 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +698 -240
- data/generated/google/apis/compute_alpha/representations.rb +185 -63
- data/generated/google/apis/compute_alpha/service.rb +286 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +195 -148
- data/generated/google/apis/compute_beta/representations.rb +80 -62
- data/generated/google/apis/compute_beta/service.rb +85 -2
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +209 -17
- data/generated/google/apis/compute_v1/representations.rb +70 -0
- data/generated/google/apis/compute_v1/service.rb +2 -2
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +78 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -6
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +12 -213
- data/generated/google/apis/content_v2_1/representations.rb +2 -117
- data/generated/google/apis/content_v2_1/service.rb +1 -161
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +39 -29
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -29
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +576 -0
- data/generated/google/apis/file_v1/representations.rb +219 -0
- data/generated/google/apis/file_v1/service.rb +472 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/service.rb +33 -33
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +4 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/service.rb +40 -40
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +12 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -1269,6 +1269,7 @@ module Google
|
|
1269
1269
|
property :reason, as: 'reason'
|
1270
1270
|
property :show_notification_settings_action, as: 'show_notification_settings_action'
|
1271
1271
|
property :target_url, as: 'targetUrl'
|
1272
|
+
property :time_to_expire_ms, :numeric_string => true, as: 'timeToExpireMs'
|
1272
1273
|
property :title, as: 'title'
|
1273
1274
|
end
|
1274
1275
|
end
|
@@ -143,11 +143,11 @@ module Google
|
|
143
143
|
|
144
144
|
# List groups within a customer or a domain.
|
145
145
|
# @param [Fixnum] page_size
|
146
|
-
# Maximum number of
|
147
|
-
# View
|
148
|
-
#
|
149
|
-
# BASIC | 200
|
150
|
-
# FULL
|
146
|
+
# Maximum number of groups to return.
|
147
|
+
# View | Default | Maximum
|
148
|
+
# ----- | ------- | -------
|
149
|
+
# BASIC | 200 | 1000
|
150
|
+
# FULL | 50 | 500
|
151
151
|
# @param [String] page_token
|
152
152
|
# The next_page_token value returned from a previous list request, if any.
|
153
153
|
# @param [String] parent
|
@@ -266,11 +266,11 @@ module Google
|
|
266
266
|
|
267
267
|
# Searches for Groups.
|
268
268
|
# @param [Fixnum] page_size
|
269
|
-
# Maximum number of
|
270
|
-
# View
|
271
|
-
#
|
272
|
-
# BASIC | 200
|
273
|
-
# FULL
|
269
|
+
# Maximum number of groups to return.
|
270
|
+
# View | Default | Maximum
|
271
|
+
# ----- | ------- | -------
|
272
|
+
# BASIC | 200 | 1000
|
273
|
+
# FULL | 50 | 500
|
274
274
|
# @param [String] page_token
|
275
275
|
# The next_page_token value returned from a previous search request, if any.
|
276
276
|
# @param [String] query
|
@@ -423,8 +423,8 @@ module Google
|
|
423
423
|
# Maximum number of Memberships to return.
|
424
424
|
# View | Default | Maximum
|
425
425
|
# -----|---------|--------
|
426
|
-
# BASIC
|
427
|
-
# FULL | 50
|
426
|
+
# BASIC| 200 | 1000
|
427
|
+
# FULL | 50 | 500
|
428
428
|
# @param [String] page_token
|
429
429
|
# The next_page_token value returned from a previous list request, if any.
|
430
430
|
# @param [String] view
|
@@ -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 = '20190107'
|
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'
|
@@ -6269,6 +6269,257 @@ module Google
|
|
6269
6269
|
end
|
6270
6270
|
end
|
6271
6271
|
|
6272
|
+
# External VPN gateway is the on-premises VPN gateway(s) or another cloud
|
6273
|
+
# provider?s VPN gateway that connects to your Google Cloud VPN gateway. To
|
6274
|
+
# create a highly available VPN from Google Cloud to your on-premises side or
|
6275
|
+
# another Cloud provider's VPN gateway, you must create a external VPN gateway
|
6276
|
+
# resource in GCP, which provides the information to GCP about your external VPN
|
6277
|
+
# gateway.
|
6278
|
+
class ExternalVpnGateway
|
6279
|
+
include Google::Apis::Core::Hashable
|
6280
|
+
|
6281
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
6282
|
+
# Corresponds to the JSON property `creationTimestamp`
|
6283
|
+
# @return [String]
|
6284
|
+
attr_accessor :creation_timestamp
|
6285
|
+
|
6286
|
+
# An optional description of this resource. Provide this property when you
|
6287
|
+
# create the resource.
|
6288
|
+
# Corresponds to the JSON property `description`
|
6289
|
+
# @return [String]
|
6290
|
+
attr_accessor :description
|
6291
|
+
|
6292
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
6293
|
+
# defined by the server.
|
6294
|
+
# Corresponds to the JSON property `id`
|
6295
|
+
# @return [Fixnum]
|
6296
|
+
attr_accessor :id
|
6297
|
+
|
6298
|
+
# List of interfaces for this external VPN gateway.
|
6299
|
+
# Corresponds to the JSON property `interfaces`
|
6300
|
+
# @return [Array<Google::Apis::ComputeAlpha::ExternalVpnGatewayInterface>]
|
6301
|
+
attr_accessor :interfaces
|
6302
|
+
|
6303
|
+
# [Output Only] Type of the resource. Always compute#externalVpnGateway for
|
6304
|
+
# externalVpnGateways.
|
6305
|
+
# Corresponds to the JSON property `kind`
|
6306
|
+
# @return [String]
|
6307
|
+
attr_accessor :kind
|
6308
|
+
|
6309
|
+
# A fingerprint for the labels being applied to this ExternalVpnGateway, which
|
6310
|
+
# is essentially a hash of the labels set used for optimistic locking. The
|
6311
|
+
# fingerprint is initially generated by Compute Engine and changes after every
|
6312
|
+
# request to modify or update labels. You must always provide an up-to-date
|
6313
|
+
# fingerprint hash in order to update or change labels, otherwise the request
|
6314
|
+
# will fail with error 412 conditionNotMet.
|
6315
|
+
# To see the latest fingerprint, make a get() request to retrieve an
|
6316
|
+
# ExternalVpnGateway.
|
6317
|
+
# Corresponds to the JSON property `labelFingerprint`
|
6318
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6319
|
+
# @return [String]
|
6320
|
+
attr_accessor :label_fingerprint
|
6321
|
+
|
6322
|
+
# Labels to apply to this ExternalVpnGateway resource. These can be later
|
6323
|
+
# modified by the setLabels method. Each label key/value must comply with
|
6324
|
+
# RFC1035. Label values may be empty.
|
6325
|
+
# Corresponds to the JSON property `labels`
|
6326
|
+
# @return [Hash<String,String>]
|
6327
|
+
attr_accessor :labels
|
6328
|
+
|
6329
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
6330
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
6331
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
6332
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
6333
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
6334
|
+
# except the last character, which cannot be a dash.
|
6335
|
+
# Corresponds to the JSON property `name`
|
6336
|
+
# @return [String]
|
6337
|
+
attr_accessor :name
|
6338
|
+
|
6339
|
+
# Indicates the user-supplied redundancy type of this external VPN gateway.
|
6340
|
+
# Corresponds to the JSON property `redundancyType`
|
6341
|
+
# @return [String]
|
6342
|
+
attr_accessor :redundancy_type
|
6343
|
+
|
6344
|
+
# [Output Only] Server-defined URL for the resource.
|
6345
|
+
# Corresponds to the JSON property `selfLink`
|
6346
|
+
# @return [String]
|
6347
|
+
attr_accessor :self_link
|
6348
|
+
|
6349
|
+
def initialize(**args)
|
6350
|
+
update!(**args)
|
6351
|
+
end
|
6352
|
+
|
6353
|
+
# Update properties of this object
|
6354
|
+
def update!(**args)
|
6355
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
6356
|
+
@description = args[:description] if args.key?(:description)
|
6357
|
+
@id = args[:id] if args.key?(:id)
|
6358
|
+
@interfaces = args[:interfaces] if args.key?(:interfaces)
|
6359
|
+
@kind = args[:kind] if args.key?(:kind)
|
6360
|
+
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
6361
|
+
@labels = args[:labels] if args.key?(:labels)
|
6362
|
+
@name = args[:name] if args.key?(:name)
|
6363
|
+
@redundancy_type = args[:redundancy_type] if args.key?(:redundancy_type)
|
6364
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
6365
|
+
end
|
6366
|
+
end
|
6367
|
+
|
6368
|
+
# The interface for the external VPN gateway.
|
6369
|
+
class ExternalVpnGatewayInterface
|
6370
|
+
include Google::Apis::Core::Hashable
|
6371
|
+
|
6372
|
+
# The numeric ID of this interface. The allowed input values for this id for
|
6373
|
+
# different redundancy types of external VPN gateway:
|
6374
|
+
# SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1
|
6375
|
+
# FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
|
6376
|
+
# Corresponds to the JSON property `id`
|
6377
|
+
# @return [Fixnum]
|
6378
|
+
attr_accessor :id
|
6379
|
+
|
6380
|
+
# IP address of the interface in the external VPN gateway. Only IPv4 is
|
6381
|
+
# supported. This IP address can be either from your on-premise gateway or
|
6382
|
+
# another Cloud provider?s VPN gateway, it cannot be an IP address from Google
|
6383
|
+
# Compute Engine.
|
6384
|
+
# Corresponds to the JSON property `ipAddress`
|
6385
|
+
# @return [String]
|
6386
|
+
attr_accessor :ip_address
|
6387
|
+
|
6388
|
+
def initialize(**args)
|
6389
|
+
update!(**args)
|
6390
|
+
end
|
6391
|
+
|
6392
|
+
# Update properties of this object
|
6393
|
+
def update!(**args)
|
6394
|
+
@id = args[:id] if args.key?(:id)
|
6395
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
6396
|
+
end
|
6397
|
+
end
|
6398
|
+
|
6399
|
+
# Response to the list request, and contains a list of externalVpnGateways.
|
6400
|
+
class ExternalVpnGatewayList
|
6401
|
+
include Google::Apis::Core::Hashable
|
6402
|
+
|
6403
|
+
#
|
6404
|
+
# Corresponds to the JSON property `etag`
|
6405
|
+
# @return [String]
|
6406
|
+
attr_accessor :etag
|
6407
|
+
|
6408
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
6409
|
+
# Corresponds to the JSON property `id`
|
6410
|
+
# @return [String]
|
6411
|
+
attr_accessor :id
|
6412
|
+
|
6413
|
+
# A list of ExternalVpnGateway resources.
|
6414
|
+
# Corresponds to the JSON property `items`
|
6415
|
+
# @return [Array<Google::Apis::ComputeAlpha::ExternalVpnGateway>]
|
6416
|
+
attr_accessor :items
|
6417
|
+
|
6418
|
+
# [Output Only] Type of resource. Always compute#externalVpnGatewayList for
|
6419
|
+
# lists of externalVpnGateways.
|
6420
|
+
# Corresponds to the JSON property `kind`
|
6421
|
+
# @return [String]
|
6422
|
+
attr_accessor :kind
|
6423
|
+
|
6424
|
+
# [Output Only] This token allows you to get the next page of results for list
|
6425
|
+
# requests. If the number of results is larger than maxResults, use the
|
6426
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
6427
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
6428
|
+
# continue paging through the results.
|
6429
|
+
# Corresponds to the JSON property `nextPageToken`
|
6430
|
+
# @return [String]
|
6431
|
+
attr_accessor :next_page_token
|
6432
|
+
|
6433
|
+
# [Output Only] Server-defined URL for this resource.
|
6434
|
+
# Corresponds to the JSON property `selfLink`
|
6435
|
+
# @return [String]
|
6436
|
+
attr_accessor :self_link
|
6437
|
+
|
6438
|
+
# [Output Only] Informational warning message.
|
6439
|
+
# Corresponds to the JSON property `warning`
|
6440
|
+
# @return [Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Warning]
|
6441
|
+
attr_accessor :warning
|
6442
|
+
|
6443
|
+
def initialize(**args)
|
6444
|
+
update!(**args)
|
6445
|
+
end
|
6446
|
+
|
6447
|
+
# Update properties of this object
|
6448
|
+
def update!(**args)
|
6449
|
+
@etag = args[:etag] if args.key?(:etag)
|
6450
|
+
@id = args[:id] if args.key?(:id)
|
6451
|
+
@items = args[:items] if args.key?(:items)
|
6452
|
+
@kind = args[:kind] if args.key?(:kind)
|
6453
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
6454
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
6455
|
+
@warning = args[:warning] if args.key?(:warning)
|
6456
|
+
end
|
6457
|
+
|
6458
|
+
# [Output Only] Informational warning message.
|
6459
|
+
class Warning
|
6460
|
+
include Google::Apis::Core::Hashable
|
6461
|
+
|
6462
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
6463
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
6464
|
+
# Corresponds to the JSON property `code`
|
6465
|
+
# @return [String]
|
6466
|
+
attr_accessor :code
|
6467
|
+
|
6468
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
6469
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
6470
|
+
# Corresponds to the JSON property `data`
|
6471
|
+
# @return [Array<Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Warning::Datum>]
|
6472
|
+
attr_accessor :data
|
6473
|
+
|
6474
|
+
# [Output Only] A human-readable description of the warning code.
|
6475
|
+
# Corresponds to the JSON property `message`
|
6476
|
+
# @return [String]
|
6477
|
+
attr_accessor :message
|
6478
|
+
|
6479
|
+
def initialize(**args)
|
6480
|
+
update!(**args)
|
6481
|
+
end
|
6482
|
+
|
6483
|
+
# Update properties of this object
|
6484
|
+
def update!(**args)
|
6485
|
+
@code = args[:code] if args.key?(:code)
|
6486
|
+
@data = args[:data] if args.key?(:data)
|
6487
|
+
@message = args[:message] if args.key?(:message)
|
6488
|
+
end
|
6489
|
+
|
6490
|
+
#
|
6491
|
+
class Datum
|
6492
|
+
include Google::Apis::Core::Hashable
|
6493
|
+
|
6494
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
6495
|
+
# For example, for warnings where there are no results in a list request for a
|
6496
|
+
# particular zone, this key might be scope and the key value might be the zone
|
6497
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
6498
|
+
# suggested replacement, or a warning about invalid network settings (for
|
6499
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
6500
|
+
# for IP forwarding).
|
6501
|
+
# Corresponds to the JSON property `key`
|
6502
|
+
# @return [String]
|
6503
|
+
attr_accessor :key
|
6504
|
+
|
6505
|
+
# [Output Only] A warning data value corresponding to the key.
|
6506
|
+
# Corresponds to the JSON property `value`
|
6507
|
+
# @return [String]
|
6508
|
+
attr_accessor :value
|
6509
|
+
|
6510
|
+
def initialize(**args)
|
6511
|
+
update!(**args)
|
6512
|
+
end
|
6513
|
+
|
6514
|
+
# Update properties of this object
|
6515
|
+
def update!(**args)
|
6516
|
+
@key = args[:key] if args.key?(:key)
|
6517
|
+
@value = args[:value] if args.key?(:value)
|
6518
|
+
end
|
6519
|
+
end
|
6520
|
+
end
|
6521
|
+
end
|
6522
|
+
|
6272
6523
|
# Represents a Firewall resource.
|
6273
6524
|
class Firewall
|
6274
6525
|
include Google::Apis::Core::Hashable
|
@@ -7865,6 +8116,11 @@ module Google
|
|
7865
8116
|
# @return [String]
|
7866
8117
|
attr_accessor :self_link
|
7867
8118
|
|
8119
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
8120
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
8121
|
+
# @return [String]
|
8122
|
+
attr_accessor :self_link_with_id
|
8123
|
+
|
7868
8124
|
#
|
7869
8125
|
# Corresponds to the JSON property `sslHealthCheck`
|
7870
8126
|
# @return [Google::Apis::ComputeAlpha::SslHealthCheck]
|
@@ -7918,6 +8174,7 @@ module Google
|
|
7918
8174
|
@name = args[:name] if args.key?(:name)
|
7919
8175
|
@region = args[:region] if args.key?(:region)
|
7920
8176
|
@self_link = args[:self_link] if args.key?(:self_link)
|
8177
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
7921
8178
|
@ssl_health_check = args[:ssl_health_check] if args.key?(:ssl_health_check)
|
7922
8179
|
@tcp_health_check = args[:tcp_health_check] if args.key?(:tcp_health_check)
|
7923
8180
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
@@ -8723,6 +8980,11 @@ module Google
|
|
8723
8980
|
# @return [String]
|
8724
8981
|
attr_accessor :self_link
|
8725
8982
|
|
8983
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
8984
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
8985
|
+
# @return [String]
|
8986
|
+
attr_accessor :self_link_with_id
|
8987
|
+
|
8726
8988
|
# How long (in seconds) to wait before claiming failure. The default value is 5
|
8727
8989
|
# seconds. It is invalid for timeoutSec to have greater value than
|
8728
8990
|
# checkIntervalSec.
|
@@ -8753,6 +9015,7 @@ module Google
|
|
8753
9015
|
@port = args[:port] if args.key?(:port)
|
8754
9016
|
@request_path = args[:request_path] if args.key?(:request_path)
|
8755
9017
|
@self_link = args[:self_link] if args.key?(:self_link)
|
9018
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
8756
9019
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
8757
9020
|
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
8758
9021
|
end
|
@@ -9144,8 +9407,11 @@ module Google
|
|
9144
9407
|
# @return [Array<Google::Apis::ComputeAlpha::HttpRouteRuleMatch>]
|
9145
9408
|
attr_accessor :match_rules
|
9146
9409
|
|
9147
|
-
# In response to a matching matchRule, the load balancer
|
9148
|
-
#
|
9410
|
+
# In response to a matching matchRule, the load balancer performs advanced
|
9411
|
+
# routing actions like URL rewrites, header transformations, etc. prior to
|
9412
|
+
# forwarding the request to the selected backend. If routeAction specifies any
|
9413
|
+
# weightedBackendServices, service must not be set. Conversely if service is set,
|
9414
|
+
# routeAction cannot contain any weightedBackendServices.
|
9149
9415
|
# Only one of routeAction or urlRedirect must be set.
|
9150
9416
|
# Corresponds to the JSON property `routeAction`
|
9151
9417
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
@@ -9324,6 +9590,11 @@ module Google
|
|
9324
9590
|
# @return [String]
|
9325
9591
|
attr_accessor :self_link
|
9326
9592
|
|
9593
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
9594
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
9595
|
+
# @return [String]
|
9596
|
+
attr_accessor :self_link_with_id
|
9597
|
+
|
9327
9598
|
# How long (in seconds) to wait before claiming failure. The default value is 5
|
9328
9599
|
# seconds. It is invalid for timeoutSec to have a greater value than
|
9329
9600
|
# checkIntervalSec.
|
@@ -9354,6 +9625,7 @@ module Google
|
|
9354
9625
|
@port = args[:port] if args.key?(:port)
|
9355
9626
|
@request_path = args[:request_path] if args.key?(:request_path)
|
9356
9627
|
@self_link = args[:self_link] if args.key?(:self_link)
|
9628
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
9357
9629
|
@timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
|
9358
9630
|
@unhealthy_threshold = args[:unhealthy_threshold] if args.key?(:unhealthy_threshold)
|
9359
9631
|
end
|
@@ -10059,6 +10331,11 @@ module Google
|
|
10059
10331
|
# @return [String]
|
10060
10332
|
attr_accessor :source_machine_image
|
10061
10333
|
|
10334
|
+
# Represents a customer-supplied encryption key
|
10335
|
+
# Corresponds to the JSON property `sourceMachineImageEncryptionKey`
|
10336
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
10337
|
+
attr_accessor :source_machine_image_encryption_key
|
10338
|
+
|
10062
10339
|
# [Output Only] Whether a VM has been restricted for start because Compute
|
10063
10340
|
# Engine has detected suspicious activity.
|
10064
10341
|
# Corresponds to the JSON property `startRestricted`
|
@@ -10125,6 +10402,7 @@ module Google
|
|
10125
10402
|
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
10126
10403
|
@shielded_vm_integrity_policy = args[:shielded_vm_integrity_policy] if args.key?(:shielded_vm_integrity_policy)
|
10127
10404
|
@source_machine_image = args[:source_machine_image] if args.key?(:source_machine_image)
|
10405
|
+
@source_machine_image_encryption_key = args[:source_machine_image_encryption_key] if args.key?(:source_machine_image_encryption_key)
|
10128
10406
|
@start_restricted = args[:start_restricted] if args.key?(:start_restricted)
|
10129
10407
|
@status = args[:status] if args.key?(:status)
|
10130
10408
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -12462,6 +12740,11 @@ module Google
|
|
12462
12740
|
# @return [Array<Google::Apis::ComputeAlpha::AttachedDisk>]
|
12463
12741
|
attr_accessor :disks
|
12464
12742
|
|
12743
|
+
# A set of Display Device options
|
12744
|
+
# Corresponds to the JSON property `displayDevice`
|
12745
|
+
# @return [Google::Apis::ComputeAlpha::DisplayDevice]
|
12746
|
+
attr_accessor :display_device
|
12747
|
+
|
12465
12748
|
# A list of guest accelerator cards' type and count to use for instances created
|
12466
12749
|
# from the instance template.
|
12467
12750
|
# Corresponds to the JSON property `guestAccelerators`
|
@@ -12529,6 +12812,7 @@ module Google
|
|
12529
12812
|
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
|
12530
12813
|
@description = args[:description] if args.key?(:description)
|
12531
12814
|
@disks = args[:disks] if args.key?(:disks)
|
12815
|
+
@display_device = args[:display_device] if args.key?(:display_device)
|
12532
12816
|
@guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
|
12533
12817
|
@labels = args[:labels] if args.key?(:labels)
|
12534
12818
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -12610,6 +12894,11 @@ module Google
|
|
12610
12894
|
# @return [String]
|
12611
12895
|
attr_accessor :self_link
|
12612
12896
|
|
12897
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
12898
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
12899
|
+
# @return [String]
|
12900
|
+
attr_accessor :self_link_with_id
|
12901
|
+
|
12613
12902
|
# The source instance used to create the template. You can provide this as a
|
12614
12903
|
# partial or full URL to the resource. For example, the following are valid
|
12615
12904
|
# values:
|
@@ -12639,6 +12928,7 @@ module Google
|
|
12639
12928
|
@name = args[:name] if args.key?(:name)
|
12640
12929
|
@properties = args[:properties] if args.key?(:properties)
|
12641
12930
|
@self_link = args[:self_link] if args.key?(:self_link)
|
12931
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
12642
12932
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
12643
12933
|
@source_instance_params = args[:source_instance_params] if args.key?(:source_instance_params)
|
12644
12934
|
end
|
@@ -13279,6 +13569,11 @@ module Google
|
|
13279
13569
|
# @return [String]
|
13280
13570
|
attr_accessor :self_link
|
13281
13571
|
|
13572
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
13573
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
13574
|
+
# @return [String]
|
13575
|
+
attr_accessor :self_link_with_id
|
13576
|
+
|
13282
13577
|
# [Output Only] The current state of whether or not this Interconnect is
|
13283
13578
|
# functional.
|
13284
13579
|
# Corresponds to the JSON property `state`
|
@@ -13314,6 +13609,7 @@ module Google
|
|
13314
13609
|
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
13315
13610
|
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
13316
13611
|
@self_link = args[:self_link] if args.key?(:self_link)
|
13612
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
13317
13613
|
@state = args[:state] if args.key?(:state)
|
13318
13614
|
end
|
13319
13615
|
end
|
@@ -13489,6 +13785,11 @@ module Google
|
|
13489
13785
|
# @return [String]
|
13490
13786
|
attr_accessor :self_link
|
13491
13787
|
|
13788
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
13789
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
13790
|
+
# @return [String]
|
13791
|
+
attr_accessor :self_link_with_id
|
13792
|
+
|
13492
13793
|
# [Output Only] The current state of this attachment's functionality.
|
13493
13794
|
# Corresponds to the JSON property `state`
|
13494
13795
|
# @return [String]
|
@@ -13534,6 +13835,7 @@ module Google
|
|
13534
13835
|
@region = args[:region] if args.key?(:region)
|
13535
13836
|
@router = args[:router] if args.key?(:router)
|
13536
13837
|
@self_link = args[:self_link] if args.key?(:self_link)
|
13838
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
13537
13839
|
@state = args[:state] if args.key?(:state)
|
13538
13840
|
@type = args[:type] if args.key?(:type)
|
13539
13841
|
@vlan_tag8021q = args[:vlan_tag8021q] if args.key?(:vlan_tag8021q)
|
@@ -14332,7 +14634,12 @@ module Google
|
|
14332
14634
|
# [Output Only] Server-defined URL for the resource.
|
14333
14635
|
# Corresponds to the JSON property `selfLink`
|
14334
14636
|
# @return [String]
|
14335
|
-
attr_accessor :self_link
|
14637
|
+
attr_accessor :self_link
|
14638
|
+
|
14639
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
14640
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
14641
|
+
# @return [String]
|
14642
|
+
attr_accessor :self_link_with_id
|
14336
14643
|
|
14337
14644
|
# [Output Only] The status of this InterconnectLocation. If the status is
|
14338
14645
|
# AVAILABLE, new Interconnects may be provisioned in this InterconnectLocation.
|
@@ -14361,6 +14668,7 @@ module Google
|
|
14361
14668
|
@peeringdb_facility_id = args[:peeringdb_facility_id] if args.key?(:peeringdb_facility_id)
|
14362
14669
|
@region_infos = args[:region_infos] if args.key?(:region_infos)
|
14363
14670
|
@self_link = args[:self_link] if args.key?(:self_link)
|
14671
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
14364
14672
|
@status = args[:status] if args.key?(:status)
|
14365
14673
|
end
|
14366
14674
|
end
|
@@ -14967,6 +15275,11 @@ module Google
|
|
14967
15275
|
# @return [String]
|
14968
15276
|
attr_accessor :self_link
|
14969
15277
|
|
15278
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
15279
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
15280
|
+
# @return [String]
|
15281
|
+
attr_accessor :self_link_with_id
|
15282
|
+
|
14970
15283
|
# If false, licenses will not be copied from the source resource when creating
|
14971
15284
|
# an image from a disk, disk from snapshot, or snapshot from disk.
|
14972
15285
|
# Corresponds to the JSON property `transferable`
|
@@ -14989,6 +15302,7 @@ module Google
|
|
14989
15302
|
@name = args[:name] if args.key?(:name)
|
14990
15303
|
@resource_requirements = args[:resource_requirements] if args.key?(:resource_requirements)
|
14991
15304
|
@self_link = args[:self_link] if args.key?(:self_link)
|
15305
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
14992
15306
|
@transferable = args[:transferable] if args.key?(:transferable)
|
14993
15307
|
end
|
14994
15308
|
end
|
@@ -15391,6 +15705,11 @@ module Google
|
|
15391
15705
|
# @return [String]
|
15392
15706
|
attr_accessor :kind
|
15393
15707
|
|
15708
|
+
# Represents a customer-supplied encryption key
|
15709
|
+
# Corresponds to the JSON property `machineImageEncryptionKey`
|
15710
|
+
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
15711
|
+
attr_accessor :machine_image_encryption_key
|
15712
|
+
|
15394
15713
|
# Name of the resource; provided by the client when the resource is created. The
|
15395
15714
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
15396
15715
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -15406,6 +15725,11 @@ module Google
|
|
15406
15725
|
# @return [String]
|
15407
15726
|
attr_accessor :self_link
|
15408
15727
|
|
15728
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
15729
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
15730
|
+
# @return [String]
|
15731
|
+
attr_accessor :self_link_with_id
|
15732
|
+
|
15409
15733
|
# The source instance used to create the machine image. You can provide this as
|
15410
15734
|
# a partial or full URL to the resource. For example, the following are valid
|
15411
15735
|
# values:
|
@@ -15441,8 +15765,10 @@ module Google
|
|
15441
15765
|
@description = args[:description] if args.key?(:description)
|
15442
15766
|
@id = args[:id] if args.key?(:id)
|
15443
15767
|
@kind = args[:kind] if args.key?(:kind)
|
15768
|
+
@machine_image_encryption_key = args[:machine_image_encryption_key] if args.key?(:machine_image_encryption_key)
|
15444
15769
|
@name = args[:name] if args.key?(:name)
|
15445
15770
|
@self_link = args[:self_link] if args.key?(:self_link)
|
15771
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
15446
15772
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
15447
15773
|
@source_instance_properties = args[:source_instance_properties] if args.key?(:source_instance_properties)
|
15448
15774
|
@status = args[:status] if args.key?(:status)
|
@@ -15644,6 +15970,11 @@ module Google
|
|
15644
15970
|
# @return [String]
|
15645
15971
|
attr_accessor :self_link
|
15646
15972
|
|
15973
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
15974
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
15975
|
+
# @return [String]
|
15976
|
+
attr_accessor :self_link_with_id
|
15977
|
+
|
15647
15978
|
# [Output Only] The name of the zone where the machine type resides, such as us-
|
15648
15979
|
# central1-a.
|
15649
15980
|
# Corresponds to the JSON property `zone`
|
@@ -15668,6 +15999,7 @@ module Google
|
|
15668
15999
|
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
15669
16000
|
@name = args[:name] if args.key?(:name)
|
15670
16001
|
@self_link = args[:self_link] if args.key?(:self_link)
|
16002
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
15671
16003
|
@zone = args[:zone] if args.key?(:zone)
|
15672
16004
|
end
|
15673
16005
|
end
|
@@ -16745,6 +17077,11 @@ module Google
|
|
16745
17077
|
# @return [String]
|
16746
17078
|
attr_accessor :self_link
|
16747
17079
|
|
17080
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
17081
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
17082
|
+
# @return [String]
|
17083
|
+
attr_accessor :self_link_with_id
|
17084
|
+
|
16748
17085
|
# [Output only] Number of network endpoints in the network endpoint group.
|
16749
17086
|
# Corresponds to the JSON property `size`
|
16750
17087
|
# @return [Fixnum]
|
@@ -16784,6 +17121,7 @@ module Google
|
|
16784
17121
|
@network = args[:network] if args.key?(:network)
|
16785
17122
|
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
16786
17123
|
@self_link = args[:self_link] if args.key?(:self_link)
|
17124
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
16787
17125
|
@size = args[:size] if args.key?(:size)
|
16788
17126
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
16789
17127
|
@type = args[:type] if args.key?(:type)
|
@@ -17832,6 +18170,11 @@ module Google
|
|
17832
18170
|
# @return [String]
|
17833
18171
|
attr_accessor :self_link
|
17834
18172
|
|
18173
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
18174
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
18175
|
+
# @return [String]
|
18176
|
+
attr_accessor :self_link_with_id
|
18177
|
+
|
17835
18178
|
# [Output Only] The total number of nodes in the node group.
|
17836
18179
|
# Corresponds to the JSON property `size`
|
17837
18180
|
# @return [Fixnum]
|
@@ -17862,6 +18205,7 @@ module Google
|
|
17862
18205
|
@name = args[:name] if args.key?(:name)
|
17863
18206
|
@node_template = args[:node_template] if args.key?(:node_template)
|
17864
18207
|
@self_link = args[:self_link] if args.key?(:self_link)
|
18208
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
17865
18209
|
@size = args[:size] if args.key?(:size)
|
17866
18210
|
@status = args[:status] if args.key?(:status)
|
17867
18211
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -18525,6 +18869,11 @@ module Google
|
|
18525
18869
|
# @return [String]
|
18526
18870
|
attr_accessor :self_link
|
18527
18871
|
|
18872
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
18873
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
18874
|
+
# @return [String]
|
18875
|
+
attr_accessor :self_link_with_id
|
18876
|
+
|
18528
18877
|
# Binding properties for the physical server.
|
18529
18878
|
# Corresponds to the JSON property `serverBinding`
|
18530
18879
|
# @return [Google::Apis::ComputeAlpha::ServerBinding]
|
@@ -18557,6 +18906,7 @@ module Google
|
|
18557
18906
|
@node_type_flexibility = args[:node_type_flexibility] if args.key?(:node_type_flexibility)
|
18558
18907
|
@region = args[:region] if args.key?(:region)
|
18559
18908
|
@self_link = args[:self_link] if args.key?(:self_link)
|
18909
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
18560
18910
|
@server_binding = args[:server_binding] if args.key?(:server_binding)
|
18561
18911
|
@status = args[:status] if args.key?(:status)
|
18562
18912
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -18982,6 +19332,11 @@ module Google
|
|
18982
19332
|
# @return [String]
|
18983
19333
|
attr_accessor :self_link
|
18984
19334
|
|
19335
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
19336
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
19337
|
+
# @return [String]
|
19338
|
+
attr_accessor :self_link_with_id
|
19339
|
+
|
18985
19340
|
# [Output Only] The name of the zone where the node type resides, such as us-
|
18986
19341
|
# central1-a.
|
18987
19342
|
# Corresponds to the JSON property `zone`
|
@@ -19005,6 +19360,7 @@ module Google
|
|
19005
19360
|
@memory_mb = args[:memory_mb] if args.key?(:memory_mb)
|
19006
19361
|
@name = args[:name] if args.key?(:name)
|
19007
19362
|
@self_link = args[:self_link] if args.key?(:self_link)
|
19363
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
19008
19364
|
@zone = args[:zone] if args.key?(:zone)
|
19009
19365
|
end
|
19010
19366
|
end
|
@@ -19436,6 +19792,11 @@ module Google
|
|
19436
19792
|
# @return [String]
|
19437
19793
|
attr_accessor :self_link
|
19438
19794
|
|
19795
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
19796
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
19797
|
+
# @return [String]
|
19798
|
+
attr_accessor :self_link_with_id
|
19799
|
+
|
19439
19800
|
# [Output Only] The time that this operation was started by the server. This
|
19440
19801
|
# value is in RFC3339 text format.
|
19441
19802
|
# Corresponds to the JSON property `startTime`
|
@@ -19506,6 +19867,7 @@ module Google
|
|
19506
19867
|
@progress = args[:progress] if args.key?(:progress)
|
19507
19868
|
@region = args[:region] if args.key?(:region)
|
19508
19869
|
@self_link = args[:self_link] if args.key?(:self_link)
|
19870
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
19509
19871
|
@start_time = args[:start_time] if args.key?(:start_time)
|
19510
19872
|
@status = args[:status] if args.key?(:status)
|
19511
19873
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -19968,12 +20330,13 @@ module Google
|
|
19968
20330
|
class PathMatcher
|
19969
20331
|
include Google::Apis::Core::Hashable
|
19970
20332
|
|
19971
|
-
#
|
19972
|
-
#
|
19973
|
-
#
|
19974
|
-
#
|
19975
|
-
#
|
19976
|
-
#
|
20333
|
+
# defaultRouteAction takes effect when none of the pathRules or routeRules
|
20334
|
+
# match. The load balancer performs advanced routing actions like URL rewrites,
|
20335
|
+
# header transformations, etc. prior to forwarding the request to the selected
|
20336
|
+
# backend. If defaultRouteAction specifies any weightedBackendServices,
|
20337
|
+
# defaultService must not be set. Conversely if defaultService is set,
|
20338
|
+
# defaultRouteAction cannot contain any weightedBackendServices.
|
20339
|
+
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
19977
20340
|
# Corresponds to the JSON property `defaultRouteAction`
|
19978
20341
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
19979
20342
|
attr_accessor :default_route_action
|
@@ -19984,12 +20347,14 @@ module Google
|
|
19984
20347
|
# - https://www.googleapis.com/compute/v1/projects/project/global/
|
19985
20348
|
# backendServices/backendService
|
19986
20349
|
# - compute/v1/projects/project/global/backendServices/backendService
|
19987
|
-
# - global/backendServices/backendService
|
19988
|
-
#
|
19989
|
-
#
|
19990
|
-
#
|
19991
|
-
#
|
19992
|
-
#
|
20350
|
+
# - global/backendServices/backendService If defaultRouteAction is additionally
|
20351
|
+
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
20352
|
+
# to sending the request to the backend. However, if defaultService is specified,
|
20353
|
+
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
20354
|
+
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
20355
|
+
# not be specified.
|
20356
|
+
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
20357
|
+
# weightedBackendService must be set.
|
19993
20358
|
# Authorization requires one or more of the following Google IAM permissions on
|
19994
20359
|
# the specified resource default_service:
|
19995
20360
|
# - compute.backendBuckets.use
|
@@ -20070,19 +20435,24 @@ module Google
|
|
20070
20435
|
# @return [Array<String>]
|
20071
20436
|
attr_accessor :paths
|
20072
20437
|
|
20073
|
-
#
|
20074
|
-
#
|
20075
|
-
#
|
20076
|
-
#
|
20438
|
+
# In response to a matching path, the load balancer performs advanced routing
|
20439
|
+
# actions like URL rewrites, header transformations, etc. prior to forwarding
|
20440
|
+
# the request to the selected backend. If routeAction specifies any
|
20441
|
+
# weightedBackendServices, service must not be set. Conversely if service is set,
|
20442
|
+
# routeAction cannot contain any weightedBackendServices.
|
20443
|
+
# Only one of routeAction or urlRedirect must be set.
|
20077
20444
|
# Corresponds to the JSON property `routeAction`
|
20078
20445
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
20079
20446
|
attr_accessor :route_action
|
20080
20447
|
|
20081
|
-
# The URL of the backend service resource
|
20082
|
-
#
|
20083
|
-
#
|
20084
|
-
#
|
20085
|
-
#
|
20448
|
+
# The full or partial URL of the backend service resource to which traffic is
|
20449
|
+
# directed if this rule is matched. If routeAction is additionally specified,
|
20450
|
+
# advanced routing actions like URL Rewrites, etc. take effect prior to sending
|
20451
|
+
# the request to the backend. However, if service is specified, routeAction
|
20452
|
+
# cannot contain any weightedBackendService s. Conversely, if routeAction
|
20453
|
+
# specifies any weightedBackendServices, service must not be specified.
|
20454
|
+
# Only one of urlRedirect, service or routeAction.weightedBackendService must be
|
20455
|
+
# set.
|
20086
20456
|
# Corresponds to the JSON property `service`
|
20087
20457
|
# @return [String]
|
20088
20458
|
attr_accessor :service
|
@@ -20679,6 +21049,11 @@ module Google
|
|
20679
21049
|
# @return [String]
|
20680
21050
|
attr_accessor :self_link
|
20681
21051
|
|
21052
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
21053
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
21054
|
+
# @return [String]
|
21055
|
+
attr_accessor :self_link_with_id
|
21056
|
+
|
20682
21057
|
# [Output Only] Status of the region, either UP or DOWN.
|
20683
21058
|
# Corresponds to the JSON property `status`
|
20684
21059
|
# @return [String]
|
@@ -20704,6 +21079,7 @@ module Google
|
|
20704
21079
|
@name = args[:name] if args.key?(:name)
|
20705
21080
|
@quotas = args[:quotas] if args.key?(:quotas)
|
20706
21081
|
@self_link = args[:self_link] if args.key?(:self_link)
|
21082
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
20707
21083
|
@status = args[:status] if args.key?(:status)
|
20708
21084
|
@zones = args[:zones] if args.key?(:zones)
|
20709
21085
|
end
|
@@ -22181,13 +22557,6 @@ module Google
|
|
22181
22557
|
class ResourcePolicy
|
22182
22558
|
include Google::Apis::Core::Hashable
|
22183
22559
|
|
22184
|
-
# A backup schedule policy specifies when and how frequently snapshots are to be
|
22185
|
-
# created for the target disk. Also specifies how many and how long these
|
22186
|
-
# scheduled snapshots should be retained.
|
22187
|
-
# Corresponds to the JSON property `backupSchedulePolicy`
|
22188
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicy]
|
22189
|
-
attr_accessor :backup_schedule_policy
|
22190
|
-
|
22191
22560
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
22192
22561
|
# Corresponds to the JSON property `creationTimestamp`
|
22193
22562
|
# @return [String]
|
@@ -22231,6 +22600,18 @@ module Google
|
|
22231
22600
|
# @return [String]
|
22232
22601
|
attr_accessor :self_link
|
22233
22602
|
|
22603
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
22604
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
22605
|
+
# @return [String]
|
22606
|
+
attr_accessor :self_link_with_id
|
22607
|
+
|
22608
|
+
# A snapshot schedule policy specifies when and how frequently snapshots are to
|
22609
|
+
# be created for the target disk. Also specifies how many and how long these
|
22610
|
+
# scheduled snapshots should be retained.
|
22611
|
+
# Corresponds to the JSON property `snapshotSchedulePolicy`
|
22612
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy]
|
22613
|
+
attr_accessor :snapshot_schedule_policy
|
22614
|
+
|
22234
22615
|
# Resource policy applicable to VMs for infrastructure maintenance.
|
22235
22616
|
# Corresponds to the JSON property `vmMaintenancePolicy`
|
22236
22617
|
# @return [Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy]
|
@@ -22242,7 +22623,6 @@ module Google
|
|
22242
22623
|
|
22243
22624
|
# Update properties of this object
|
22244
22625
|
def update!(**args)
|
22245
|
-
@backup_schedule_policy = args[:backup_schedule_policy] if args.key?(:backup_schedule_policy)
|
22246
22626
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
22247
22627
|
@description = args[:description] if args.key?(:description)
|
22248
22628
|
@id = args[:id] if args.key?(:id)
|
@@ -22250,6 +22630,8 @@ module Google
|
|
22250
22630
|
@name = args[:name] if args.key?(:name)
|
22251
22631
|
@region = args[:region] if args.key?(:region)
|
22252
22632
|
@self_link = args[:self_link] if args.key?(:self_link)
|
22633
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
22634
|
+
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
22253
22635
|
@vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy)
|
22254
22636
|
end
|
22255
22637
|
end
|
@@ -22309,201 +22691,71 @@ module Google
|
|
22309
22691
|
@kind = args[:kind] if args.key?(:kind)
|
22310
22692
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
22311
22693
|
@self_link = args[:self_link] if args.key?(:self_link)
|
22312
|
-
@warning = args[:warning] if args.key?(:warning)
|
22313
|
-
end
|
22314
|
-
|
22315
|
-
# [Output Only] Informational warning message.
|
22316
|
-
class Warning
|
22317
|
-
include Google::Apis::Core::Hashable
|
22318
|
-
|
22319
|
-
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
22320
|
-
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
22321
|
-
# Corresponds to the JSON property `code`
|
22322
|
-
# @return [String]
|
22323
|
-
attr_accessor :code
|
22324
|
-
|
22325
|
-
# [Output Only] Metadata about this warning in key: value format. For example:
|
22326
|
-
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
22327
|
-
# Corresponds to the JSON property `data`
|
22328
|
-
# @return [Array<Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning::Datum>]
|
22329
|
-
attr_accessor :data
|
22330
|
-
|
22331
|
-
# [Output Only] A human-readable description of the warning code.
|
22332
|
-
# Corresponds to the JSON property `message`
|
22333
|
-
# @return [String]
|
22334
|
-
attr_accessor :message
|
22335
|
-
|
22336
|
-
def initialize(**args)
|
22337
|
-
update!(**args)
|
22338
|
-
end
|
22339
|
-
|
22340
|
-
# Update properties of this object
|
22341
|
-
def update!(**args)
|
22342
|
-
@code = args[:code] if args.key?(:code)
|
22343
|
-
@data = args[:data] if args.key?(:data)
|
22344
|
-
@message = args[:message] if args.key?(:message)
|
22345
|
-
end
|
22346
|
-
|
22347
|
-
#
|
22348
|
-
class Datum
|
22349
|
-
include Google::Apis::Core::Hashable
|
22350
|
-
|
22351
|
-
# [Output Only] A key that provides more detail on the warning being returned.
|
22352
|
-
# For example, for warnings where there are no results in a list request for a
|
22353
|
-
# particular zone, this key might be scope and the key value might be the zone
|
22354
|
-
# name. Other examples might be a key indicating a deprecated resource and a
|
22355
|
-
# suggested replacement, or a warning about invalid network settings (for
|
22356
|
-
# example, if an instance attempts to perform IP forwarding but is not enabled
|
22357
|
-
# for IP forwarding).
|
22358
|
-
# Corresponds to the JSON property `key`
|
22359
|
-
# @return [String]
|
22360
|
-
attr_accessor :key
|
22361
|
-
|
22362
|
-
# [Output Only] A warning data value corresponding to the key.
|
22363
|
-
# Corresponds to the JSON property `value`
|
22364
|
-
# @return [String]
|
22365
|
-
attr_accessor :value
|
22366
|
-
|
22367
|
-
def initialize(**args)
|
22368
|
-
update!(**args)
|
22369
|
-
end
|
22370
|
-
|
22371
|
-
# Update properties of this object
|
22372
|
-
def update!(**args)
|
22373
|
-
@key = args[:key] if args.key?(:key)
|
22374
|
-
@value = args[:value] if args.key?(:value)
|
22375
|
-
end
|
22376
|
-
end
|
22377
|
-
end
|
22378
|
-
end
|
22379
|
-
|
22380
|
-
# A backup schedule policy specifies when and how frequently snapshots are to be
|
22381
|
-
# created for the target disk. Also specifies how many and how long these
|
22382
|
-
# scheduled snapshots should be retained.
|
22383
|
-
class ResourcePolicyBackupSchedulePolicy
|
22384
|
-
include Google::Apis::Core::Hashable
|
22385
|
-
|
22386
|
-
# Policy for retention of scheduled snapshots.
|
22387
|
-
# Corresponds to the JSON property `retentionPolicy`
|
22388
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicyRetentionPolicy]
|
22389
|
-
attr_accessor :retention_policy
|
22390
|
-
|
22391
|
-
# A schedule for disks where the schedueled operations are performed.
|
22392
|
-
# Corresponds to the JSON property `schedule`
|
22393
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySchedule]
|
22394
|
-
attr_accessor :schedule
|
22395
|
-
|
22396
|
-
# Specified snapshot properties for scheduled snapshots created by this policy.
|
22397
|
-
# Corresponds to the JSON property `snapshotProperties`
|
22398
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyBackupSchedulePolicySnapshotProperties]
|
22399
|
-
attr_accessor :snapshot_properties
|
22400
|
-
|
22401
|
-
def initialize(**args)
|
22402
|
-
update!(**args)
|
22403
|
-
end
|
22404
|
-
|
22405
|
-
# Update properties of this object
|
22406
|
-
def update!(**args)
|
22407
|
-
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
22408
|
-
@schedule = args[:schedule] if args.key?(:schedule)
|
22409
|
-
@snapshot_properties = args[:snapshot_properties] if args.key?(:snapshot_properties)
|
22410
|
-
end
|
22411
|
-
end
|
22412
|
-
|
22413
|
-
# Policy for retention of scheduled snapshots.
|
22414
|
-
class ResourcePolicyBackupSchedulePolicyRetentionPolicy
|
22415
|
-
include Google::Apis::Core::Hashable
|
22416
|
-
|
22417
|
-
# Maximum age of the snapshot that is allowed to be kept.
|
22418
|
-
# Corresponds to the JSON property `maxRetentionDays`
|
22419
|
-
# @return [Fixnum]
|
22420
|
-
attr_accessor :max_retention_days
|
22421
|
-
|
22422
|
-
# Specifies the behavior to apply to existing, scheduled snapshots snapshots if
|
22423
|
-
# the policy is changed.
|
22424
|
-
# Corresponds to the JSON property `onPolicySwitch`
|
22425
|
-
# @return [String]
|
22426
|
-
attr_accessor :on_policy_switch
|
22427
|
-
|
22428
|
-
# Specifies the behavior to apply to scheduled snapshots when the source disk is
|
22429
|
-
# deleted.
|
22430
|
-
# Corresponds to the JSON property `onSourceDiskDelete`
|
22431
|
-
# @return [String]
|
22432
|
-
attr_accessor :on_source_disk_delete
|
22433
|
-
|
22434
|
-
def initialize(**args)
|
22435
|
-
update!(**args)
|
22436
|
-
end
|
22437
|
-
|
22438
|
-
# Update properties of this object
|
22439
|
-
def update!(**args)
|
22440
|
-
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
22441
|
-
@on_policy_switch = args[:on_policy_switch] if args.key?(:on_policy_switch)
|
22442
|
-
@on_source_disk_delete = args[:on_source_disk_delete] if args.key?(:on_source_disk_delete)
|
22443
|
-
end
|
22444
|
-
end
|
22445
|
-
|
22446
|
-
# A schedule for disks where the schedueled operations are performed.
|
22447
|
-
class ResourcePolicyBackupSchedulePolicySchedule
|
22448
|
-
include Google::Apis::Core::Hashable
|
22449
|
-
|
22450
|
-
# Time window specified for daily operations.
|
22451
|
-
# Corresponds to the JSON property `dailySchedule`
|
22452
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle]
|
22453
|
-
attr_accessor :daily_schedule
|
22454
|
-
|
22455
|
-
# Time window specified for hourly operations.
|
22456
|
-
# Corresponds to the JSON property `hourlySchedule`
|
22457
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle]
|
22458
|
-
attr_accessor :hourly_schedule
|
22459
|
-
|
22460
|
-
# Time window specified for weekly operations.
|
22461
|
-
# Corresponds to the JSON property `weeklySchedule`
|
22462
|
-
# @return [Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle]
|
22463
|
-
attr_accessor :weekly_schedule
|
22464
|
-
|
22465
|
-
def initialize(**args)
|
22466
|
-
update!(**args)
|
22467
|
-
end
|
22468
|
-
|
22469
|
-
# Update properties of this object
|
22470
|
-
def update!(**args)
|
22471
|
-
@daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
|
22472
|
-
@hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
|
22473
|
-
@weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
|
22474
|
-
end
|
22475
|
-
end
|
22476
|
-
|
22477
|
-
# Specified snapshot properties for scheduled snapshots created by this policy.
|
22478
|
-
class ResourcePolicyBackupSchedulePolicySnapshotProperties
|
22479
|
-
include Google::Apis::Core::Hashable
|
22480
|
-
|
22481
|
-
# Indication to perform a ?guest aware? snapshot.
|
22482
|
-
# Corresponds to the JSON property `guestFlush`
|
22483
|
-
# @return [Boolean]
|
22484
|
-
attr_accessor :guest_flush
|
22485
|
-
alias_method :guest_flush?, :guest_flush
|
22486
|
-
|
22487
|
-
# Labels to apply to scheduled snapshots. These can be later modified by the
|
22488
|
-
# setLabels method. Label values may be empty.
|
22489
|
-
# Corresponds to the JSON property `labels`
|
22490
|
-
# @return [Hash<String,String>]
|
22491
|
-
attr_accessor :labels
|
22492
|
-
|
22493
|
-
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
22494
|
-
# Corresponds to the JSON property `storageLocations`
|
22495
|
-
# @return [Array<String>]
|
22496
|
-
attr_accessor :storage_locations
|
22497
|
-
|
22498
|
-
def initialize(**args)
|
22499
|
-
update!(**args)
|
22694
|
+
@warning = args[:warning] if args.key?(:warning)
|
22500
22695
|
end
|
22501
|
-
|
22502
|
-
#
|
22503
|
-
|
22504
|
-
|
22505
|
-
|
22506
|
-
|
22696
|
+
|
22697
|
+
# [Output Only] Informational warning message.
|
22698
|
+
class Warning
|
22699
|
+
include Google::Apis::Core::Hashable
|
22700
|
+
|
22701
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
22702
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
22703
|
+
# Corresponds to the JSON property `code`
|
22704
|
+
# @return [String]
|
22705
|
+
attr_accessor :code
|
22706
|
+
|
22707
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
22708
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
22709
|
+
# Corresponds to the JSON property `data`
|
22710
|
+
# @return [Array<Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Warning::Datum>]
|
22711
|
+
attr_accessor :data
|
22712
|
+
|
22713
|
+
# [Output Only] A human-readable description of the warning code.
|
22714
|
+
# Corresponds to the JSON property `message`
|
22715
|
+
# @return [String]
|
22716
|
+
attr_accessor :message
|
22717
|
+
|
22718
|
+
def initialize(**args)
|
22719
|
+
update!(**args)
|
22720
|
+
end
|
22721
|
+
|
22722
|
+
# Update properties of this object
|
22723
|
+
def update!(**args)
|
22724
|
+
@code = args[:code] if args.key?(:code)
|
22725
|
+
@data = args[:data] if args.key?(:data)
|
22726
|
+
@message = args[:message] if args.key?(:message)
|
22727
|
+
end
|
22728
|
+
|
22729
|
+
#
|
22730
|
+
class Datum
|
22731
|
+
include Google::Apis::Core::Hashable
|
22732
|
+
|
22733
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
22734
|
+
# For example, for warnings where there are no results in a list request for a
|
22735
|
+
# particular zone, this key might be scope and the key value might be the zone
|
22736
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
22737
|
+
# suggested replacement, or a warning about invalid network settings (for
|
22738
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
22739
|
+
# for IP forwarding).
|
22740
|
+
# Corresponds to the JSON property `key`
|
22741
|
+
# @return [String]
|
22742
|
+
attr_accessor :key
|
22743
|
+
|
22744
|
+
# [Output Only] A warning data value corresponding to the key.
|
22745
|
+
# Corresponds to the JSON property `value`
|
22746
|
+
# @return [String]
|
22747
|
+
attr_accessor :value
|
22748
|
+
|
22749
|
+
def initialize(**args)
|
22750
|
+
update!(**args)
|
22751
|
+
end
|
22752
|
+
|
22753
|
+
# Update properties of this object
|
22754
|
+
def update!(**args)
|
22755
|
+
@key = args[:key] if args.key?(:key)
|
22756
|
+
@value = args[:value] if args.key?(:value)
|
22757
|
+
end
|
22758
|
+
end
|
22507
22759
|
end
|
22508
22760
|
end
|
22509
22761
|
|
@@ -22698,6 +22950,136 @@ module Google
|
|
22698
22950
|
end
|
22699
22951
|
end
|
22700
22952
|
|
22953
|
+
# A snapshot schedule policy specifies when and how frequently snapshots are to
|
22954
|
+
# be created for the target disk. Also specifies how many and how long these
|
22955
|
+
# scheduled snapshots should be retained.
|
22956
|
+
class ResourcePolicySnapshotSchedulePolicy
|
22957
|
+
include Google::Apis::Core::Hashable
|
22958
|
+
|
22959
|
+
# Policy for retention of scheduled snapshots.
|
22960
|
+
# Corresponds to the JSON property `retentionPolicy`
|
22961
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicyRetentionPolicy]
|
22962
|
+
attr_accessor :retention_policy
|
22963
|
+
|
22964
|
+
# A schedule for disks where the schedueled operations are performed.
|
22965
|
+
# Corresponds to the JSON property `schedule`
|
22966
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySchedule]
|
22967
|
+
attr_accessor :schedule
|
22968
|
+
|
22969
|
+
# Specified snapshot properties for scheduled snapshots created by this policy.
|
22970
|
+
# Corresponds to the JSON property `snapshotProperties`
|
22971
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicySnapshotProperties]
|
22972
|
+
attr_accessor :snapshot_properties
|
22973
|
+
|
22974
|
+
def initialize(**args)
|
22975
|
+
update!(**args)
|
22976
|
+
end
|
22977
|
+
|
22978
|
+
# Update properties of this object
|
22979
|
+
def update!(**args)
|
22980
|
+
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
22981
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
22982
|
+
@snapshot_properties = args[:snapshot_properties] if args.key?(:snapshot_properties)
|
22983
|
+
end
|
22984
|
+
end
|
22985
|
+
|
22986
|
+
# Policy for retention of scheduled snapshots.
|
22987
|
+
class ResourcePolicySnapshotSchedulePolicyRetentionPolicy
|
22988
|
+
include Google::Apis::Core::Hashable
|
22989
|
+
|
22990
|
+
# Maximum age of the snapshot that is allowed to be kept.
|
22991
|
+
# Corresponds to the JSON property `maxRetentionDays`
|
22992
|
+
# @return [Fixnum]
|
22993
|
+
attr_accessor :max_retention_days
|
22994
|
+
|
22995
|
+
# Specifies the behavior to apply to existing, scheduled snapshots snapshots if
|
22996
|
+
# the policy is changed.
|
22997
|
+
# Corresponds to the JSON property `onPolicySwitch`
|
22998
|
+
# @return [String]
|
22999
|
+
attr_accessor :on_policy_switch
|
23000
|
+
|
23001
|
+
# Specifies the behavior to apply to scheduled snapshots when the source disk is
|
23002
|
+
# deleted.
|
23003
|
+
# Corresponds to the JSON property `onSourceDiskDelete`
|
23004
|
+
# @return [String]
|
23005
|
+
attr_accessor :on_source_disk_delete
|
23006
|
+
|
23007
|
+
def initialize(**args)
|
23008
|
+
update!(**args)
|
23009
|
+
end
|
23010
|
+
|
23011
|
+
# Update properties of this object
|
23012
|
+
def update!(**args)
|
23013
|
+
@max_retention_days = args[:max_retention_days] if args.key?(:max_retention_days)
|
23014
|
+
@on_policy_switch = args[:on_policy_switch] if args.key?(:on_policy_switch)
|
23015
|
+
@on_source_disk_delete = args[:on_source_disk_delete] if args.key?(:on_source_disk_delete)
|
23016
|
+
end
|
23017
|
+
end
|
23018
|
+
|
23019
|
+
# A schedule for disks where the schedueled operations are performed.
|
23020
|
+
class ResourcePolicySnapshotSchedulePolicySchedule
|
23021
|
+
include Google::Apis::Core::Hashable
|
23022
|
+
|
23023
|
+
# Time window specified for daily operations.
|
23024
|
+
# Corresponds to the JSON property `dailySchedule`
|
23025
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle]
|
23026
|
+
attr_accessor :daily_schedule
|
23027
|
+
|
23028
|
+
# Time window specified for hourly operations.
|
23029
|
+
# Corresponds to the JSON property `hourlySchedule`
|
23030
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicyHourlyCycle]
|
23031
|
+
attr_accessor :hourly_schedule
|
23032
|
+
|
23033
|
+
# Time window specified for weekly operations.
|
23034
|
+
# Corresponds to the JSON property `weeklySchedule`
|
23035
|
+
# @return [Google::Apis::ComputeAlpha::ResourcePolicyWeeklyCycle]
|
23036
|
+
attr_accessor :weekly_schedule
|
23037
|
+
|
23038
|
+
def initialize(**args)
|
23039
|
+
update!(**args)
|
23040
|
+
end
|
23041
|
+
|
23042
|
+
# Update properties of this object
|
23043
|
+
def update!(**args)
|
23044
|
+
@daily_schedule = args[:daily_schedule] if args.key?(:daily_schedule)
|
23045
|
+
@hourly_schedule = args[:hourly_schedule] if args.key?(:hourly_schedule)
|
23046
|
+
@weekly_schedule = args[:weekly_schedule] if args.key?(:weekly_schedule)
|
23047
|
+
end
|
23048
|
+
end
|
23049
|
+
|
23050
|
+
# Specified snapshot properties for scheduled snapshots created by this policy.
|
23051
|
+
class ResourcePolicySnapshotSchedulePolicySnapshotProperties
|
23052
|
+
include Google::Apis::Core::Hashable
|
23053
|
+
|
23054
|
+
# Indication to perform a ?guest aware? snapshot.
|
23055
|
+
# Corresponds to the JSON property `guestFlush`
|
23056
|
+
# @return [Boolean]
|
23057
|
+
attr_accessor :guest_flush
|
23058
|
+
alias_method :guest_flush?, :guest_flush
|
23059
|
+
|
23060
|
+
# Labels to apply to scheduled snapshots. These can be later modified by the
|
23061
|
+
# setLabels method. Label values may be empty.
|
23062
|
+
# Corresponds to the JSON property `labels`
|
23063
|
+
# @return [Hash<String,String>]
|
23064
|
+
attr_accessor :labels
|
23065
|
+
|
23066
|
+
# GCS bucket storage location of the auto snapshot (regional or multi-regional).
|
23067
|
+
# Corresponds to the JSON property `storageLocations`
|
23068
|
+
# @return [Array<String>]
|
23069
|
+
attr_accessor :storage_locations
|
23070
|
+
|
23071
|
+
def initialize(**args)
|
23072
|
+
update!(**args)
|
23073
|
+
end
|
23074
|
+
|
23075
|
+
# Update properties of this object
|
23076
|
+
def update!(**args)
|
23077
|
+
@guest_flush = args[:guest_flush] if args.key?(:guest_flush)
|
23078
|
+
@labels = args[:labels] if args.key?(:labels)
|
23079
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
23080
|
+
end
|
23081
|
+
end
|
23082
|
+
|
22701
23083
|
#
|
22702
23084
|
class ResourcePolicyVmMaintenancePolicy
|
22703
23085
|
include Google::Apis::Core::Hashable
|
@@ -23211,6 +23593,11 @@ module Google
|
|
23211
23593
|
# @return [String]
|
23212
23594
|
attr_accessor :self_link
|
23213
23595
|
|
23596
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
23597
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
23598
|
+
# @return [String]
|
23599
|
+
attr_accessor :self_link_with_id
|
23600
|
+
|
23214
23601
|
def initialize(**args)
|
23215
23602
|
update!(**args)
|
23216
23603
|
end
|
@@ -23229,6 +23616,7 @@ module Google
|
|
23229
23616
|
@network = args[:network] if args.key?(:network)
|
23230
23617
|
@region = args[:region] if args.key?(:region)
|
23231
23618
|
@self_link = args[:self_link] if args.key?(:self_link)
|
23619
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
23232
23620
|
end
|
23233
23621
|
end
|
23234
23622
|
|
@@ -23784,6 +24172,13 @@ module Google
|
|
23784
24172
|
include Google::Apis::Core::Hashable
|
23785
24173
|
|
23786
24174
|
# Indicates whether or not to export logs. This is false by default.
|
24175
|
+
# Corresponds to the JSON property `enable`
|
24176
|
+
# @return [Boolean]
|
24177
|
+
attr_accessor :enable
|
24178
|
+
alias_method :enable?, :enable
|
24179
|
+
|
24180
|
+
# Indicates whether or not to export logs. This is false by default. [Deprecated]
|
24181
|
+
# Use 'enable' instead.
|
23787
24182
|
# Corresponds to the JSON property `enabled`
|
23788
24183
|
# @return [Boolean]
|
23789
24184
|
attr_accessor :enabled
|
@@ -23801,6 +24196,7 @@ module Google
|
|
23801
24196
|
|
23802
24197
|
# Update properties of this object
|
23803
24198
|
def update!(**args)
|
24199
|
+
@enable = args[:enable] if args.key?(:enable)
|
23804
24200
|
@enabled = args[:enabled] if args.key?(:enabled)
|
23805
24201
|
@filter = args[:filter] if args.key?(:filter)
|
23806
24202
|
end
|
@@ -24645,6 +25041,11 @@ module Google
|
|
24645
25041
|
# @return [String]
|
24646
25042
|
attr_accessor :self_link
|
24647
25043
|
|
25044
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
25045
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
25046
|
+
# @return [String]
|
25047
|
+
attr_accessor :self_link_with_id
|
25048
|
+
|
24648
25049
|
# The type indicates the intended use of the security policy. CLOUD_ARMOR
|
24649
25050
|
# policies apply to backend services. FIREWALL policies apply to organizations.
|
24650
25051
|
# Corresponds to the JSON property `type`
|
@@ -24668,6 +25069,7 @@ module Google
|
|
24668
25069
|
@name = args[:name] if args.key?(:name)
|
24669
25070
|
@rules = args[:rules] if args.key?(:rules)
|
24670
25071
|
@self_link = args[:self_link] if args.key?(:self_link)
|
25072
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
24671
25073
|
@type = args[:type] if args.key?(:type)
|
24672
25074
|
end
|
24673
25075
|
end
|
@@ -25753,6 +26155,11 @@ module Google
|
|
25753
26155
|
# @return [String]
|
25754
26156
|
attr_accessor :self_link
|
25755
26157
|
|
26158
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
26159
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
26160
|
+
# @return [String]
|
26161
|
+
attr_accessor :self_link_with_id
|
26162
|
+
|
25756
26163
|
# Configuration and status of a self-managed SSL certificate.
|
25757
26164
|
# Corresponds to the JSON property `selfManaged`
|
25758
26165
|
# @return [Google::Apis::ComputeAlpha::SslCertificateSelfManagedSslCertificate]
|
@@ -25788,6 +26195,7 @@ module Google
|
|
25788
26195
|
@private_key = args[:private_key] if args.key?(:private_key)
|
25789
26196
|
@region = args[:region] if args.key?(:region)
|
25790
26197
|
@self_link = args[:self_link] if args.key?(:self_link)
|
26198
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
25791
26199
|
@self_managed = args[:self_managed] if args.key?(:self_managed)
|
25792
26200
|
@subject_alternative_names = args[:subject_alternative_names] if args.key?(:subject_alternative_names)
|
25793
26201
|
@type = args[:type] if args.key?(:type)
|
@@ -26400,6 +26808,11 @@ module Google
|
|
26400
26808
|
# @return [String]
|
26401
26809
|
attr_accessor :self_link
|
26402
26810
|
|
26811
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
26812
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
26813
|
+
# @return [String]
|
26814
|
+
attr_accessor :self_link_with_id
|
26815
|
+
|
26403
26816
|
# [Output Only] If potential misconfigurations are detected for this SSL policy,
|
26404
26817
|
# this field will be populated with warning messages.
|
26405
26818
|
# Corresponds to the JSON property `warnings`
|
@@ -26423,6 +26836,7 @@ module Google
|
|
26423
26836
|
@name = args[:name] if args.key?(:name)
|
26424
26837
|
@profile = args[:profile] if args.key?(:profile)
|
26425
26838
|
@self_link = args[:self_link] if args.key?(:self_link)
|
26839
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
26426
26840
|
@warnings = args[:warnings] if args.key?(:warnings)
|
26427
26841
|
end
|
26428
26842
|
|
@@ -26666,9 +27080,9 @@ module Google
|
|
26666
27080
|
attr_accessor :enable_flow_logs
|
26667
27081
|
alias_method :enable_flow_logs?, :enable_flow_logs
|
26668
27082
|
|
26669
|
-
#
|
26670
|
-
#
|
26671
|
-
# and updated using patch.
|
27083
|
+
# Deprecated in favor of enable in PrivateIpv6GoogleAccess. Whether the VMs in
|
27084
|
+
# this subnet can directly access Google services via internal IPv6 addresses.
|
27085
|
+
# This field can be both set at resource creation time and updated using patch.
|
26672
27086
|
# Corresponds to the JSON property `enablePrivateV6Access`
|
26673
27087
|
# @return [Boolean]
|
26674
27088
|
attr_accessor :enable_private_v6_access
|
@@ -26764,6 +27178,14 @@ module Google
|
|
26764
27178
|
attr_accessor :private_ip_google_access
|
26765
27179
|
alias_method :private_ip_google_access?, :private_ip_google_access
|
26766
27180
|
|
27181
|
+
# The private IPv6 google access type for the VMs in this subnet. This is an
|
27182
|
+
# expanded field of enablePrivateV6Access. If both fields are set,
|
27183
|
+
# privateIpv6GoogleAccess will take priority.
|
27184
|
+
# This field can be both set at resource creation time and updated using patch.
|
27185
|
+
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
27186
|
+
# @return [String]
|
27187
|
+
attr_accessor :private_ipv6_google_access
|
27188
|
+
|
26767
27189
|
# The purpose of the resource. This field can be either PRIVATE_RFC_1918 or
|
26768
27190
|
# INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to
|
26769
27191
|
# INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for
|
@@ -26802,6 +27224,11 @@ module Google
|
|
26802
27224
|
# @return [String]
|
26803
27225
|
attr_accessor :self_link
|
26804
27226
|
|
27227
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
27228
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
27229
|
+
# @return [String]
|
27230
|
+
attr_accessor :self_link_with_id
|
27231
|
+
|
26805
27232
|
# [Output Only] The state of the subnetwork, which can be one of READY or
|
26806
27233
|
# DRAINING. A subnetwork that is READY is ready to be used. The state of
|
26807
27234
|
# DRAINING is only applicable to subnetworks that have the purpose set to
|
@@ -26836,11 +27263,13 @@ module Google
|
|
26836
27263
|
@name = args[:name] if args.key?(:name)
|
26837
27264
|
@network = args[:network] if args.key?(:network)
|
26838
27265
|
@private_ip_google_access = args[:private_ip_google_access] if args.key?(:private_ip_google_access)
|
27266
|
+
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
26839
27267
|
@purpose = args[:purpose] if args.key?(:purpose)
|
26840
27268
|
@region = args[:region] if args.key?(:region)
|
26841
27269
|
@role = args[:role] if args.key?(:role)
|
26842
27270
|
@secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
|
26843
27271
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27272
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
26844
27273
|
@state = args[:state] if args.key?(:state)
|
26845
27274
|
end
|
26846
27275
|
end
|
@@ -27536,6 +27965,11 @@ module Google
|
|
27536
27965
|
# @return [String]
|
27537
27966
|
attr_accessor :self_link
|
27538
27967
|
|
27968
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
27969
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
27970
|
+
# @return [String]
|
27971
|
+
attr_accessor :self_link_with_id
|
27972
|
+
|
27539
27973
|
# URL to the UrlMap resource that defines the mapping from URL to the
|
27540
27974
|
# BackendService.
|
27541
27975
|
# Corresponds to the JSON property `urlMap`
|
@@ -27555,6 +27989,7 @@ module Google
|
|
27555
27989
|
@name = args[:name] if args.key?(:name)
|
27556
27990
|
@region = args[:region] if args.key?(:region)
|
27557
27991
|
@self_link = args[:self_link] if args.key?(:self_link)
|
27992
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
27558
27993
|
@url_map = args[:url_map] if args.key?(:url_map)
|
27559
27994
|
end
|
27560
27995
|
end
|
@@ -27986,6 +28421,11 @@ module Google
|
|
27986
28421
|
# @return [String]
|
27987
28422
|
attr_accessor :self_link
|
27988
28423
|
|
28424
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
28425
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
28426
|
+
# @return [String]
|
28427
|
+
attr_accessor :self_link_with_id
|
28428
|
+
|
27989
28429
|
# URLs to SslCertificate resources that are used to authenticate connections
|
27990
28430
|
# between users and the load balancer. At least one SSL certificate must be
|
27991
28431
|
# specified. Currently, you may specify up to 15 SSL certificates.
|
@@ -28024,6 +28464,7 @@ module Google
|
|
28024
28464
|
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
28025
28465
|
@region = args[:region] if args.key?(:region)
|
28026
28466
|
@self_link = args[:self_link] if args.key?(:self_link)
|
28467
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
28027
28468
|
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
28028
28469
|
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
28029
28470
|
@url_map = args[:url_map] if args.key?(:url_map)
|
@@ -28328,6 +28769,11 @@ module Google
|
|
28328
28769
|
# @return [String]
|
28329
28770
|
attr_accessor :self_link
|
28330
28771
|
|
28772
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
28773
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
28774
|
+
# @return [String]
|
28775
|
+
attr_accessor :self_link_with_id
|
28776
|
+
|
28331
28777
|
# [Output Only] URL of the zone where the target instance resides. You must
|
28332
28778
|
# specify this field as part of the HTTP request URL. It is not settable as a
|
28333
28779
|
# field in the request body.
|
@@ -28349,6 +28795,7 @@ module Google
|
|
28349
28795
|
@name = args[:name] if args.key?(:name)
|
28350
28796
|
@nat_policy = args[:nat_policy] if args.key?(:nat_policy)
|
28351
28797
|
@self_link = args[:self_link] if args.key?(:self_link)
|
28798
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
28352
28799
|
@zone = args[:zone] if args.key?(:zone)
|
28353
28800
|
end
|
28354
28801
|
end
|
@@ -28771,6 +29218,11 @@ module Google
|
|
28771
29218
|
# @return [String]
|
28772
29219
|
attr_accessor :self_link
|
28773
29220
|
|
29221
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
29222
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
29223
|
+
# @return [String]
|
29224
|
+
attr_accessor :self_link_with_id
|
29225
|
+
|
28774
29226
|
# Session affinity option, must be one of the following values:
|
28775
29227
|
# NONE: Connections from the same client IP may go to any instance in the pool.
|
28776
29228
|
# CLIENT_IP: Connections from the same client IP will go to the same instance in
|
@@ -28798,6 +29250,7 @@ module Google
|
|
28798
29250
|
@name = args[:name] if args.key?(:name)
|
28799
29251
|
@region = args[:region] if args.key?(:region)
|
28800
29252
|
@self_link = args[:self_link] if args.key?(:self_link)
|
29253
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
28801
29254
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
28802
29255
|
end
|
28803
29256
|
end
|
@@ -30321,21 +30774,26 @@ module Google
|
|
30321
30774
|
# @return [String]
|
30322
30775
|
attr_accessor :creation_timestamp
|
30323
30776
|
|
30324
|
-
#
|
30325
|
-
#
|
30326
|
-
#
|
30327
|
-
#
|
30328
|
-
# must be set.
|
30777
|
+
# defaultRouteAction takes effect when none of the hostRules match. The load
|
30778
|
+
# balancer performs advanced routing actions like URL rewrites, header
|
30779
|
+
# transformations, etc. prior to forwarding the request to the selected backend.
|
30780
|
+
# If defaultRouteAction specifies any weightedBackendServices, defaultService
|
30781
|
+
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
30782
|
+
# cannot contain any weightedBackendServices.
|
30783
|
+
# Only one of defaultRouteAction or defaultUrlRedirect must be set.
|
30329
30784
|
# Corresponds to the JSON property `defaultRouteAction`
|
30330
30785
|
# @return [Google::Apis::ComputeAlpha::HttpRouteAction]
|
30331
30786
|
attr_accessor :default_route_action
|
30332
30787
|
|
30333
|
-
# The URL of the
|
30334
|
-
#
|
30335
|
-
#
|
30336
|
-
#
|
30337
|
-
#
|
30338
|
-
# must be
|
30788
|
+
# The full or partial URL of the defaultService resource to which traffic is
|
30789
|
+
# directed if none of the hostRules match. If defaultRouteAction is additionally
|
30790
|
+
# specified, advanced routing actions like URL Rewrites, etc. take effect prior
|
30791
|
+
# to sending the request to the backend. However, if defaultService is specified,
|
30792
|
+
# defaultRouteAction cannot contain any weightedBackendServices. Conversely, if
|
30793
|
+
# routeAction specifies any weightedBackendServices, service must not be
|
30794
|
+
# specified.
|
30795
|
+
# Only one of defaultService, defaultUrlRedirect or defaultRouteAction.
|
30796
|
+
# weightedBackendService must be set.
|
30339
30797
|
# Corresponds to the JSON property `defaultService`
|
30340
30798
|
# @return [String]
|
30341
30799
|
attr_accessor :default_service
|