google-apis-compute_v1 0.8.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17cf8aab7aae1229f4e8aa8311e9c73e9d8d6e84f50c200d5637f872a7c17b4f
4
- data.tar.gz: 3039e58e52da7123bf142d4bd8bbc2495bca0a27fe02f32477a3f138668a71b3
3
+ metadata.gz: 1204a8c4fa0df2d1df1f560aa27f90ebc073033fd2fedc02f3b00b282b191fa6
4
+ data.tar.gz: e0b9a5a39836717cd63b5142c02da7a3e6198d397c3dceb59658c327f47ca0a6
5
5
  SHA512:
6
- metadata.gz: 8088f3094ffd40c4315d110ca511c83705400b6eb6d70a0867f0389e8b152cc89d8cb3c28157858bffed8fd4c5eb7e856dcfd10fcb4f7b34ccf00003a68770ec
7
- data.tar.gz: 2a407ca5f11c6ba0f5fb8ba97f6d6e20ae835c4960f581dae86fbf29a5a439497d9ebcc8fbc1d01be2ed436c166a1c386ac8b17641a367ee77292514fefc4ab4
6
+ metadata.gz: cfb45cc4543f47d3297982c2c9b516278b5af9289deb9069509c684c42d35548be9160ed8bdc30237017002bc43dd7283c8d6589ce19e667a263b429e2ad2a8f
7
+ data.tar.gz: 28bed9ff2b885a19d832929e89906f86d634178d1b12e3f62a65a650f0d841a739deefe9f543459c0f65cb65b038af22f01ce2f14ff2e684e7ad46d6def4da94
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.13.0 (2021-06-24)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.12.0 (2021-06-10)
8
+
9
+ * Regenerated from discovery document revision 20210525
10
+ * Regenerated using generator version 0.3.0
11
+
12
+ ### v0.11.0 (2021-05-28)
13
+
14
+ * Regenerated from discovery document revision 20210518
15
+
16
+ ### v0.10.0 (2021-05-20)
17
+
18
+ * Regenerated from discovery document revision 20210505
19
+ * Unspecified changes
20
+
21
+ ### v0.9.0 (2021-05-05)
22
+
23
+ * Regenerated from discovery document revision 20210415
24
+
3
25
  ### v0.8.0 (2021-03-30)
4
26
 
5
27
  * Regenerated from discovery document revision 20210316
@@ -465,6 +465,19 @@ module Google
465
465
  class AccessConfig
466
466
  include Google::Apis::Core::Hashable
467
467
 
468
+ # [Output Only] The first IPv6 address of the external IPv6 range associated
469
+ # with this instance, prefix length is stored in externalIpv6PrefixLength in
470
+ # ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork
471
+ # associated with the instance will be allocated dynamically.
472
+ # Corresponds to the JSON property `externalIpv6`
473
+ # @return [String]
474
+ attr_accessor :external_ipv6
475
+
476
+ # [Output Only] The prefix length of the external IPv6 range.
477
+ # Corresponds to the JSON property `externalIpv6PrefixLength`
478
+ # @return [Fixnum]
479
+ attr_accessor :external_ipv6_prefix_length
480
+
468
481
  # [Output Only] Type of the resource. Always compute#accessConfig for access
469
482
  # configs.
470
483
  # Corresponds to the JSON property `kind`
@@ -522,6 +535,8 @@ module Google
522
535
 
523
536
  # Update properties of this object
524
537
  def update!(**args)
538
+ @external_ipv6 = args[:external_ipv6] if args.key?(:external_ipv6)
539
+ @external_ipv6_prefix_length = args[:external_ipv6_prefix_length] if args.key?(:external_ipv6_prefix_length)
525
540
  @kind = args[:kind] if args.key?(:kind)
526
541
  @name = args[:name] if args.key?(:name)
527
542
  @nat_ip = args[:nat_ip] if args.key?(:nat_ip)
@@ -631,7 +646,8 @@ module Google
631
646
  # reserved for Cloud NAT.
632
647
  # - `IPSEC_INTERCONNECT` for addresses created from a private IP range that are
633
648
  # reserved for a VLAN attachment in an IPsec-encrypted Cloud Interconnect
634
- # configuration. These addresses are regional resources.
649
+ # configuration. These addresses are regional resources. Not currently available
650
+ # publicly.
635
651
  # Corresponds to the JSON property `purpose`
636
652
  # @return [String]
637
653
  attr_accessor :purpose
@@ -1042,6 +1058,13 @@ module Google
1042
1058
  attr_accessor :enable_nested_virtualization
1043
1059
  alias_method :enable_nested_virtualization?, :enable_nested_virtualization
1044
1060
 
1061
+ # The number of threads per physical core. To disable simultaneous
1062
+ # multithreading (SMT) set this to 1. If unset, the maximum number of threads
1063
+ # supported per core by the underlying processor is assumed.
1064
+ # Corresponds to the JSON property `threadsPerCore`
1065
+ # @return [Fixnum]
1066
+ attr_accessor :threads_per_core
1067
+
1045
1068
  def initialize(**args)
1046
1069
  update!(**args)
1047
1070
  end
@@ -1049,6 +1072,7 @@ module Google
1049
1072
  # Update properties of this object
1050
1073
  def update!(**args)
1051
1074
  @enable_nested_virtualization = args[:enable_nested_virtualization] if args.key?(:enable_nested_virtualization)
1075
+ @threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
1052
1076
  end
1053
1077
  end
1054
1078
 
@@ -3216,11 +3240,12 @@ module Google
3216
3240
  attr_accessor :self_link
3217
3241
 
3218
3242
  # Type of session affinity to use. The default is NONE.
3219
- # When the loadBalancingScheme is EXTERNAL: * For Network Load Balancing, the
3220
- # possible values are NONE, CLIENT_IP, CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
3221
- # * For all other load balancers that use loadBalancingScheme=EXTERNAL, the
3222
- # possible values are NONE, CLIENT_IP, or GENERATED_COOKIE. * You can use
3223
- # GENERATED_COOKIE if the protocol is HTTP, HTTP2, or HTTPS.
3243
+ # When the loadBalancingScheme is EXTERNAL:
3244
+ # * For Network Load Balancing, the possible values are NONE, CLIENT_IP,
3245
+ # CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO. * For all other load balancers that
3246
+ # use loadBalancingScheme=EXTERNAL, the possible values are NONE, CLIENT_IP, or
3247
+ # GENERATED_COOKIE. * You can use GENERATED_COOKIE if the protocol is HTTP,
3248
+ # HTTP2, or HTTPS.
3224
3249
  # When the loadBalancingScheme is INTERNAL, possible values are NONE, CLIENT_IP,
3225
3250
  # CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
3226
3251
  # When the loadBalancingScheme is INTERNAL_SELF_MANAGED, or INTERNAL_MANAGED,
@@ -3232,10 +3257,9 @@ module Google
3232
3257
  # @return [String]
3233
3258
  attr_accessor :session_affinity
3234
3259
 
3235
- # The backend service timeout has a different meaning depending on the type of
3236
- # load balancer. For more information see, Backend service settings The default
3237
- # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3238
- # seconds.
3260
+ # Not supported when the backend service is referenced by a URL map that is
3261
+ # bound to target gRPC proxy that has validateForProxyless field set to true.
3262
+ # Instead, use maxStreamDuration.
3239
3263
  # Corresponds to the JSON property `timeoutSec`
3240
3264
  # @return [Fixnum]
3241
3265
  attr_accessor :timeout_sec
@@ -4082,7 +4106,10 @@ module Google
4082
4106
  end
4083
4107
  end
4084
4108
 
4085
- #
4109
+ # A transient resource used in compute.instances.bulkInsert and compute.
4110
+ # regionInstances.bulkInsert and compute.regionInstances.recommendLocations.
4111
+ # This resource is not persisted anywhere, it is used only for processing the
4112
+ # requests.
4086
4113
  class BulkInsertInstanceResource
4087
4114
  include Google::Apis::Core::Hashable
4088
4115
 
@@ -4104,16 +4131,17 @@ module Google
4104
4131
 
4105
4132
  # The minimum number of instances to create. If no min_count is specified then
4106
4133
  # count is used as the default value. If min_count instances cannot be created,
4107
- # then no instances will be created.
4134
+ # then no instances will be created and instances already created will be
4135
+ # deleted.
4108
4136
  # Corresponds to the JSON property `minCount`
4109
4137
  # @return [Fixnum]
4110
4138
  attr_accessor :min_count
4111
4139
 
4112
4140
  # The string pattern used for the names of the VMs. Either name_pattern or
4113
- # predefined_names must be set. The pattern should contain one consecutive
4141
+ # per_instance_properties must be set. The pattern should contain one continuous
4114
4142
  # sequence of placeholder hash characters (#) with each character corresponding
4115
4143
  # to one digit of the generated instance name. Example: name_pattern of inst-####
4116
- # will generate instance names like inst-0001, inst-0002, ... . If there
4144
+ # will generate instance names such as inst-0001, inst-0002, ... . If there
4117
4145
  # already exist instance(s) whose names match the name pattern in the same
4118
4146
  # project and zone, then the generated instance numbers will start after the
4119
4147
  # biggest existing number. For example, if there exists an instance with name
@@ -4267,14 +4295,14 @@ module Google
4267
4295
  class CircuitBreakers
4268
4296
  include Google::Apis::Core::Hashable
4269
4297
 
4270
- # The maximum number of connections to the backend service. If not specified,
4271
- # there is no limit.
4298
+ # Not supported when the backend service is referenced by a URL map that is
4299
+ # bound to target gRPC proxy that has validateForProxyless field set to true.
4272
4300
  # Corresponds to the JSON property `maxConnections`
4273
4301
  # @return [Fixnum]
4274
4302
  attr_accessor :max_connections
4275
4303
 
4276
- # The maximum number of pending requests allowed to the backend service. If not
4277
- # specified, there is no limit.
4304
+ # Not supported when the backend service is referenced by a URL map that is
4305
+ # bound to target gRPC proxy that has validateForProxyless field set to true.
4278
4306
  # Corresponds to the JSON property `maxPendingRequests`
4279
4307
  # @return [Fixnum]
4280
4308
  attr_accessor :max_pending_requests
@@ -4285,16 +4313,14 @@ module Google
4285
4313
  # @return [Fixnum]
4286
4314
  attr_accessor :max_requests
4287
4315
 
4288
- # Maximum requests for a single connection to the backend service. This
4289
- # parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not
4290
- # specified, there is no limit. Setting this parameter to 1 will effectively
4291
- # disable keep alive.
4316
+ # Not supported when the backend service is referenced by a URL map that is
4317
+ # bound to target gRPC proxy that has validateForProxyless field set to true.
4292
4318
  # Corresponds to the JSON property `maxRequestsPerConnection`
4293
4319
  # @return [Fixnum]
4294
4320
  attr_accessor :max_requests_per_connection
4295
4321
 
4296
- # The maximum number of parallel retries allowed to the backend cluster. If not
4297
- # specified, the default is 1.
4322
+ # Not supported when the backend service is referenced by a URL map that is
4323
+ # bound to target gRPC proxy that has validateForProxyless field set to true.
4298
4324
  # Corresponds to the JSON property `maxRetries`
4299
4325
  # @return [Fixnum]
4300
4326
  attr_accessor :max_retries
@@ -6720,6 +6746,10 @@ module Google
6720
6746
  attr_accessor :id
6721
6747
 
6722
6748
  # List of interfaces for this external VPN gateway.
6749
+ # If your peer-side gateway is an on-premises gateway and non-AWS cloud
6750
+ # providers? gateway, at most two interfaces can be provided for an external VPN
6751
+ # gateway. If your peer side is an AWS virtual private gateway, four interfaces
6752
+ # should be provided for an external VPN gateway.
6723
6753
  # Corresponds to the JSON property `interfaces`
6724
6754
  # @return [Array<Google::Apis::ComputeV1::ExternalVpnGatewayInterface>]
6725
6755
  attr_accessor :interfaces
@@ -6795,8 +6825,9 @@ module Google
6795
6825
 
6796
6826
  # The numeric ID of this interface. The allowed input values for this id for
6797
6827
  # different redundancy types of external VPN gateway:
6798
- # SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1
6799
- # FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
6828
+ # - SINGLE_IP_INTERNALLY_REDUNDANT - 0
6829
+ # - TWO_IPS_REDUNDANCY - 0, 1
6830
+ # - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3
6800
6831
  # Corresponds to the JSON property `id`
6801
6832
  # @return [Fixnum]
6802
6833
  attr_accessor :id
@@ -7752,17 +7783,6 @@ module Google
7752
7783
  # @return [Array<String>]
7753
7784
  attr_accessor :target_resources
7754
7785
 
7755
- # A list of secure labels that controls which instances the firewall rule
7756
- # applies to. If targetSecureLabel are specified, then the firewall rule applies
7757
- # only to instances in the VPC network that have one of those secure labels.
7758
- # targetSecureLabel may not be set at the same time as targetServiceAccounts. If
7759
- # neither targetServiceAccounts nor targetSecureLabel are specified, the
7760
- # firewall rule applies to all instances on the specified network. Maximum
7761
- # number of target label values allowed is 256.
7762
- # Corresponds to the JSON property `targetSecureLabels`
7763
- # @return [Array<String>]
7764
- attr_accessor :target_secure_labels
7765
-
7766
7786
  # A list of service accounts indicating the sets of instances that are applied
7767
7787
  # with this rule.
7768
7788
  # Corresponds to the JSON property `targetServiceAccounts`
@@ -7785,7 +7805,6 @@ module Google
7785
7805
  @priority = args[:priority] if args.key?(:priority)
7786
7806
  @rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
7787
7807
  @target_resources = args[:target_resources] if args.key?(:target_resources)
7788
- @target_secure_labels = args[:target_secure_labels] if args.key?(:target_secure_labels)
7789
7808
  @target_service_accounts = args[:target_service_accounts] if args.key?(:target_service_accounts)
7790
7809
  end
7791
7810
  end
@@ -7811,12 +7830,6 @@ module Google
7811
7830
  # @return [Array<String>]
7812
7831
  attr_accessor :src_ip_ranges
7813
7832
 
7814
- # List of firewall label values, which should be matched at the source of the
7815
- # traffic. Maximum number of source label values allowed is 256.
7816
- # Corresponds to the JSON property `srcSecureLabels`
7817
- # @return [Array<String>]
7818
- attr_accessor :src_secure_labels
7819
-
7820
7833
  def initialize(**args)
7821
7834
  update!(**args)
7822
7835
  end
@@ -7826,7 +7839,6 @@ module Google
7826
7839
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
7827
7840
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
7828
7841
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
7829
- @src_secure_labels = args[:src_secure_labels] if args.key?(:src_secure_labels)
7830
7842
  end
7831
7843
  end
7832
7844
 
@@ -7873,7 +7885,7 @@ module Google
7873
7885
  # - If the value is a percent, then the calculated value is percent/100 *
7874
7886
  # targetSize. For example, the calculated value of a 80% of a managed instance
7875
7887
  # group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
7876
- # is a remainder, the number is rounded up.
7888
+ # is a remainder, the number is rounded.
7877
7889
  # Corresponds to the JSON property `calculated`
7878
7890
  # @return [Fixnum]
7879
7891
  attr_accessor :calculated
@@ -7942,10 +7954,11 @@ module Google
7942
7954
  attr_accessor :ip_address
7943
7955
 
7944
7956
  # The IP protocol to which this rule applies.
7945
- # For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP and ICMP.
7957
+ # For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and
7958
+ # L3_DEFAULT.
7946
7959
  # The valid IP protocols are different for different load balancing products:
7947
7960
  # - Internal TCP/UDP Load Balancing: The load balancing scheme is INTERNAL, and
7948
- # one of TCP, UDP or ALL is valid.
7961
+ # one of TCP, UDP or L3_DEFAULT is valid.
7949
7962
  # - Traffic Director: The load balancing scheme is INTERNAL_SELF_MANAGED, and
7950
7963
  # only TCP is valid.
7951
7964
  # - Internal HTTP(S) Load Balancing: The load balancing scheme is
@@ -7953,17 +7966,18 @@ module Google
7953
7966
  # - HTTP(S), SSL Proxy, and TCP Proxy Load Balancing: The load balancing scheme
7954
7967
  # is EXTERNAL and only TCP is valid.
7955
7968
  # - Network Load Balancing: The load balancing scheme is EXTERNAL, and one of
7956
- # TCP or UDP is valid.
7969
+ # TCP, UDP or L3_DEFAULT is valid.
7957
7970
  # Corresponds to the JSON property `IPProtocol`
7958
7971
  # @return [String]
7959
7972
  attr_accessor :ip_protocol
7960
7973
 
7961
- # This field is used along with the backend_service field for internal load
7962
- # balancing or with the target field for internal TargetInstance. This field
7963
- # cannot be used with port or portRange fields.
7964
- # When the load balancing scheme is INTERNAL and protocol is TCP/UDP, specify
7965
- # this field to allow packets addressed to any ports will be forwarded to the
7966
- # backends configured with this forwarding rule.
7974
+ # This field is used along with the backend_service field for Internal TCP/UDP
7975
+ # Load Balancing or Network Load Balancing, or with the target field for
7976
+ # internal and external TargetInstance.
7977
+ # You can only use one of ports and port_range, or allPorts. The three are
7978
+ # mutually exclusive.
7979
+ # For TCP, UDP and SCTP traffic, packets addressed to any ports will be
7980
+ # forwarded to the target or backendService.
7967
7981
  # Corresponds to the JSON property `allPorts`
7968
7982
  # @return [Boolean]
7969
7983
  attr_accessor :all_ports
@@ -8125,13 +8139,16 @@ module Google
8125
8139
  # @return [String]
8126
8140
  attr_accessor :network_tier
8127
8141
 
8128
- # This field can be used only if: * Load balancing scheme is one of EXTERNAL,
8129
- # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED, and * IPProtocol is one of TCP, UDP,
8130
- # or SCTP.
8142
+ # This field can be used only if:
8143
+ # - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or
8144
+ # INTERNAL_MANAGED
8145
+ # - IPProtocol is one of TCP, UDP, or SCTP.
8131
8146
  # Packets addressed to ports in the specified range will be forwarded to target
8132
- # or backend_service. You can only use one of ports, port_range, or allPorts.
8133
- # The three are mutually exclusive. Forwarding rules with the same [IPAddress,
8134
- # IPProtocol] pair must have disjoint port ranges.
8147
+ # or backend_service.
8148
+ # You can only use one of ports, port_range, or allPorts. The three are mutually
8149
+ # exclusive.
8150
+ # Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint
8151
+ # ports.
8135
8152
  # Some types of forwarding target have constraints on the acceptable ports:
8136
8153
  # - TargetHttpProxy: 80, 8080
8137
8154
  # - TargetHttpsProxy: 443
@@ -8152,8 +8169,8 @@ module Google
8152
8169
  # You can only use one of ports and port_range, or allPorts. The three are
8153
8170
  # mutually exclusive.
8154
8171
  # You can specify a list of up to five ports, which can be non-contiguous.
8155
- # For Internal TCP/UDP Load Balancing, if you specify allPorts, you should not
8156
- # specify ports.
8172
+ # Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint
8173
+ # ports.
8157
8174
  # For more information, see [Port specifications](/load-balancing/docs/
8158
8175
  # forwarding-rule-concepts#port_specifications).
8159
8176
  # Corresponds to the JSON property `ports`
@@ -9579,11 +9596,12 @@ module Google
9579
9596
 
9580
9597
  # List of URLs to the HealthCheck resources. Must have at least one HealthCheck,
9581
9598
  # and not more than 10. HealthCheck resources must have portSpecification=
9582
- # USE_SERVING_PORT. For regional HealthCheckService, the HealthCheck must be
9583
- # regional and in the same region. For global HealthCheckService, HealthCheck
9584
- # must be global. Mix of regional and global HealthChecks is not supported.
9585
- # Multiple regional HealthChecks must belong to the same region. Regional
9586
- # HealthChecks</code? must belong to the same region as zones of NEGs.
9599
+ # USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional
9600
+ # HealthCheckService, the HealthCheck must be regional and in the same region.
9601
+ # For global HealthCheckService, HealthCheck must be global. Mix of regional and
9602
+ # global HealthChecks is not supported. Multiple regional HealthChecks must
9603
+ # belong to the same region. Regional HealthChecks must belong to the same
9604
+ # region as zones of NEGs.
9587
9605
  # Corresponds to the JSON property `healthChecks`
9588
9606
  # @return [Array<String>]
9589
9607
  attr_accessor :health_checks
@@ -10200,6 +10218,9 @@ module Google
10200
10218
 
10201
10219
  # The HTTP status code used to abort the request.
10202
10220
  # The value must be between 200 and 599 inclusive.
10221
+ # For gRPC protocol, the gRPC status code is mapped to HTTP status code
10222
+ # according to this mapping table. HTTP status 200 is mapped to gRPC status
10223
+ # UNKNOWN. Injecting an OK status is currently not supported by Traffic Director.
10203
10224
  # Corresponds to the JSON property `httpStatus`
10204
10225
  # @return [Fixnum]
10205
10226
  attr_accessor :http_status
@@ -10826,8 +10847,8 @@ module Google
10826
10847
  # @return [Google::Apis::ComputeV1::Duration]
10827
10848
  attr_accessor :per_try_timeout
10828
10849
 
10829
- # Specfies one or more conditions when this retry rule applies. Valid values are:
10830
- #
10850
+ # Specifies one or more conditions when this retry rule applies. Valid values
10851
+ # are:
10831
10852
  # - 5xx: Loadbalancer will attempt a retry if the backend service responds with
10832
10853
  # any 5xx response code, or if the backend service does not respond at all,
10833
10854
  # example: disconnects, reset, read timeout, connection failure, and refused
@@ -11484,13 +11505,17 @@ module Google
11484
11505
  # @return [Google::Apis::ComputeV1::InitialStateConfig]
11485
11506
  attr_accessor :shielded_instance_initial_state
11486
11507
 
11487
- # URL of the source disk used to create this image. This can be a full or valid
11488
- # partial URL. You must provide either this property or the rawDisk.source
11489
- # property but not both to create an image. For example, the following are valid
11490
- # values:
11508
+ # URL of the source disk used to create this image. For example, the following
11509
+ # are valid values:
11491
11510
  # - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
11492
11511
  # - projects/project/zones/zone/disks/disk
11493
11512
  # - zones/zone/disks/disk
11513
+ # In order to create an image, you must provide the full or partial URL of one
11514
+ # of the following:
11515
+ # - The rawDisk.source URL
11516
+ # - The sourceDisk URL
11517
+ # - The sourceImage URL
11518
+ # - The sourceSnapshot URL
11494
11519
  # Corresponds to the JSON property `sourceDisk`
11495
11520
  # @return [String]
11496
11521
  attr_accessor :source_disk
@@ -11511,10 +11536,10 @@ module Google
11511
11536
  # URL of the source image used to create this image.
11512
11537
  # In order to create an image, you must provide the full or partial URL of one
11513
11538
  # of the following:
11514
- # - The selfLink URL
11515
- # - This property
11516
11539
  # - The rawDisk.source URL
11517
11540
  # - The sourceDisk URL
11541
+ # - The sourceImage URL
11542
+ # - The sourceSnapshot URL
11518
11543
  # Corresponds to the JSON property `sourceImage`
11519
11544
  # @return [String]
11520
11545
  attr_accessor :source_image
@@ -11535,11 +11560,10 @@ module Google
11535
11560
  # URL of the source snapshot used to create this image.
11536
11561
  # In order to create an image, you must provide the full or partial URL of one
11537
11562
  # of the following:
11538
- # - The selfLink URL
11539
- # - This property
11540
- # - The sourceImage URL
11541
11563
  # - The rawDisk.source URL
11542
11564
  # - The sourceDisk URL
11565
+ # - The sourceImage URL
11566
+ # - The sourceSnapshot URL
11543
11567
  # Corresponds to the JSON property `sourceSnapshot`
11544
11568
  # @return [String]
11545
11569
  attr_accessor :source_snapshot
@@ -11633,8 +11657,13 @@ module Google
11633
11657
  # @return [String]
11634
11658
  attr_accessor :sha1_checksum
11635
11659
 
11636
- # The full Google Cloud Storage URL where the disk image is stored. You must
11637
- # provide either this property or the sourceDisk property but not both.
11660
+ # The full Google Cloud Storage URL where the disk image is stored.
11661
+ # In order to create an image, you must provide the full or partial URL of one
11662
+ # of the following:
11663
+ # - The rawDisk.source URL
11664
+ # - The sourceDisk URL
11665
+ # - The sourceImage URL
11666
+ # - The sourceSnapshot URL
11638
11667
  # Corresponds to the JSON property `source`
11639
11668
  # @return [String]
11640
11669
  attr_accessor :source
@@ -11983,11 +12012,6 @@ module Google
11983
12012
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
11984
12013
  attr_accessor :network_interfaces
11985
12014
 
11986
- # PostKeyRevocationActionType of the instance.
11987
- # Corresponds to the JSON property `postKeyRevocationActionType`
11988
- # @return [String]
11989
- attr_accessor :post_key_revocation_action_type
11990
-
11991
12015
  # The private IPv6 google access type for the VM. If not specified, use
11992
12016
  # INHERIT_FROM_SUBNETWORK as default.
11993
12017
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -12010,7 +12034,7 @@ module Google
12010
12034
  attr_accessor :satisfies_pzs
12011
12035
  alias_method :satisfies_pzs?, :satisfies_pzs
12012
12036
 
12013
- # Sets the scheduling options for an Instance. NextID: 20
12037
+ # Sets the scheduling options for an Instance. NextID: 21
12014
12038
  # Corresponds to the JSON property `scheduling`
12015
12039
  # @return [Google::Apis::ComputeV1::Scheduling]
12016
12040
  attr_accessor :scheduling
@@ -12102,7 +12126,6 @@ module Google
12102
12126
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
12103
12127
  @name = args[:name] if args.key?(:name)
12104
12128
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
12105
- @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
12106
12129
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
12107
12130
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
12108
12131
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -12607,6 +12630,13 @@ module Google
12607
12630
  end
12608
12631
  end
12609
12632
 
12633
+ # Whether the instance is a standby. Properties of a standby instance comparing
12634
+ # to the regular instance: ======================================================
12635
+ # =================== | regular | standby =======================================
12636
+ # ================================== managed by IGM? | yes | yes added to the IG?
12637
+ # | yes | yes counts towards IGM's target size? | yes | no taken into account
12638
+ # by Autoscaler? | yes | no receives traffic from LB? | yes | no ================
12639
+ # =========================================================
12610
12640
  # Represents a Managed Instance Group resource.
12611
12641
  # An instance group is a collection of VM instances that you can manage as a
12612
12642
  # single entity. For more information, read Instance groups.
@@ -14615,11 +14645,6 @@ module Google
14615
14645
  # @return [Array<Google::Apis::ComputeV1::NetworkInterface>]
14616
14646
  attr_accessor :network_interfaces
14617
14647
 
14618
- # PostKeyRevocationActionType of the instance.
14619
- # Corresponds to the JSON property `postKeyRevocationActionType`
14620
- # @return [String]
14621
- attr_accessor :post_key_revocation_action_type
14622
-
14623
14648
  # The private IPv6 google access type for VMs. If not specified, use
14624
14649
  # INHERIT_FROM_SUBNETWORK as default.
14625
14650
  # Corresponds to the JSON property `privateIpv6GoogleAccess`
@@ -14637,7 +14662,7 @@ module Google
14637
14662
  # @return [Array<String>]
14638
14663
  attr_accessor :resource_policies
14639
14664
 
14640
- # Sets the scheduling options for an Instance. NextID: 20
14665
+ # Sets the scheduling options for an Instance. NextID: 21
14641
14666
  # Corresponds to the JSON property `scheduling`
14642
14667
  # @return [Google::Apis::ComputeV1::Scheduling]
14643
14668
  attr_accessor :scheduling
@@ -14677,7 +14702,6 @@ module Google
14677
14702
  @metadata = args[:metadata] if args.key?(:metadata)
14678
14703
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
14679
14704
  @network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
14680
- @post_key_revocation_action_type = args[:post_key_revocation_action_type] if args.key?(:post_key_revocation_action_type)
14681
14705
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
14682
14706
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
14683
14707
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
@@ -15582,15 +15606,18 @@ module Google
15582
15606
  # @return [String]
15583
15607
  attr_accessor :edge_availability_domain
15584
15608
 
15585
- # Indicates the user-supplied encryption option of this interconnect attachment:
15586
- # - NONE is the default value, which means that the attachment carries
15587
- # unencrypted traffic. VMs can send traffic to, or receive traffic from, this
15588
- # type of attachment.
15589
- # - IPSEC indicates that the attachment carries only traffic encrypted by an
15590
- # IPsec device such as an HA VPN gateway. VMs cannot directly send traffic to,
15591
- # or receive traffic from, such an attachment. To use IPsec-encrypted Cloud
15592
- # Interconnect, create the attachment using this option.
15593
- # Not currently available in all Interconnect locations.
15609
+ # Indicates the user-supplied encryption option of this VLAN attachment (
15610
+ # interconnectAttachment). Can only be specified at attachment creation for
15611
+ # PARTNER or DEDICATED attachments. Possible values are:
15612
+ # - NONE - This is the default value, which means that the VLAN attachment
15613
+ # carries unencrypted traffic. VMs are able to send traffic to, or receive
15614
+ # traffic from, such a VLAN attachment.
15615
+ # - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted
15616
+ # by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs
15617
+ # cannot directly send traffic to, or receive traffic from, such a VLAN
15618
+ # attachment. To use IPsec-encrypted Cloud Interconnect, the VLAN attachment
15619
+ # must be created with this option.
15620
+ # Not currently available publicly.
15594
15621
  # Corresponds to the JSON property `encryption`
15595
15622
  # @return [String]
15596
15623
  attr_accessor :encryption
@@ -15614,19 +15641,19 @@ module Google
15614
15641
  # @return [String]
15615
15642
  attr_accessor :interconnect
15616
15643
 
15617
- # URL of addresses that have been reserved for the interconnect attachment, Used
15618
- # only for interconnect attachment that has the encryption option as IPSEC. The
15619
- # addresses must be RFC 1918 IP address ranges. When creating HA VPN gateway
15620
- # over the interconnect attachment, if the attachment is configured to use an
15621
- # RFC 1918 IP address, then the VPN gateway?s IP address will be allocated from
15622
- # the IP address range specified here. For example, if the HA VPN gateway?s
15623
- # interface 0 is paired to this interconnect attachment, then an RFC 1918 IP
15644
+ # List of URL of addresses that have been reserved for the VLAN attachment. Used
15645
+ # only for the VLAN attachment that has the encryption option as IPSEC. The
15646
+ # addresses must be regional internal IP address ranges. When creating an HA VPN
15647
+ # gateway over the VLAN attachment, if the attachment is configured to use a
15648
+ # regional internal IP address, then the VPN gateway's IP address is allocated
15649
+ # from the IP address range specified here. For example, if the HA VPN gateway's
15650
+ # interface 0 is paired to this VLAN attachment, then a regional internal IP
15624
15651
  # address for the VPN gateway interface 0 will be allocated from the IP address
15625
- # specified for this interconnect attachment. If this field is not specified for
15626
- # interconnect attachment that has encryption option as IPSEC, later on when
15627
- # creating HA VPN gateway on this interconnect attachment, the HA VPN gateway's
15628
- # IP address will be allocated from regional external IP address pool.
15629
- # Not currently available in all Interconnect locations.
15652
+ # specified for this VLAN attachment. If this field is not specified when
15653
+ # creating the VLAN attachment, then later on when creating an HA VPN gateway on
15654
+ # this VLAN attachment, the HA VPN gateway's IP address is allocated from the
15655
+ # regional external IP address pool.
15656
+ # Not currently available publicly.
15630
15657
  # Corresponds to the JSON property `ipsecInternalAddresses`
15631
15658
  # @return [Array<String>]
15632
15659
  attr_accessor :ipsec_internal_addresses
@@ -16842,8 +16869,10 @@ module Google
16842
16869
  # - ACTIVE: This outage notification is active. The event could be in the past,
16843
16870
  # present, or future. See start_time and end_time for scheduling.
16844
16871
  # - CANCELLED: The outage associated with this notification was cancelled before
16845
- # the outage was due to start. Note that the versions of this enum prefixed with
16846
- # "NS_" have been deprecated in favor of the unprefixed values.
16872
+ # the outage was due to start.
16873
+ # - COMPLETED: The outage associated with this notification is complete. Note
16874
+ # that the versions of this enum prefixed with "NS_" have been deprecated in
16875
+ # favor of the unprefixed values.
16847
16876
  # Corresponds to the JSON property `state`
16848
16877
  # @return [String]
16849
16878
  attr_accessor :state
@@ -17279,7 +17308,7 @@ module Google
17279
17308
  include Google::Apis::Core::Hashable
17280
17309
 
17281
17310
  # Location configurations mapped by location name. Currently only zone names are
17282
- # supported and must be represented as valid internal URLs, like: zones/us-
17311
+ # supported and must be represented as valid internal URLs, such as zones/us-
17283
17312
  # central1-a.
17284
17313
  # Corresponds to the JSON property `locations`
17285
17314
  # @return [Hash<String,Google::Apis::ComputeV1::LocationPolicyLocation>]
@@ -17299,7 +17328,7 @@ module Google
17299
17328
  class LocationPolicyLocation
17300
17329
  include Google::Apis::Core::Hashable
17301
17330
 
17302
- #
17331
+ # Preference for a given location: ALLOW or DENY.
17303
17332
  # Corresponds to the JSON property `preference`
17304
17333
  # @return [String]
17305
17334
  attr_accessor :preference
@@ -19360,6 +19389,20 @@ module Google
19360
19389
  # @return [String]
19361
19390
  attr_accessor :fingerprint
19362
19391
 
19392
+ # An array of IPv6 access configurations for this interface. Currently, only one
19393
+ # IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig
19394
+ # specified, then this instance will have no external IPv6 Internet access.
19395
+ # Corresponds to the JSON property `ipv6AccessConfigs`
19396
+ # @return [Array<Google::Apis::ComputeV1::AccessConfig>]
19397
+ attr_accessor :ipv6_access_configs
19398
+
19399
+ # [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be
19400
+ # accessed from the Internet. This field is always inherited from its subnetwork.
19401
+ # Valid only if stackType is IPV4_IPV6.
19402
+ # Corresponds to the JSON property `ipv6AccessType`
19403
+ # @return [String]
19404
+ attr_accessor :ipv6_access_type
19405
+
19363
19406
  # [Output Only] An IPv6 internal network address for this network interface.
19364
19407
  # Corresponds to the JSON property `ipv6Address`
19365
19408
  # @return [String]
@@ -19403,6 +19446,14 @@ module Google
19403
19446
  # @return [String]
19404
19447
  attr_accessor :nic_type
19405
19448
 
19449
+ # The stack type for this network interface to identify whether the IPv6 feature
19450
+ # is enabled or not. If not specified, IPV4_ONLY will be used.
19451
+ # This field can be both set at instance creation and update network interface
19452
+ # operations.
19453
+ # Corresponds to the JSON property `stackType`
19454
+ # @return [String]
19455
+ attr_accessor :stack_type
19456
+
19406
19457
  # The URL of the Subnetwork resource for this instance. If the network resource
19407
19458
  # is in legacy mode, do not specify this field. If the network is in auto subnet
19408
19459
  # mode, specifying the subnetwork is optional. If the network is in custom
@@ -19425,12 +19476,15 @@ module Google
19425
19476
  @access_configs = args[:access_configs] if args.key?(:access_configs)
19426
19477
  @alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
19427
19478
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19479
+ @ipv6_access_configs = args[:ipv6_access_configs] if args.key?(:ipv6_access_configs)
19480
+ @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
19428
19481
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
19429
19482
  @kind = args[:kind] if args.key?(:kind)
19430
19483
  @name = args[:name] if args.key?(:name)
19431
19484
  @network = args[:network] if args.key?(:network)
19432
19485
  @network_ip = args[:network_ip] if args.key?(:network_ip)
19433
19486
  @nic_type = args[:nic_type] if args.key?(:nic_type)
19487
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
19434
19488
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
19435
19489
  end
19436
19490
  end
@@ -26235,7 +26289,10 @@ module Google
26235
26289
  # @return [String]
26236
26290
  attr_accessor :key
26237
26291
 
26238
- # Corresponds to the label values of a reservation resource.
26292
+ # Corresponds to the label values of a reservation resource. This can be either
26293
+ # a name to a reservation in the same project or "projects/different-project/
26294
+ # reservations/some-reservation-name" to target a shared reservation in the same
26295
+ # zone but in a different project.
26239
26296
  # Corresponds to the JSON property `values`
26240
26297
  # @return [Array<String>]
26241
26298
  attr_accessor :values
@@ -27870,9 +27927,9 @@ module Google
27870
27927
  # @return [String]
27871
27928
  attr_accessor :description
27872
27929
 
27873
- # Field to indicate if a router is dedicated to use with encrypted Interconnect
27874
- # Attachment (IPsec-encrypted Cloud Interconnect feature).
27875
- # Not currently available in all Interconnect locations.
27930
+ # Indicates if a router is dedicated for use with encrypted VLAN attachments (
27931
+ # interconnectAttachments).
27932
+ # Not currently available publicly.
27876
27933
  # Corresponds to the JSON property `encryptedInterconnectRouter`
27877
27934
  # @return [Boolean]
27878
27935
  attr_accessor :encrypted_interconnect_router
@@ -28131,6 +28188,18 @@ module Google
28131
28188
  # @return [Fixnum]
28132
28189
  attr_accessor :asn
28133
28190
 
28191
+ # The interval in seconds between BGP keepalive messages that are sent to the
28192
+ # peer.
28193
+ # Hold time is three times the interval at which keepalive messages are sent,
28194
+ # and the hold time is the maximum number of seconds allowed to elapse between
28195
+ # successive keepalive messages that BGP receives from a peer.
28196
+ # BGP will use the smaller of either the local hold time value or the peer's
28197
+ # hold time value as the hold time for the BGP connection between the two peers.
28198
+ # If set, this value must be between 20 and 60. The default is 20.
28199
+ # Corresponds to the JSON property `keepaliveInterval`
28200
+ # @return [Fixnum]
28201
+ attr_accessor :keepalive_interval
28202
+
28134
28203
  def initialize(**args)
28135
28204
  update!(**args)
28136
28205
  end
@@ -28141,6 +28210,7 @@ module Google
28141
28210
  @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
28142
28211
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
28143
28212
  @asn = args[:asn] if args.key?(:asn)
28213
+ @keepalive_interval = args[:keepalive_interval] if args.key?(:keepalive_interval)
28144
28214
  end
28145
28215
  end
28146
28216
 
@@ -28181,6 +28251,14 @@ module Google
28181
28251
  # @return [Fixnum]
28182
28252
  attr_accessor :advertised_route_priority
28183
28253
 
28254
+ # The status of the BGP peer connection.
28255
+ # If set to FALSE, any active session with the peer is terminated and all
28256
+ # associated routing information is removed. If set to TRUE, the peer connection
28257
+ # can be established with routing information. The default is TRUE.
28258
+ # Corresponds to the JSON property `enable`
28259
+ # @return [String]
28260
+ attr_accessor :enable
28261
+
28184
28262
  # Name of the interface the BGP peer is associated with.
28185
28263
  # Corresponds to the JSON property `interfaceName`
28186
28264
  # @return [String]
@@ -28235,6 +28313,7 @@ module Google
28235
28313
  @advertised_groups = args[:advertised_groups] if args.key?(:advertised_groups)
28236
28314
  @advertised_ip_ranges = args[:advertised_ip_ranges] if args.key?(:advertised_ip_ranges)
28237
28315
  @advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
28316
+ @enable = args[:enable] if args.key?(:enable)
28238
28317
  @interface_name = args[:interface_name] if args.key?(:interface_name)
28239
28318
  @ip_address = args[:ip_address] if args.key?(:ip_address)
28240
28319
  @management_type = args[:management_type] if args.key?(:management_type)
@@ -29089,7 +29168,7 @@ module Google
29089
29168
  end
29090
29169
  end
29091
29170
 
29092
- # Sets the scheduling options for an Instance. NextID: 20
29171
+ # Sets the scheduling options for an Instance. NextID: 21
29093
29172
  class Scheduling
29094
29173
  include Google::Apis::Core::Hashable
29095
29174
 
@@ -29258,6 +29337,11 @@ module Google
29258
29337
  class SecurityPolicy
29259
29338
  include Google::Apis::Core::Hashable
29260
29339
 
29340
+ #
29341
+ # Corresponds to the JSON property `advancedOptionsConfig`
29342
+ # @return [Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig]
29343
+ attr_accessor :advanced_options_config
29344
+
29261
29345
  # [Output Only] Creation timestamp in RFC3339 text format.
29262
29346
  # Corresponds to the JSON property `creationTimestamp`
29263
29347
  # @return [String]
@@ -29322,6 +29406,7 @@ module Google
29322
29406
 
29323
29407
  # Update properties of this object
29324
29408
  def update!(**args)
29409
+ @advanced_options_config = args[:advanced_options_config] if args.key?(:advanced_options_config)
29325
29410
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
29326
29411
  @description = args[:description] if args.key?(:description)
29327
29412
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
@@ -29333,6 +29418,31 @@ module Google
29333
29418
  end
29334
29419
  end
29335
29420
 
29421
+ #
29422
+ class SecurityPolicyAdvancedOptionsConfig
29423
+ include Google::Apis::Core::Hashable
29424
+
29425
+ #
29426
+ # Corresponds to the JSON property `jsonParsing`
29427
+ # @return [String]
29428
+ attr_accessor :json_parsing
29429
+
29430
+ #
29431
+ # Corresponds to the JSON property `logLevel`
29432
+ # @return [String]
29433
+ attr_accessor :log_level
29434
+
29435
+ def initialize(**args)
29436
+ update!(**args)
29437
+ end
29438
+
29439
+ # Update properties of this object
29440
+ def update!(**args)
29441
+ @json_parsing = args[:json_parsing] if args.key?(:json_parsing)
29442
+ @log_level = args[:log_level] if args.key?(:log_level)
29443
+ end
29444
+ end
29445
+
29336
29446
  #
29337
29447
  class SecurityPolicyList
29338
29448
  include Google::Apis::Core::Hashable
@@ -31167,6 +31277,12 @@ module Google
31167
31277
  attr_accessor :enable_flow_logs
31168
31278
  alias_method :enable_flow_logs?, :enable_flow_logs
31169
31279
 
31280
+ # [Output Only] The range of external IPv6 addresses that are owned by this
31281
+ # subnetwork.
31282
+ # Corresponds to the JSON property `externalIpv6Prefix`
31283
+ # @return [String]
31284
+ attr_accessor :external_ipv6_prefix
31285
+
31170
31286
  # Fingerprint of this resource. A hash of the contents stored in this object.
31171
31287
  # This field is used in optimistic locking. This field will be ignored when
31172
31288
  # inserting a Subnetwork. An up-to-date fingerprint must be provided in order to
@@ -31200,6 +31316,14 @@ module Google
31200
31316
  # @return [String]
31201
31317
  attr_accessor :ip_cidr_range
31202
31318
 
31319
+ # The access type of IPv6 address this subnet holds. It's immutable and can only
31320
+ # be specified during creation or the first time the subnet is updated into
31321
+ # IPV4_IPV6 dual stack. If the ipv6_type is EXTERNAL then this subnet cannot
31322
+ # enable direct path.
31323
+ # Corresponds to the JSON property `ipv6AccessType`
31324
+ # @return [String]
31325
+ attr_accessor :ipv6_access_type
31326
+
31203
31327
  # [Output Only] The range of internal IPv6 addresses that are owned by this
31204
31328
  # subnetwork.
31205
31329
  # Corresponds to the JSON property `ipv6CidrRange`
@@ -31290,14 +31414,19 @@ module Google
31290
31414
  # @return [String]
31291
31415
  attr_accessor :self_link
31292
31416
 
31417
+ # The stack type for this subnet to identify whether the IPv6 feature is enabled
31418
+ # or not. If not specified IPV4_ONLY will be used.
31419
+ # This field can be both set at resource creation time and updated using patch.
31420
+ # Corresponds to the JSON property `stackType`
31421
+ # @return [String]
31422
+ attr_accessor :stack_type
31423
+
31293
31424
  # [Output Only] The state of the subnetwork, which can be one of the following
31294
31425
  # values: READY: Subnetwork is created and ready to use DRAINING: only
31295
31426
  # applicable to subnetworks that have the purpose set to
31296
31427
  # INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load
31297
31428
  # balancer are being drained. A subnetwork that is draining cannot be used or
31298
- # modified until it reaches a status of READY CREATING: Subnetwork is
31299
- # provisioning DELETING: Subnetwork is being deleted UPDATING: Subnetwork is
31300
- # being updated
31429
+ # modified until it reaches a status of READY
31301
31430
  # Corresponds to the JSON property `state`
31302
31431
  # @return [String]
31303
31432
  attr_accessor :state
@@ -31311,10 +31440,12 @@ module Google
31311
31440
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
31312
31441
  @description = args[:description] if args.key?(:description)
31313
31442
  @enable_flow_logs = args[:enable_flow_logs] if args.key?(:enable_flow_logs)
31443
+ @external_ipv6_prefix = args[:external_ipv6_prefix] if args.key?(:external_ipv6_prefix)
31314
31444
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
31315
31445
  @gateway_address = args[:gateway_address] if args.key?(:gateway_address)
31316
31446
  @id = args[:id] if args.key?(:id)
31317
31447
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
31448
+ @ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
31318
31449
  @ipv6_cidr_range = args[:ipv6_cidr_range] if args.key?(:ipv6_cidr_range)
31319
31450
  @kind = args[:kind] if args.key?(:kind)
31320
31451
  @log_config = args[:log_config] if args.key?(:log_config)
@@ -31327,6 +31458,7 @@ module Google
31327
31458
  @role = args[:role] if args.key?(:role)
31328
31459
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
31329
31460
  @self_link = args[:self_link] if args.key?(:self_link)
31461
+ @stack_type = args[:stack_type] if args.key?(:stack_type)
31330
31462
  @state = args[:state] if args.key?(:state)
31331
31463
  end
31332
31464
  end
@@ -32599,7 +32731,8 @@ module Google
32599
32731
  include Google::Apis::Core::Hashable
32600
32732
 
32601
32733
  # New set of SslCertificate resources to associate with this TargetHttpsProxy
32602
- # resource. Currently exactly one SslCertificate resource must be specified.
32734
+ # resource. At least one SSL certificate must be specified. Currently, you may
32735
+ # specify up to 15 SSL certificates.
32603
32736
  # Corresponds to the JSON property `sslCertificates`
32604
32737
  # @return [Array<String>]
32605
32738
  attr_accessor :ssl_certificates
@@ -32734,6 +32867,8 @@ module Google
32734
32867
  # URLs to SslCertificate resources that are used to authenticate connections
32735
32868
  # between users and the load balancer. At least one SSL certificate must be
32736
32869
  # specified. Currently, you may specify up to 15 SSL certificates.
32870
+ # sslCertificates do not apply when the load balancing scheme is set to
32871
+ # INTERNAL_SELF_MANAGED.
32737
32872
  # Corresponds to the JSON property `sslCertificates`
32738
32873
  # @return [Array<String>]
32739
32874
  attr_accessor :ssl_certificates
@@ -34074,7 +34209,8 @@ module Google
34074
34209
  include Google::Apis::Core::Hashable
34075
34210
 
34076
34211
  # New set of URLs to SslCertificate resources to associate with this
34077
- # TargetSslProxy. Currently exactly one ssl certificate must be specified.
34212
+ # TargetSslProxy. At least one SSL certificate must be specified. Currently, you
34213
+ # may specify up to 15 SSL certificates.
34078
34214
  # Corresponds to the JSON property `sslCertificates`
34079
34215
  # @return [Array<String>]
34080
34216
  attr_accessor :ssl_certificates
@@ -34148,7 +34284,8 @@ module Google
34148
34284
 
34149
34285
  # URLs to SslCertificate resources that are used to authenticate connections to
34150
34286
  # Backends. At least one SSL certificate must be specified. Currently, you may
34151
- # specify up to 15 SSL certificates.
34287
+ # specify up to 15 SSL certificates. sslCertificates do not apply when the load
34288
+ # balancing scheme is set to INTERNAL_SELF_MANAGED.
34152
34289
  # Corresponds to the JSON property `sslCertificates`
34153
34290
  # @return [Array<String>]
34154
34291
  attr_accessor :ssl_certificates
@@ -35905,7 +36042,9 @@ module Google
35905
36042
  # requests. If the number of results is larger than maxResults, use the
35906
36043
  # nextPageToken as a value for the query parameter pageToken in the next list
35907
36044
  # request. Subsequent list requests will have their own nextPageToken to
35908
- # continue paging through the results.
36045
+ # continue paging through the results. In special cases listUsable may return 0
36046
+ # subnetworks and nextPageToken which still should be used to get the next page
36047
+ # of results.
35909
36048
  # Corresponds to the JSON property `nextPageToken`
35910
36049
  # @return [String]
35911
36050
  attr_accessor :next_page_token
@@ -36309,7 +36448,7 @@ module Google
36309
36448
  # @return [String]
36310
36449
  attr_accessor :self_link
36311
36450
 
36312
- # A list of interfaces on this VPN gateway.
36451
+ # The list of VPN interfaces associated with this VPN gateway.
36313
36452
  # Corresponds to the JSON property `vpnInterfaces`
36314
36453
  # @return [Array<Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface>]
36315
36454
  attr_accessor :vpn_interfaces
@@ -36702,21 +36841,30 @@ module Google
36702
36841
  class VpnGatewayVpnGatewayInterface
36703
36842
  include Google::Apis::Core::Hashable
36704
36843
 
36705
- # The numeric ID of this VPN gateway interface.
36844
+ # [Output Only] Numeric identifier for this VPN interface associated with the
36845
+ # VPN gateway.
36706
36846
  # Corresponds to the JSON property `id`
36707
36847
  # @return [Fixnum]
36708
36848
  attr_accessor :id
36709
36849
 
36710
- # URL of the interconnect attachment resource. When the value of this field is
36711
- # present, the VPN Gateway will be used for IPsec-encrypted Cloud Interconnect;
36712
- # all Egress or Ingress traffic for this VPN Gateway interface will go through
36713
- # the specified interconnect attachment resource.
36714
- # Not currently available in all Interconnect locations.
36850
+ # URL of the VLAN attachment (interconnectAttachment) resource for this VPN
36851
+ # gateway interface. When the value of this field is present, the VPN gateway is
36852
+ # used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for
36853
+ # this VPN gateway interface goes through the specified VLAN attachment resource.
36854
+ # Not currently available publicly.
36715
36855
  # Corresponds to the JSON property `interconnectAttachment`
36716
36856
  # @return [String]
36717
36857
  attr_accessor :interconnect_attachment
36718
36858
 
36719
- # [Output Only] The external IP address for this VPN gateway interface.
36859
+ # [Output Only] IP address for this VPN interface associated with the VPN
36860
+ # gateway. The IP address could be either a regional external IP address or a
36861
+ # regional internal IP address. The two IP addresses for a VPN gateway must be
36862
+ # all regional external or regional internal IP addresses. There cannot be a mix
36863
+ # of regional external IP addresses and regional internal IP addresses. For
36864
+ # IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could
36865
+ # either be regional internal IP addresses or regional external IP addresses.
36866
+ # For regular (non IPsec-encrypted Cloud Interconnect) HA VPN tunnels, the IP
36867
+ # address must be a regional external IP address.
36720
36868
  # Corresponds to the JSON property `ipAddress`
36721
36869
  # @return [String]
36722
36870
  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.8.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.3.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210316"
25
+ REVISION = "20210525"
26
26
  end
27
27
  end
28
28
  end
@@ -3856,6 +3856,12 @@ module Google
3856
3856
  include Google::Apis::Core::JsonObjectSupport
3857
3857
  end
3858
3858
 
3859
+ class SecurityPolicyAdvancedOptionsConfig
3860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3861
+
3862
+ include Google::Apis::Core::JsonObjectSupport
3863
+ end
3864
+
3859
3865
  class SecurityPolicyList
3860
3866
  class Representation < Google::Apis::Core::JsonRepresentation; end
3861
3867
 
@@ -5194,6 +5200,8 @@ module Google
5194
5200
  class AccessConfig
5195
5201
  # @private
5196
5202
  class Representation < Google::Apis::Core::JsonRepresentation
5203
+ property :external_ipv6, as: 'externalIpv6'
5204
+ property :external_ipv6_prefix_length, as: 'externalIpv6PrefixLength'
5197
5205
  property :kind, as: 'kind'
5198
5206
  property :name, as: 'name'
5199
5207
  property :nat_ip, as: 'natIP'
@@ -5324,6 +5332,7 @@ module Google
5324
5332
  # @private
5325
5333
  class Representation < Google::Apis::Core::JsonRepresentation
5326
5334
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
5335
+ property :threads_per_core, as: 'threadsPerCore'
5327
5336
  end
5328
5337
  end
5329
5338
 
@@ -6833,7 +6842,6 @@ module Google
6833
6842
  property :priority, as: 'priority'
6834
6843
  property :rule_tuple_count, as: 'ruleTupleCount'
6835
6844
  collection :target_resources, as: 'targetResources'
6836
- collection :target_secure_labels, as: 'targetSecureLabels'
6837
6845
  collection :target_service_accounts, as: 'targetServiceAccounts'
6838
6846
  end
6839
6847
  end
@@ -6845,7 +6853,6 @@ module Google
6845
6853
  collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeV1::FirewallPolicyRuleMatcherLayer4Config::Representation
6846
6854
 
6847
6855
  collection :src_ip_ranges, as: 'srcIpRanges'
6848
- collection :src_secure_labels, as: 'srcSecureLabels'
6849
6856
  end
6850
6857
  end
6851
6858
 
@@ -7765,7 +7772,6 @@ module Google
7765
7772
  property :name, as: 'name'
7766
7773
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
7767
7774
 
7768
- property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
7769
7775
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
7770
7776
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
7771
7777
 
@@ -8455,7 +8461,6 @@ module Google
8455
8461
  property :min_cpu_platform, as: 'minCpuPlatform'
8456
8462
  collection :network_interfaces, as: 'networkInterfaces', class: Google::Apis::ComputeV1::NetworkInterface, decorator: Google::Apis::ComputeV1::NetworkInterface::Representation
8457
8463
 
8458
- property :post_key_revocation_action_type, as: 'postKeyRevocationActionType'
8459
8464
  property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
8460
8465
  property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::ComputeV1::ReservationAffinity, decorator: Google::Apis::ComputeV1::ReservationAffinity::Representation
8461
8466
 
@@ -9653,12 +9658,16 @@ module Google
9653
9658
  collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeV1::AliasIpRange, decorator: Google::Apis::ComputeV1::AliasIpRange::Representation
9654
9659
 
9655
9660
  property :fingerprint, :base64 => true, as: 'fingerprint'
9661
+ collection :ipv6_access_configs, as: 'ipv6AccessConfigs', class: Google::Apis::ComputeV1::AccessConfig, decorator: Google::Apis::ComputeV1::AccessConfig::Representation
9662
+
9663
+ property :ipv6_access_type, as: 'ipv6AccessType'
9656
9664
  property :ipv6_address, as: 'ipv6Address'
9657
9665
  property :kind, as: 'kind'
9658
9666
  property :name, as: 'name'
9659
9667
  property :network, as: 'network'
9660
9668
  property :network_ip, as: 'networkIP'
9661
9669
  property :nic_type, as: 'nicType'
9670
+ property :stack_type, as: 'stackType'
9662
9671
  property :subnetwork, as: 'subnetwork'
9663
9672
  end
9664
9673
  end
@@ -11916,6 +11925,7 @@ module Google
11916
11925
  collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
11917
11926
 
11918
11927
  property :asn, as: 'asn'
11928
+ property :keepalive_interval, as: 'keepaliveInterval'
11919
11929
  end
11920
11930
  end
11921
11931
 
@@ -11927,6 +11937,7 @@ module Google
11927
11937
  collection :advertised_ip_ranges, as: 'advertisedIpRanges', class: Google::Apis::ComputeV1::RouterAdvertisedIpRange, decorator: Google::Apis::ComputeV1::RouterAdvertisedIpRange::Representation
11928
11938
 
11929
11939
  property :advertised_route_priority, as: 'advertisedRoutePriority'
11940
+ property :enable, as: 'enable'
11930
11941
  property :interface_name, as: 'interfaceName'
11931
11942
  property :ip_address, as: 'ipAddress'
11932
11943
  property :management_type, as: 'managementType'
@@ -12193,6 +12204,8 @@ module Google
12193
12204
  class SecurityPolicy
12194
12205
  # @private
12195
12206
  class Representation < Google::Apis::Core::JsonRepresentation
12207
+ property :advanced_options_config, as: 'advancedOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyAdvancedOptionsConfig::Representation
12208
+
12196
12209
  property :creation_timestamp, as: 'creationTimestamp'
12197
12210
  property :description, as: 'description'
12198
12211
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -12205,6 +12218,14 @@ module Google
12205
12218
  end
12206
12219
  end
12207
12220
 
12221
+ class SecurityPolicyAdvancedOptionsConfig
12222
+ # @private
12223
+ class Representation < Google::Apis::Core::JsonRepresentation
12224
+ property :json_parsing, as: 'jsonParsing'
12225
+ property :log_level, as: 'logLevel'
12226
+ end
12227
+ end
12228
+
12208
12229
  class SecurityPolicyList
12209
12230
  # @private
12210
12231
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12667,10 +12688,12 @@ module Google
12667
12688
  property :creation_timestamp, as: 'creationTimestamp'
12668
12689
  property :description, as: 'description'
12669
12690
  property :enable_flow_logs, as: 'enableFlowLogs'
12691
+ property :external_ipv6_prefix, as: 'externalIpv6Prefix'
12670
12692
  property :fingerprint, :base64 => true, as: 'fingerprint'
12671
12693
  property :gateway_address, as: 'gatewayAddress'
12672
12694
  property :id, :numeric_string => true, as: 'id'
12673
12695
  property :ip_cidr_range, as: 'ipCidrRange'
12696
+ property :ipv6_access_type, as: 'ipv6AccessType'
12674
12697
  property :ipv6_cidr_range, as: 'ipv6CidrRange'
12675
12698
  property :kind, as: 'kind'
12676
12699
  property :log_config, as: 'logConfig', class: Google::Apis::ComputeV1::SubnetworkLogConfig, decorator: Google::Apis::ComputeV1::SubnetworkLogConfig::Representation
@@ -12685,6 +12708,7 @@ module Google
12685
12708
  collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeV1::SubnetworkSecondaryRange, decorator: Google::Apis::ComputeV1::SubnetworkSecondaryRange::Representation
12686
12709
 
12687
12710
  property :self_link, as: 'selfLink'
12711
+ property :stack_type, as: 'stackType'
12688
12712
  property :state, as: 'state'
12689
12713
  end
12690
12714
  end
@@ -3583,7 +3583,8 @@ module Google
3583
3583
  execute_or_queue_command(command, &block)
3584
3584
  end
3585
3585
 
3586
- # Lists all the policies that have been configured for the specified project.
3586
+ # Lists all the policies that have been configured for the specified folder or
3587
+ # organization.
3587
3588
  # @param [String] filter
3588
3589
  # A filter expression that filters resources listed in the response. The
3589
3590
  # expression must specify the field name, a comparison operator, and the value
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.3'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Compute Engine API V1. Simple REST
28
34
  clients are Ruby client libraries that provide access to Google services via their
29
35
  HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.13.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-compute_v1
57
63
  post_install_message:
58
64
  rdoc_options: []
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  - !ruby/object:Gem::Version
70
76
  version: '0'
71
77
  requirements: []
72
- rubygems_version: 3.2.13
78
+ rubygems_version: 3.2.17
73
79
  signing_key:
74
80
  specification_version: 4
75
81
  summary: Simple REST client for Compute Engine API V1