google-apis-compute_beta 0.21.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/compute_beta/classes.rb +381 -58
- data/lib/google/apis/compute_beta/gem_version.rb +3 -3
- data/lib/google/apis/compute_beta/representations.rb +88 -1
- data/lib/google/apis/compute_beta/service.rb +4748 -3134
- metadata +4 -4
@@ -464,15 +464,15 @@ module Google
|
|
464
464
|
class AccessConfig
|
465
465
|
include Google::Apis::Core::Hashable
|
466
466
|
|
467
|
-
#
|
468
|
-
#
|
467
|
+
# The first IPv6 address of the external IPv6 range associated with this
|
468
|
+
# instance, prefix length is stored in externalIpv6PrefixLength in
|
469
469
|
# ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork
|
470
470
|
# associated with the instance will be allocated dynamically.
|
471
471
|
# Corresponds to the JSON property `externalIpv6`
|
472
472
|
# @return [String]
|
473
473
|
attr_accessor :external_ipv6
|
474
474
|
|
475
|
-
#
|
475
|
+
# The prefix length of the external IPv6 range.
|
476
476
|
# Corresponds to the JSON property `externalIpv6PrefixLength`
|
477
477
|
# @return [Fixnum]
|
478
478
|
attr_accessor :external_ipv6_prefix_length
|
@@ -1072,6 +1072,12 @@ module Google
|
|
1072
1072
|
attr_accessor :enable_nested_virtualization
|
1073
1073
|
alias_method :enable_nested_virtualization?, :enable_nested_virtualization
|
1074
1074
|
|
1075
|
+
# Whether to enable UEFI networking for instance creation.
|
1076
|
+
# Corresponds to the JSON property `enableUefiNetworking`
|
1077
|
+
# @return [Boolean]
|
1078
|
+
attr_accessor :enable_uefi_networking
|
1079
|
+
alias_method :enable_uefi_networking?, :enable_uefi_networking
|
1080
|
+
|
1075
1081
|
# The number of threads per physical core. To disable simultaneous
|
1076
1082
|
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
1077
1083
|
# supported per core by the underlying processor is assumed.
|
@@ -1086,6 +1092,7 @@ module Google
|
|
1086
1092
|
# Update properties of this object
|
1087
1093
|
def update!(**args)
|
1088
1094
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1095
|
+
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1089
1096
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1090
1097
|
end
|
1091
1098
|
end
|
@@ -1213,6 +1220,11 @@ module Google
|
|
1213
1220
|
class AllocationSpecificSkuReservation
|
1214
1221
|
include Google::Apis::Core::Hashable
|
1215
1222
|
|
1223
|
+
# [Output Only] Indicates how many instances are actually usable currently.
|
1224
|
+
# Corresponds to the JSON property `assuredCount`
|
1225
|
+
# @return [Fixnum]
|
1226
|
+
attr_accessor :assured_count
|
1227
|
+
|
1216
1228
|
# Specifies the number of resources that are allocated.
|
1217
1229
|
# Corresponds to the JSON property `count`
|
1218
1230
|
# @return [Fixnum]
|
@@ -1234,6 +1246,7 @@ module Google
|
|
1234
1246
|
|
1235
1247
|
# Update properties of this object
|
1236
1248
|
def update!(**args)
|
1249
|
+
@assured_count = args[:assured_count] if args.key?(:assured_count)
|
1237
1250
|
@count = args[:count] if args.key?(:count)
|
1238
1251
|
@in_use_count = args[:in_use_count] if args.key?(:in_use_count)
|
1239
1252
|
@instance_properties = args[:instance_properties] if args.key?(:instance_properties)
|
@@ -1462,6 +1475,11 @@ module Google
|
|
1462
1475
|
# @return [Hash<String,String>]
|
1463
1476
|
attr_accessor :labels
|
1464
1477
|
|
1478
|
+
# A list of publicly visible licenses. Reserved for Google's use.
|
1479
|
+
# Corresponds to the JSON property `licenses`
|
1480
|
+
# @return [Array<String>]
|
1481
|
+
attr_accessor :licenses
|
1482
|
+
|
1465
1483
|
# Indicates whether or not the disk can be read/write attached to more than one
|
1466
1484
|
# instance.
|
1467
1485
|
# Corresponds to the JSON property `multiWriter`
|
@@ -1542,6 +1560,7 @@ module Google
|
|
1542
1560
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1543
1561
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1544
1562
|
@labels = args[:labels] if args.key?(:labels)
|
1563
|
+
@licenses = args[:licenses] if args.key?(:licenses)
|
1545
1564
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
1546
1565
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1547
1566
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
@@ -1576,11 +1595,6 @@ module Google
|
|
1576
1595
|
# @return [Array<Google::Apis::ComputeBeta::AuditLogConfig>]
|
1577
1596
|
attr_accessor :audit_log_configs
|
1578
1597
|
|
1579
|
-
# This is deprecated and has no effect. Do not use.
|
1580
|
-
# Corresponds to the JSON property `exemptedMembers`
|
1581
|
-
# @return [Array<String>]
|
1582
|
-
attr_accessor :exempted_members
|
1583
|
-
|
1584
1598
|
# Specifies a service that will be enabled for audit logging. For example, `
|
1585
1599
|
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
1586
1600
|
# value that covers all services.
|
@@ -1595,7 +1609,6 @@ module Google
|
|
1595
1609
|
# Update properties of this object
|
1596
1610
|
def update!(**args)
|
1597
1611
|
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
1598
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1599
1612
|
@service = args[:service] if args.key?(:service)
|
1600
1613
|
end
|
1601
1614
|
end
|
@@ -3384,9 +3397,13 @@ module Google
|
|
3384
3397
|
# @return [Google::Apis::ComputeBeta::Subsetting]
|
3385
3398
|
attr_accessor :subsetting
|
3386
3399
|
|
3387
|
-
#
|
3388
|
-
#
|
3389
|
-
#
|
3400
|
+
# The backend service timeout has a different meaning depending on the type of
|
3401
|
+
# load balancer. For more information see, Backend service settings The default
|
3402
|
+
# is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
|
3403
|
+
# seconds. This value can be overridden in the PathMatcher configuration of the
|
3404
|
+
# UrlMap that references this backend service. Not supported when the backend
|
3405
|
+
# service is referenced by a URL map that is bound to target gRPC proxy that has
|
3406
|
+
# validateForProxyless field set to true. Instead, use maxStreamDuration.
|
3390
3407
|
# Corresponds to the JSON property `timeoutSec`
|
3391
3408
|
# @return [Fixnum]
|
3392
3409
|
attr_accessor :timeout_sec
|
@@ -4759,14 +4776,18 @@ module Google
|
|
4759
4776
|
# @return [Google::Apis::ComputeBeta::Duration]
|
4760
4777
|
attr_accessor :connect_timeout
|
4761
4778
|
|
4762
|
-
#
|
4763
|
-
#
|
4779
|
+
# The maximum number of connections to the backend service. If not specified,
|
4780
|
+
# there is no limit. Not supported when the backend service is referenced by a
|
4781
|
+
# URL map that is bound to target gRPC proxy that has validateForProxyless field
|
4782
|
+
# set to true.
|
4764
4783
|
# Corresponds to the JSON property `maxConnections`
|
4765
4784
|
# @return [Fixnum]
|
4766
4785
|
attr_accessor :max_connections
|
4767
4786
|
|
4768
|
-
#
|
4769
|
-
#
|
4787
|
+
# The maximum number of pending requests allowed to the backend service. If not
|
4788
|
+
# specified, there is no limit. Not supported when the backend service is
|
4789
|
+
# referenced by a URL map that is bound to target gRPC proxy that has
|
4790
|
+
# validateForProxyless field set to true.
|
4770
4791
|
# Corresponds to the JSON property `maxPendingRequests`
|
4771
4792
|
# @return [Fixnum]
|
4772
4793
|
attr_accessor :max_pending_requests
|
@@ -4777,14 +4798,20 @@ module Google
|
|
4777
4798
|
# @return [Fixnum]
|
4778
4799
|
attr_accessor :max_requests
|
4779
4800
|
|
4780
|
-
#
|
4781
|
-
#
|
4801
|
+
# Maximum requests for a single connection to the backend service. This
|
4802
|
+
# parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not
|
4803
|
+
# specified, there is no limit. Setting this parameter to 1 will effectively
|
4804
|
+
# disable keep alive. Not supported when the backend service is referenced by a
|
4805
|
+
# URL map that is bound to target gRPC proxy that has validateForProxyless field
|
4806
|
+
# set to true.
|
4782
4807
|
# Corresponds to the JSON property `maxRequestsPerConnection`
|
4783
4808
|
# @return [Fixnum]
|
4784
4809
|
attr_accessor :max_requests_per_connection
|
4785
4810
|
|
4786
|
-
#
|
4787
|
-
#
|
4811
|
+
# The maximum number of parallel retries allowed to the backend cluster. If not
|
4812
|
+
# specified, the default is 1. Not supported when the backend service is
|
4813
|
+
# referenced by a URL map that is bound to target gRPC proxy that has
|
4814
|
+
# validateForProxyless field set to true.
|
4788
4815
|
# Corresponds to the JSON property `maxRetries`
|
4789
4816
|
# @return [Fixnum]
|
4790
4817
|
attr_accessor :max_retries
|
@@ -8042,6 +8069,14 @@ module Google
|
|
8042
8069
|
# @return [String]
|
8043
8070
|
attr_accessor :parent
|
8044
8071
|
|
8072
|
+
# [Output Only] URL of the region where the regional firewall policy resides.
|
8073
|
+
# This field is not applicable to global firewall policies. You must specify
|
8074
|
+
# this field as part of the HTTP request URL. It is not settable as a field in
|
8075
|
+
# the request body.
|
8076
|
+
# Corresponds to the JSON property `region`
|
8077
|
+
# @return [String]
|
8078
|
+
attr_accessor :region
|
8079
|
+
|
8045
8080
|
# [Output Only] Total count of all firewall policy rule tuples. A firewall
|
8046
8081
|
# policy can not exceed a set number of tuples.
|
8047
8082
|
# Corresponds to the JSON property `ruleTupleCount`
|
@@ -8093,6 +8128,7 @@ module Google
|
|
8093
8128
|
@kind = args[:kind] if args.key?(:kind)
|
8094
8129
|
@name = args[:name] if args.key?(:name)
|
8095
8130
|
@parent = args[:parent] if args.key?(:parent)
|
8131
|
+
@region = args[:region] if args.key?(:region)
|
8096
8132
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
8097
8133
|
@rules = args[:rules] if args.key?(:rules)
|
8098
8134
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -8328,6 +8364,18 @@ module Google
|
|
8328
8364
|
# @return [Array<String>]
|
8329
8365
|
attr_accessor :target_resources
|
8330
8366
|
|
8367
|
+
# A list of secure tags that controls which instances the firewall rule applies
|
8368
|
+
# to. If targetSecureTag are specified, then the firewall rule applies only to
|
8369
|
+
# instances in the VPC network that have one of those EFFECTIVE secure tags, if
|
8370
|
+
# all the target_secure_tag are in INEFFECTIVE state, then this rule will be
|
8371
|
+
# ignored. targetSecureTag may not be set at the same time as
|
8372
|
+
# targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag
|
8373
|
+
# are specified, the firewall rule applies to all instances on the specified
|
8374
|
+
# network. Maximum number of target label tags allowed is 256.
|
8375
|
+
# Corresponds to the JSON property `targetSecureTags`
|
8376
|
+
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag>]
|
8377
|
+
attr_accessor :target_secure_tags
|
8378
|
+
|
8331
8379
|
# A list of service accounts indicating the sets of instances that are applied
|
8332
8380
|
# with this rule.
|
8333
8381
|
# Corresponds to the JSON property `targetServiceAccounts`
|
@@ -8350,6 +8398,7 @@ module Google
|
|
8350
8398
|
@priority = args[:priority] if args.key?(:priority)
|
8351
8399
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
8352
8400
|
@target_resources = args[:target_resources] if args.key?(:target_resources)
|
8401
|
+
@target_secure_tags = args[:target_secure_tags] if args.key?(:target_secure_tags)
|
8353
8402
|
@target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
|
8354
8403
|
end
|
8355
8404
|
end
|
@@ -8375,6 +8424,14 @@ module Google
|
|
8375
8424
|
# @return [Array<String>]
|
8376
8425
|
attr_accessor :src_ip_ranges
|
8377
8426
|
|
8427
|
+
# List of secure tag values, which should be matched at the source of the
|
8428
|
+
# traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there
|
8429
|
+
# is no srcIpRange, this rule will be ignored. Maximum number of source tag
|
8430
|
+
# values allowed is 256.
|
8431
|
+
# Corresponds to the JSON property `srcSecureTags`
|
8432
|
+
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRuleSecureTag>]
|
8433
|
+
attr_accessor :src_secure_tags
|
8434
|
+
|
8378
8435
|
def initialize(**args)
|
8379
8436
|
update!(**args)
|
8380
8437
|
end
|
@@ -8384,6 +8441,7 @@ module Google
|
|
8384
8441
|
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
8385
8442
|
@layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
|
8386
8443
|
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
8444
|
+
@src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
|
8387
8445
|
end
|
8388
8446
|
end
|
8389
8447
|
|
@@ -8418,6 +8476,32 @@ module Google
|
|
8418
8476
|
end
|
8419
8477
|
end
|
8420
8478
|
|
8479
|
+
#
|
8480
|
+
class FirewallPolicyRuleSecureTag
|
8481
|
+
include Google::Apis::Core::Hashable
|
8482
|
+
|
8483
|
+
# Name of the secure tag, created with TagManager's TagValue API.
|
8484
|
+
# Corresponds to the JSON property `name`
|
8485
|
+
# @return [String]
|
8486
|
+
attr_accessor :name
|
8487
|
+
|
8488
|
+
# [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A
|
8489
|
+
# secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
|
8490
|
+
# Corresponds to the JSON property `state`
|
8491
|
+
# @return [String]
|
8492
|
+
attr_accessor :state
|
8493
|
+
|
8494
|
+
def initialize(**args)
|
8495
|
+
update!(**args)
|
8496
|
+
end
|
8497
|
+
|
8498
|
+
# Update properties of this object
|
8499
|
+
def update!(**args)
|
8500
|
+
@name = args[:name] if args.key?(:name)
|
8501
|
+
@state = args[:state] if args.key?(:state)
|
8502
|
+
end
|
8503
|
+
end
|
8504
|
+
|
8421
8505
|
# Encapsulates numeric value that can be either absolute or relative.
|
8422
8506
|
class FixedOrPercent
|
8423
8507
|
include Google::Apis::Core::Hashable
|
@@ -9526,8 +9610,8 @@ module Google
|
|
9526
9610
|
# The ID of a supported feature. To add multiple values, use commas to separate
|
9527
9611
|
# values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
|
9528
9612
|
# WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - SECURE_BOOT - GVNIC -
|
9529
|
-
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE For more information,
|
9530
|
-
# guest operating system features.
|
9613
|
+
# SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information,
|
9614
|
+
# see Enabling guest operating system features.
|
9531
9615
|
# Corresponds to the JSON property `type`
|
9532
9616
|
# @return [String]
|
9533
9617
|
attr_accessor :type
|
@@ -12603,6 +12687,11 @@ module Google
|
|
12603
12687
|
# @return [Google::Apis::ComputeBeta::NetworkPerformanceConfig]
|
12604
12688
|
attr_accessor :network_performance_config
|
12605
12689
|
|
12690
|
+
# Additional instance params.
|
12691
|
+
# Corresponds to the JSON property `params`
|
12692
|
+
# @return [Google::Apis::ComputeBeta::InstanceParams]
|
12693
|
+
attr_accessor :params
|
12694
|
+
|
12606
12695
|
# PostKeyRevocationActionType of the instance.
|
12607
12696
|
# Corresponds to the JSON property `postKeyRevocationActionType`
|
12608
12697
|
# @return [String]
|
@@ -12746,6 +12835,7 @@ module Google
|
|
12746
12835
|
@name = args[:name] if args.key?(:name)
|
12747
12836
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
12748
12837
|
@network_performance_config = args[:network_performance_config] if args.key?(:network_performance_config)
|
12838
|
+
@params = args[:params] if args.key?(:params)
|
12749
12839
|
@post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
|
12750
12840
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
12751
12841
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
@@ -12943,8 +13033,8 @@ module Google
|
|
12943
13033
|
# Assigns a name to a port number. For example: `name: "http", port: 80` This
|
12944
13034
|
# allows the system to reference ports by the assigned name instead of a port
|
12945
13035
|
# number. Named ports can also contain multiple ports. For example: [`name: "
|
12946
|
-
#
|
12947
|
-
# instances in this instance group.
|
13036
|
+
# app1", port: 8080`, `name: "app1", port: 8081`, `name: "app2", port: 8082`]
|
13037
|
+
# Named ports apply to all instances in this instance group.
|
12948
13038
|
# Corresponds to the JSON property `namedPorts`
|
12949
13039
|
# @return [Array<Google::Apis::ComputeBeta::NamedPort>]
|
12950
13040
|
attr_accessor :named_ports
|
@@ -13510,6 +13600,30 @@ module Google
|
|
13510
13600
|
# @return [Fixnum]
|
13511
13601
|
attr_accessor :restarting
|
13512
13602
|
|
13603
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13604
|
+
# scheduled to be resumed or are currently being resumed.
|
13605
|
+
# Corresponds to the JSON property `resuming`
|
13606
|
+
# @return [Fixnum]
|
13607
|
+
attr_accessor :resuming
|
13608
|
+
|
13609
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13610
|
+
# scheduled to be started or are currently being started.
|
13611
|
+
# Corresponds to the JSON property `starting`
|
13612
|
+
# @return [Fixnum]
|
13613
|
+
attr_accessor :starting
|
13614
|
+
|
13615
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13616
|
+
# scheduled to be stopped or are currently being stopped.
|
13617
|
+
# Corresponds to the JSON property `stopping`
|
13618
|
+
# @return [Fixnum]
|
13619
|
+
attr_accessor :stopping
|
13620
|
+
|
13621
|
+
# [Output Only] The number of instances in the managed instance group that are
|
13622
|
+
# scheduled to be suspended or are currently being suspended.
|
13623
|
+
# Corresponds to the JSON property `suspending`
|
13624
|
+
# @return [Fixnum]
|
13625
|
+
attr_accessor :suspending
|
13626
|
+
|
13513
13627
|
# [Output Only] The number of instances in the managed instance group that are
|
13514
13628
|
# being verified. See the managedInstances[].currentAction property in the
|
13515
13629
|
# listManagedInstances method documentation.
|
@@ -13531,6 +13645,10 @@ module Google
|
|
13531
13645
|
@recreating = args[:recreating] if args.key?(:recreating)
|
13532
13646
|
@refreshing = args[:refreshing] if args.key?(:refreshing)
|
13533
13647
|
@restarting = args[:restarting] if args.key?(:restarting)
|
13648
|
+
@resuming = args[:resuming] if args.key?(:resuming)
|
13649
|
+
@starting = args[:starting] if args.key?(:starting)
|
13650
|
+
@stopping = args[:stopping] if args.key?(:stopping)
|
13651
|
+
@suspending = args[:suspending] if args.key?(:suspending)
|
13534
13652
|
@verifying = args[:verifying] if args.key?(:verifying)
|
13535
13653
|
end
|
13536
13654
|
end
|
@@ -15289,6 +15407,28 @@ module Google
|
|
15289
15407
|
end
|
15290
15408
|
end
|
15291
15409
|
|
15410
|
+
# Additional instance params.
|
15411
|
+
class InstanceParams
|
15412
|
+
include Google::Apis::Core::Hashable
|
15413
|
+
|
15414
|
+
# Resource manager tags to be bound to the instance. Tag keys and values have
|
15415
|
+
# the same definition as resource manager tags. Keys must be in the format `
|
15416
|
+
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
15417
|
+
# is ignored (both PUT & PATCH) when empty.
|
15418
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
15419
|
+
# @return [Hash<String,String>]
|
15420
|
+
attr_accessor :resource_manager_tags
|
15421
|
+
|
15422
|
+
def initialize(**args)
|
15423
|
+
update!(**args)
|
15424
|
+
end
|
15425
|
+
|
15426
|
+
# Update properties of this object
|
15427
|
+
def update!(**args)
|
15428
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
15429
|
+
end
|
15430
|
+
end
|
15431
|
+
|
15292
15432
|
#
|
15293
15433
|
class InstanceProperties
|
15294
15434
|
include Google::Apis::Core::Hashable
|
@@ -15392,7 +15532,15 @@ module Google
|
|
15392
15532
|
# @return [Google::Apis::ComputeBeta::ReservationAffinity]
|
15393
15533
|
attr_accessor :reservation_affinity
|
15394
15534
|
|
15395
|
-
# Resource
|
15535
|
+
# Resource manager tags to be bound to the instance. Tag keys and values have
|
15536
|
+
# the same definition as resource manager tags. Keys must be in the format `
|
15537
|
+
# tagKeys/`tag_key_id``, and values are in the format `tagValues/456`. The field
|
15538
|
+
# is ignored (both PUT & PATCH) when empty.
|
15539
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
15540
|
+
# @return [Hash<String,String>]
|
15541
|
+
attr_accessor :resource_manager_tags
|
15542
|
+
|
15543
|
+
# Resource policies (names, not URLs) applied to instances created from these
|
15396
15544
|
# properties. Note that for MachineImage, this is not supported yet.
|
15397
15545
|
# Corresponds to the JSON property `resourcePolicies`
|
15398
15546
|
# @return [Array<String>]
|
@@ -15448,6 +15596,7 @@ module Google
|
|
15448
15596
|
@post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
|
15449
15597
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
15450
15598
|
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
15599
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
15451
15600
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
15452
15601
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
15453
15602
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
@@ -15783,7 +15932,8 @@ module Google
|
|
15783
15932
|
# @return [String]
|
15784
15933
|
attr_accessor :short_name
|
15785
15934
|
|
15786
|
-
# [Output Only] The type of the firewall policy.
|
15935
|
+
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
15936
|
+
# NETWORK, NETWORK_REGIONAL.
|
15787
15937
|
# Corresponds to the JSON property `type`
|
15788
15938
|
# @return [String]
|
15789
15939
|
attr_accessor :type
|
@@ -16402,6 +16552,17 @@ module Google
|
|
16402
16552
|
# @return [String]
|
16403
16553
|
attr_accessor :bandwidth
|
16404
16554
|
|
16555
|
+
# Up to 16 candidate prefixes that control the allocation of
|
16556
|
+
# cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each
|
16557
|
+
# prefix must be in the Global Unique Address (GUA) space. It is highly
|
16558
|
+
# recommended that it be in a range owned by the requestor. A GUA in a range
|
16559
|
+
# owned by Google will cause the request to fail. Google will select an
|
16560
|
+
# available prefix from the supplied candidates or fail the request. If not
|
16561
|
+
# supplied, a /125 from a Google-owned GUA block will be selected.
|
16562
|
+
# Corresponds to the JSON property `candidateIpv6Subnets`
|
16563
|
+
# @return [Array<String>]
|
16564
|
+
attr_accessor :candidate_ipv6_subnets
|
16565
|
+
|
16405
16566
|
# Up to 16 candidate prefixes that can be used to restrict the allocation of
|
16406
16567
|
# cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
|
16407
16568
|
# prefixes must be within link-local address space (169.254.0.0/16) and must be /
|
@@ -16419,6 +16580,20 @@ module Google
|
|
16419
16580
|
# @return [String]
|
16420
16581
|
attr_accessor :cloud_router_ip_address
|
16421
16582
|
|
16583
|
+
# [Output Only] IPv6 address + prefix length to be configured on Cloud Router
|
16584
|
+
# Interface for this interconnect attachment.
|
16585
|
+
# Corresponds to the JSON property `cloudRouterIpv6Address`
|
16586
|
+
# @return [String]
|
16587
|
+
attr_accessor :cloud_router_ipv6_address
|
16588
|
+
|
16589
|
+
# If supplied, the interface id (index within the subnet) to be used for the
|
16590
|
+
# cloud router address. The id must be in the range of 1 to 6. If a subnet mask
|
16591
|
+
# is supplied, it must be /125, and the subnet should either be 0 or match the
|
16592
|
+
# selected subnet.
|
16593
|
+
# Corresponds to the JSON property `cloudRouterIpv6InterfaceId`
|
16594
|
+
# @return [String]
|
16595
|
+
attr_accessor :cloud_router_ipv6_interface_id
|
16596
|
+
|
16422
16597
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
16423
16598
|
# Corresponds to the JSON property `creationTimestamp`
|
16424
16599
|
# @return [String]
|
@@ -16430,10 +16605,23 @@ module Google
|
|
16430
16605
|
# @return [String]
|
16431
16606
|
attr_accessor :customer_router_ip_address
|
16432
16607
|
|
16433
|
-
# [Output
|
16434
|
-
#
|
16435
|
-
#
|
16436
|
-
#
|
16608
|
+
# [Output Only] IPv6 address + prefix length to be configured on the customer
|
16609
|
+
# router subinterface for this interconnect attachment.
|
16610
|
+
# Corresponds to the JSON property `customerRouterIpv6Address`
|
16611
|
+
# @return [String]
|
16612
|
+
attr_accessor :customer_router_ipv6_address
|
16613
|
+
|
16614
|
+
# If supplied, the interface id (index within the subnet) to be used for the
|
16615
|
+
# customer router address. The id must be in the range of 1 to 6. If a subnet
|
16616
|
+
# mask is supplied, it must be /125, and the subnet should either be 0 or match
|
16617
|
+
# the selected subnet.
|
16618
|
+
# Corresponds to the JSON property `customerRouterIpv6InterfaceId`
|
16619
|
+
# @return [String]
|
16620
|
+
attr_accessor :customer_router_ipv6_interface_id
|
16621
|
+
|
16622
|
+
# [Output Only] Dataplane version for this InterconnectAttachment. This field is
|
16623
|
+
# only present for Dataplane version 2 and higher. Absence of this field in the
|
16624
|
+
# API output indicates that the Dataplane is version 1.
|
16437
16625
|
# Corresponds to the JSON property `dataplaneVersion`
|
16438
16626
|
# @return [Fixnum]
|
16439
16627
|
attr_accessor :dataplane_version
|
@@ -16611,6 +16799,14 @@ module Google
|
|
16611
16799
|
# @return [String]
|
16612
16800
|
attr_accessor :self_link
|
16613
16801
|
|
16802
|
+
# The stack type for this interconnect attachment to identify whether the IPv6
|
16803
|
+
# feature is enabled or not. If not specified, IPV4_ONLY will be used. This
|
16804
|
+
# field can be both set at interconnect attachments creation and update
|
16805
|
+
# interconnect attachment operations.
|
16806
|
+
# Corresponds to the JSON property `stackType`
|
16807
|
+
# @return [String]
|
16808
|
+
attr_accessor :stack_type
|
16809
|
+
|
16614
16810
|
# [Output Only] The current state of this attachment's functionality. Enum
|
16615
16811
|
# values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and
|
16616
16812
|
# PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER,
|
@@ -16653,10 +16849,15 @@ module Google
|
|
16653
16849
|
def update!(**args)
|
16654
16850
|
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
16655
16851
|
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
16852
|
+
@candidate_ipv6_subnets = args[:candidate_ipv6_subnets] if args.key?(:candidate_ipv6_subnets)
|
16656
16853
|
@candidate_subnets = args[:candidate_subnets] if args.key?(:candidate_subnets)
|
16657
16854
|
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
|
16855
|
+
@cloud_router_ipv6_address = args[:cloud_router_ipv6_address] if args.key?(:cloud_router_ipv6_address)
|
16856
|
+
@cloud_router_ipv6_interface_id = args[:cloud_router_ipv6_interface_id] if args.key?(:cloud_router_ipv6_interface_id)
|
16658
16857
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
16659
16858
|
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
16859
|
+
@customer_router_ipv6_address = args[:customer_router_ipv6_address] if args.key?(:customer_router_ipv6_address)
|
16860
|
+
@customer_router_ipv6_interface_id = args[:customer_router_ipv6_interface_id] if args.key?(:customer_router_ipv6_interface_id)
|
16660
16861
|
@dataplane_version = args[:dataplane_version] if args.key?(:dataplane_version)
|
16661
16862
|
@description = args[:description] if args.key?(:description)
|
16662
16863
|
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
@@ -16679,6 +16880,7 @@ module Google
|
|
16679
16880
|
@router = args[:router] if args.key?(:router)
|
16680
16881
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
16681
16882
|
@self_link = args[:self_link] if args.key?(:self_link)
|
16883
|
+
@stack_type = args[:stack_type] if args.key?(:stack_type)
|
16682
16884
|
@state = args[:state] if args.key?(:state)
|
16683
16885
|
@type = args[:type] if args.key?(:type)
|
16684
16886
|
@vlan_tag8021q = args[:vlan_tag8021q] if args.key?(:vlan_tag8021q)
|
@@ -18200,7 +18402,7 @@ module Google
|
|
18200
18402
|
class LocationPolicyLocation
|
18201
18403
|
include Google::Apis::Core::Hashable
|
18202
18404
|
|
18203
|
-
# Preference for a given location
|
18405
|
+
# Preference for a given location.
|
18204
18406
|
# Corresponds to the JSON property `preference`
|
18205
18407
|
# @return [String]
|
18206
18408
|
attr_accessor :preference
|
@@ -19489,6 +19691,13 @@ module Google
|
|
19489
19691
|
# @return [String]
|
19490
19692
|
attr_accessor :description
|
19491
19693
|
|
19694
|
+
# Enable ULA internal ipv6 on this network. Enabling this feature will assign a /
|
19695
|
+
# 48 from google defined ULA prefix fd20::/20. .
|
19696
|
+
# Corresponds to the JSON property `enableUlaInternalIpv6`
|
19697
|
+
# @return [Boolean]
|
19698
|
+
attr_accessor :enable_ula_internal_ipv6
|
19699
|
+
alias_method :enable_ula_internal_ipv6?, :enable_ula_internal_ipv6
|
19700
|
+
|
19492
19701
|
# [Output Only] The gateway address for default routing out of the network,
|
19493
19702
|
# selected by GCP.
|
19494
19703
|
# Corresponds to the JSON property `gatewayIPv4`
|
@@ -19501,6 +19710,16 @@ module Google
|
|
19501
19710
|
# @return [Fixnum]
|
19502
19711
|
attr_accessor :id
|
19503
19712
|
|
19713
|
+
# When enabling ula internal ipv6, caller optionally can specify the /48 range
|
19714
|
+
# they want from the google defined ULA prefix fd20::/20. The input must be a
|
19715
|
+
# valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will
|
19716
|
+
# fail if the speficied /48 is already in used by another resource. If the field
|
19717
|
+
# is not speficied, then a /48 range will be randomly allocated from fd20::/20
|
19718
|
+
# and returned via this field. .
|
19719
|
+
# Corresponds to the JSON property `internalIpv6Range`
|
19720
|
+
# @return [String]
|
19721
|
+
attr_accessor :internal_ipv6_range
|
19722
|
+
|
19504
19723
|
# [Output Only] Type of the resource. Always compute#network for networks.
|
19505
19724
|
# Corresponds to the JSON property `kind`
|
19506
19725
|
# @return [String]
|
@@ -19522,6 +19741,13 @@ module Google
|
|
19522
19741
|
# @return [String]
|
19523
19742
|
attr_accessor :name
|
19524
19743
|
|
19744
|
+
# The network firewall policy enforcement order. Can be either
|
19745
|
+
# AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to
|
19746
|
+
# AFTER_CLASSIC_FIREWALL if the field is not specified.
|
19747
|
+
# Corresponds to the JSON property `networkFirewallPolicyEnforcementOrder`
|
19748
|
+
# @return [String]
|
19749
|
+
attr_accessor :network_firewall_policy_enforcement_order
|
19750
|
+
|
19525
19751
|
# [Output Only] A list of network peerings for the resource.
|
19526
19752
|
# Corresponds to the JSON property `peerings`
|
19527
19753
|
# @return [Array<Google::Apis::ComputeBeta::NetworkPeering>]
|
@@ -19539,6 +19765,11 @@ module Google
|
|
19539
19765
|
# @return [String]
|
19540
19766
|
attr_accessor :self_link
|
19541
19767
|
|
19768
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
19769
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
19770
|
+
# @return [String]
|
19771
|
+
attr_accessor :self_link_with_id
|
19772
|
+
|
19542
19773
|
# [Output Only] Server-defined fully-qualified URLs for all subnetworks in this
|
19543
19774
|
# VPC network.
|
19544
19775
|
# Corresponds to the JSON property `subnetworks`
|
@@ -19555,14 +19786,18 @@ module Google
|
|
19555
19786
|
@auto_create_subnetworks = args[:auto_create_subnetworks] if args.key?(:auto_create_subnetworks)
|
19556
19787
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19557
19788
|
@description = args[:description] if args.key?(:description)
|
19789
|
+
@enable_ula_internal_ipv6 = args[:enable_ula_internal_ipv6] if args.key?(:enable_ula_internal_ipv6)
|
19558
19790
|
@gateway_i_pv4 = args[:gateway_i_pv4] if args.key?(:gateway_i_pv4)
|
19559
19791
|
@id = args[:id] if args.key?(:id)
|
19792
|
+
@internal_ipv6_range = args[:internal_ipv6_range] if args.key?(:internal_ipv6_range)
|
19560
19793
|
@kind = args[:kind] if args.key?(:kind)
|
19561
19794
|
@mtu = args[:mtu] if args.key?(:mtu)
|
19562
19795
|
@name = args[:name] if args.key?(:name)
|
19796
|
+
@network_firewall_policy_enforcement_order = args[:network_firewall_policy_enforcement_order] if args.key?(:network_firewall_policy_enforcement_order)
|
19563
19797
|
@peerings = args[:peerings] if args.key?(:peerings)
|
19564
19798
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
19565
19799
|
@self_link = args[:self_link] if args.key?(:self_link)
|
19800
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
19566
19801
|
@subnetworks = args[:subnetworks] if args.key?(:subnetworks)
|
19567
19802
|
end
|
19568
19803
|
end
|
@@ -19707,8 +19942,8 @@ module Google
|
|
19707
19942
|
attr_accessor :network
|
19708
19943
|
|
19709
19944
|
# Type of network endpoints in this network endpoint group. Can be one of
|
19710
|
-
# GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
|
19711
|
-
# SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
19945
|
+
# GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,
|
19946
|
+
# INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT.
|
19712
19947
|
# Corresponds to the JSON property `networkEndpointType`
|
19713
19948
|
# @return [String]
|
19714
19949
|
attr_accessor :network_endpoint_type
|
@@ -20003,13 +20238,13 @@ module Google
|
|
20003
20238
|
# @return [String]
|
20004
20239
|
attr_accessor :tag
|
20005
20240
|
|
20006
|
-
# A template to parse service and tag fields from a request URL. URL mask
|
20007
|
-
# for routing to multiple Run services without having to create multiple
|
20008
|
-
# endpoint groups and backend services. For example, request URLs "foo1.
|
20009
|
-
# com/bar1" and "foo1.domain.com/bar2" can be backed by the same
|
20010
|
-
# Network Endpoint Group (NEG) with URL mask "
|
20011
|
-
# parse them to ` service="bar1", tag="foo1" ` and `
|
20012
|
-
# respectively.
|
20241
|
+
# A template to parse <service> and <tag> fields from a request URL. URL mask
|
20242
|
+
# allows for routing to multiple Run services without having to create multiple
|
20243
|
+
# network endpoint groups and backend services. For example, request URLs "foo1.
|
20244
|
+
# domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same
|
20245
|
+
# Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<
|
20246
|
+
# service>". The URL mask will parse them to ` service="bar1", tag="foo1" ` and `
|
20247
|
+
# service="bar2", tag="foo2" ` respectively.
|
20013
20248
|
# Corresponds to the JSON property `urlMask`
|
20014
20249
|
# @return [String]
|
20015
20250
|
attr_accessor :url_mask
|
@@ -20581,6 +20816,11 @@ module Google
|
|
20581
20816
|
# @return [String]
|
20582
20817
|
attr_accessor :fingerprint
|
20583
20818
|
|
20819
|
+
# The prefix length of the primary internal IPv6 range.
|
20820
|
+
# Corresponds to the JSON property `internalIpv6PrefixLength`
|
20821
|
+
# @return [Fixnum]
|
20822
|
+
attr_accessor :internal_ipv6_prefix_length
|
20823
|
+
|
20584
20824
|
# An array of IPv6 access configurations for this interface. Currently, only one
|
20585
20825
|
# IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig
|
20586
20826
|
# specified, then this instance will have no external IPv6 Internet access.
|
@@ -20595,7 +20835,7 @@ module Google
|
|
20595
20835
|
# @return [String]
|
20596
20836
|
attr_accessor :ipv6_access_type
|
20597
20837
|
|
20598
|
-
#
|
20838
|
+
# An IPv6 internal network address for this network interface.
|
20599
20839
|
# Corresponds to the JSON property `ipv6Address`
|
20600
20840
|
# @return [String]
|
20601
20841
|
attr_accessor :ipv6_address
|
@@ -20672,6 +20912,7 @@ module Google
|
|
20672
20912
|
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
20673
20913
|
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
20674
20914
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
20915
|
+
@internal_ipv6_prefix_length = args[:internal_ipv6_prefix_length] if args.key?(:internal_ipv6_prefix_length)
|
20675
20916
|
@ipv6_access_configs = args[:ipv6_access_configs] if args.key?(:ipv6_access_configs)
|
20676
20917
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
20677
20918
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
@@ -27447,6 +27688,69 @@ module Google
|
|
27447
27688
|
end
|
27448
27689
|
end
|
27449
27690
|
|
27691
|
+
#
|
27692
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse
|
27693
|
+
include Google::Apis::Core::Hashable
|
27694
|
+
|
27695
|
+
# Effective firewalls from firewall policy.
|
27696
|
+
# Corresponds to the JSON property `firewallPolicys`
|
27697
|
+
# @return [Array<Google::Apis::ComputeBeta::RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>]
|
27698
|
+
attr_accessor :firewall_policys
|
27699
|
+
|
27700
|
+
# Effective firewalls on the network.
|
27701
|
+
# Corresponds to the JSON property `firewalls`
|
27702
|
+
# @return [Array<Google::Apis::ComputeBeta::Firewall>]
|
27703
|
+
attr_accessor :firewalls
|
27704
|
+
|
27705
|
+
def initialize(**args)
|
27706
|
+
update!(**args)
|
27707
|
+
end
|
27708
|
+
|
27709
|
+
# Update properties of this object
|
27710
|
+
def update!(**args)
|
27711
|
+
@firewall_policys = args[:firewall_policys] if args.key?(:firewall_policys)
|
27712
|
+
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
27713
|
+
end
|
27714
|
+
end
|
27715
|
+
|
27716
|
+
#
|
27717
|
+
class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
|
27718
|
+
include Google::Apis::Core::Hashable
|
27719
|
+
|
27720
|
+
# [Output Only] The display name of the firewall policy.
|
27721
|
+
# Corresponds to the JSON property `displayName`
|
27722
|
+
# @return [String]
|
27723
|
+
attr_accessor :display_name
|
27724
|
+
|
27725
|
+
# [Output Only] The name of the firewall policy.
|
27726
|
+
# Corresponds to the JSON property `name`
|
27727
|
+
# @return [String]
|
27728
|
+
attr_accessor :name
|
27729
|
+
|
27730
|
+
# The rules that apply to the network.
|
27731
|
+
# Corresponds to the JSON property `rules`
|
27732
|
+
# @return [Array<Google::Apis::ComputeBeta::FirewallPolicyRule>]
|
27733
|
+
attr_accessor :rules
|
27734
|
+
|
27735
|
+
# [Output Only] The type of the firewall policy. Can be one of HIERARCHY,
|
27736
|
+
# NETWORK, NETWORK_REGIONAL.
|
27737
|
+
# Corresponds to the JSON property `type`
|
27738
|
+
# @return [String]
|
27739
|
+
attr_accessor :type
|
27740
|
+
|
27741
|
+
def initialize(**args)
|
27742
|
+
update!(**args)
|
27743
|
+
end
|
27744
|
+
|
27745
|
+
# Update properties of this object
|
27746
|
+
def update!(**args)
|
27747
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
27748
|
+
@name = args[:name] if args.key?(:name)
|
27749
|
+
@rules = args[:rules] if args.key?(:rules)
|
27750
|
+
@type = args[:type] if args.key?(:type)
|
27751
|
+
end
|
27752
|
+
end
|
27753
|
+
|
27450
27754
|
#
|
27451
27755
|
class RegionSetLabelsRequest
|
27452
27756
|
include Google::Apis::Core::Hashable
|
@@ -28494,8 +28798,8 @@ module Google
|
|
28494
28798
|
class ResourcePolicyDailyCycle
|
28495
28799
|
include Google::Apis::Core::Hashable
|
28496
28800
|
|
28497
|
-
# Defines a schedule with units measured in
|
28498
|
-
#
|
28801
|
+
# Defines a schedule with units measured in days. The value determines how many
|
28802
|
+
# days pass between the start of each cycle.
|
28499
28803
|
# Corresponds to the JSON property `daysInCycle`
|
28500
28804
|
# @return [Fixnum]
|
28501
28805
|
attr_accessor :days_in_cycle
|
@@ -30528,7 +30832,8 @@ module Google
|
|
30528
30832
|
# @return [String]
|
30529
30833
|
attr_accessor :router_appliance_instance
|
30530
30834
|
|
30531
|
-
#
|
30835
|
+
# The state of the BGP session. For a list of possible values for this field,
|
30836
|
+
# see BGP session states.
|
30532
30837
|
# Corresponds to the JSON property `state`
|
30533
30838
|
# @return [String]
|
30534
30839
|
attr_accessor :state
|
@@ -31200,8 +31505,8 @@ module Google
|
|
31200
31505
|
|
31201
31506
|
# Defines the maintenance behavior for this instance. For standard instances,
|
31202
31507
|
# the default behavior is MIGRATE. For preemptible instances, the default and
|
31203
|
-
# only possible behavior is TERMINATE. For more information, see
|
31204
|
-
#
|
31508
|
+
# only possible behavior is TERMINATE. For more information, see Set VM
|
31509
|
+
# availability policies.
|
31205
31510
|
# Corresponds to the JSON property `onHostMaintenance`
|
31206
31511
|
# @return [String]
|
31207
31512
|
attr_accessor :on_host_maintenance
|
@@ -31467,10 +31772,10 @@ module Google
|
|
31467
31772
|
# @return [String]
|
31468
31773
|
attr_accessor :self_link_with_id
|
31469
31774
|
|
31470
|
-
# The type indicates the intended use of the security policy. CLOUD_ARMOR
|
31775
|
+
# The type indicates the intended use of the security policy. - CLOUD_ARMOR:
|
31471
31776
|
# Cloud Armor backend security policies can be configured to filter incoming
|
31472
31777
|
# HTTP requests targeting backend services. They filter requests before they hit
|
31473
|
-
# the origin servers. CLOUD_ARMOR_EDGE
|
31778
|
+
# the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can
|
31474
31779
|
# be configured to filter incoming HTTP requests targeting backend services (
|
31475
31780
|
# including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They
|
31476
31781
|
# filter requests before the request is served from Google's cache.
|
@@ -32099,10 +32404,11 @@ module Google
|
|
32099
32404
|
# present in the request, the key type defaults to ALL. - XFF_IP: The first IP
|
32100
32405
|
# address (i.e. the originating client IP address) specified in the list of IPs
|
32101
32406
|
# under X-Forwarded-For HTTP header. If no such header is present or the value
|
32102
|
-
# is not a valid IP, the key
|
32103
|
-
# the HTTP cookie whose name is
|
32104
|
-
#
|
32105
|
-
#
|
32407
|
+
# is not a valid IP, the key defaults to the source IP address of the request i.
|
32408
|
+
# e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
|
32409
|
+
# configured under "enforce_on_key_name". The key value is truncated to the
|
32410
|
+
# first 128 bytes of the cookie value. If no such cookie is present in the
|
32411
|
+
# request, the key type defaults to ALL.
|
32106
32412
|
# Corresponds to the JSON property `enforceOnKey`
|
32107
32413
|
# @return [String]
|
32108
32414
|
attr_accessor :enforce_on_key
|
@@ -32116,9 +32422,9 @@ module Google
|
|
32116
32422
|
|
32117
32423
|
# Action to take for requests that are above the configured rate limit threshold,
|
32118
32424
|
# to either deny with a specified HTTP response code, or redirect to a
|
32119
|
-
# different endpoint. Valid options are "deny()" where valid values for
|
32120
|
-
# are 403, 404, 429, and 502, and "redirect" where the redirect
|
32121
|
-
# from
|
32425
|
+
# different endpoint. Valid options are "deny(status)", where valid values for
|
32426
|
+
# status are 403, 404, 429, and 502, and "redirect" where the redirect
|
32427
|
+
# parameters come from exceedRedirectOptions below.
|
32122
32428
|
# Corresponds to the JSON property `exceedAction`
|
32123
32429
|
# @return [String]
|
32124
32430
|
attr_accessor :exceed_action
|
@@ -32385,6 +32691,13 @@ module Google
|
|
32385
32691
|
# @return [String]
|
32386
32692
|
attr_accessor :description
|
32387
32693
|
|
32694
|
+
# If specified, the domain name will be used during the integration between the
|
32695
|
+
# PSC connected endpoints and the Cloud DNS. For example, this is a valid domain
|
32696
|
+
# name: "p.mycompany.com.". Current max number of domain names supported is 1.
|
32697
|
+
# Corresponds to the JSON property `domainNames`
|
32698
|
+
# @return [Array<String>]
|
32699
|
+
attr_accessor :domain_names
|
32700
|
+
|
32388
32701
|
# If true, enable the proxy protocol which is for supplying client TCP/IP
|
32389
32702
|
# address data in TCP connections that traverse proxies on their way to
|
32390
32703
|
# destination servers.
|
@@ -32473,6 +32786,7 @@ module Google
|
|
32473
32786
|
@consumer_reject_lists = args[:consumer_reject_lists] if args.key?(:consumer_reject_lists)
|
32474
32787
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
32475
32788
|
@description = args[:description] if args.key?(:description)
|
32789
|
+
@domain_names = args[:domain_names] if args.key?(:domain_names)
|
32476
32790
|
@enable_proxy_protocol = args[:enable_proxy_protocol] if args.key?(:enable_proxy_protocol)
|
32477
32791
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
32478
32792
|
@id = args[:id] if args.key?(:id)
|
@@ -34711,6 +35025,13 @@ module Google
|
|
34711
35025
|
# @return [Fixnum]
|
34712
35026
|
attr_accessor :id
|
34713
35027
|
|
35028
|
+
# [Output Only] The range of internal IPv6 addresses that are owned by this
|
35029
|
+
# subnetwork. Note this is for general VM to VM communication, not to be
|
35030
|
+
# confused with the ipv6_cidr_range field.
|
35031
|
+
# Corresponds to the JSON property `internalIpv6Prefix`
|
35032
|
+
# @return [String]
|
35033
|
+
attr_accessor :internal_ipv6_prefix
|
35034
|
+
|
34714
35035
|
# The range of internal addresses that are owned by this subnetwork. Provide
|
34715
35036
|
# this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.
|
34716
35037
|
# 64.0.0/10. Ranges must be unique and non-overlapping within a network. Only
|
@@ -34730,7 +35051,7 @@ module Google
|
|
34730
35051
|
attr_accessor :ipv6_access_type
|
34731
35052
|
|
34732
35053
|
# [Output Only] The range of internal IPv6 addresses that are owned by this
|
34733
|
-
# subnetwork.
|
35054
|
+
# subnetwork. Note this will be for private google access only eventually.
|
34734
35055
|
# Corresponds to the JSON property `ipv6CidrRange`
|
34735
35056
|
# @return [String]
|
34736
35057
|
attr_accessor :ipv6_cidr_range
|
@@ -34849,6 +35170,7 @@ module Google
|
|
34849
35170
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
34850
35171
|
@gateway_address = args[:gateway_address] if args.key?(:gateway_address)
|
34851
35172
|
@id = args[:id] if args.key?(:id)
|
35173
|
+
@internal_ipv6_prefix = args[:internal_ipv6_prefix] if args.key?(:internal_ipv6_prefix)
|
34852
35174
|
@ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
|
34853
35175
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
34854
35176
|
@ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
|
@@ -35131,8 +35453,9 @@ module Google
|
|
35131
35453
|
attr_accessor :enable
|
35132
35454
|
alias_method :enable?, :enable
|
35133
35455
|
|
35134
|
-
# Can only be specified if VPC flow logs for this subnetwork is enabled.
|
35135
|
-
# filter used to define which VPC flow logs should be
|
35456
|
+
# Can only be specified if VPC flow logs for this subnetwork is enabled. The
|
35457
|
+
# filter expression is used to define which VPC flow logs should be exported to
|
35458
|
+
# Cloud Logging.
|
35136
35459
|
# Corresponds to the JSON property `filterExpr`
|
35137
35460
|
# @return [String]
|
35138
35461
|
attr_accessor :filter_expr
|