google-apis-compute_beta 0.50.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -591,6 +591,13 @@ module Google
591
591
  # @return [String]
592
592
  attr_accessor :ip_version
593
593
 
594
+ # The endpoint type of this address, which should be VM or NETLB. This is used
595
+ # for deciding which type of endpoint this address can be used after the
596
+ # external IPv6 address reservation.
597
+ # Corresponds to the JSON property `ipv6EndpointType`
598
+ # @return [String]
599
+ attr_accessor :ipv6_endpoint_type
600
+
594
601
  # [Output Only] Type of the resource. Always compute#address for addresses.
595
602
  # Corresponds to the JSON property `kind`
596
603
  # @return [String]
@@ -709,6 +716,7 @@ module Google
709
716
  @description = args[:description] if args.key?(:description)
710
717
  @id = args[:id] if args.key?(:id)
711
718
  @ip_version = args[:ip_version] if args.key?(:ip_version)
719
+ @ipv6_endpoint_type = args[:ipv6_endpoint_type] if args.key?(:ipv6_endpoint_type)
712
720
  @kind = args[:kind] if args.key?(:kind)
713
721
  @label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
714
722
  @labels = args[:labels] if args.key?(:labels)
@@ -1197,8 +1205,8 @@ module Google
1197
1205
  # @return [Fixnum]
1198
1206
  attr_accessor :maintenance_freeze_duration_hours
1199
1207
 
1200
- # For more information about maintenance intervals, see Setting maintenance
1201
- # intervals.
1208
+ # Specifies the frequency of planned maintenance events. The accepted values are:
1209
+ # `PERIODIC`.
1202
1210
  # Corresponds to the JSON property `maintenanceInterval`
1203
1211
  # @return [String]
1204
1212
  attr_accessor :maintenance_interval
@@ -4813,6 +4821,31 @@ module Google
4813
4821
  end
4814
4822
  end
4815
4823
 
4824
+ #
4825
+ class BundledLocalSsds
4826
+ include Google::Apis::Core::Hashable
4827
+
4828
+ # The default disk interface if the interface is not specified.
4829
+ # Corresponds to the JSON property `defaultInterface`
4830
+ # @return [String]
4831
+ attr_accessor :default_interface
4832
+
4833
+ # The number of partitions.
4834
+ # Corresponds to the JSON property `partitionCount`
4835
+ # @return [Fixnum]
4836
+ attr_accessor :partition_count
4837
+
4838
+ def initialize(**args)
4839
+ update!(**args)
4840
+ end
4841
+
4842
+ # Update properties of this object
4843
+ def update!(**args)
4844
+ @default_interface = args[:default_interface] if args.key?(:default_interface)
4845
+ @partition_count = args[:partition_count] if args.key?(:partition_count)
4846
+ end
4847
+ end
4848
+
4816
4849
  #
4817
4850
  class CacheInvalidationRule
4818
4851
  include Google::Apis::Core::Hashable
@@ -5652,7 +5685,8 @@ module Google
5652
5685
  # Specifies a regular expression that matches allowed origins. For more
5653
5686
  # information about the regular expression syntax, see Syntax. An origin is
5654
5687
  # allowed if it matches either an item in allowOrigins or an item in
5655
- # allowOriginRegexes.
5688
+ # allowOriginRegexes. Regular expressions can only be used when the
5689
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
5656
5690
  # Corresponds to the JSON property `allowOriginRegexes`
5657
5691
  # @return [Array<String>]
5658
5692
  attr_accessor :allow_origin_regexes
@@ -8664,6 +8698,12 @@ module Google
8664
8698
  # @return [Array<String>]
8665
8699
  attr_accessor :dest_address_groups
8666
8700
 
8701
+ # Fully Qualified Domain Name (FQDN) which should be matched against traffic
8702
+ # destination. Maximum number of destination fqdn allowed is 100.
8703
+ # Corresponds to the JSON property `destFqdns`
8704
+ # @return [Array<String>]
8705
+ attr_accessor :dest_fqdns
8706
+
8667
8707
  # CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is
8668
8708
  # 5000.
8669
8709
  # Corresponds to the JSON property `destIpRanges`
@@ -8695,6 +8735,12 @@ module Google
8695
8735
  # @return [Array<String>]
8696
8736
  attr_accessor :src_address_groups
8697
8737
 
8738
+ # Fully Qualified Domain Name (FQDN) which should be matched against traffic
8739
+ # source. Maximum number of source fqdn allowed is 100.
8740
+ # Corresponds to the JSON property `srcFqdns`
8741
+ # @return [Array<String>]
8742
+ attr_accessor :src_fqdns
8743
+
8698
8744
  # CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000.
8699
8745
  # Corresponds to the JSON property `srcIpRanges`
8700
8746
  # @return [Array<String>]
@@ -8728,11 +8774,13 @@ module Google
8728
8774
  # Update properties of this object
8729
8775
  def update!(**args)
8730
8776
  @dest_address_groups = args[:dest_address_groups] if args.key?(:dest_address_groups)
8777
+ @dest_fqdns = args[:dest_fqdns] if args.key?(:dest_fqdns)
8731
8778
  @dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
8732
8779
  @dest_region_codes = args[:dest_region_codes] if args.key?(:dest_region_codes)
8733
8780
  @dest_threat_intelligences = args[:dest_threat_intelligences] if args.key?(:dest_threat_intelligences)
8734
8781
  @layer4_configs = args[:layer4_configs] if args.key?(:layer4_configs)
8735
8782
  @src_address_groups = args[:src_address_groups] if args.key?(:src_address_groups)
8783
+ @src_fqdns = args[:src_fqdns] if args.key?(:src_fqdns)
8736
8784
  @src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
8737
8785
  @src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
8738
8786
  @src_secure_tags = args[:src_secure_tags] if args.key?(:src_secure_tags)
@@ -9131,7 +9179,16 @@ module Google
9131
9179
  # @return [String]
9132
9180
  attr_accessor :subnetwork
9133
9181
 
9134
- #
9182
+ # The URL of the target resource to receive the matched traffic. For regional
9183
+ # forwarding rules, this target must be in the same region as the forwarding
9184
+ # rule. For global forwarding rules, this target must be a global load balancing
9185
+ # resource. The forwarded traffic must be of a type appropriate to the target
9186
+ # object. For more information, see the "Target" column in [Port specifications](
9187
+ # https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
9188
+ # ip_address_specifications). For Private Service Connect forwarding rules that
9189
+ # forward traffic to Google APIs, provide the name of a supported Google API
9190
+ # bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All
9191
+ # supported Google APIs.
9135
9192
  # Corresponds to the JSON property `target`
9136
9193
  # @return [String]
9137
9194
  attr_accessor :target
@@ -9577,27 +9634,35 @@ module Google
9577
9634
  # @return [String]
9578
9635
  attr_accessor :grpc_service_name
9579
9636
 
9580
- # The port number for the health check request. Must be specified if port_name
9581
- # and port_specification are not set or if port_specification is USE_FIXED_PORT.
9582
- # Valid values are 1 through 65535.
9637
+ # The TCP port number to which the health check prober sends packets. Valid
9638
+ # values are 1 through 65535.
9583
9639
  # Corresponds to the JSON property `port`
9584
9640
  # @return [Fixnum]
9585
9641
  attr_accessor :port
9586
9642
 
9587
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
9588
- # port_name are defined, port takes precedence. The port_name should conform to
9589
- # RFC1035.
9643
+ # Not supported.
9590
9644
  # Corresponds to the JSON property `portName`
9591
9645
  # @return [String]
9592
9646
  attr_accessor :port_name
9593
9647
 
9594
- # Specifies how port is selected for health checking, can be one of following
9595
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
9596
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
9597
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
9598
- # for health checking. For other backends, the port or named port specified in
9599
- # the Backend Service is used for health checking. If not specified, gRPC health
9600
- # check follows behavior specified in port and portName fields.
9648
+ # Specifies how a port is selected for health checking. Can be one of the
9649
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
9650
+ # port field in the health check. Supported by backend services for pass-through
9651
+ # load balancers and backend services for proxy load balancers. Not supported by
9652
+ # target pools. The health check supports all backends supported by the backend
9653
+ # service provided the backend can be health checked. For example, GCE_VM_IP
9654
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
9655
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
9656
+ # indirect method of specifying the health check port by referring to the
9657
+ # backend service. Only supported by backend services for proxy load balancers.
9658
+ # Not supported by target pools. Not supported by backend services for pass-
9659
+ # through load balancers. Supports all backends that can be health checked; for
9660
+ # example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
9661
+ # For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
9662
+ # port number specified for each endpoint in the network endpoint group. For
9663
+ # instance group backends, the health check uses the port number determined by
9664
+ # looking up the backend service's named port in the instance group's list of
9665
+ # named ports.
9601
9666
  # Corresponds to the JSON property `portSpecification`
9602
9667
  # @return [String]
9603
9668
  attr_accessor :port_specification
@@ -9935,31 +10000,43 @@ module Google
9935
10000
  include Google::Apis::Core::Hashable
9936
10001
 
9937
10002
  # The value of the host header in the HTTP/2 health check request. If left empty
9938
- # (default value), the IP on behalf of which this health check is performed will
9939
- # be used.
10003
+ # (default value), the host header is set to the destination IP address to which
10004
+ # health check packets are sent. The destination IP address depends on the type
10005
+ # of load balancer. For details, see: https://cloud.google.com/load-balancing/
10006
+ # docs/health-check-concepts#hc-packet-dest
9940
10007
  # Corresponds to the JSON property `host`
9941
10008
  # @return [String]
9942
10009
  attr_accessor :host
9943
10010
 
9944
- # The TCP port number for the health check request. The default value is 443.
9945
- # Valid values are 1 through 65535.
10011
+ # The TCP port number to which the health check prober sends packets. The
10012
+ # default value is 443. Valid values are 1 through 65535.
9946
10013
  # Corresponds to the JSON property `port`
9947
10014
  # @return [Fixnum]
9948
10015
  attr_accessor :port
9949
10016
 
9950
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
9951
- # port_name are defined, port takes precedence.
10017
+ # Not supported.
9952
10018
  # Corresponds to the JSON property `portName`
9953
10019
  # @return [String]
9954
10020
  attr_accessor :port_name
9955
10021
 
9956
- # Specifies how port is selected for health checking, can be one of following
9957
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
9958
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
9959
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
9960
- # for health checking. For other backends, the port or named port specified in
9961
- # the Backend Service is used for health checking. If not specified, HTTP2
9962
- # health check follows behavior specified in port and portName fields.
10022
+ # Specifies how a port is selected for health checking. Can be one of the
10023
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
10024
+ # port field in the health check. Supported by backend services for pass-through
10025
+ # load balancers and backend services for proxy load balancers. Not supported by
10026
+ # target pools. The health check supports all backends supported by the backend
10027
+ # service provided the backend can be health checked. For example, GCE_VM_IP
10028
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
10029
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
10030
+ # indirect method of specifying the health check port by referring to the
10031
+ # backend service. Only supported by backend services for proxy load balancers.
10032
+ # Not supported by target pools. Not supported by backend services for pass-
10033
+ # through load balancers. Supports all backends that can be health checked; for
10034
+ # example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
10035
+ # For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
10036
+ # port number specified for each endpoint in the network endpoint group. For
10037
+ # instance group backends, the health check uses the port number determined by
10038
+ # looking up the backend service's named port in the instance group's list of
10039
+ # named ports.
9963
10040
  # Corresponds to the JSON property `portSpecification`
9964
10041
  # @return [String]
9965
10042
  attr_accessor :port_specification
@@ -9975,9 +10052,11 @@ module Google
9975
10052
  # @return [String]
9976
10053
  attr_accessor :request_path
9977
10054
 
9978
- # The string to match anywhere in the first 1024 bytes of the response body. If
9979
- # left empty (the default value), the status code determines health. The
9980
- # response data can only be ASCII.
10055
+ # Creates a content-based HTTP/2 health check. In addition to the required HTTP
10056
+ # 200 (OK) status code, you can configure the health check to pass only when the
10057
+ # backend sends this specific ASCII response string within the first 1024 bytes
10058
+ # of the HTTP response body. For details, see: https://cloud.google.com/load-
10059
+ # balancing/docs/health-check-concepts#criteria-protocol-http
9981
10060
  # Corresponds to the JSON property `response`
9982
10061
  # @return [String]
9983
10062
  attr_accessor :response
@@ -10003,31 +10082,43 @@ module Google
10003
10082
  include Google::Apis::Core::Hashable
10004
10083
 
10005
10084
  # The value of the host header in the HTTP health check request. If left empty (
10006
- # default value), the IP on behalf of which this health check is performed will
10007
- # be used.
10085
+ # default value), the host header is set to the destination IP address to which
10086
+ # health check packets are sent. The destination IP address depends on the type
10087
+ # of load balancer. For details, see: https://cloud.google.com/load-balancing/
10088
+ # docs/health-check-concepts#hc-packet-dest
10008
10089
  # Corresponds to the JSON property `host`
10009
10090
  # @return [String]
10010
10091
  attr_accessor :host
10011
10092
 
10012
- # The TCP port number for the health check request. The default value is 80.
10013
- # Valid values are 1 through 65535.
10093
+ # The TCP port number to which the health check prober sends packets. The
10094
+ # default value is 80. Valid values are 1 through 65535.
10014
10095
  # Corresponds to the JSON property `port`
10015
10096
  # @return [Fixnum]
10016
10097
  attr_accessor :port
10017
10098
 
10018
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
10019
- # port_name are defined, port takes precedence.
10099
+ # Not supported.
10020
10100
  # Corresponds to the JSON property `portName`
10021
10101
  # @return [String]
10022
10102
  attr_accessor :port_name
10023
10103
 
10024
- # Specifies how port is selected for health checking, can be one of following
10025
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
10026
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
10027
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
10028
- # for health checking. For other backends, the port or named port specified in
10029
- # the Backend Service is used for health checking. If not specified, HTTP health
10030
- # check follows behavior specified in port and portName fields.
10104
+ # Specifies how a port is selected for health checking. Can be one of the
10105
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
10106
+ # port field in the health check. Supported by backend services for pass-through
10107
+ # load balancers and backend services for proxy load balancers. Also supported
10108
+ # in legacy HTTP health checks for target pools. The health check supports all
10109
+ # backends supported by the backend service provided the backend can be health
10110
+ # checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT
10111
+ # network endpoint groups, and instance group backends. USE_NAMED_PORT: Not
10112
+ # supported. USE_SERVING_PORT: Provides an indirect method of specifying the
10113
+ # health check port by referring to the backend service. Only supported by
10114
+ # backend services for proxy load balancers. Not supported by target pools. Not
10115
+ # supported by backend services for pass-through load balancers. Supports all
10116
+ # backends that can be health checked; for example, GCE_VM_IP_PORT network
10117
+ # endpoint groups and instance group backends. For GCE_VM_IP_PORT network
10118
+ # endpoint group backends, the health check uses the port number specified for
10119
+ # each endpoint in the network endpoint group. For instance group backends, the
10120
+ # health check uses the port number determined by looking up the backend service'
10121
+ # s named port in the instance group's list of named ports.
10031
10122
  # Corresponds to the JSON property `portSpecification`
10032
10123
  # @return [String]
10033
10124
  attr_accessor :port_specification
@@ -10043,9 +10134,11 @@ module Google
10043
10134
  # @return [String]
10044
10135
  attr_accessor :request_path
10045
10136
 
10046
- # The string to match anywhere in the first 1024 bytes of the response body. If
10047
- # left empty (the default value), the status code determines health. The
10048
- # response data can only be ASCII.
10137
+ # Creates a content-based HTTP health check. In addition to the required HTTP
10138
+ # 200 (OK) status code, you can configure the health check to pass only when the
10139
+ # backend sends this specific ASCII response string within the first 1024 bytes
10140
+ # of the HTTP response body. For details, see: https://cloud.google.com/load-
10141
+ # balancing/docs/health-check-concepts#criteria-protocol-http
10049
10142
  # Corresponds to the JSON property `response`
10050
10143
  # @return [String]
10051
10144
  attr_accessor :response
@@ -10071,31 +10164,43 @@ module Google
10071
10164
  include Google::Apis::Core::Hashable
10072
10165
 
10073
10166
  # The value of the host header in the HTTPS health check request. If left empty (
10074
- # default value), the IP on behalf of which this health check is performed will
10075
- # be used.
10167
+ # default value), the host header is set to the destination IP address to which
10168
+ # health check packets are sent. The destination IP address depends on the type
10169
+ # of load balancer. For details, see: https://cloud.google.com/load-balancing/
10170
+ # docs/health-check-concepts#hc-packet-dest
10076
10171
  # Corresponds to the JSON property `host`
10077
10172
  # @return [String]
10078
10173
  attr_accessor :host
10079
10174
 
10080
- # The TCP port number for the health check request. The default value is 443.
10081
- # Valid values are 1 through 65535.
10175
+ # The TCP port number to which the health check prober sends packets. The
10176
+ # default value is 443. Valid values are 1 through 65535.
10082
10177
  # Corresponds to the JSON property `port`
10083
10178
  # @return [Fixnum]
10084
10179
  attr_accessor :port
10085
10180
 
10086
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
10087
- # port_name are defined, port takes precedence.
10181
+ # Not supported.
10088
10182
  # Corresponds to the JSON property `portName`
10089
10183
  # @return [String]
10090
10184
  attr_accessor :port_name
10091
10185
 
10092
- # Specifies how port is selected for health checking, can be one of following
10093
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
10094
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
10095
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
10096
- # for health checking. For other backends, the port or named port specified in
10097
- # the Backend Service is used for health checking. If not specified, HTTPS
10098
- # health check follows behavior specified in port and portName fields.
10186
+ # Specifies how a port is selected for health checking. Can be one of the
10187
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
10188
+ # port field in the health check. Supported by backend services for pass-through
10189
+ # load balancers and backend services for proxy load balancers. Not supported by
10190
+ # target pools. The health check supports all backends supported by the backend
10191
+ # service provided the backend can be health checked. For example, GCE_VM_IP
10192
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
10193
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
10194
+ # indirect method of specifying the health check port by referring to the
10195
+ # backend service. Only supported by backend services for proxy load balancers.
10196
+ # Not supported by target pools. Not supported by backend services for pass-
10197
+ # through load balancers. Supports all backends that can be health checked; for
10198
+ # example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
10199
+ # For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
10200
+ # port number specified for each endpoint in the network endpoint group. For
10201
+ # instance group backends, the health check uses the port number determined by
10202
+ # looking up the backend service's named port in the instance group's list of
10203
+ # named ports.
10099
10204
  # Corresponds to the JSON property `portSpecification`
10100
10205
  # @return [String]
10101
10206
  attr_accessor :port_specification
@@ -10111,9 +10216,11 @@ module Google
10111
10216
  # @return [String]
10112
10217
  attr_accessor :request_path
10113
10218
 
10114
- # The string to match anywhere in the first 1024 bytes of the response body. If
10115
- # left empty (the default value), the status code determines health. The
10116
- # response data can only be ASCII.
10219
+ # Creates a content-based HTTPS health check. In addition to the required HTTP
10220
+ # 200 (OK) status code, you can configure the health check to pass only when the
10221
+ # backend sends this specific ASCII response string within the first 1024 bytes
10222
+ # of the HTTP response body. For details, see: https://cloud.google.com/load-
10223
+ # balancing/docs/health-check-concepts#criteria-protocol-http
10117
10224
  # Corresponds to the JSON property `response`
10118
10225
  # @return [String]
10119
10226
  attr_accessor :response
@@ -11375,8 +11482,8 @@ module Google
11375
11482
  # For matching against a port specified in the HTTP request, use a headerMatch
11376
11483
  # with headerName set to PORT and a regular expression that satisfies the
11377
11484
  # RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch,
11378
- # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch
11379
- # only applies to load balancers that have loadBalancingScheme set to
11485
+ # suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular
11486
+ # expressions can only be used when the loadBalancingScheme is set to
11380
11487
  # INTERNAL_SELF_MANAGED.
11381
11488
  # Corresponds to the JSON property `regexMatch`
11382
11489
  # @return [String]
@@ -11695,8 +11802,8 @@ module Google
11695
11802
  # The queryParameterMatch matches if the value of the parameter matches the
11696
11803
  # regular expression specified by regexMatch. For more information about regular
11697
11804
  # expression syntax, see Syntax. Only one of presentMatch, exactMatch, or
11698
- # regexMatch must be set. regexMatch only applies when the loadBalancingScheme
11699
- # is set to INTERNAL_SELF_MANAGED.
11805
+ # regexMatch must be set. Regular expressions can only be used when the
11806
+ # loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
11700
11807
  # Corresponds to the JSON property `regexMatch`
11701
11808
  # @return [String]
11702
11809
  attr_accessor :regex_match
@@ -12098,8 +12205,8 @@ module Google
12098
12205
  # the regular expression specified in regexMatch after removing any query
12099
12206
  # parameters and anchor supplied with the original URL. For more information
12100
12207
  # about regular expression syntax, see Syntax. Only one of prefixMatch,
12101
- # fullPathMatch or regexMatch must be specified. regexMatch only applies to load
12102
- # balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED.
12208
+ # fullPathMatch or regexMatch must be specified. Regular expressions can only be
12209
+ # used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
12103
12210
  # Corresponds to the JSON property `regexMatch`
12104
12211
  # @return [String]
12105
12212
  attr_accessor :regex_match
@@ -13076,6 +13183,13 @@ module Google
13076
13183
  # @return [Array<String>]
13077
13184
  attr_accessor :resource_policies
13078
13185
 
13186
+ # Contains output only fields. Use this sub-message for actual values set on
13187
+ # Instance attributes as compared to the value requested by the user (intent) in
13188
+ # their instance CRUD calls.
13189
+ # Corresponds to the JSON property `resourceStatus`
13190
+ # @return [Google::Apis::ComputeBeta::ResourceStatus]
13191
+ attr_accessor :resource_status
13192
+
13079
13193
  # [Output Only] Reserved for future use.
13080
13194
  # Corresponds to the JSON property `satisfiesPzs`
13081
13195
  # @return [Boolean]
@@ -13204,6 +13318,7 @@ module Google
13204
13318
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
13205
13319
  @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
13206
13320
  @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
13321
+ @resource_status = args[:resource_status] if args.key?(:resource_status)
13207
13322
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
13208
13323
  @scheduling = args[:scheduling] if args.key?(:scheduling)
13209
13324
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -13845,6 +13960,11 @@ module Google
13845
13960
  # @return [String]
13846
13961
  attr_accessor :instance_group
13847
13962
 
13963
+ # The repair policy for this managed instance group.
13964
+ # Corresponds to the JSON property `instanceLifecyclePolicy`
13965
+ # @return [Google::Apis::ComputeBeta::InstanceGroupManagerInstanceLifecyclePolicy]
13966
+ attr_accessor :instance_lifecycle_policy
13967
+
13848
13968
  # The URL of the instance template that is specified for this managed instance
13849
13969
  # group. The group uses this template to create all new instances in the managed
13850
13970
  # instance group. The templates for existing instances in the group do not
@@ -13961,6 +14081,7 @@ module Google
13961
14081
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
13962
14082
  @id = args[:id] if args.key?(:id)
13963
14083
  @instance_group = args[:instance_group] if args.key?(:instance_group)
14084
+ @instance_lifecycle_policy = args[:instance_lifecycle_policy] if args.key?(:instance_lifecycle_policy)
13964
14085
  @instance_template = args[:instance_template] if args.key?(:instance_template)
13965
14086
  @kind = args[:kind] if args.key?(:kind)
13966
14087
  @list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
@@ -14267,6 +14388,29 @@ module Google
14267
14388
  end
14268
14389
  end
14269
14390
 
14391
+ #
14392
+ class InstanceGroupManagerInstanceLifecyclePolicy
14393
+ include Google::Apis::Core::Hashable
14394
+
14395
+ # A bit indicating whether to forcefully apply the group's latest configuration
14396
+ # when repairing a VM. Valid options are: - NO (default): If configuration
14397
+ # updates are available, they are not forcefully applied during repair. Instead,
14398
+ # configuration updates are applied according to the group's update policy. -
14399
+ # YES: If configuration updates are available, they are applied during repair.
14400
+ # Corresponds to the JSON property `forceUpdateOnRepair`
14401
+ # @return [String]
14402
+ attr_accessor :force_update_on_repair
14403
+
14404
+ def initialize(**args)
14405
+ update!(**args)
14406
+ end
14407
+
14408
+ # Update properties of this object
14409
+ def update!(**args)
14410
+ @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair)
14411
+ end
14412
+ end
14413
+
14270
14414
  # [Output Only] A list of managed instance groups.
14271
14415
  class InstanceGroupManagerList
14272
14416
  include Google::Apis::Core::Hashable
@@ -19397,6 +19541,11 @@ module Google
19397
19541
  # @return [Array<Google::Apis::ComputeBeta::MachineType::Accelerator>]
19398
19542
  attr_accessor :accelerators
19399
19543
 
19544
+ # [Output Only] The configuration of bundled local SSD for the machine type.
19545
+ # Corresponds to the JSON property `bundledLocalSsds`
19546
+ # @return [Google::Apis::ComputeBeta::BundledLocalSsds]
19547
+ attr_accessor :bundled_local_ssds
19548
+
19400
19549
  # [Output Only] Creation timestamp in RFC3339 text format.
19401
19550
  # Corresponds to the JSON property `creationTimestamp`
19402
19551
  # @return [String]
@@ -19475,6 +19624,7 @@ module Google
19475
19624
  # Update properties of this object
19476
19625
  def update!(**args)
19477
19626
  @accelerators = args[:accelerators] if args.key?(:accelerators)
19627
+ @bundled_local_ssds = args[:bundled_local_ssds] if args.key?(:bundled_local_ssds)
19478
19628
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19479
19629
  @deprecated = args[:deprecated] if args.key?(:deprecated)
19480
19630
  @description = args[:description] if args.key?(:description)
@@ -20098,6 +20248,11 @@ module Google
20098
20248
  # @return [Google::Apis::ComputeBeta::LocalizedMessage]
20099
20249
  attr_accessor :localized_message
20100
20250
 
20251
+ # Additional details for quota exceeded error for resource quota.
20252
+ # Corresponds to the JSON property `quotaInfo`
20253
+ # @return [Google::Apis::ComputeBeta::QuotaExceededInfo]
20254
+ attr_accessor :quota_info
20255
+
20101
20256
  def initialize(**args)
20102
20257
  update!(**args)
20103
20258
  end
@@ -20107,6 +20262,7 @@ module Google
20107
20262
  @error_info = args[:error_info] if args.key?(:error_info)
20108
20263
  @help = args[:help] if args.key?(:help)
20109
20264
  @localized_message = args[:localized_message] if args.key?(:localized_message)
20265
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
20110
20266
  end
20111
20267
  end
20112
20268
  end
@@ -24639,6 +24795,11 @@ module Google
24639
24795
  # @return [Google::Apis::ComputeBeta::LocalizedMessage]
24640
24796
  attr_accessor :localized_message
24641
24797
 
24798
+ # Additional details for quota exceeded error for resource quota.
24799
+ # Corresponds to the JSON property `quotaInfo`
24800
+ # @return [Google::Apis::ComputeBeta::QuotaExceededInfo]
24801
+ attr_accessor :quota_info
24802
+
24642
24803
  def initialize(**args)
24643
24804
  update!(**args)
24644
24805
  end
@@ -24648,6 +24809,7 @@ module Google
24648
24809
  @error_info = args[:error_info] if args.key?(:error_info)
24649
24810
  @help = args[:help] if args.key?(:help)
24650
24811
  @localized_message = args[:localized_message] if args.key?(:localized_message)
24812
+ @quota_info = args[:quota_info] if args.key?(:quota_info)
24651
24813
  end
24652
24814
  end
24653
24815
  end
@@ -25095,28 +25257,36 @@ module Google
25095
25257
 
25096
25258
  # Number of errors before a host is ejected from the connection pool. When the
25097
25259
  # backend host is accessed over HTTP, a 5xx return code qualifies as an error.
25098
- # Defaults to 5.
25260
+ # Defaults to 5. Not supported when the backend service is referenced by a URL
25261
+ # map that is bound to target gRPC proxy that has validateForProxyless field set
25262
+ # to true.
25099
25263
  # Corresponds to the JSON property `consecutiveErrors`
25100
25264
  # @return [Fixnum]
25101
25265
  attr_accessor :consecutive_errors
25102
25266
 
25103
25267
  # The number of consecutive gateway failures (502, 503, 504 status or connection
25104
25268
  # errors that are mapped to one of those status codes) before a consecutive
25105
- # gateway failure ejection occurs. Defaults to 3.
25269
+ # gateway failure ejection occurs. Defaults to 3. Not supported when the backend
25270
+ # service is referenced by a URL map that is bound to target gRPC proxy that has
25271
+ # validateForProxyless field set to true.
25106
25272
  # Corresponds to the JSON property `consecutiveGatewayFailure`
25107
25273
  # @return [Fixnum]
25108
25274
  attr_accessor :consecutive_gateway_failure
25109
25275
 
25110
25276
  # The percentage chance that a host will be actually ejected when an outlier
25111
25277
  # status is detected through consecutive 5xx. This setting can be used to
25112
- # disable ejection or to ramp it up slowly. Defaults to 0.
25278
+ # disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
25279
+ # the backend service is referenced by a URL map that is bound to target gRPC
25280
+ # proxy that has validateForProxyless field set to true.
25113
25281
  # Corresponds to the JSON property `enforcingConsecutiveErrors`
25114
25282
  # @return [Fixnum]
25115
25283
  attr_accessor :enforcing_consecutive_errors
25116
25284
 
25117
25285
  # The percentage chance that a host will be actually ejected when an outlier
25118
25286
  # status is detected through consecutive gateway failures. This setting can be
25119
- # used to disable ejection or to ramp it up slowly. Defaults to 100.
25287
+ # used to disable ejection or to ramp it up slowly. Defaults to 100. Not
25288
+ # supported when the backend service is referenced by a URL map that is bound to
25289
+ # target gRPC proxy that has validateForProxyless field set to true.
25120
25290
  # Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
25121
25291
  # @return [Fixnum]
25122
25292
  attr_accessor :enforcing_consecutive_gateway_failure
@@ -27350,6 +27520,44 @@ module Google
27350
27520
  end
27351
27521
  end
27352
27522
 
27523
+ # Additional details for quota exceeded error for resource quota.
27524
+ class QuotaExceededInfo
27525
+ include Google::Apis::Core::Hashable
27526
+
27527
+ # The map holding related quota dimensions.
27528
+ # Corresponds to the JSON property `dimensions`
27529
+ # @return [Hash<String,String>]
27530
+ attr_accessor :dimensions
27531
+
27532
+ # Current effective quota limit. The limit's unit depends on the quota type or
27533
+ # metric.
27534
+ # Corresponds to the JSON property `limit`
27535
+ # @return [Float]
27536
+ attr_accessor :limit
27537
+
27538
+ # The name of the quota limit.
27539
+ # Corresponds to the JSON property `limitName`
27540
+ # @return [String]
27541
+ attr_accessor :limit_name
27542
+
27543
+ # The Compute Engine quota metric name.
27544
+ # Corresponds to the JSON property `metricName`
27545
+ # @return [String]
27546
+ attr_accessor :metric_name
27547
+
27548
+ def initialize(**args)
27549
+ update!(**args)
27550
+ end
27551
+
27552
+ # Update properties of this object
27553
+ def update!(**args)
27554
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
27555
+ @limit = args[:limit] if args.key?(:limit)
27556
+ @limit_name = args[:limit_name] if args.key?(:limit_name)
27557
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
27558
+ end
27559
+ end
27560
+
27353
27561
  # Represents a reference to a resource.
27354
27562
  class Reference
27355
27563
  include Google::Apis::Core::Hashable
@@ -30428,6 +30636,27 @@ module Google
30428
30636
  end
30429
30637
  end
30430
30638
 
30639
+ # Contains output only fields. Use this sub-message for actual values set on
30640
+ # Instance attributes as compared to the value requested by the user (intent) in
30641
+ # their instance CRUD calls.
30642
+ class ResourceStatus
30643
+ include Google::Apis::Core::Hashable
30644
+
30645
+ # [Output Only] An opaque ID of the host on which the VM is running.
30646
+ # Corresponds to the JSON property `physicalHost`
30647
+ # @return [String]
30648
+ attr_accessor :physical_host
30649
+
30650
+ def initialize(**args)
30651
+ update!(**args)
30652
+ end
30653
+
30654
+ # Update properties of this object
30655
+ def update!(**args)
30656
+ @physical_host = args[:physical_host] if args.key?(:physical_host)
30657
+ end
30658
+ end
30659
+
30431
30660
  # A rollout policy configuration.
30432
30661
  class RolloutPolicy
30433
30662
  include Google::Apis::Core::Hashable
@@ -31963,11 +32192,22 @@ module Google
31963
32192
  # @return [Google::Apis::ComputeBeta::BfdStatus]
31964
32193
  attr_accessor :bfd_status
31965
32194
 
32195
+ # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
32196
+ # Corresponds to the JSON property `enableIpv6`
32197
+ # @return [Boolean]
32198
+ attr_accessor :enable_ipv6
32199
+ alias_method :enable_ipv6?, :enable_ipv6
32200
+
31966
32201
  # IP address of the local BGP interface.
31967
32202
  # Corresponds to the JSON property `ipAddress`
31968
32203
  # @return [String]
31969
32204
  attr_accessor :ip_address
31970
32205
 
32206
+ # IPv6 address of the local BGP interface.
32207
+ # Corresponds to the JSON property `ipv6NexthopAddress`
32208
+ # @return [String]
32209
+ attr_accessor :ipv6_nexthop_address
32210
+
31971
32211
  # URL of the VPN tunnel that this BGP peer controls.
31972
32212
  # Corresponds to the JSON property `linkedVpnTunnel`
31973
32213
  # @return [String]
@@ -31994,6 +32234,11 @@ module Google
31994
32234
  # @return [String]
31995
32235
  attr_accessor :peer_ip_address
31996
32236
 
32237
+ # IPv6 address of the remote BGP interface.
32238
+ # Corresponds to the JSON property `peerIpv6NexthopAddress`
32239
+ # @return [String]
32240
+ attr_accessor :peer_ipv6_nexthop_address
32241
+
31997
32242
  # [Output only] URI of the VM instance that is used as third-party router
31998
32243
  # appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.
31999
32244
  # The VM instance is the peer side of the BGP session.
@@ -32036,12 +32281,15 @@ module Google
32036
32281
  def update!(**args)
32037
32282
  @advertised_routes = args[:advertised_routes] if args.key?(:advertised_routes)
32038
32283
  @bfd_status = args[:bfd_status] if args.key?(:bfd_status)
32284
+ @enable_ipv6 = args[:enable_ipv6] if args.key?(:enable_ipv6)
32039
32285
  @ip_address = args[:ip_address] if args.key?(:ip_address)
32286
+ @ipv6_nexthop_address = args[:ipv6_nexthop_address] if args.key?(:ipv6_nexthop_address)
32040
32287
  @linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
32041
32288
  @md5_auth_enabled = args[:md5_auth_enabled] if args.key?(:md5_auth_enabled)
32042
32289
  @name = args[:name] if args.key?(:name)
32043
32290
  @num_learned_routes = args[:num_learned_routes] if args.key?(:num_learned_routes)
32044
32291
  @peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
32292
+ @peer_ipv6_nexthop_address = args[:peer_ipv6_nexthop_address] if args.key?(:peer_ipv6_nexthop_address)
32045
32293
  @router_appliance_instance = args[:router_appliance_instance] if args.key?(:router_appliance_instance)
32046
32294
  @state = args[:state] if args.key?(:state)
32047
32295
  @status = args[:status] if args.key?(:status)
@@ -32364,25 +32612,35 @@ module Google
32364
32612
  class SslHealthCheck
32365
32613
  include Google::Apis::Core::Hashable
32366
32614
 
32367
- # The TCP port number for the health check request. The default value is 443.
32368
- # Valid values are 1 through 65535.
32615
+ # The TCP port number to which the health check prober sends packets. The
32616
+ # default value is 443. Valid values are 1 through 65535.
32369
32617
  # Corresponds to the JSON property `port`
32370
32618
  # @return [Fixnum]
32371
32619
  attr_accessor :port
32372
32620
 
32373
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
32374
- # port_name are defined, port takes precedence.
32621
+ # Not supported.
32375
32622
  # Corresponds to the JSON property `portName`
32376
32623
  # @return [String]
32377
32624
  attr_accessor :port_name
32378
32625
 
32379
- # Specifies how port is selected for health checking, can be one of following
32380
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
32381
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
32382
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
32383
- # for health checking. For other backends, the port or named port specified in
32384
- # the Backend Service is used for health checking. If not specified, SSL health
32385
- # check follows behavior specified in port and portName fields.
32626
+ # Specifies how a port is selected for health checking. Can be one of the
32627
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
32628
+ # port field in the health check. Supported by backend services for pass-through
32629
+ # load balancers and backend services for proxy load balancers. Not supported by
32630
+ # target pools. The health check supports all backends supported by the backend
32631
+ # service provided the backend can be health checked. For example, GCE_VM_IP
32632
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
32633
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
32634
+ # indirect method of specifying the health check port by referring to the
32635
+ # backend service. Only supported by backend services for proxy load balancers.
32636
+ # Not supported by target pools. Not supported by backend services for pass-
32637
+ # through load balancers. Supports all backends that can be health checked; for
32638
+ # example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
32639
+ # For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
32640
+ # port number specified for each endpoint in the network endpoint group. For
32641
+ # instance group backends, the health check uses the port number determined by
32642
+ # looking up the backend service's named port in the instance group's list of
32643
+ # named ports.
32386
32644
  # Corresponds to the JSON property `portSpecification`
32387
32645
  # @return [String]
32388
32646
  attr_accessor :port_specification
@@ -32393,17 +32651,17 @@ module Google
32393
32651
  # @return [String]
32394
32652
  attr_accessor :proxy_header
32395
32653
 
32396
- # The application data to send once the SSL connection has been established (
32397
- # default value is empty). If both request and response are empty, the
32398
- # connection establishment alone will indicate health. The request data can only
32399
- # be ASCII.
32654
+ # Instructs the health check prober to send this exact ASCII string, up to 1024
32655
+ # bytes in length, after establishing the TCP connection and SSL handshake.
32400
32656
  # Corresponds to the JSON property `request`
32401
32657
  # @return [String]
32402
32658
  attr_accessor :request
32403
32659
 
32404
- # The bytes to match against the beginning of the response data. If left empty (
32405
- # the default value), any response will indicate health. The response data can
32406
- # only be ASCII.
32660
+ # Creates a content-based SSL health check. In addition to establishing a TCP
32661
+ # connection and the TLS handshake, you can configure the health check to pass
32662
+ # only when the backend sends this exact response ASCII string, up to 1024 bytes
32663
+ # in length. For details, see: https://cloud.google.com/load-balancing/docs/
32664
+ # health-check-concepts#criteria-protocol-ssl-tcp
32407
32665
  # Corresponds to the JSON property `response`
32408
32666
  # @return [String]
32409
32667
  attr_accessor :response
@@ -32667,12 +32925,20 @@ module Google
32667
32925
  # @return [Fixnum]
32668
32926
  attr_accessor :maintenance_freeze_duration_hours
32669
32927
 
32670
- # For more information about maintenance intervals, see Setting maintenance
32671
- # intervals.
32928
+ # Specifies the frequency of planned maintenance events. The accepted values are:
32929
+ # `PERIODIC`.
32672
32930
  # Corresponds to the JSON property `maintenanceInterval`
32673
32931
  # @return [String]
32674
32932
  attr_accessor :maintenance_interval
32675
32933
 
32934
+ # A Duration represents a fixed-length span of time represented as a count of
32935
+ # seconds and fractions of seconds at nanosecond resolution. It is independent
32936
+ # of any calendar and concepts like "day" or "month". Range is approximately 10,
32937
+ # 000 years.
32938
+ # Corresponds to the JSON property `maxRunDuration`
32939
+ # @return [Google::Apis::ComputeBeta::Duration]
32940
+ attr_accessor :max_run_duration
32941
+
32676
32942
  # The minimum number of virtual CPUs this instance will consume when running on
32677
32943
  # a sole-tenant node.
32678
32944
  # Corresponds to the JSON property `minNodeCpus`
@@ -32707,6 +32973,13 @@ module Google
32707
32973
  # @return [String]
32708
32974
  attr_accessor :provisioning_model
32709
32975
 
32976
+ # Specifies the timestamp, when the instance will be terminated, in RFC3339 text
32977
+ # format. If specified, the instance termination action will be performed at the
32978
+ # termination time.
32979
+ # Corresponds to the JSON property `terminationTime`
32980
+ # @return [String]
32981
+ attr_accessor :termination_time
32982
+
32710
32983
  def initialize(**args)
32711
32984
  update!(**args)
32712
32985
  end
@@ -32719,11 +32992,13 @@ module Google
32719
32992
  @location_hint = args[:location_hint] if args.key?(:location_hint)
32720
32993
  @maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
32721
32994
  @maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
32995
+ @max_run_duration = args[:max_run_duration] if args.key?(:max_run_duration)
32722
32996
  @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
32723
32997
  @node_affinities = args[:node_affinities] if args.key?(:node_affinities)
32724
32998
  @on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
32725
32999
  @preemptible = args[:preemptible] if args.key?(:preemptible)
32726
33000
  @provisioning_model = args[:provisioning_model] if args.key?(:provisioning_model)
33001
+ @termination_time = args[:termination_time] if args.key?(:termination_time)
32727
33002
  end
32728
33003
  end
32729
33004
 
@@ -33169,9 +33444,11 @@ module Google
33169
33444
  attr_accessor :rule_tuple_count
33170
33445
 
33171
33446
  # A list of rules that belong to this policy. There must always be a default
33172
- # rule (rule with priority 2147483647 and match "*"). If no rules are provided
33173
- # when creating a security policy, a default rule with action "allow" will be
33174
- # added.
33447
+ # rule which is a rule with priority 2147483647 and match all condition (for the
33448
+ # match condition this means match "*" for srcIpRanges and for the networkMatch
33449
+ # condition every field must be either match "*" or not set). If no rules are
33450
+ # provided when creating a security policy, a default rule with action "allow"
33451
+ # will be added.
33175
33452
  # Corresponds to the JSON property `rules`
33176
33453
  # @return [Array<Google::Apis::ComputeBeta::SecurityPolicyRule>]
33177
33454
  attr_accessor :rules
@@ -34029,7 +34306,11 @@ module Google
34029
34306
  # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
34030
34307
  # configured under "enforce_on_key_name". The key value is truncated to the
34031
34308
  # first 128 bytes of the cookie value. If no such cookie is present in the
34032
- # request, the key type defaults to ALL.
34309
+ # request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP
34310
+ # request. The key value is truncated to the first 128 bytes. - SNI: Server name
34311
+ # indication in the TLS session of the HTTPS request. The key value is truncated
34312
+ # to the first 128 bytes. The key type defaults to ALL on a HTTP session. -
34313
+ # REGION_CODE: The country/region from which the request originates.
34033
34314
  # Corresponds to the JSON property `enforceOnKey`
34034
34315
  # @return [String]
34035
34316
  attr_accessor :enforce_on_key
@@ -36997,6 +37278,11 @@ module Google
36997
37278
  # @return [String]
36998
37279
  attr_accessor :region
36999
37280
 
37281
+ # The URL of the reserved internal range.
37282
+ # Corresponds to the JSON property `reservedInternalRange`
37283
+ # @return [String]
37284
+ attr_accessor :reserved_internal_range
37285
+
37000
37286
  # The role of subnetwork. Currently, this field is only used when purpose =
37001
37287
  # INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An
37002
37288
  # ACTIVE subnetwork is one that is currently being used for Internal HTTP(S)
@@ -37064,6 +37350,7 @@ module Google
37064
37350
  @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
37065
37351
  @purpose = args[:purpose] if args.key?(:purpose)
37066
37352
  @region = args[:region] if args.key?(:region)
37353
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
37067
37354
  @role = args[:role] if args.key?(:role)
37068
37355
  @secondary_ip_ranges = args[:secondary_ip_ranges] if args.key?(:secondary_ip_ranges)
37069
37356
  @self_link = args[:self_link] if args.key?(:self_link)
@@ -37399,6 +37686,11 @@ module Google
37399
37686
  # @return [String]
37400
37687
  attr_accessor :range_name
37401
37688
 
37689
+ # The URL of the reserved internal range.
37690
+ # Corresponds to the JSON property `reservedInternalRange`
37691
+ # @return [String]
37692
+ attr_accessor :reserved_internal_range
37693
+
37402
37694
  def initialize(**args)
37403
37695
  update!(**args)
37404
37696
  end
@@ -37407,6 +37699,7 @@ module Google
37407
37699
  def update!(**args)
37408
37700
  @ip_cidr_range = args[:ip_cidr_range] if args.key?(:ip_cidr_range)
37409
37701
  @range_name = args[:range_name] if args.key?(:range_name)
37702
+ @reserved_internal_range = args[:reserved_internal_range] if args.key?(:reserved_internal_range)
37410
37703
  end
37411
37704
  end
37412
37705
 
@@ -37581,25 +37874,35 @@ module Google
37581
37874
  class TcpHealthCheck
37582
37875
  include Google::Apis::Core::Hashable
37583
37876
 
37584
- # The TCP port number for the health check request. The default value is 80.
37585
- # Valid values are 1 through 65535.
37877
+ # The TCP port number to which the health check prober sends packets. The
37878
+ # default value is 80. Valid values are 1 through 65535.
37586
37879
  # Corresponds to the JSON property `port`
37587
37880
  # @return [Fixnum]
37588
37881
  attr_accessor :port
37589
37882
 
37590
- # Port name as defined in InstanceGroup#NamedPort#name. If both port and
37591
- # port_name are defined, port takes precedence.
37883
+ # Not supported.
37592
37884
  # Corresponds to the JSON property `portName`
37593
37885
  # @return [String]
37594
37886
  attr_accessor :port_name
37595
37887
 
37596
- # Specifies how port is selected for health checking, can be one of following
37597
- # values: USE_FIXED_PORT: The port number in port is used for health checking.
37598
- # USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT:
37599
- # For NetworkEndpointGroup, the port specified for each network endpoint is used
37600
- # for health checking. For other backends, the port or named port specified in
37601
- # the Backend Service is used for health checking. If not specified, TCP health
37602
- # check follows behavior specified in port and portName fields.
37888
+ # Specifies how a port is selected for health checking. Can be one of the
37889
+ # following values: USE_FIXED_PORT: Specifies a port number explicitly using the
37890
+ # port field in the health check. Supported by backend services for pass-through
37891
+ # load balancers and backend services for proxy load balancers. Not supported by
37892
+ # target pools. The health check supports all backends supported by the backend
37893
+ # service provided the backend can be health checked. For example, GCE_VM_IP
37894
+ # network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
37895
+ # group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
37896
+ # indirect method of specifying the health check port by referring to the
37897
+ # backend service. Only supported by backend services for proxy load balancers.
37898
+ # Not supported by target pools. Not supported by backend services for pass-
37899
+ # through load balancers. Supports all backends that can be health checked; for
37900
+ # example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
37901
+ # For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
37902
+ # port number specified for each endpoint in the network endpoint group. For
37903
+ # instance group backends, the health check uses the port number determined by
37904
+ # looking up the backend service's named port in the instance group's list of
37905
+ # named ports.
37603
37906
  # Corresponds to the JSON property `portSpecification`
37604
37907
  # @return [String]
37605
37908
  attr_accessor :port_specification
@@ -37610,17 +37913,17 @@ module Google
37610
37913
  # @return [String]
37611
37914
  attr_accessor :proxy_header
37612
37915
 
37613
- # The application data to send once the TCP connection has been established (
37614
- # default value is empty). If both request and response are empty, the
37615
- # connection establishment alone will indicate health. The request data can only
37616
- # be ASCII.
37916
+ # Instructs the health check prober to send this exact ASCII string, up to 1024
37917
+ # bytes in length, after establishing the TCP connection.
37617
37918
  # Corresponds to the JSON property `request`
37618
37919
  # @return [String]
37619
37920
  attr_accessor :request
37620
37921
 
37621
- # The bytes to match against the beginning of the response data. If left empty (
37622
- # the default value), any response will indicate health. The response data can
37623
- # only be ASCII.
37922
+ # Creates a content-based TCP health check. In addition to establishing a TCP
37923
+ # connection, you can configure the health check to pass only when the backend
37924
+ # sends this exact response ASCII string, up to 1024 bytes in length. For
37925
+ # details, see: https://cloud.google.com/load-balancing/docs/health-check-
37926
+ # concepts#criteria-protocol-ssl-tcp
37624
37927
  # Corresponds to the JSON property `response`
37625
37928
  # @return [String]
37626
37929
  attr_accessor :response
@@ -40236,6 +40539,97 @@ module Google
40236
40539
  end
40237
40540
  end
40238
40541
 
40542
+ #
40543
+ class TargetTcpProxiesScopedList
40544
+ include Google::Apis::Core::Hashable
40545
+
40546
+ # A list of TargetTcpProxies contained in this scope.
40547
+ # Corresponds to the JSON property `targetTcpProxies`
40548
+ # @return [Array<Google::Apis::ComputeBeta::TargetTcpProxy>]
40549
+ attr_accessor :target_tcp_proxies
40550
+
40551
+ # Informational warning which replaces the list of backend services when the
40552
+ # list is empty.
40553
+ # Corresponds to the JSON property `warning`
40554
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxiesScopedList::Warning]
40555
+ attr_accessor :warning
40556
+
40557
+ def initialize(**args)
40558
+ update!(**args)
40559
+ end
40560
+
40561
+ # Update properties of this object
40562
+ def update!(**args)
40563
+ @target_tcp_proxies = args[:target_tcp_proxies] if args.key?(:target_tcp_proxies)
40564
+ @warning = args[:warning] if args.key?(:warning)
40565
+ end
40566
+
40567
+ # Informational warning which replaces the list of backend services when the
40568
+ # list is empty.
40569
+ class Warning
40570
+ include Google::Apis::Core::Hashable
40571
+
40572
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
40573
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
40574
+ # Corresponds to the JSON property `code`
40575
+ # @return [String]
40576
+ attr_accessor :code
40577
+
40578
+ # [Output Only] Metadata about this warning in key: value format. For example: "
40579
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
40580
+ # Corresponds to the JSON property `data`
40581
+ # @return [Array<Google::Apis::ComputeBeta::TargetTcpProxiesScopedList::Warning::Datum>]
40582
+ attr_accessor :data
40583
+
40584
+ # [Output Only] A human-readable description of the warning code.
40585
+ # Corresponds to the JSON property `message`
40586
+ # @return [String]
40587
+ attr_accessor :message
40588
+
40589
+ def initialize(**args)
40590
+ update!(**args)
40591
+ end
40592
+
40593
+ # Update properties of this object
40594
+ def update!(**args)
40595
+ @code = args[:code] if args.key?(:code)
40596
+ @data = args[:data] if args.key?(:data)
40597
+ @message = args[:message] if args.key?(:message)
40598
+ end
40599
+
40600
+ #
40601
+ class Datum
40602
+ include Google::Apis::Core::Hashable
40603
+
40604
+ # [Output Only] A key that provides more detail on the warning being returned.
40605
+ # For example, for warnings where there are no results in a list request for a
40606
+ # particular zone, this key might be scope and the key value might be the zone
40607
+ # name. Other examples might be a key indicating a deprecated resource and a
40608
+ # suggested replacement, or a warning about invalid network settings (for
40609
+ # example, if an instance attempts to perform IP forwarding but is not enabled
40610
+ # for IP forwarding).
40611
+ # Corresponds to the JSON property `key`
40612
+ # @return [String]
40613
+ attr_accessor :key
40614
+
40615
+ # [Output Only] A warning data value corresponding to the key.
40616
+ # Corresponds to the JSON property `value`
40617
+ # @return [String]
40618
+ attr_accessor :value
40619
+
40620
+ def initialize(**args)
40621
+ update!(**args)
40622
+ end
40623
+
40624
+ # Update properties of this object
40625
+ def update!(**args)
40626
+ @key = args[:key] if args.key?(:key)
40627
+ @value = args[:value] if args.key?(:value)
40628
+ end
40629
+ end
40630
+ end
40631
+ end
40632
+
40239
40633
  #
40240
40634
  class TargetTcpProxiesSetBackendServiceRequest
40241
40635
  include Google::Apis::Core::Hashable
@@ -40369,6 +40763,130 @@ module Google
40369
40763
  end
40370
40764
  end
40371
40765
 
40766
+ #
40767
+ class TargetTcpProxyAggregatedList
40768
+ include Google::Apis::Core::Hashable
40769
+
40770
+ # [Output Only] Unique identifier for the resource; defined by the server.
40771
+ # Corresponds to the JSON property `id`
40772
+ # @return [String]
40773
+ attr_accessor :id
40774
+
40775
+ # A list of TargetTcpProxiesScopedList resources.
40776
+ # Corresponds to the JSON property `items`
40777
+ # @return [Hash<String,Google::Apis::ComputeBeta::TargetTcpProxiesScopedList>]
40778
+ attr_accessor :items
40779
+
40780
+ # [Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList
40781
+ # for lists of Target TCP Proxies.
40782
+ # Corresponds to the JSON property `kind`
40783
+ # @return [String]
40784
+ attr_accessor :kind
40785
+
40786
+ # [Output Only] This token allows you to get the next page of results for list
40787
+ # requests. If the number of results is larger than maxResults, use the
40788
+ # nextPageToken as a value for the query parameter pageToken in the next list
40789
+ # request. Subsequent list requests will have their own nextPageToken to
40790
+ # continue paging through the results.
40791
+ # Corresponds to the JSON property `nextPageToken`
40792
+ # @return [String]
40793
+ attr_accessor :next_page_token
40794
+
40795
+ # [Output Only] Server-defined URL for this resource.
40796
+ # Corresponds to the JSON property `selfLink`
40797
+ # @return [String]
40798
+ attr_accessor :self_link
40799
+
40800
+ # [Output Only] Unreachable resources.
40801
+ # Corresponds to the JSON property `unreachables`
40802
+ # @return [Array<String>]
40803
+ attr_accessor :unreachables
40804
+
40805
+ # [Output Only] Informational warning message.
40806
+ # Corresponds to the JSON property `warning`
40807
+ # @return [Google::Apis::ComputeBeta::TargetTcpProxyAggregatedList::Warning]
40808
+ attr_accessor :warning
40809
+
40810
+ def initialize(**args)
40811
+ update!(**args)
40812
+ end
40813
+
40814
+ # Update properties of this object
40815
+ def update!(**args)
40816
+ @id = args[:id] if args.key?(:id)
40817
+ @items = args[:items] if args.key?(:items)
40818
+ @kind = args[:kind] if args.key?(:kind)
40819
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
40820
+ @self_link = args[:self_link] if args.key?(:self_link)
40821
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
40822
+ @warning = args[:warning] if args.key?(:warning)
40823
+ end
40824
+
40825
+ # [Output Only] Informational warning message.
40826
+ class Warning
40827
+ include Google::Apis::Core::Hashable
40828
+
40829
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
40830
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
40831
+ # Corresponds to the JSON property `code`
40832
+ # @return [String]
40833
+ attr_accessor :code
40834
+
40835
+ # [Output Only] Metadata about this warning in key: value format. For example: "
40836
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
40837
+ # Corresponds to the JSON property `data`
40838
+ # @return [Array<Google::Apis::ComputeBeta::TargetTcpProxyAggregatedList::Warning::Datum>]
40839
+ attr_accessor :data
40840
+
40841
+ # [Output Only] A human-readable description of the warning code.
40842
+ # Corresponds to the JSON property `message`
40843
+ # @return [String]
40844
+ attr_accessor :message
40845
+
40846
+ def initialize(**args)
40847
+ update!(**args)
40848
+ end
40849
+
40850
+ # Update properties of this object
40851
+ def update!(**args)
40852
+ @code = args[:code] if args.key?(:code)
40853
+ @data = args[:data] if args.key?(:data)
40854
+ @message = args[:message] if args.key?(:message)
40855
+ end
40856
+
40857
+ #
40858
+ class Datum
40859
+ include Google::Apis::Core::Hashable
40860
+
40861
+ # [Output Only] A key that provides more detail on the warning being returned.
40862
+ # For example, for warnings where there are no results in a list request for a
40863
+ # particular zone, this key might be scope and the key value might be the zone
40864
+ # name. Other examples might be a key indicating a deprecated resource and a
40865
+ # suggested replacement, or a warning about invalid network settings (for
40866
+ # example, if an instance attempts to perform IP forwarding but is not enabled
40867
+ # for IP forwarding).
40868
+ # Corresponds to the JSON property `key`
40869
+ # @return [String]
40870
+ attr_accessor :key
40871
+
40872
+ # [Output Only] A warning data value corresponding to the key.
40873
+ # Corresponds to the JSON property `value`
40874
+ # @return [String]
40875
+ attr_accessor :value
40876
+
40877
+ def initialize(**args)
40878
+ update!(**args)
40879
+ end
40880
+
40881
+ # Update properties of this object
40882
+ def update!(**args)
40883
+ @key = args[:key] if args.key?(:key)
40884
+ @value = args[:value] if args.key?(:value)
40885
+ end
40886
+ end
40887
+ end
40888
+ end
40889
+
40372
40890
  # Contains a list of TargetTcpProxy resources.
40373
40891
  class TargetTcpProxyList
40374
40892
  include Google::Apis::Core::Hashable
@@ -42416,7 +42934,8 @@ module Google
42416
42934
  attr_accessor :self_link
42417
42935
 
42418
42936
  # The stack type for this VPN gateway to identify the IP protocols that are
42419
- # enabled. If not specified, IPV4_ONLY will be used.
42937
+ # enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
42938
+ # IPV4_ONLY will be used.
42420
42939
  # Corresponds to the JSON property `stackType`
42421
42940
  # @return [String]
42422
42941
  attr_accessor :stack_type
@@ -43046,7 +43565,9 @@ module Google
43046
43565
  attr_accessor :peer_external_gateway
43047
43566
 
43048
43567
  # The interface ID of the external VPN gateway to which this VPN tunnel is
43049
- # connected. Provided by the client when the VPN tunnel is created.
43568
+ # connected. Provided by the client when the VPN tunnel is created. Possible
43569
+ # values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the
43570
+ # external VPN gateway redundancy type.
43050
43571
  # Corresponds to the JSON property `peerExternalGatewayInterface`
43051
43572
  # @return [Fixnum]
43052
43573
  attr_accessor :peer_external_gateway_interface
@@ -43137,6 +43658,7 @@ module Google
43137
43658
  attr_accessor :vpn_gateway
43138
43659
 
43139
43660
  # The interface ID of the VPN gateway with which this VPN tunnel is associated.
43661
+ # Possible values are: `0`, `1`.
43140
43662
  # Corresponds to the JSON property `vpnGatewayInterface`
43141
43663
  # @return [Fixnum]
43142
43664
  attr_accessor :vpn_gateway_interface