google-apis-compute_v1 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/compute_v1/classes.rb +326 -71
- data/lib/google/apis/compute_v1/gem_version.rb +2 -2
- data/lib/google/apis/compute_v1/representations.rb +102 -0
- data/lib/google/apis/compute_v1/service.rb +1156 -325
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6381c9ab9e96495aff14728cf4a005f19c725849a982e7f336121e858346e28
|
4
|
+
data.tar.gz: 4d9bb73156a12eb59de317649c9a81501af0c7802762e42b796f433bc73efe08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c79a18fe0c980c7be5aa123943c5f6651f1a531ea26e9339d62aa262ecf7dabec1f8556136feca9d16bfeb3583478700d4b7140712ccbc53688c3f9aa16f09
|
7
|
+
data.tar.gz: 4909befb2428b20c182cd96f56a2a241a3fa9de724bd71922b25d198278f7b025726db4107c66cfa91dc21bf88a3cf74d36f25ffdf0bb5a4ace4e36789e89f36
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2022-09-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220831
|
6
|
+
|
7
|
+
### v0.49.0 (2022-08-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220823
|
10
|
+
|
3
11
|
### v0.48.0 (2022-08-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20220816
|
@@ -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
|
|
@@ -1307,10 +1316,9 @@ module Google
|
|
1307
1316
|
attr_accessor :initialize_params
|
1308
1317
|
|
1309
1318
|
# Specifies the disk interface to use for attaching this disk, which is either
|
1310
|
-
# SCSI or NVME.
|
1311
|
-
#
|
1312
|
-
#
|
1313
|
-
# 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.
|
1314
1322
|
# Corresponds to the JSON property `interface`
|
1315
1323
|
# @return [String]
|
1316
1324
|
attr_accessor :interface
|
@@ -2602,6 +2610,12 @@ module Google
|
|
2602
2610
|
# @return [Google::Apis::ComputeV1::BackendBucketCdnPolicy]
|
2603
2611
|
attr_accessor :cdn_policy
|
2604
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
|
+
|
2605
2619
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
2606
2620
|
# Corresponds to the JSON property `creationTimestamp`
|
2607
2621
|
# @return [String]
|
@@ -2663,6 +2677,7 @@ module Google
|
|
2663
2677
|
def update!(**args)
|
2664
2678
|
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
2665
2679
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
2680
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
2666
2681
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
2667
2682
|
@custom_response_headers = args[:custom_response_headers] if args.key?(:custom_response_headers)
|
2668
2683
|
@description = args[:description] if args.key?(:description)
|
@@ -3067,6 +3082,12 @@ module Google
|
|
3067
3082
|
# @return [Google::Apis::ComputeV1::CircuitBreakers]
|
3068
3083
|
attr_accessor :circuit_breakers
|
3069
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
|
+
|
3070
3091
|
# Message containing connection draining configuration.
|
3071
3092
|
# Corresponds to the JSON property `connectionDraining`
|
3072
3093
|
# @return [Google::Apis::ComputeV1::ConnectionDraining]
|
@@ -3346,6 +3367,7 @@ module Google
|
|
3346
3367
|
@backends = args[:backends] if args.key?(:backends)
|
3347
3368
|
@cdn_policy = args[:cdn_policy] if args.key?(:cdn_policy)
|
3348
3369
|
@circuit_breakers = args[:circuit_breakers] if args.key?(:circuit_breakers)
|
3370
|
+
@compression_mode = args[:compression_mode] if args.key?(:compression_mode)
|
3349
3371
|
@connection_draining = args[:connection_draining] if args.key?(:connection_draining)
|
3350
3372
|
@connection_tracking_policy = args[:connection_tracking_policy] if args.key?(:connection_tracking_policy)
|
3351
3373
|
@consistent_hash = args[:consistent_hash] if args.key?(:consistent_hash)
|
@@ -4116,8 +4138,8 @@ module Google
|
|
4116
4138
|
class BackendServiceLogConfig
|
4117
4139
|
include Google::Apis::Core::Hashable
|
4118
4140
|
|
4119
|
-
#
|
4120
|
-
#
|
4141
|
+
# Denotes whether to enable logging for the load balancer traffic served by this
|
4142
|
+
# backend service. The default value is false.
|
4121
4143
|
# Corresponds to the JSON property `enable`
|
4122
4144
|
# @return [Boolean]
|
4123
4145
|
attr_accessor :enable
|
@@ -4127,7 +4149,7 @@ module Google
|
|
4127
4149
|
# service. The value of the field must be in [0, 1]. This configures the
|
4128
4150
|
# sampling rate of requests to the load balancer where 1.0 means all logged
|
4129
4151
|
# requests are reported and 0.0 means no logged requests are reported. The
|
4130
|
-
# default value is
|
4152
|
+
# default value is 1.0.
|
4131
4153
|
# Corresponds to the JSON property `sampleRate`
|
4132
4154
|
# @return [Float]
|
4133
4155
|
attr_accessor :sample_rate
|
@@ -4534,31 +4556,33 @@ module Google
|
|
4534
4556
|
# members` can have the following values: * `allUsers`: A special identifier
|
4535
4557
|
# that represents anyone who is on the internet; with or without a Google
|
4536
4558
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
4537
|
-
# anyone who is authenticated with a Google account or a service account.
|
4538
|
-
#
|
4539
|
-
#
|
4540
|
-
#
|
4541
|
-
#
|
4542
|
-
#
|
4543
|
-
#
|
4544
|
-
#
|
4545
|
-
# .
|
4546
|
-
#
|
4547
|
-
# email address
|
4548
|
-
#
|
4549
|
-
#
|
4550
|
-
#
|
4551
|
-
# emailid
|
4552
|
-
#
|
4553
|
-
#
|
4554
|
-
#
|
4555
|
-
#
|
4556
|
-
#
|
4557
|
-
#
|
4558
|
-
#
|
4559
|
-
#
|
4560
|
-
#
|
4561
|
-
#
|
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`.
|
4562
4586
|
# Corresponds to the JSON property `members`
|
4563
4587
|
# @return [Array<String>]
|
4564
4588
|
attr_accessor :members
|
@@ -7643,9 +7667,8 @@ module Google
|
|
7643
7667
|
attr_accessor :destination_ranges
|
7644
7668
|
|
7645
7669
|
# Direction of traffic to which this firewall applies, either `INGRESS` or `
|
7646
|
-
# EGRESS`. The default is `INGRESS`. For `
|
7647
|
-
# the
|
7648
|
-
# sourceRanges or sourceTags fields.
|
7670
|
+
# EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify
|
7671
|
+
# the sourceTags fields.
|
7649
7672
|
# Corresponds to the JSON property `direction`
|
7650
7673
|
# @return [String]
|
7651
7674
|
attr_accessor :direction
|
@@ -8052,13 +8075,13 @@ module Google
|
|
8052
8075
|
|
8053
8076
|
# Deprecated, please use short name instead. User-provided name of the
|
8054
8077
|
# Organization firewall policy. The name should be unique in the organization in
|
8055
|
-
# which the firewall policy is created. This
|
8056
|
-
#
|
8057
|
-
#
|
8058
|
-
# regular expression `[a-z]([
|
8059
|
-
#
|
8060
|
-
#
|
8061
|
-
# 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.
|
8062
8085
|
# Corresponds to the JSON property `displayName`
|
8063
8086
|
# @return [String]
|
8064
8087
|
attr_accessor :display_name
|
@@ -8087,13 +8110,15 @@ module Google
|
|
8087
8110
|
# @return [String]
|
8088
8111
|
attr_accessor :kind
|
8089
8112
|
|
8090
|
-
#
|
8091
|
-
# 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.
|
8092
8116
|
# Corresponds to the JSON property `name`
|
8093
8117
|
# @return [String]
|
8094
8118
|
attr_accessor :name
|
8095
8119
|
|
8096
|
-
# [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.
|
8097
8122
|
# Corresponds to the JSON property `parent`
|
8098
8123
|
# @return [String]
|
8099
8124
|
attr_accessor :parent
|
@@ -8130,14 +8155,15 @@ module Google
|
|
8130
8155
|
# @return [String]
|
8131
8156
|
attr_accessor :self_link_with_id
|
8132
8157
|
|
8133
|
-
# User-provided name of the Organization firewall
|
8134
|
-
# unique in the organization in which the firewall policy is created. This
|
8135
|
-
#
|
8136
|
-
#
|
8137
|
-
#
|
8138
|
-
#
|
8139
|
-
#
|
8140
|
-
# 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.
|
8141
8167
|
# Corresponds to the JSON property `shortName`
|
8142
8168
|
# @return [String]
|
8143
8169
|
attr_accessor :short_name
|
@@ -16452,8 +16478,8 @@ module Google
|
|
16452
16478
|
# attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that
|
16453
16479
|
# is encrypted by an IPsec device, such as an HA VPN gateway or third-party
|
16454
16480
|
# IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such
|
16455
|
-
# a VLAN attachment. To use *
|
16456
|
-
# 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.
|
16457
16483
|
# Corresponds to the JSON property `encryption`
|
16458
16484
|
# @return [String]
|
16459
16485
|
attr_accessor :encryption
|
@@ -19645,8 +19671,10 @@ module Google
|
|
19645
19671
|
# @return [String]
|
19646
19672
|
attr_accessor :kind
|
19647
19673
|
|
19648
|
-
# Maximum Transmission Unit in bytes. The minimum value for this field is
|
19649
|
-
# 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.
|
19650
19678
|
# Corresponds to the JSON property `mtu`
|
19651
19679
|
# @return [Fixnum]
|
19652
19680
|
attr_accessor :mtu
|
@@ -29714,7 +29742,7 @@ module Google
|
|
29714
29742
|
attr_accessor :description
|
29715
29743
|
|
29716
29744
|
# Indicates if a router is dedicated for use with encrypted VLAN attachments (
|
29717
|
-
# interconnectAttachments).
|
29745
|
+
# interconnectAttachments).
|
29718
29746
|
# Corresponds to the JSON property `encryptedInterconnectRouter`
|
29719
29747
|
# @return [Boolean]
|
29720
29748
|
attr_accessor :encrypted_interconnect_router
|
@@ -34452,6 +34480,136 @@ module Google
|
|
34452
34480
|
end
|
34453
34481
|
end
|
34454
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
|
+
|
34455
34613
|
#
|
34456
34614
|
class SslPoliciesList
|
34457
34615
|
include Google::Apis::Core::Hashable
|
@@ -34589,6 +34747,97 @@ module Google
|
|
34589
34747
|
end
|
34590
34748
|
end
|
34591
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
|
+
|
34592
34841
|
# Represents an SSL Policy resource. Use SSL policies to control the SSL
|
34593
34842
|
# features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy
|
34594
34843
|
# load balancer. For more information, read SSL Policy Concepts.
|
@@ -38200,6 +38449,12 @@ module Google
|
|
38200
38449
|
# @return [String]
|
38201
38450
|
attr_accessor :proxy_header
|
38202
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
|
+
|
38203
38458
|
# [Output Only] Server-defined URL for the resource.
|
38204
38459
|
# Corresponds to the JSON property `selfLink`
|
38205
38460
|
# @return [String]
|
@@ -38223,6 +38478,7 @@ module Google
|
|
38223
38478
|
@name = args[:name] if args.key?(:name)
|
38224
38479
|
@proxy_bind = args[:proxy_bind] if args.key?(:proxy_bind)
|
38225
38480
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
38481
|
+
@region = args[:region] if args.key?(:region)
|
38226
38482
|
@self_link = args[:self_link] if args.key?(:self_link)
|
38227
38483
|
@service = args[:service] if args.key?(:service)
|
38228
38484
|
end
|
@@ -40661,9 +40917,8 @@ module Google
|
|
40661
40917
|
|
40662
40918
|
# URL of the VLAN attachment (interconnectAttachment) resource for this VPN
|
40663
40919
|
# gateway interface. When the value of this field is present, the VPN gateway is
|
40664
|
-
# used for
|
40920
|
+
# used for HA VPN over Cloud Interconnect; all egress or ingress traffic for
|
40665
40921
|
# this VPN gateway interface goes through the specified VLAN attachment resource.
|
40666
|
-
# Not currently available publicly.
|
40667
40922
|
# Corresponds to the JSON property `interconnectAttachment`
|
40668
40923
|
# @return [String]
|
40669
40924
|
attr_accessor :interconnect_attachment
|
@@ -40672,11 +40927,11 @@ module Google
|
|
40672
40927
|
# gateway. The IP address could be either a regional external IP address or a
|
40673
40928
|
# regional internal IP address. The two IP addresses for a VPN gateway must be
|
40674
40929
|
# all regional external or regional internal IP addresses. There cannot be a mix
|
40675
|
-
# of regional external IP addresses and regional internal IP addresses. For
|
40676
|
-
#
|
40677
|
-
#
|
40678
|
-
#
|
40679
|
-
#
|
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.
|
40680
40935
|
# Corresponds to the JSON property `ipAddress`
|
40681
40936
|
# @return [String]
|
40682
40937
|
attr_accessor :ip_address
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220831"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|