google-apis-compute_v1 0.47.0 → 0.50.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 +12 -0
- data/lib/google/apis/compute_v1/classes.rb +359 -81
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +105 -0
- data/lib/google/apis/compute_v1/service.rb +1156 -325
- metadata +3 -3
@@ -635,12 +635,12 @@ module Google
|
|
635
635
|
# - NAT_AUTO for the regional external IP addresses used by Cloud NAT when
|
636
636
|
# allocating addresses using automatic NAT IP address allocation. -
|
637
637
|
# IPSEC_INTERCONNECT for addresses created from a private IP range that are
|
638
|
-
# reserved for a VLAN attachment in an *
|
639
|
-
# configuration. These addresses are regional resources.
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
638
|
+
# reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect*
|
639
|
+
# configuration. These addresses are regional resources. - `
|
640
|
+
# SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to
|
641
|
+
# multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private
|
642
|
+
# network address that is used to configure Private Service Connect. Only global
|
643
|
+
# internal addresses can use this purpose.
|
644
644
|
# Corresponds to the JSON property `purpose`
|
645
645
|
# @return [String]
|
646
646
|
attr_accessor :purpose
|
@@ -1064,6 +1064,14 @@ module Google
|
|
1064
1064
|
# @return [Fixnum]
|
1065
1065
|
attr_accessor :threads_per_core
|
1066
1066
|
|
1067
|
+
# The number of physical cores to expose to an instance. Multiply by the number
|
1068
|
+
# of threads per core to compute the total number of virtual CPUs to expose to
|
1069
|
+
# the instance. If unset, the number of cores is inferred from the instance's
|
1070
|
+
# nominal CPU count and the underlying platform's SMT width.
|
1071
|
+
# Corresponds to the JSON property `visibleCoreCount`
|
1072
|
+
# @return [Fixnum]
|
1073
|
+
attr_accessor :visible_core_count
|
1074
|
+
|
1067
1075
|
def initialize(**args)
|
1068
1076
|
update!(**args)
|
1069
1077
|
end
|
@@ -1073,6 +1081,7 @@ module Google
|
|
1073
1081
|
@enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
|
1074
1082
|
@enable_uefi_networking = args[:enable_uefi_networking] if args.key?(:enable_uefi_networking)
|
1075
1083
|
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
1084
|
+
@visible_core_count = args[:visible_core_count] if args.key?(:visible_core_count)
|
1076
1085
|
end
|
1077
1086
|
end
|
1078
1087
|
|
@@ -1274,6 +1283,14 @@ module Google
|
|
1274
1283
|
# @return [Fixnum]
|
1275
1284
|
attr_accessor :disk_size_gb
|
1276
1285
|
|
1286
|
+
# [Input Only] Whether to force attach the regional disk even if it's currently
|
1287
|
+
# attached to another instance. If you try to force attach a zonal disk to an
|
1288
|
+
# instance, you will receive an error.
|
1289
|
+
# Corresponds to the JSON property `forceAttach`
|
1290
|
+
# @return [Boolean]
|
1291
|
+
attr_accessor :force_attach
|
1292
|
+
alias_method :force_attach?, :force_attach
|
1293
|
+
|
1277
1294
|
# A list of features to enable on the guest operating system. Applicable only
|
1278
1295
|
# for bootable images. Read Enabling guest operating system features to see a
|
1279
1296
|
# list of available options.
|
@@ -1299,10 +1316,9 @@ module Google
|
|
1299
1316
|
attr_accessor :initialize_params
|
1300
1317
|
|
1301
1318
|
# Specifies the disk interface to use for attaching this disk, which is either
|
1302
|
-
# SCSI or NVME.
|
1303
|
-
#
|
1304
|
-
#
|
1305
|
-
# characteristics of SCSI over NVMe, see Local SSD performance.
|
1319
|
+
# SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use
|
1320
|
+
# either NVME or SCSI. In certain configurations, persistent disks can use NVMe.
|
1321
|
+
# For more information, see About persistent disks.
|
1306
1322
|
# Corresponds to the JSON property `interface`
|
1307
1323
|
# @return [String]
|
1308
1324
|
attr_accessor :interface
|
@@ -1359,6 +1375,7 @@ module Google
|
|
1359
1375
|
@device_name = args[:device_name] if args.key?(:device_name)
|
1360
1376
|
@disk_encryption_key = args[:disk_encryption_key] if args.key?(:disk_encryption_key)
|
1361
1377
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1378
|
+
@force_attach = args[:force_attach] if args.key?(:force_attach)
|
1362
1379
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1363
1380
|
@index = args[:index] if args.key?(:index)
|
1364
1381
|
@initialize_params = args[:initialize_params] if args.key?(:initialize_params)
|
@@ -2593,6 +2610,12 @@ module Google
|
|
2593
2610
|
# @return [Google::Apis::ComputeV1::BackendBucketCdnPolicy]
|
2594
2611
|
attr_accessor :cdn_policy
|
2595
2612
|
|
2613
|
+
# Compress text responses using Brotli or gzip compression, based on the client'
|
2614
|
+
# s Accept-Encoding header.
|
2615
|
+
# Corresponds to the JSON property `compressionMode`
|
2616
|
+
# @return [String]
|
2617
|
+
attr_accessor :compression_mode
|
2618
|
+
|
2596
2619
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
2597
2620
|
# Corresponds to the JSON property `creationTimestamp`
|
2598
2621
|
# @return [String]
|
@@ -2654,6 +2677,7 @@ module Google
|
|
2654
2677
|
def update!(**args)
|
2655
2678
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
2656
2679
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
2680
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
2657
2681
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
2658
2682
|
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
2659
2683
|
@description = args[:description] if args.key?(:description)
|
@@ -3058,6 +3082,12 @@ module Google
|
|
3058
3082
|
# @return [Google::Apis::ComputeV1::CircuitBreakers]
|
3059
3083
|
attr_accessor :circuit_breakers
|
3060
3084
|
|
3085
|
+
# Compress text responses using Brotli or gzip compression, based on the client'
|
3086
|
+
# s Accept-Encoding header.
|
3087
|
+
# Corresponds to the JSON property `compressionMode`
|
3088
|
+
# @return [String]
|
3089
|
+
attr_accessor :compression_mode
|
3090
|
+
|
3061
3091
|
# Message containing connection draining configuration.
|
3062
3092
|
# Corresponds to the JSON property `connectionDraining`
|
3063
3093
|
# @return [Google::Apis::ComputeV1::ConnectionDraining]
|
@@ -3337,6 +3367,7 @@ module Google
|
|
3337
3367
|
@backends = args[:backends] if args.key?(:backends)
|
3338
3368
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
3339
3369
|
@circuit_breakers = args[:circuit_breakers] if args.key?(:circuit_breakers)
|
3370
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
3340
3371
|
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
|
3341
3372
|
@connection_tracking_policy = args[:connection_tracking_policy] if args.key?(:connection_tracking_policy)
|
3342
3373
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
@@ -4107,8 +4138,8 @@ module Google
|
|
4107
4138
|
class BackendServiceLogConfig
|
4108
4139
|
include Google::Apis::Core::Hashable
|
4109
4140
|
|
4110
|
-
#
|
4111
|
-
#
|
4141
|
+
# Denotes whether to enable logging for the load balancer traffic served by this
|
4142
|
+
# backend service. The default value is false.
|
4112
4143
|
# Corresponds to the JSON property `enable`
|
4113
4144
|
# @return [Boolean]
|
4114
4145
|
attr_accessor :enable
|
@@ -4118,7 +4149,7 @@ module Google
|
|
4118
4149
|
# service. The value of the field must be in [0, 1]. This configures the
|
4119
4150
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
4120
4151
|
# requests are reported and 0.0 means no logged requests are reported. The
|
4121
|
-
# default value is
|
4152
|
+
# default value is 1.0.
|
4122
4153
|
# Corresponds to the JSON property `sampleRate`
|
4123
4154
|
# @return [Float]
|
4124
4155
|
attr_accessor :sample_rate
|
@@ -4525,31 +4556,33 @@ module Google
|
|
4525
4556
|
# members` can have the following values: * `allUsers`: A special identifier
|
4526
4557
|
# that represents anyone who is on the internet; with or without a Google
|
4527
4558
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
4528
|
-
# anyone who is authenticated with a Google account or a service account.
|
4529
|
-
#
|
4530
|
-
#
|
4531
|
-
#
|
4532
|
-
#
|
4533
|
-
#
|
4534
|
-
#
|
4535
|
-
#
|
4536
|
-
# .
|
4537
|
-
#
|
4538
|
-
# email address
|
4539
|
-
#
|
4540
|
-
#
|
4541
|
-
#
|
4542
|
-
# emailid
|
4543
|
-
#
|
4544
|
-
#
|
4545
|
-
#
|
4546
|
-
#
|
4547
|
-
#
|
4548
|
-
#
|
4549
|
-
#
|
4550
|
-
#
|
4551
|
-
#
|
4552
|
-
#
|
4559
|
+
# anyone who is authenticated with a Google account or a service account. Does
|
4560
|
+
# not include identities that come from external identity providers (IdPs)
|
4561
|
+
# through identity federation. * `user:`emailid``: An email address that
|
4562
|
+
# represents a specific Google account. For example, `alice@example.com` . * `
|
4563
|
+
# serviceAccount:`emailid``: An email address that represents a Google service
|
4564
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`. * `
|
4565
|
+
# serviceAccount:`projectid`.svc.id.goog[`namespace`/`kubernetes-sa`]`: An
|
4566
|
+
# identifier for a [Kubernetes service account](https://cloud.google.com/
|
4567
|
+
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
4568
|
+
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
4569
|
+
# email address that represents a Google group. For example, `admins@example.com`
|
4570
|
+
# . * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
4571
|
+
# identifier) representing a user that has been recently deleted. For example, `
|
4572
|
+
# alice@example.com?uid=123456789012345678901`. If the user is recovered, this
|
4573
|
+
# value reverts to `user:`emailid`` and the recovered user retains the role in
|
4574
|
+
# the binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email
|
4575
|
+
# address (plus unique identifier) representing a service account that has been
|
4576
|
+
# recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
4577
|
+
# 123456789012345678901`. If the service account is undeleted, this value
|
4578
|
+
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
4579
|
+
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
4580
|
+
# An email address (plus unique identifier) representing a Google group that has
|
4581
|
+
# been recently deleted. For example, `admins@example.com?uid=
|
4582
|
+
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
4583
|
+
# group:`emailid`` and the recovered group retains the role in the binding. * `
|
4584
|
+
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
4585
|
+
# of that domain. For example, `google.com` or `example.com`.
|
4553
4586
|
# Corresponds to the JSON property `members`
|
4554
4587
|
# @return [Array<String>]
|
4555
4588
|
attr_accessor :members
|
@@ -4885,6 +4918,11 @@ module Google
|
|
4885
4918
|
# @return [Google::Apis::ComputeV1::LicenseResourceCommitment]
|
4886
4919
|
attr_accessor :license_resource
|
4887
4920
|
|
4921
|
+
# List of source commitments to be merged into a new commitment.
|
4922
|
+
# Corresponds to the JSON property `mergeSourceCommitments`
|
4923
|
+
# @return [Array<String>]
|
4924
|
+
attr_accessor :merge_source_commitments
|
4925
|
+
|
4888
4926
|
# Name of the resource. Provided by the client when the resource is created. The
|
4889
4927
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
4890
4928
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -4923,6 +4961,11 @@ module Google
|
|
4923
4961
|
# @return [String]
|
4924
4962
|
attr_accessor :self_link
|
4925
4963
|
|
4964
|
+
# Source commitment to be splitted into a new commitment.
|
4965
|
+
# Corresponds to the JSON property `splitSourceCommitment`
|
4966
|
+
# @return [String]
|
4967
|
+
attr_accessor :split_source_commitment
|
4968
|
+
|
4926
4969
|
# [Output Only] Commitment start time in RFC3339 text format.
|
4927
4970
|
# Corresponds to the JSON property `startTimestamp`
|
4928
4971
|
# @return [String]
|
@@ -4962,12 +5005,14 @@ module Google
|
|
4962
5005
|
@id = args[:id] if args.key?(:id)
|
4963
5006
|
@kind = args[:kind] if args.key?(:kind)
|
4964
5007
|
@license_resource = args[:license_resource] if args.key?(:license_resource)
|
5008
|
+
@merge_source_commitments = args[:merge_source_commitments] if args.key?(:merge_source_commitments)
|
4965
5009
|
@name = args[:name] if args.key?(:name)
|
4966
5010
|
@plan = args[:plan] if args.key?(:plan)
|
4967
5011
|
@region = args[:region] if args.key?(:region)
|
4968
5012
|
@reservations = args[:reservations] if args.key?(:reservations)
|
4969
5013
|
@resources = args[:resources] if args.key?(:resources)
|
4970
5014
|
@self_link = args[:self_link] if args.key?(:self_link)
|
5015
|
+
@split_source_commitment = args[:split_source_commitment] if args.key?(:split_source_commitment)
|
4971
5016
|
@start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp)
|
4972
5017
|
@status = args[:status] if args.key?(:status)
|
4973
5018
|
@status_message = args[:status_message] if args.key?(:status_message)
|
@@ -7622,9 +7667,8 @@ module Google
|
|
7622
7667
|
attr_accessor :destination_ranges
|
7623
7668
|
|
7624
7669
|
# Direction of traffic to which this firewall applies, either `INGRESS` or `
|
7625
|
-
# EGRESS`. The default is `INGRESS`. For `
|
7626
|
-
# the
|
7627
|
-
# sourceRanges or sourceTags fields.
|
7670
|
+
# EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify
|
7671
|
+
# the sourceTags fields.
|
7628
7672
|
# Corresponds to the JSON property `direction`
|
7629
7673
|
# @return [String]
|
7630
7674
|
attr_accessor :direction
|
@@ -8031,13 +8075,13 @@ module Google
|
|
8031
8075
|
|
8032
8076
|
# Deprecated, please use short name instead. User-provided name of the
|
8033
8077
|
# Organization firewall policy. The name should be unique in the organization in
|
8034
|
-
# which the firewall policy is created. This
|
8035
|
-
#
|
8036
|
-
#
|
8037
|
-
# regular expression `[a-z]([
|
8038
|
-
#
|
8039
|
-
#
|
8040
|
-
# dash.
|
8078
|
+
# which the firewall policy is created. This field is not applicable to network
|
8079
|
+
# firewall policies. This name must be set on creation and cannot be changed.
|
8080
|
+
# The name must be 1-63 characters long, and comply with RFC1035. Specifically,
|
8081
|
+
# the name must be 1-63 characters long and match the regular expression `[a-z]([
|
8082
|
+
# -a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase
|
8083
|
+
# letter, and all following characters must be a dash, lowercase letter, or
|
8084
|
+
# digit, except the last character, which cannot be a dash.
|
8041
8085
|
# Corresponds to the JSON property `displayName`
|
8042
8086
|
# @return [String]
|
8043
8087
|
attr_accessor :display_name
|
@@ -8066,13 +8110,15 @@ module Google
|
|
8066
8110
|
# @return [String]
|
8067
8111
|
attr_accessor :kind
|
8068
8112
|
|
8069
|
-
#
|
8070
|
-
# uniquely identifies the
|
8113
|
+
# Name of the resource. For Organization Firewall Policies it's a [Output Only]
|
8114
|
+
# numeric ID allocated by GCP which uniquely identifies the Organization
|
8115
|
+
# Firewall Policy.
|
8071
8116
|
# Corresponds to the JSON property `name`
|
8072
8117
|
# @return [String]
|
8073
8118
|
attr_accessor :name
|
8074
8119
|
|
8075
|
-
# [Output Only] The parent of the firewall policy.
|
8120
|
+
# [Output Only] The parent of the firewall policy. This field is not applicable
|
8121
|
+
# to network firewall policies.
|
8076
8122
|
# Corresponds to the JSON property `parent`
|
8077
8123
|
# @return [String]
|
8078
8124
|
attr_accessor :parent
|
@@ -8109,14 +8155,15 @@ module Google
|
|
8109
8155
|
# @return [String]
|
8110
8156
|
attr_accessor :self_link_with_id
|
8111
8157
|
|
8112
|
-
# User-provided name of the Organization firewall
|
8113
|
-
# unique in the organization in which the firewall policy is created. This
|
8114
|
-
#
|
8115
|
-
#
|
8116
|
-
#
|
8117
|
-
#
|
8118
|
-
#
|
8119
|
-
# character, which cannot
|
8158
|
+
# User-provided name of the Organization firewall policy. The name should be
|
8159
|
+
# unique in the organization in which the firewall policy is created. This field
|
8160
|
+
# is not applicable to network firewall policies. This name must be set on
|
8161
|
+
# creation and cannot be changed. The name must be 1-63 characters long, and
|
8162
|
+
# comply with RFC1035. Specifically, the name must be 1-63 characters long and
|
8163
|
+
# match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
8164
|
+
# first character must be a lowercase letter, and all following characters must
|
8165
|
+
# be a dash, lowercase letter, or digit, except the last character, which cannot
|
8166
|
+
# be a dash.
|
8120
8167
|
# Corresponds to the JSON property `shortName`
|
8121
8168
|
# @return [String]
|
8122
8169
|
attr_accessor :short_name
|
@@ -11632,9 +11679,9 @@ module Google
|
|
11632
11679
|
# forwarding the request to the selected backend. If routeAction specifies any
|
11633
11680
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
11634
11681
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
11635
|
-
# urlRedirect, service or routeAction.weightedBackendService must be set.
|
11636
|
-
#
|
11637
|
-
# within a route rule's routeAction.
|
11682
|
+
# urlRedirect, service or routeAction.weightedBackendService must be set. URL
|
11683
|
+
# maps for Classic external HTTP(S) load balancers only support the urlRewrite
|
11684
|
+
# action within a route rule's routeAction.
|
11638
11685
|
# Corresponds to the JSON property `routeAction`
|
11639
11686
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
11640
11687
|
attr_accessor :route_action
|
@@ -16431,8 +16478,8 @@ module Google
|
|
16431
16478
|
# attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that
|
16432
16479
|
# is encrypted by an IPsec device, such as an HA VPN gateway or third-party
|
16433
16480
|
# IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such
|
16434
|
-
# a VLAN attachment. To use *
|
16435
|
-
# attachment must be created with this option.
|
16481
|
+
# a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN
|
16482
|
+
# attachment must be created with this option.
|
16436
16483
|
# Corresponds to the JSON property `encryption`
|
16437
16484
|
# @return [String]
|
16438
16485
|
attr_accessor :encryption
|
@@ -18134,7 +18181,7 @@ module Google
|
|
18134
18181
|
class LocalizedMessage
|
18135
18182
|
include Google::Apis::Core::Hashable
|
18136
18183
|
|
18137
|
-
# The locale used following the specification defined at
|
18184
|
+
# The locale used following the specification defined at https://www.rfc-editor.
|
18138
18185
|
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
18139
18186
|
# Corresponds to the JSON property `locale`
|
18140
18187
|
# @return [String]
|
@@ -19624,8 +19671,10 @@ module Google
|
|
19624
19671
|
# @return [String]
|
19625
19672
|
attr_accessor :kind
|
19626
19673
|
|
19627
|
-
# Maximum Transmission Unit in bytes. The minimum value for this field is
|
19628
|
-
# and the maximum value is
|
19674
|
+
# Maximum Transmission Unit in bytes. The minimum value for this field is 1300
|
19675
|
+
# and the maximum value is 8896. The suggested value is 1500, which is the
|
19676
|
+
# default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If
|
19677
|
+
# unspecified, the value defaults to 1460.
|
19629
19678
|
# Corresponds to the JSON property `mtu`
|
19630
19679
|
# @return [Fixnum]
|
19631
19680
|
attr_accessor :mtu
|
@@ -24884,8 +24933,9 @@ module Google
|
|
24884
24933
|
# If defaultRouteAction specifies any weightedBackendServices, defaultService
|
24885
24934
|
# must not be set. Conversely if defaultService is set, defaultRouteAction
|
24886
24935
|
# cannot contain any weightedBackendServices. Only one of defaultRouteAction or
|
24887
|
-
# defaultUrlRedirect must be set.
|
24888
|
-
#
|
24936
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
24937
|
+
# balancers only support the urlRewrite action within a path matcher's
|
24938
|
+
# defaultRouteAction.
|
24889
24939
|
# Corresponds to the JSON property `defaultRouteAction`
|
24890
24940
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
24891
24941
|
attr_accessor :default_route_action
|
@@ -24984,8 +25034,9 @@ module Google
|
|
24984
25034
|
# the request to the selected backend. If routeAction specifies any
|
24985
25035
|
# weightedBackendServices, service must not be set. Conversely if service is set,
|
24986
25036
|
# routeAction cannot contain any weightedBackendServices. Only one of
|
24987
|
-
# routeAction or urlRedirect must be set. URL maps for external HTTP(S)
|
24988
|
-
# balancers support
|
25037
|
+
# routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S)
|
25038
|
+
# load balancers only support the urlRewrite action within a path rule's
|
25039
|
+
# routeAction.
|
24989
25040
|
# Corresponds to the JSON property `routeAction`
|
24990
25041
|
# @return [Google::Apis::ComputeV1::HttpRouteAction]
|
24991
25042
|
attr_accessor :route_action
|
@@ -29691,7 +29742,7 @@ module Google
|
|
29691
29742
|
attr_accessor :description
|
29692
29743
|
|
29693
29744
|
# Indicates if a router is dedicated for use with encrypted VLAN attachments (
|
29694
|
-
# interconnectAttachments).
|
29745
|
+
# interconnectAttachments).
|
29695
29746
|
# Corresponds to the JSON property `encryptedInterconnectRouter`
|
29696
29747
|
# @return [Boolean]
|
29697
29748
|
attr_accessor :encrypted_interconnect_router
|
@@ -34429,6 +34480,136 @@ module Google
|
|
34429
34480
|
end
|
34430
34481
|
end
|
34431
34482
|
|
34483
|
+
#
|
34484
|
+
class SslPoliciesAggregatedList
|
34485
|
+
include Google::Apis::Core::Hashable
|
34486
|
+
|
34487
|
+
#
|
34488
|
+
# Corresponds to the JSON property `etag`
|
34489
|
+
# @return [String]
|
34490
|
+
attr_accessor :etag
|
34491
|
+
|
34492
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
34493
|
+
# Corresponds to the JSON property `id`
|
34494
|
+
# @return [String]
|
34495
|
+
attr_accessor :id
|
34496
|
+
|
34497
|
+
# A list of SslPoliciesScopedList resources.
|
34498
|
+
# Corresponds to the JSON property `items`
|
34499
|
+
# @return [Hash<String,Google::Apis::ComputeV1::SslPoliciesScopedList>]
|
34500
|
+
attr_accessor :items
|
34501
|
+
|
34502
|
+
# [Output Only] Type of resource. Always compute#sslPolicyAggregatedList for
|
34503
|
+
# lists of SSL Policies.
|
34504
|
+
# Corresponds to the JSON property `kind`
|
34505
|
+
# @return [String]
|
34506
|
+
attr_accessor :kind
|
34507
|
+
|
34508
|
+
# [Output Only] This token allows you to get the next page of results for list
|
34509
|
+
# requests. If the number of results is larger than maxResults, use the
|
34510
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
34511
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
34512
|
+
# continue paging through the results.
|
34513
|
+
# Corresponds to the JSON property `nextPageToken`
|
34514
|
+
# @return [String]
|
34515
|
+
attr_accessor :next_page_token
|
34516
|
+
|
34517
|
+
# [Output Only] Server-defined URL for this resource.
|
34518
|
+
# Corresponds to the JSON property `selfLink`
|
34519
|
+
# @return [String]
|
34520
|
+
attr_accessor :self_link
|
34521
|
+
|
34522
|
+
# [Output Only] Unreachable resources.
|
34523
|
+
# Corresponds to the JSON property `unreachables`
|
34524
|
+
# @return [Array<String>]
|
34525
|
+
attr_accessor :unreachables
|
34526
|
+
|
34527
|
+
# [Output Only] Informational warning message.
|
34528
|
+
# Corresponds to the JSON property `warning`
|
34529
|
+
# @return [Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning]
|
34530
|
+
attr_accessor :warning
|
34531
|
+
|
34532
|
+
def initialize(**args)
|
34533
|
+
update!(**args)
|
34534
|
+
end
|
34535
|
+
|
34536
|
+
# Update properties of this object
|
34537
|
+
def update!(**args)
|
34538
|
+
@etag = args[:etag] if args.key?(:etag)
|
34539
|
+
@id = args[:id] if args.key?(:id)
|
34540
|
+
@items = args[:items] if args.key?(:items)
|
34541
|
+
@kind = args[:kind] if args.key?(:kind)
|
34542
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
34543
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
34544
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
34545
|
+
@warning = args[:warning] if args.key?(:warning)
|
34546
|
+
end
|
34547
|
+
|
34548
|
+
# [Output Only] Informational warning message.
|
34549
|
+
class Warning
|
34550
|
+
include Google::Apis::Core::Hashable
|
34551
|
+
|
34552
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
34553
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
34554
|
+
# Corresponds to the JSON property `code`
|
34555
|
+
# @return [String]
|
34556
|
+
attr_accessor :code
|
34557
|
+
|
34558
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
34559
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
34560
|
+
# Corresponds to the JSON property `data`
|
34561
|
+
# @return [Array<Google::Apis::ComputeV1::SslPoliciesAggregatedList::Warning::Datum>]
|
34562
|
+
attr_accessor :data
|
34563
|
+
|
34564
|
+
# [Output Only] A human-readable description of the warning code.
|
34565
|
+
# Corresponds to the JSON property `message`
|
34566
|
+
# @return [String]
|
34567
|
+
attr_accessor :message
|
34568
|
+
|
34569
|
+
def initialize(**args)
|
34570
|
+
update!(**args)
|
34571
|
+
end
|
34572
|
+
|
34573
|
+
# Update properties of this object
|
34574
|
+
def update!(**args)
|
34575
|
+
@code = args[:code] if args.key?(:code)
|
34576
|
+
@data = args[:data] if args.key?(:data)
|
34577
|
+
@message = args[:message] if args.key?(:message)
|
34578
|
+
end
|
34579
|
+
|
34580
|
+
#
|
34581
|
+
class Datum
|
34582
|
+
include Google::Apis::Core::Hashable
|
34583
|
+
|
34584
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
34585
|
+
# For example, for warnings where there are no results in a list request for a
|
34586
|
+
# particular zone, this key might be scope and the key value might be the zone
|
34587
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
34588
|
+
# suggested replacement, or a warning about invalid network settings (for
|
34589
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
34590
|
+
# for IP forwarding).
|
34591
|
+
# Corresponds to the JSON property `key`
|
34592
|
+
# @return [String]
|
34593
|
+
attr_accessor :key
|
34594
|
+
|
34595
|
+
# [Output Only] A warning data value corresponding to the key.
|
34596
|
+
# Corresponds to the JSON property `value`
|
34597
|
+
# @return [String]
|
34598
|
+
attr_accessor :value
|
34599
|
+
|
34600
|
+
def initialize(**args)
|
34601
|
+
update!(**args)
|
34602
|
+
end
|
34603
|
+
|
34604
|
+
# Update properties of this object
|
34605
|
+
def update!(**args)
|
34606
|
+
@key = args[:key] if args.key?(:key)
|
34607
|
+
@value = args[:value] if args.key?(:value)
|
34608
|
+
end
|
34609
|
+
end
|
34610
|
+
end
|
34611
|
+
end
|
34612
|
+
|
34432
34613
|
#
|
34433
34614
|
class SslPoliciesList
|
34434
34615
|
include Google::Apis::Core::Hashable
|
@@ -34566,6 +34747,97 @@ module Google
|
|
34566
34747
|
end
|
34567
34748
|
end
|
34568
34749
|
|
34750
|
+
#
|
34751
|
+
class SslPoliciesScopedList
|
34752
|
+
include Google::Apis::Core::Hashable
|
34753
|
+
|
34754
|
+
# A list of SslPolicies contained in this scope.
|
34755
|
+
# Corresponds to the JSON property `sslPolicies`
|
34756
|
+
# @return [Array<Google::Apis::ComputeV1::SslPolicy>]
|
34757
|
+
attr_accessor :ssl_policies
|
34758
|
+
|
34759
|
+
# Informational warning which replaces the list of SSL policies when the list is
|
34760
|
+
# empty.
|
34761
|
+
# Corresponds to the JSON property `warning`
|
34762
|
+
# @return [Google::Apis::ComputeV1::SslPoliciesScopedList::Warning]
|
34763
|
+
attr_accessor :warning
|
34764
|
+
|
34765
|
+
def initialize(**args)
|
34766
|
+
update!(**args)
|
34767
|
+
end
|
34768
|
+
|
34769
|
+
# Update properties of this object
|
34770
|
+
def update!(**args)
|
34771
|
+
@ssl_policies = args[:ssl_policies] if args.key?(:ssl_policies)
|
34772
|
+
@warning = args[:warning] if args.key?(:warning)
|
34773
|
+
end
|
34774
|
+
|
34775
|
+
# Informational warning which replaces the list of SSL policies when the list is
|
34776
|
+
# empty.
|
34777
|
+
class Warning
|
34778
|
+
include Google::Apis::Core::Hashable
|
34779
|
+
|
34780
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
34781
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
34782
|
+
# Corresponds to the JSON property `code`
|
34783
|
+
# @return [String]
|
34784
|
+
attr_accessor :code
|
34785
|
+
|
34786
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
34787
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
34788
|
+
# Corresponds to the JSON property `data`
|
34789
|
+
# @return [Array<Google::Apis::ComputeV1::SslPoliciesScopedList::Warning::Datum>]
|
34790
|
+
attr_accessor :data
|
34791
|
+
|
34792
|
+
# [Output Only] A human-readable description of the warning code.
|
34793
|
+
# Corresponds to the JSON property `message`
|
34794
|
+
# @return [String]
|
34795
|
+
attr_accessor :message
|
34796
|
+
|
34797
|
+
def initialize(**args)
|
34798
|
+
update!(**args)
|
34799
|
+
end
|
34800
|
+
|
34801
|
+
# Update properties of this object
|
34802
|
+
def update!(**args)
|
34803
|
+
@code = args[:code] if args.key?(:code)
|
34804
|
+
@data = args[:data] if args.key?(:data)
|
34805
|
+
@message = args[:message] if args.key?(:message)
|
34806
|
+
end
|
34807
|
+
|
34808
|
+
#
|
34809
|
+
class Datum
|
34810
|
+
include Google::Apis::Core::Hashable
|
34811
|
+
|
34812
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
34813
|
+
# For example, for warnings where there are no results in a list request for a
|
34814
|
+
# particular zone, this key might be scope and the key value might be the zone
|
34815
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
34816
|
+
# suggested replacement, or a warning about invalid network settings (for
|
34817
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
34818
|
+
# for IP forwarding).
|
34819
|
+
# Corresponds to the JSON property `key`
|
34820
|
+
# @return [String]
|
34821
|
+
attr_accessor :key
|
34822
|
+
|
34823
|
+
# [Output Only] A warning data value corresponding to the key.
|
34824
|
+
# Corresponds to the JSON property `value`
|
34825
|
+
# @return [String]
|
34826
|
+
attr_accessor :value
|
34827
|
+
|
34828
|
+
def initialize(**args)
|
34829
|
+
update!(**args)
|
34830
|
+
end
|
34831
|
+
|
34832
|
+
# Update properties of this object
|
34833
|
+
def update!(**args)
|
34834
|
+
@key = args[:key] if args.key?(:key)
|
34835
|
+
@value = args[:value] if args.key?(:value)
|
34836
|
+
end
|
34837
|
+
end
|
34838
|
+
end
|
34839
|
+
end
|
34840
|
+
|
34569
34841
|
# Represents an SSL Policy resource. Use SSL policies to control the SSL
|
34570
34842
|
# features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy
|
34571
34843
|
# load balancer. For more information, read SSL Policy Concepts.
|
@@ -38177,6 +38449,12 @@ module Google
|
|
38177
38449
|
# @return [String]
|
38178
38450
|
attr_accessor :proxy_header
|
38179
38451
|
|
38452
|
+
# [Output Only] URL of the region where the regional TCP proxy resides. This
|
38453
|
+
# field is not applicable to global TCP proxy.
|
38454
|
+
# Corresponds to the JSON property `region`
|
38455
|
+
# @return [String]
|
38456
|
+
attr_accessor :region
|
38457
|
+
|
38180
38458
|
# [Output Only] Server-defined URL for the resource.
|
38181
38459
|
# Corresponds to the JSON property `selfLink`
|
38182
38460
|
# @return [String]
|
@@ -38200,6 +38478,7 @@ module Google
|
|
38200
38478
|
@name = args[:name] if args.key?(:name)
|
38201
38479
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
38202
38480
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
38481
|
+
@region = args[:region] if args.key?(:region)
|
38203
38482
|
@self_link = args[:self_link] if args.key?(:self_link)
|
38204
38483
|
@service = args[:service] if args.key?(:service)
|
38205
38484
|
end
|
@@ -38916,8 +39195,8 @@ module Google
|
|
38916
39195
|
# defaultRouteAction specifies any weightedBackendServices, defaultService must
|
38917
39196
|
# not be set. Conversely if defaultService is set, defaultRouteAction cannot
|
38918
39197
|
# contain any weightedBackendServices. Only one of defaultRouteAction or
|
38919
|
-
# defaultUrlRedirect must be set.
|
38920
|
-
#
|
39198
|
+
# defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load
|
39199
|
+
# balancers only support the urlRewrite action within defaultRouteAction.
|
38921
39200
|
# defaultRouteAction has no effect when the URL map is bound to a target gRPC
|
38922
39201
|
# proxy that has the validateForProxyless field set to true.
|
38923
39202
|
# Corresponds to the JSON property `defaultRouteAction`
|
@@ -40638,9 +40917,8 @@ module Google
|
|
40638
40917
|
|
40639
40918
|
# URL of the VLAN attachment (interconnectAttachment) resource for this VPN
|
40640
40919
|
# gateway interface. When the value of this field is present, the VPN gateway is
|
40641
|
-
# used for
|
40920
|
+
# used for HA VPN over Cloud Interconnect; all egress or ingress traffic for
|
40642
40921
|
# this VPN gateway interface goes through the specified VLAN attachment resource.
|
40643
|
-
# Not currently available publicly.
|
40644
40922
|
# Corresponds to the JSON property `interconnectAttachment`
|
40645
40923
|
# @return [String]
|
40646
40924
|
attr_accessor :interconnect_attachment
|
@@ -40649,11 +40927,11 @@ module Google
|
|
40649
40927
|
# gateway. The IP address could be either a regional external IP address or a
|
40650
40928
|
# regional internal IP address. The two IP addresses for a VPN gateway must be
|
40651
40929
|
# all regional external or regional internal IP addresses. There cannot be a mix
|
40652
|
-
# of regional external IP addresses and regional internal IP addresses. For
|
40653
|
-
#
|
40654
|
-
#
|
40655
|
-
#
|
40656
|
-
#
|
40930
|
+
# of regional external IP addresses and regional internal IP addresses. For HA
|
40931
|
+
# VPN over Cloud Interconnect, the IP addresses for both interfaces could either
|
40932
|
+
# be regional internal IP addresses or regional external IP addresses. For
|
40933
|
+
# regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address
|
40934
|
+
# must be a regional external IP address.
|
40657
40935
|
# Corresponds to the JSON property `ipAddress`
|
40658
40936
|
# @return [String]
|
40659
40937
|
attr_accessor :ip_address
|