google-apis-compute_alpha 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -528,6 +528,12 @@ module Google
|
|
528
528
|
# @return [String]
|
529
529
|
attr_accessor :public_ptr_domain_name
|
530
530
|
|
531
|
+
# [Output Only] The resource URL for the security policy associated with this
|
532
|
+
# access config.
|
533
|
+
# Corresponds to the JSON property `securityPolicy`
|
534
|
+
# @return [String]
|
535
|
+
attr_accessor :security_policy
|
536
|
+
|
531
537
|
# Specifies whether a public DNS 'A' record should be created for the external
|
532
538
|
# IP address of this access configuration.
|
533
539
|
# Corresponds to the JSON property `setPublicDns`
|
@@ -563,6 +569,7 @@ module Google
|
|
563
569
|
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
564
570
|
@public_dns_name = args[:public_dns_name] if args.key?(:public_dns_name)
|
565
571
|
@public_ptr_domain_name = args[:public_ptr_domain_name] if args.key?(:public_ptr_domain_name)
|
572
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
566
573
|
@set_public_dns = args[:set_public_dns] if args.key?(:set_public_dns)
|
567
574
|
@set_public_ptr = args[:set_public_ptr] if args.key?(:set_public_ptr)
|
568
575
|
@type = args[:type] if args.key?(:type)
|
@@ -611,9 +618,9 @@ module Google
|
|
611
618
|
# @return [String]
|
612
619
|
attr_accessor :ip_version
|
613
620
|
|
614
|
-
# The endpoint type of this address, which should be VM. This is used
|
615
|
-
# deciding which endpoint this address
|
616
|
-
# external
|
621
|
+
# The endpoint type of this address, which should be VM or NETLB. This is used
|
622
|
+
# for deciding which type of endpoint this address can be used after the
|
623
|
+
# external IPv6 address reservation.
|
617
624
|
# Corresponds to the JSON property `ipv6EndpointType`
|
618
625
|
# @return [String]
|
619
626
|
attr_accessor :ipv6_endpoint_type
|
@@ -5148,6 +5155,31 @@ module Google
|
|
5148
5155
|
end
|
5149
5156
|
end
|
5150
5157
|
|
5158
|
+
#
|
5159
|
+
class BundledLocalSsds
|
5160
|
+
include Google::Apis::Core::Hashable
|
5161
|
+
|
5162
|
+
# The default disk interface if the interface is not specified.
|
5163
|
+
# Corresponds to the JSON property `defaultInterface`
|
5164
|
+
# @return [String]
|
5165
|
+
attr_accessor :default_interface
|
5166
|
+
|
5167
|
+
# The number of partitions.
|
5168
|
+
# Corresponds to the JSON property `partitionCount`
|
5169
|
+
# @return [Fixnum]
|
5170
|
+
attr_accessor :partition_count
|
5171
|
+
|
5172
|
+
def initialize(**args)
|
5173
|
+
update!(**args)
|
5174
|
+
end
|
5175
|
+
|
5176
|
+
# Update properties of this object
|
5177
|
+
def update!(**args)
|
5178
|
+
@default_interface = args[:default_interface] if args.key?(:default_interface)
|
5179
|
+
@partition_count = args[:partition_count] if args.key?(:partition_count)
|
5180
|
+
end
|
5181
|
+
end
|
5182
|
+
|
5151
5183
|
#
|
5152
5184
|
class CacheInvalidationRule
|
5153
5185
|
include Google::Apis::Core::Hashable
|
@@ -9480,7 +9512,7 @@ module Google
|
|
9480
9512
|
attr_accessor :dest_address_groups
|
9481
9513
|
|
9482
9514
|
# Fully Qualified Domain Name (FQDN) which should be matched against traffic
|
9483
|
-
# destination. Maximum number of destination fqdn allowed is
|
9515
|
+
# destination. Maximum number of destination fqdn allowed is 100.
|
9484
9516
|
# Corresponds to the JSON property `destFqdns`
|
9485
9517
|
# @return [Array<String>]
|
9486
9518
|
attr_accessor :dest_fqdns
|
@@ -9517,7 +9549,7 @@ module Google
|
|
9517
9549
|
attr_accessor :src_address_groups
|
9518
9550
|
|
9519
9551
|
# Fully Qualified Domain Name (FQDN) which should be matched against traffic
|
9520
|
-
# source. Maximum number of source fqdn allowed is
|
9552
|
+
# source. Maximum number of source fqdn allowed is 100.
|
9521
9553
|
# Corresponds to the JSON property `srcFqdns`
|
9522
9554
|
# @return [Array<String>]
|
9523
9555
|
attr_accessor :src_fqdns
|
@@ -9972,7 +10004,16 @@ module Google
|
|
9972
10004
|
# @return [String]
|
9973
10005
|
attr_accessor :subnetwork
|
9974
10006
|
|
9975
|
-
#
|
10007
|
+
# The URL of the target resource to receive the matched traffic. For regional
|
10008
|
+
# forwarding rules, this target must be in the same region as the forwarding
|
10009
|
+
# rule. For global forwarding rules, this target must be a global load balancing
|
10010
|
+
# resource. The forwarded traffic must be of a type appropriate to the target
|
10011
|
+
# object. For more information, see the "Target" column in [Port specifications](
|
10012
|
+
# https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
|
10013
|
+
# ip_address_specifications). For Private Service Connect forwarding rules that
|
10014
|
+
# forward traffic to Google APIs, provide the name of a supported Google API
|
10015
|
+
# bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All
|
10016
|
+
# supported Google APIs.
|
9976
10017
|
# Corresponds to the JSON property `target`
|
9977
10018
|
# @return [String]
|
9978
10019
|
attr_accessor :target
|
@@ -11017,27 +11058,35 @@ module Google
|
|
11017
11058
|
# @return [String]
|
11018
11059
|
attr_accessor :grpc_service_name
|
11019
11060
|
|
11020
|
-
# The port number
|
11021
|
-
#
|
11022
|
-
# Valid values are 1 through 65535.
|
11061
|
+
# The TCP port number to which the health check prober sends packets. Valid
|
11062
|
+
# values are 1 through 65535.
|
11023
11063
|
# Corresponds to the JSON property `port`
|
11024
11064
|
# @return [Fixnum]
|
11025
11065
|
attr_accessor :port
|
11026
11066
|
|
11027
|
-
#
|
11028
|
-
# port_name are defined, port takes precedence. The port_name should conform to
|
11029
|
-
# RFC1035.
|
11067
|
+
# Not supported.
|
11030
11068
|
# Corresponds to the JSON property `portName`
|
11031
11069
|
# @return [String]
|
11032
11070
|
attr_accessor :port_name
|
11033
11071
|
|
11034
|
-
# Specifies how port is selected for health checking
|
11035
|
-
# values: USE_FIXED_PORT:
|
11036
|
-
#
|
11037
|
-
#
|
11038
|
-
#
|
11039
|
-
#
|
11040
|
-
#
|
11072
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
11073
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
11074
|
+
# port field in the health check. Supported by backend services for pass-through
|
11075
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
11076
|
+
# target pools. The health check supports all backends supported by the backend
|
11077
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
11078
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
11079
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
11080
|
+
# indirect method of specifying the health check port by referring to the
|
11081
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
11082
|
+
# Not supported by target pools. Not supported by backend services for pass-
|
11083
|
+
# through load balancers. Supports all backends that can be health checked; for
|
11084
|
+
# example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
|
11085
|
+
# For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
11086
|
+
# port number specified for each endpoint in the network endpoint group. For
|
11087
|
+
# instance group backends, the health check uses the port number determined by
|
11088
|
+
# looking up the backend service's named port in the instance group's list of
|
11089
|
+
# named ports.
|
11041
11090
|
# Corresponds to the JSON property `portSpecification`
|
11042
11091
|
# @return [String]
|
11043
11092
|
attr_accessor :port_specification
|
@@ -11459,31 +11508,43 @@ module Google
|
|
11459
11508
|
include Google::Apis::Core::Hashable
|
11460
11509
|
|
11461
11510
|
# The value of the host header in the HTTP/2 health check request. If left empty
|
11462
|
-
# (default value), the
|
11463
|
-
#
|
11511
|
+
# (default value), the host header is set to the destination IP address to which
|
11512
|
+
# health check packets are sent. The destination IP address depends on the type
|
11513
|
+
# of load balancer. For details, see: https://cloud.google.com/load-balancing/
|
11514
|
+
# docs/health-check-concepts#hc-packet-dest
|
11464
11515
|
# Corresponds to the JSON property `host`
|
11465
11516
|
# @return [String]
|
11466
11517
|
attr_accessor :host
|
11467
11518
|
|
11468
|
-
# The TCP port number
|
11469
|
-
# Valid values are 1 through 65535.
|
11519
|
+
# The TCP port number to which the health check prober sends packets. The
|
11520
|
+
# default value is 443. Valid values are 1 through 65535.
|
11470
11521
|
# Corresponds to the JSON property `port`
|
11471
11522
|
# @return [Fixnum]
|
11472
11523
|
attr_accessor :port
|
11473
11524
|
|
11474
|
-
#
|
11475
|
-
# port_name are defined, port takes precedence.
|
11525
|
+
# Not supported.
|
11476
11526
|
# Corresponds to the JSON property `portName`
|
11477
11527
|
# @return [String]
|
11478
11528
|
attr_accessor :port_name
|
11479
11529
|
|
11480
|
-
# Specifies how port is selected for health checking
|
11481
|
-
# values: USE_FIXED_PORT:
|
11482
|
-
#
|
11483
|
-
#
|
11484
|
-
#
|
11485
|
-
#
|
11486
|
-
#
|
11530
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
11531
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
11532
|
+
# port field in the health check. Supported by backend services for pass-through
|
11533
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
11534
|
+
# target pools. The health check supports all backends supported by the backend
|
11535
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
11536
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
11537
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
11538
|
+
# indirect method of specifying the health check port by referring to the
|
11539
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
11540
|
+
# Not supported by target pools. Not supported by backend services for pass-
|
11541
|
+
# through load balancers. Supports all backends that can be health checked; for
|
11542
|
+
# example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
|
11543
|
+
# For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
11544
|
+
# port number specified for each endpoint in the network endpoint group. For
|
11545
|
+
# instance group backends, the health check uses the port number determined by
|
11546
|
+
# looking up the backend service's named port in the instance group's list of
|
11547
|
+
# named ports.
|
11487
11548
|
# Corresponds to the JSON property `portSpecification`
|
11488
11549
|
# @return [String]
|
11489
11550
|
attr_accessor :port_specification
|
@@ -11499,9 +11560,11 @@ module Google
|
|
11499
11560
|
# @return [String]
|
11500
11561
|
attr_accessor :request_path
|
11501
11562
|
|
11502
|
-
#
|
11503
|
-
#
|
11504
|
-
# response
|
11563
|
+
# Creates a content-based HTTP/2 health check. In addition to the required HTTP
|
11564
|
+
# 200 (OK) status code, you can configure the health check to pass only when the
|
11565
|
+
# backend sends this specific ASCII response string within the first 1024 bytes
|
11566
|
+
# of the HTTP response body. For details, see: https://cloud.google.com/load-
|
11567
|
+
# balancing/docs/health-check-concepts#criteria-protocol-http
|
11505
11568
|
# Corresponds to the JSON property `response`
|
11506
11569
|
# @return [String]
|
11507
11570
|
attr_accessor :response
|
@@ -11533,31 +11596,43 @@ module Google
|
|
11533
11596
|
include Google::Apis::Core::Hashable
|
11534
11597
|
|
11535
11598
|
# The value of the host header in the HTTP health check request. If left empty (
|
11536
|
-
# default value), the
|
11537
|
-
#
|
11599
|
+
# default value), the host header is set to the destination IP address to which
|
11600
|
+
# health check packets are sent. The destination IP address depends on the type
|
11601
|
+
# of load balancer. For details, see: https://cloud.google.com/load-balancing/
|
11602
|
+
# docs/health-check-concepts#hc-packet-dest
|
11538
11603
|
# Corresponds to the JSON property `host`
|
11539
11604
|
# @return [String]
|
11540
11605
|
attr_accessor :host
|
11541
11606
|
|
11542
|
-
# The TCP port number
|
11543
|
-
# Valid values are 1 through 65535.
|
11607
|
+
# The TCP port number to which the health check prober sends packets. The
|
11608
|
+
# default value is 80. Valid values are 1 through 65535.
|
11544
11609
|
# Corresponds to the JSON property `port`
|
11545
11610
|
# @return [Fixnum]
|
11546
11611
|
attr_accessor :port
|
11547
11612
|
|
11548
|
-
#
|
11549
|
-
# port_name are defined, port takes precedence.
|
11613
|
+
# Not supported.
|
11550
11614
|
# Corresponds to the JSON property `portName`
|
11551
11615
|
# @return [String]
|
11552
11616
|
attr_accessor :port_name
|
11553
11617
|
|
11554
|
-
# Specifies how port is selected for health checking
|
11555
|
-
# values: USE_FIXED_PORT:
|
11556
|
-
#
|
11557
|
-
#
|
11558
|
-
#
|
11559
|
-
#
|
11560
|
-
#
|
11618
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
11619
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
11620
|
+
# port field in the health check. Supported by backend services for pass-through
|
11621
|
+
# load balancers and backend services for proxy load balancers. Also supported
|
11622
|
+
# in legacy HTTP health checks for target pools. The health check supports all
|
11623
|
+
# backends supported by the backend service provided the backend can be health
|
11624
|
+
# checked. For example, GCE_VM_IP network endpoint groups, GCE_VM_IP_PORT
|
11625
|
+
# network endpoint groups, and instance group backends. USE_NAMED_PORT: Not
|
11626
|
+
# supported. USE_SERVING_PORT: Provides an indirect method of specifying the
|
11627
|
+
# health check port by referring to the backend service. Only supported by
|
11628
|
+
# backend services for proxy load balancers. Not supported by target pools. Not
|
11629
|
+
# supported by backend services for pass-through load balancers. Supports all
|
11630
|
+
# backends that can be health checked; for example, GCE_VM_IP_PORT network
|
11631
|
+
# endpoint groups and instance group backends. For GCE_VM_IP_PORT network
|
11632
|
+
# endpoint group backends, the health check uses the port number specified for
|
11633
|
+
# each endpoint in the network endpoint group. For instance group backends, the
|
11634
|
+
# health check uses the port number determined by looking up the backend service'
|
11635
|
+
# s named port in the instance group's list of named ports.
|
11561
11636
|
# Corresponds to the JSON property `portSpecification`
|
11562
11637
|
# @return [String]
|
11563
11638
|
attr_accessor :port_specification
|
@@ -11573,9 +11648,11 @@ module Google
|
|
11573
11648
|
# @return [String]
|
11574
11649
|
attr_accessor :request_path
|
11575
11650
|
|
11576
|
-
#
|
11577
|
-
#
|
11578
|
-
# response
|
11651
|
+
# Creates a content-based HTTP health check. In addition to the required HTTP
|
11652
|
+
# 200 (OK) status code, you can configure the health check to pass only when the
|
11653
|
+
# backend sends this specific ASCII response string within the first 1024 bytes
|
11654
|
+
# of the HTTP response body. For details, see: https://cloud.google.com/load-
|
11655
|
+
# balancing/docs/health-check-concepts#criteria-protocol-http
|
11579
11656
|
# Corresponds to the JSON property `response`
|
11580
11657
|
# @return [String]
|
11581
11658
|
attr_accessor :response
|
@@ -11607,31 +11684,43 @@ module Google
|
|
11607
11684
|
include Google::Apis::Core::Hashable
|
11608
11685
|
|
11609
11686
|
# The value of the host header in the HTTPS health check request. If left empty (
|
11610
|
-
# default value), the
|
11611
|
-
#
|
11687
|
+
# default value), the host header is set to the destination IP address to which
|
11688
|
+
# health check packets are sent. The destination IP address depends on the type
|
11689
|
+
# of load balancer. For details, see: https://cloud.google.com/load-balancing/
|
11690
|
+
# docs/health-check-concepts#hc-packet-dest
|
11612
11691
|
# Corresponds to the JSON property `host`
|
11613
11692
|
# @return [String]
|
11614
11693
|
attr_accessor :host
|
11615
11694
|
|
11616
|
-
# The TCP port number
|
11617
|
-
# Valid values are 1 through 65535.
|
11695
|
+
# The TCP port number to which the health check prober sends packets. The
|
11696
|
+
# default value is 443. Valid values are 1 through 65535.
|
11618
11697
|
# Corresponds to the JSON property `port`
|
11619
11698
|
# @return [Fixnum]
|
11620
11699
|
attr_accessor :port
|
11621
11700
|
|
11622
|
-
#
|
11623
|
-
# port_name are defined, port takes precedence.
|
11701
|
+
# Not supported.
|
11624
11702
|
# Corresponds to the JSON property `portName`
|
11625
11703
|
# @return [String]
|
11626
11704
|
attr_accessor :port_name
|
11627
11705
|
|
11628
|
-
# Specifies how port is selected for health checking
|
11629
|
-
# values: USE_FIXED_PORT:
|
11630
|
-
#
|
11631
|
-
#
|
11632
|
-
#
|
11633
|
-
#
|
11634
|
-
#
|
11706
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
11707
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
11708
|
+
# port field in the health check. Supported by backend services for pass-through
|
11709
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
11710
|
+
# target pools. The health check supports all backends supported by the backend
|
11711
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
11712
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
11713
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
11714
|
+
# indirect method of specifying the health check port by referring to the
|
11715
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
11716
|
+
# Not supported by target pools. Not supported by backend services for pass-
|
11717
|
+
# through load balancers. Supports all backends that can be health checked; for
|
11718
|
+
# example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
|
11719
|
+
# For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
11720
|
+
# port number specified for each endpoint in the network endpoint group. For
|
11721
|
+
# instance group backends, the health check uses the port number determined by
|
11722
|
+
# looking up the backend service's named port in the instance group's list of
|
11723
|
+
# named ports.
|
11635
11724
|
# Corresponds to the JSON property `portSpecification`
|
11636
11725
|
# @return [String]
|
11637
11726
|
attr_accessor :port_specification
|
@@ -11647,9 +11736,11 @@ module Google
|
|
11647
11736
|
# @return [String]
|
11648
11737
|
attr_accessor :request_path
|
11649
11738
|
|
11650
|
-
#
|
11651
|
-
#
|
11652
|
-
# response
|
11739
|
+
# Creates a content-based HTTPS health check. In addition to the required HTTP
|
11740
|
+
# 200 (OK) status code, you can configure the health check to pass only when the
|
11741
|
+
# backend sends this specific ASCII response string within the first 1024 bytes
|
11742
|
+
# of the HTTP response body. For details, see: https://cloud.google.com/load-
|
11743
|
+
# balancing/docs/health-check-concepts#criteria-protocol-http
|
11653
11744
|
# Corresponds to the JSON property `response`
|
11654
11745
|
# @return [String]
|
11655
11746
|
attr_accessor :response
|
@@ -16488,6 +16579,12 @@ module Google
|
|
16488
16579
|
class InstanceGroupManagerResizeRequestStatus
|
16489
16580
|
include Google::Apis::Core::Hashable
|
16490
16581
|
|
16582
|
+
# Errors encountered during the queueing or provisioning phases of the
|
16583
|
+
# ResizeRequest.
|
16584
|
+
# Corresponds to the JSON property `error`
|
16585
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus::Error]
|
16586
|
+
attr_accessor :error
|
16587
|
+
|
16491
16588
|
# Queuing parameters for the requested deferred capacity.
|
16492
16589
|
# Corresponds to the JSON property `queuingPolicy`
|
16493
16590
|
# @return [Google::Apis::ComputeAlpha::QueuingPolicy]
|
@@ -16499,8 +16596,118 @@ module Google
|
|
16499
16596
|
|
16500
16597
|
# Update properties of this object
|
16501
16598
|
def update!(**args)
|
16599
|
+
@error = args[:error] if args.key?(:error)
|
16502
16600
|
@queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
|
16503
16601
|
end
|
16602
|
+
|
16603
|
+
# Errors encountered during the queueing or provisioning phases of the
|
16604
|
+
# ResizeRequest.
|
16605
|
+
class Error
|
16606
|
+
include Google::Apis::Core::Hashable
|
16607
|
+
|
16608
|
+
# [Output Only] The array of errors encountered while processing this operation.
|
16609
|
+
# Corresponds to the JSON property `errors`
|
16610
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus::Error::Error>]
|
16611
|
+
attr_accessor :errors
|
16612
|
+
|
16613
|
+
def initialize(**args)
|
16614
|
+
update!(**args)
|
16615
|
+
end
|
16616
|
+
|
16617
|
+
# Update properties of this object
|
16618
|
+
def update!(**args)
|
16619
|
+
@errors = args[:errors] if args.key?(:errors)
|
16620
|
+
end
|
16621
|
+
|
16622
|
+
#
|
16623
|
+
class Error
|
16624
|
+
include Google::Apis::Core::Hashable
|
16625
|
+
|
16626
|
+
# [Output Only] The error type identifier for this error.
|
16627
|
+
# Corresponds to the JSON property `code`
|
16628
|
+
# @return [String]
|
16629
|
+
attr_accessor :code
|
16630
|
+
|
16631
|
+
# [Output Only] An optional list of messages that contain the error details.
|
16632
|
+
# There is a set of defined message types to use for providing details.The
|
16633
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
16634
|
+
# details when the error code is QUOTA_EXCEEDED.
|
16635
|
+
# Corresponds to the JSON property `errorDetails`
|
16636
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus::Error::Error::ErrorDetail>]
|
16637
|
+
attr_accessor :error_details
|
16638
|
+
|
16639
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
16640
|
+
# property is optional.
|
16641
|
+
# Corresponds to the JSON property `location`
|
16642
|
+
# @return [String]
|
16643
|
+
attr_accessor :location
|
16644
|
+
|
16645
|
+
# [Output Only] An optional, human-readable error message.
|
16646
|
+
# Corresponds to the JSON property `message`
|
16647
|
+
# @return [String]
|
16648
|
+
attr_accessor :message
|
16649
|
+
|
16650
|
+
def initialize(**args)
|
16651
|
+
update!(**args)
|
16652
|
+
end
|
16653
|
+
|
16654
|
+
# Update properties of this object
|
16655
|
+
def update!(**args)
|
16656
|
+
@code = args[:code] if args.key?(:code)
|
16657
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
16658
|
+
@location = args[:location] if args.key?(:location)
|
16659
|
+
@message = args[:message] if args.key?(:message)
|
16660
|
+
end
|
16661
|
+
|
16662
|
+
#
|
16663
|
+
class ErrorDetail
|
16664
|
+
include Google::Apis::Core::Hashable
|
16665
|
+
|
16666
|
+
# Describes the cause of the error with structured details. Example of an error
|
16667
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
16668
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
16669
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
16670
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
16671
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
16672
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
16673
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
16674
|
+
# Corresponds to the JSON property `errorInfo`
|
16675
|
+
# @return [Google::Apis::ComputeAlpha::ErrorInfo]
|
16676
|
+
attr_accessor :error_info
|
16677
|
+
|
16678
|
+
# Provides links to documentation or for performing an out of band action. For
|
16679
|
+
# example, if a quota check failed with an error indicating the calling project
|
16680
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
16681
|
+
# to the right place in the developer console to flip the bit.
|
16682
|
+
# Corresponds to the JSON property `help`
|
16683
|
+
# @return [Google::Apis::ComputeAlpha::Help]
|
16684
|
+
attr_accessor :help
|
16685
|
+
|
16686
|
+
# Provides a localized error message that is safe to return to the user which
|
16687
|
+
# can be attached to an RPC error.
|
16688
|
+
# Corresponds to the JSON property `localizedMessage`
|
16689
|
+
# @return [Google::Apis::ComputeAlpha::LocalizedMessage]
|
16690
|
+
attr_accessor :localized_message
|
16691
|
+
|
16692
|
+
# Additional details for quota exceeded error for resource quota.
|
16693
|
+
# Corresponds to the JSON property `quotaInfo`
|
16694
|
+
# @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
|
16695
|
+
attr_accessor :quota_info
|
16696
|
+
|
16697
|
+
def initialize(**args)
|
16698
|
+
update!(**args)
|
16699
|
+
end
|
16700
|
+
|
16701
|
+
# Update properties of this object
|
16702
|
+
def update!(**args)
|
16703
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
16704
|
+
@help = args[:help] if args.key?(:help)
|
16705
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
16706
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
16707
|
+
end
|
16708
|
+
end
|
16709
|
+
end
|
16710
|
+
end
|
16504
16711
|
end
|
16505
16712
|
|
16506
16713
|
# [Output Only] A list of resize requests.
|
@@ -23495,6 +23702,11 @@ module Google
|
|
23495
23702
|
# @return [String]
|
23496
23703
|
attr_accessor :architecture
|
23497
23704
|
|
23705
|
+
# [Output Only] The configuration of bundled local SSD for the machine type.
|
23706
|
+
# Corresponds to the JSON property `bundledLocalSsds`
|
23707
|
+
# @return [Google::Apis::ComputeAlpha::BundledLocalSsds]
|
23708
|
+
attr_accessor :bundled_local_ssds
|
23709
|
+
|
23498
23710
|
# [Output Only] Creation timestamp in RFC3339 text format.
|
23499
23711
|
# Corresponds to the JSON property `creationTimestamp`
|
23500
23712
|
# @return [String]
|
@@ -23579,6 +23791,7 @@ module Google
|
|
23579
23791
|
def update!(**args)
|
23580
23792
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
23581
23793
|
@architecture = args[:architecture] if args.key?(:architecture)
|
23794
|
+
@bundled_local_ssds = args[:bundled_local_ssds] if args.key?(:bundled_local_ssds)
|
23582
23795
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
23583
23796
|
@deprecated = args[:deprecated] if args.key?(:deprecated)
|
23584
23797
|
@description = args[:description] if args.key?(:description)
|
@@ -37959,6 +38172,12 @@ module Google
|
|
37959
38172
|
class RouterNat
|
37960
38173
|
include Google::Apis::Core::Hashable
|
37961
38174
|
|
38175
|
+
# The network tier to use when automatically reserving IP addresses. Must be one
|
38176
|
+
# of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
|
38177
|
+
# Corresponds to the JSON property `autoNetworkTier`
|
38178
|
+
# @return [String]
|
38179
|
+
attr_accessor :auto_network_tier
|
38180
|
+
|
37962
38181
|
# A list of URLs of the IP resources to be drained. These IPs must be valid
|
37963
38182
|
# static external IPs that have been assigned to the NAT. These IPs should be
|
37964
38183
|
# used for updating/patching a NAT only.
|
@@ -38099,6 +38318,7 @@ module Google
|
|
38099
38318
|
|
38100
38319
|
# Update properties of this object
|
38101
38320
|
def update!(**args)
|
38321
|
+
@auto_network_tier = args[:auto_network_tier] if args.key?(:auto_network_tier)
|
38102
38322
|
@drain_nat_ips = args[:drain_nat_ips] if args.key?(:drain_nat_ips)
|
38103
38323
|
@enable_dynamic_port_allocation = args[:enable_dynamic_port_allocation] if args.key?(:enable_dynamic_port_allocation)
|
38104
38324
|
@enable_endpoint_independent_mapping = args[:enable_endpoint_independent_mapping] if args.key?(:enable_endpoint_independent_mapping)
|
@@ -38756,25 +38976,35 @@ module Google
|
|
38756
38976
|
class SslHealthCheck
|
38757
38977
|
include Google::Apis::Core::Hashable
|
38758
38978
|
|
38759
|
-
# The TCP port number
|
38760
|
-
# Valid values are 1 through 65535.
|
38979
|
+
# The TCP port number to which the health check prober sends packets. The
|
38980
|
+
# default value is 443. Valid values are 1 through 65535.
|
38761
38981
|
# Corresponds to the JSON property `port`
|
38762
38982
|
# @return [Fixnum]
|
38763
38983
|
attr_accessor :port
|
38764
38984
|
|
38765
|
-
#
|
38766
|
-
# port_name are defined, port takes precedence.
|
38985
|
+
# Not supported.
|
38767
38986
|
# Corresponds to the JSON property `portName`
|
38768
38987
|
# @return [String]
|
38769
38988
|
attr_accessor :port_name
|
38770
38989
|
|
38771
|
-
# Specifies how port is selected for health checking
|
38772
|
-
# values: USE_FIXED_PORT:
|
38773
|
-
#
|
38774
|
-
#
|
38775
|
-
#
|
38776
|
-
#
|
38777
|
-
#
|
38990
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
38991
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
38992
|
+
# port field in the health check. Supported by backend services for pass-through
|
38993
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
38994
|
+
# target pools. The health check supports all backends supported by the backend
|
38995
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
38996
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
38997
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
38998
|
+
# indirect method of specifying the health check port by referring to the
|
38999
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
39000
|
+
# Not supported by target pools. Not supported by backend services for pass-
|
39001
|
+
# through load balancers. Supports all backends that can be health checked; for
|
39002
|
+
# example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
|
39003
|
+
# For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
39004
|
+
# port number specified for each endpoint in the network endpoint group. For
|
39005
|
+
# instance group backends, the health check uses the port number determined by
|
39006
|
+
# looking up the backend service's named port in the instance group's list of
|
39007
|
+
# named ports.
|
38778
39008
|
# Corresponds to the JSON property `portSpecification`
|
38779
39009
|
# @return [String]
|
38780
39010
|
attr_accessor :port_specification
|
@@ -38785,17 +39015,17 @@ module Google
|
|
38785
39015
|
# @return [String]
|
38786
39016
|
attr_accessor :proxy_header
|
38787
39017
|
|
38788
|
-
#
|
38789
|
-
#
|
38790
|
-
# connection establishment alone will indicate health. The request data can only
|
38791
|
-
# be ASCII.
|
39018
|
+
# Instructs the health check prober to send this exact ASCII string, up to 1024
|
39019
|
+
# bytes in length, after establishing the TCP connection and SSL handshake.
|
38792
39020
|
# Corresponds to the JSON property `request`
|
38793
39021
|
# @return [String]
|
38794
39022
|
attr_accessor :request
|
38795
39023
|
|
38796
|
-
#
|
38797
|
-
# the
|
38798
|
-
# only
|
39024
|
+
# Creates a content-based SSL health check. In addition to establishing a TCP
|
39025
|
+
# connection and the TLS handshake, you can configure the health check to pass
|
39026
|
+
# only when the backend sends this exact response ASCII string, up to 1024 bytes
|
39027
|
+
# in length. For details, see: https://cloud.google.com/load-balancing/docs/
|
39028
|
+
# health-check-concepts#criteria-protocol-ssl-tcp
|
38799
39029
|
# Corresponds to the JSON property `response`
|
38800
39030
|
# @return [String]
|
38801
39031
|
attr_accessor :response
|
@@ -39703,6 +39933,16 @@ module Google
|
|
39703
39933
|
# @return [String]
|
39704
39934
|
attr_accessor :type
|
39705
39935
|
|
39936
|
+
# Definitions of user-defined fields for CLOUD_ARMOR_NETWORK policies. A user-
|
39937
|
+
# defined field consists of up to 4 bytes extracted from a fixed offset in the
|
39938
|
+
# packet, relative to the IPv4, IPv6, TCP, or UDP header, with an optional mask
|
39939
|
+
# to select certain bits. Rules may then specify matching values for these
|
39940
|
+
# fields. Example: userDefinedFields: - name: "ipv4_fragment_offset" base: IPV4
|
39941
|
+
# offset: 6 size: 2 mask: "0x1fff"
|
39942
|
+
# Corresponds to the JSON property `userDefinedFields`
|
39943
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyUserDefinedField>]
|
39944
|
+
attr_accessor :user_defined_fields
|
39945
|
+
|
39706
39946
|
def initialize(**args)
|
39707
39947
|
update!(**args)
|
39708
39948
|
end
|
@@ -39731,6 +39971,7 @@ module Google
|
|
39731
39971
|
@self_link = args[:self_link] if args.key?(:self_link)
|
39732
39972
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
39733
39973
|
@type = args[:type] if args.key?(:type)
|
39974
|
+
@user_defined_fields = args[:user_defined_fields] if args.key?(:user_defined_fields)
|
39734
39975
|
end
|
39735
39976
|
end
|
39736
39977
|
|
@@ -40179,6 +40420,29 @@ module Google
|
|
40179
40420
|
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcher]
|
40180
40421
|
attr_accessor :match
|
40181
40422
|
|
40423
|
+
# A match condition that incoming packets are evaluated against for
|
40424
|
+
# CLOUD_ARMOR_NETWORK security policies. If it matches, the corresponding '
|
40425
|
+
# action' is enforced. The match criteria for a rule consists of built-in match
|
40426
|
+
# fields (like 'srcIpRanges') and potentially multiple user-defined match fields
|
40427
|
+
# ('userDefinedFields'). Field values may be extracted directly from the packet
|
40428
|
+
# or derived from it (e.g. 'srcRegionCodes'). Some fields may not be present in
|
40429
|
+
# every packet (e.g. 'srcPorts'). A user-defined field is only present if the
|
40430
|
+
# base header is found in the packet and the entire field is in bounds. Each
|
40431
|
+
# match field may specify which values can match it, listing one or more ranges,
|
40432
|
+
# prefixes, or exact values that are considered a match for the field. A field
|
40433
|
+
# value must be present in order to match a specified match field. If no match
|
40434
|
+
# values are specified for a match field, then any field value is considered to
|
40435
|
+
# match it, and it's not required to be present. For a packet to match a rule,
|
40436
|
+
# all specified match fields must match the corresponding field values derived
|
40437
|
+
# from the packet. Example: networkMatch: srcIpRanges: - "192.0.2.0/24" - "198.
|
40438
|
+
# 51.100.0/24" userDefinedFields: - name: "ipv4_fragment_offset" values: - "1-
|
40439
|
+
# 0x1fff" The above match condition matches packets with a source IP in 192.0.2.
|
40440
|
+
# 0/24 or 198.51.100.0/24 and a user-defined field named "ipv4_fragment_offset"
|
40441
|
+
# with a value between 1 and 0x1fff inclusive.
|
40442
|
+
# Corresponds to the JSON property `networkMatch`
|
40443
|
+
# @return [Google::Apis::ComputeAlpha::SecurityPolicyRuleNetworkMatcher]
|
40444
|
+
attr_accessor :network_match
|
40445
|
+
|
40182
40446
|
# Preconfigured WAF configuration to be applied for the rule. If the rule does
|
40183
40447
|
# not evaluate preconfigured WAF rules, i.e., if evaluatePreconfiguredWaf() is
|
40184
40448
|
# not used, this field will have no effect.
|
@@ -40263,6 +40527,7 @@ module Google
|
|
40263
40527
|
@header_action = args[:header_action] if args.key?(:header_action)
|
40264
40528
|
@kind = args[:kind] if args.key?(:kind)
|
40265
40529
|
@match = args[:match] if args.key?(:match)
|
40530
|
+
@network_match = args[:network_match] if args.key?(:network_match)
|
40266
40531
|
@preconfigured_waf_config = args[:preconfigured_waf_config] if args.key?(:preconfigured_waf_config)
|
40267
40532
|
@preview = args[:preview] if args.key?(:preview)
|
40268
40533
|
@priority = args[:priority] if args.key?(:priority)
|
@@ -40476,6 +40741,101 @@ module Google
|
|
40476
40741
|
end
|
40477
40742
|
end
|
40478
40743
|
|
40744
|
+
#
|
40745
|
+
class SecurityPolicyRuleNetworkMatcher
|
40746
|
+
include Google::Apis::Core::Hashable
|
40747
|
+
|
40748
|
+
# Destination IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
40749
|
+
# Corresponds to the JSON property `destIpRanges`
|
40750
|
+
# @return [Array<String>]
|
40751
|
+
attr_accessor :dest_ip_ranges
|
40752
|
+
|
40753
|
+
# Destination port numbers for TCP/UDP/SCTP. Each element can be a 16-bit
|
40754
|
+
# unsigned decimal number (e.g. "80") or range (e.g. "0-1023").
|
40755
|
+
# Corresponds to the JSON property `destPorts`
|
40756
|
+
# @return [Array<String>]
|
40757
|
+
attr_accessor :dest_ports
|
40758
|
+
|
40759
|
+
# IPv4 protocol / IPv6 next header (after extension headers). Each element can
|
40760
|
+
# be an 8-bit unsigned decimal number (e.g. "6"), range (e.g. "253-254"), or one
|
40761
|
+
# of the following protocol names: "tcp", "udp", "icmp", "esp", "ah", "ipip", or
|
40762
|
+
# "sctp".
|
40763
|
+
# Corresponds to the JSON property `ipProtocols`
|
40764
|
+
# @return [Array<String>]
|
40765
|
+
attr_accessor :ip_protocols
|
40766
|
+
|
40767
|
+
# BGP Autonomous System Number associated with the source IP address.
|
40768
|
+
# Corresponds to the JSON property `srcAsns`
|
40769
|
+
# @return [Array<Fixnum>]
|
40770
|
+
attr_accessor :src_asns
|
40771
|
+
|
40772
|
+
# Source IPv4/IPv6 addresses or CIDR prefixes, in standard text format.
|
40773
|
+
# Corresponds to the JSON property `srcIpRanges`
|
40774
|
+
# @return [Array<String>]
|
40775
|
+
attr_accessor :src_ip_ranges
|
40776
|
+
|
40777
|
+
# Source port numbers for TCP/UDP/SCTP. Each element can be a 16-bit unsigned
|
40778
|
+
# decimal number (e.g. "80") or range (e.g. "0-1023").
|
40779
|
+
# Corresponds to the JSON property `srcPorts`
|
40780
|
+
# @return [Array<String>]
|
40781
|
+
attr_accessor :src_ports
|
40782
|
+
|
40783
|
+
# Two-letter ISO 3166-1 alpha-2 country code associated with the source IP
|
40784
|
+
# address.
|
40785
|
+
# Corresponds to the JSON property `srcRegionCodes`
|
40786
|
+
# @return [Array<String>]
|
40787
|
+
attr_accessor :src_region_codes
|
40788
|
+
|
40789
|
+
# User-defined fields. Each element names a defined field and lists the matching
|
40790
|
+
# values for that field.
|
40791
|
+
# Corresponds to the JSON property `userDefinedFields`
|
40792
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch>]
|
40793
|
+
attr_accessor :user_defined_fields
|
40794
|
+
|
40795
|
+
def initialize(**args)
|
40796
|
+
update!(**args)
|
40797
|
+
end
|
40798
|
+
|
40799
|
+
# Update properties of this object
|
40800
|
+
def update!(**args)
|
40801
|
+
@dest_ip_ranges = args[:dest_ip_ranges] if args.key?(:dest_ip_ranges)
|
40802
|
+
@dest_ports = args[:dest_ports] if args.key?(:dest_ports)
|
40803
|
+
@ip_protocols = args[:ip_protocols] if args.key?(:ip_protocols)
|
40804
|
+
@src_asns = args[:src_asns] if args.key?(:src_asns)
|
40805
|
+
@src_ip_ranges = args[:src_ip_ranges] if args.key?(:src_ip_ranges)
|
40806
|
+
@src_ports = args[:src_ports] if args.key?(:src_ports)
|
40807
|
+
@src_region_codes = args[:src_region_codes] if args.key?(:src_region_codes)
|
40808
|
+
@user_defined_fields = args[:user_defined_fields] if args.key?(:user_defined_fields)
|
40809
|
+
end
|
40810
|
+
end
|
40811
|
+
|
40812
|
+
#
|
40813
|
+
class SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch
|
40814
|
+
include Google::Apis::Core::Hashable
|
40815
|
+
|
40816
|
+
# Name of the user-defined field, as given in the definition.
|
40817
|
+
# Corresponds to the JSON property `name`
|
40818
|
+
# @return [String]
|
40819
|
+
attr_accessor :name
|
40820
|
+
|
40821
|
+
# Matching values of the field. Each element can be a 32-bit unsigned decimal or
|
40822
|
+
# hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-
|
40823
|
+
# 0x7ff").
|
40824
|
+
# Corresponds to the JSON property `values`
|
40825
|
+
# @return [Array<String>]
|
40826
|
+
attr_accessor :values
|
40827
|
+
|
40828
|
+
def initialize(**args)
|
40829
|
+
update!(**args)
|
40830
|
+
end
|
40831
|
+
|
40832
|
+
# Update properties of this object
|
40833
|
+
def update!(**args)
|
40834
|
+
@name = args[:name] if args.key?(:name)
|
40835
|
+
@values = args[:values] if args.key?(:values)
|
40836
|
+
end
|
40837
|
+
end
|
40838
|
+
|
40479
40839
|
#
|
40480
40840
|
class SecurityPolicyRulePreconfiguredWafConfig
|
40481
40841
|
include Google::Apis::Core::Hashable
|
@@ -40747,6 +41107,59 @@ module Google
|
|
40747
41107
|
end
|
40748
41108
|
end
|
40749
41109
|
|
41110
|
+
#
|
41111
|
+
class SecurityPolicyUserDefinedField
|
41112
|
+
include Google::Apis::Core::Hashable
|
41113
|
+
|
41114
|
+
# The base relative to which 'offset' is measured. Possible values are: - IPV4:
|
41115
|
+
# Points to the beginning of the IPv4 header. - IPV6: Points to the beginning of
|
41116
|
+
# the IPv6 header. - TCP: Points to the beginning of the TCP header, skipping
|
41117
|
+
# over any IPv4 options or IPv6 extension headers. Not present for non-first
|
41118
|
+
# fragments. - UDP: Points to the beginning of the UDP header, skipping over any
|
41119
|
+
# IPv4 options or IPv6 extension headers. Not present for non-first fragments.
|
41120
|
+
# required
|
41121
|
+
# Corresponds to the JSON property `base`
|
41122
|
+
# @return [String]
|
41123
|
+
attr_accessor :base
|
41124
|
+
|
41125
|
+
# If specified, apply this mask (bitwise AND) to the field to ignore bits before
|
41126
|
+
# matching. Encoded as a hexadecimal number (starting with "0x"). The last byte
|
41127
|
+
# of the field (in network byte order) corresponds to the least significant byte
|
41128
|
+
# of the mask.
|
41129
|
+
# Corresponds to the JSON property `mask`
|
41130
|
+
# @return [String]
|
41131
|
+
attr_accessor :mask
|
41132
|
+
|
41133
|
+
# The name of this field. Must be unique within the policy.
|
41134
|
+
# Corresponds to the JSON property `name`
|
41135
|
+
# @return [String]
|
41136
|
+
attr_accessor :name
|
41137
|
+
|
41138
|
+
# Offset of the first byte of the field (in network byte order) relative to '
|
41139
|
+
# base'.
|
41140
|
+
# Corresponds to the JSON property `offset`
|
41141
|
+
# @return [Fixnum]
|
41142
|
+
attr_accessor :offset
|
41143
|
+
|
41144
|
+
# Size of the field in bytes. Valid values: 1-4.
|
41145
|
+
# Corresponds to the JSON property `size`
|
41146
|
+
# @return [Fixnum]
|
41147
|
+
attr_accessor :size
|
41148
|
+
|
41149
|
+
def initialize(**args)
|
41150
|
+
update!(**args)
|
41151
|
+
end
|
41152
|
+
|
41153
|
+
# Update properties of this object
|
41154
|
+
def update!(**args)
|
41155
|
+
@base = args[:base] if args.key?(:base)
|
41156
|
+
@mask = args[:mask] if args.key?(:mask)
|
41157
|
+
@name = args[:name] if args.key?(:name)
|
41158
|
+
@offset = args[:offset] if args.key?(:offset)
|
41159
|
+
@size = args[:size] if args.key?(:size)
|
41160
|
+
end
|
41161
|
+
end
|
41162
|
+
|
40750
41163
|
# The authentication and authorization settings for a BackendService.
|
40751
41164
|
class SecuritySettings
|
40752
41165
|
include Google::Apis::Core::Hashable
|
@@ -44431,25 +44844,35 @@ module Google
|
|
44431
44844
|
class TcpHealthCheck
|
44432
44845
|
include Google::Apis::Core::Hashable
|
44433
44846
|
|
44434
|
-
# The TCP port number
|
44435
|
-
# Valid values are 1 through 65535.
|
44847
|
+
# The TCP port number to which the health check prober sends packets. The
|
44848
|
+
# default value is 80. Valid values are 1 through 65535.
|
44436
44849
|
# Corresponds to the JSON property `port`
|
44437
44850
|
# @return [Fixnum]
|
44438
44851
|
attr_accessor :port
|
44439
44852
|
|
44440
|
-
#
|
44441
|
-
# port_name are defined, port takes precedence.
|
44853
|
+
# Not supported.
|
44442
44854
|
# Corresponds to the JSON property `portName`
|
44443
44855
|
# @return [String]
|
44444
44856
|
attr_accessor :port_name
|
44445
44857
|
|
44446
|
-
# Specifies how port is selected for health checking
|
44447
|
-
# values: USE_FIXED_PORT:
|
44448
|
-
#
|
44449
|
-
#
|
44450
|
-
#
|
44451
|
-
#
|
44452
|
-
#
|
44858
|
+
# Specifies how a port is selected for health checking. Can be one of the
|
44859
|
+
# following values: USE_FIXED_PORT: Specifies a port number explicitly using the
|
44860
|
+
# port field in the health check. Supported by backend services for pass-through
|
44861
|
+
# load balancers and backend services for proxy load balancers. Not supported by
|
44862
|
+
# target pools. The health check supports all backends supported by the backend
|
44863
|
+
# service provided the backend can be health checked. For example, GCE_VM_IP
|
44864
|
+
# network endpoint groups, GCE_VM_IP_PORT network endpoint groups, and instance
|
44865
|
+
# group backends. USE_NAMED_PORT: Not supported. USE_SERVING_PORT: Provides an
|
44866
|
+
# indirect method of specifying the health check port by referring to the
|
44867
|
+
# backend service. Only supported by backend services for proxy load balancers.
|
44868
|
+
# Not supported by target pools. Not supported by backend services for pass-
|
44869
|
+
# through load balancers. Supports all backends that can be health checked; for
|
44870
|
+
# example, GCE_VM_IP_PORT network endpoint groups and instance group backends.
|
44871
|
+
# For GCE_VM_IP_PORT network endpoint group backends, the health check uses the
|
44872
|
+
# port number specified for each endpoint in the network endpoint group. For
|
44873
|
+
# instance group backends, the health check uses the port number determined by
|
44874
|
+
# looking up the backend service's named port in the instance group's list of
|
44875
|
+
# named ports.
|
44453
44876
|
# Corresponds to the JSON property `portSpecification`
|
44454
44877
|
# @return [String]
|
44455
44878
|
attr_accessor :port_specification
|
@@ -44460,17 +44883,17 @@ module Google
|
|
44460
44883
|
# @return [String]
|
44461
44884
|
attr_accessor :proxy_header
|
44462
44885
|
|
44463
|
-
#
|
44464
|
-
#
|
44465
|
-
# connection establishment alone will indicate health. The request data can only
|
44466
|
-
# be ASCII.
|
44886
|
+
# Instructs the health check prober to send this exact ASCII string, up to 1024
|
44887
|
+
# bytes in length, after establishing the TCP connection.
|
44467
44888
|
# Corresponds to the JSON property `request`
|
44468
44889
|
# @return [String]
|
44469
44890
|
attr_accessor :request
|
44470
44891
|
|
44471
|
-
#
|
44472
|
-
#
|
44473
|
-
#
|
44892
|
+
# Creates a content-based TCP health check. In addition to establishing a TCP
|
44893
|
+
# connection, you can configure the health check to pass only when the backend
|
44894
|
+
# sends this exact response ASCII string, up to 1024 bytes in length. For
|
44895
|
+
# details, see: https://cloud.google.com/load-balancing/docs/health-check-
|
44896
|
+
# concepts#criteria-protocol-ssl-tcp
|
44474
44897
|
# Corresponds to the JSON property `response`
|
44475
44898
|
# @return [String]
|
44476
44899
|
attr_accessor :response
|
@@ -45858,6 +46281,12 @@ module Google
|
|
45858
46281
|
# @return [String]
|
45859
46282
|
attr_accessor :network
|
45860
46283
|
|
46284
|
+
# [Output Only] The resource URL for the security policy associated with this
|
46285
|
+
# target instance.
|
46286
|
+
# Corresponds to the JSON property `securityPolicy`
|
46287
|
+
# @return [String]
|
46288
|
+
attr_accessor :security_policy
|
46289
|
+
|
45861
46290
|
# [Output Only] Server-defined URL for the resource.
|
45862
46291
|
# Corresponds to the JSON property `selfLink`
|
45863
46292
|
# @return [String]
|
@@ -45889,6 +46318,7 @@ module Google
|
|
45889
46318
|
@name = args[:name] if args.key?(:name)
|
45890
46319
|
@nat_policy = args[:nat_policy] if args.key?(:nat_policy)
|
45891
46320
|
@network = args[:network] if args.key?(:network)
|
46321
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
45892
46322
|
@self_link = args[:self_link] if args.key?(:self_link)
|
45893
46323
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
45894
46324
|
@zone = args[:zone] if args.key?(:zone)
|
@@ -46313,6 +46743,12 @@ module Google
|
|
46313
46743
|
# @return [String]
|
46314
46744
|
attr_accessor :region
|
46315
46745
|
|
46746
|
+
# [Output Only] The resource URL for the security policy associated with this
|
46747
|
+
# target pool.
|
46748
|
+
# Corresponds to the JSON property `securityPolicy`
|
46749
|
+
# @return [String]
|
46750
|
+
attr_accessor :security_policy
|
46751
|
+
|
46316
46752
|
# [Output Only] Server-defined URL for the resource.
|
46317
46753
|
# Corresponds to the JSON property `selfLink`
|
46318
46754
|
# @return [String]
|
@@ -46349,6 +46785,7 @@ module Google
|
|
46349
46785
|
@kind = args[:kind] if args.key?(:kind)
|
46350
46786
|
@name = args[:name] if args.key?(:name)
|
46351
46787
|
@region = args[:region] if args.key?(:region)
|
46788
|
+
@security_policy = args[:security_policy] if args.key?(:security_policy)
|
46352
46789
|
@self_link = args[:self_link] if args.key?(:self_link)
|
46353
46790
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
46354
46791
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
@@ -47110,6 +47547,97 @@ module Google
|
|
47110
47547
|
end
|
47111
47548
|
end
|
47112
47549
|
|
47550
|
+
#
|
47551
|
+
class TargetTcpProxiesScopedList
|
47552
|
+
include Google::Apis::Core::Hashable
|
47553
|
+
|
47554
|
+
# A list of TargetTcpProxies contained in this scope.
|
47555
|
+
# Corresponds to the JSON property `targetTcpProxies`
|
47556
|
+
# @return [Array<Google::Apis::ComputeAlpha::TargetTcpProxy>]
|
47557
|
+
attr_accessor :target_tcp_proxies
|
47558
|
+
|
47559
|
+
# Informational warning which replaces the list of backend services when the
|
47560
|
+
# list is empty.
|
47561
|
+
# Corresponds to the JSON property `warning`
|
47562
|
+
# @return [Google::Apis::ComputeAlpha::TargetTcpProxiesScopedList::Warning]
|
47563
|
+
attr_accessor :warning
|
47564
|
+
|
47565
|
+
def initialize(**args)
|
47566
|
+
update!(**args)
|
47567
|
+
end
|
47568
|
+
|
47569
|
+
# Update properties of this object
|
47570
|
+
def update!(**args)
|
47571
|
+
@target_tcp_proxies = args[:target_tcp_proxies] if args.key?(:target_tcp_proxies)
|
47572
|
+
@warning = args[:warning] if args.key?(:warning)
|
47573
|
+
end
|
47574
|
+
|
47575
|
+
# Informational warning which replaces the list of backend services when the
|
47576
|
+
# list is empty.
|
47577
|
+
class Warning
|
47578
|
+
include Google::Apis::Core::Hashable
|
47579
|
+
|
47580
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
47581
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
47582
|
+
# Corresponds to the JSON property `code`
|
47583
|
+
# @return [String]
|
47584
|
+
attr_accessor :code
|
47585
|
+
|
47586
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
47587
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
47588
|
+
# Corresponds to the JSON property `data`
|
47589
|
+
# @return [Array<Google::Apis::ComputeAlpha::TargetTcpProxiesScopedList::Warning::Datum>]
|
47590
|
+
attr_accessor :data
|
47591
|
+
|
47592
|
+
# [Output Only] A human-readable description of the warning code.
|
47593
|
+
# Corresponds to the JSON property `message`
|
47594
|
+
# @return [String]
|
47595
|
+
attr_accessor :message
|
47596
|
+
|
47597
|
+
def initialize(**args)
|
47598
|
+
update!(**args)
|
47599
|
+
end
|
47600
|
+
|
47601
|
+
# Update properties of this object
|
47602
|
+
def update!(**args)
|
47603
|
+
@code = args[:code] if args.key?(:code)
|
47604
|
+
@data = args[:data] if args.key?(:data)
|
47605
|
+
@message = args[:message] if args.key?(:message)
|
47606
|
+
end
|
47607
|
+
|
47608
|
+
#
|
47609
|
+
class Datum
|
47610
|
+
include Google::Apis::Core::Hashable
|
47611
|
+
|
47612
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
47613
|
+
# For example, for warnings where there are no results in a list request for a
|
47614
|
+
# particular zone, this key might be scope and the key value might be the zone
|
47615
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
47616
|
+
# suggested replacement, or a warning about invalid network settings (for
|
47617
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
47618
|
+
# for IP forwarding).
|
47619
|
+
# Corresponds to the JSON property `key`
|
47620
|
+
# @return [String]
|
47621
|
+
attr_accessor :key
|
47622
|
+
|
47623
|
+
# [Output Only] A warning data value corresponding to the key.
|
47624
|
+
# Corresponds to the JSON property `value`
|
47625
|
+
# @return [String]
|
47626
|
+
attr_accessor :value
|
47627
|
+
|
47628
|
+
def initialize(**args)
|
47629
|
+
update!(**args)
|
47630
|
+
end
|
47631
|
+
|
47632
|
+
# Update properties of this object
|
47633
|
+
def update!(**args)
|
47634
|
+
@key = args[:key] if args.key?(:key)
|
47635
|
+
@value = args[:value] if args.key?(:value)
|
47636
|
+
end
|
47637
|
+
end
|
47638
|
+
end
|
47639
|
+
end
|
47640
|
+
|
47113
47641
|
#
|
47114
47642
|
class TargetTcpProxiesSetBackendServiceRequest
|
47115
47643
|
include Google::Apis::Core::Hashable
|
@@ -47243,6 +47771,130 @@ module Google
|
|
47243
47771
|
end
|
47244
47772
|
end
|
47245
47773
|
|
47774
|
+
#
|
47775
|
+
class TargetTcpProxyAggregatedList
|
47776
|
+
include Google::Apis::Core::Hashable
|
47777
|
+
|
47778
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
47779
|
+
# Corresponds to the JSON property `id`
|
47780
|
+
# @return [String]
|
47781
|
+
attr_accessor :id
|
47782
|
+
|
47783
|
+
# A list of TargetTcpProxiesScopedList resources.
|
47784
|
+
# Corresponds to the JSON property `items`
|
47785
|
+
# @return [Hash<String,Google::Apis::ComputeAlpha::TargetTcpProxiesScopedList>]
|
47786
|
+
attr_accessor :items
|
47787
|
+
|
47788
|
+
# [Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList
|
47789
|
+
# for lists of Target TCP Proxies.
|
47790
|
+
# Corresponds to the JSON property `kind`
|
47791
|
+
# @return [String]
|
47792
|
+
attr_accessor :kind
|
47793
|
+
|
47794
|
+
# [Output Only] This token allows you to get the next page of results for list
|
47795
|
+
# requests. If the number of results is larger than maxResults, use the
|
47796
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
47797
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
47798
|
+
# continue paging through the results.
|
47799
|
+
# Corresponds to the JSON property `nextPageToken`
|
47800
|
+
# @return [String]
|
47801
|
+
attr_accessor :next_page_token
|
47802
|
+
|
47803
|
+
# [Output Only] Server-defined URL for this resource.
|
47804
|
+
# Corresponds to the JSON property `selfLink`
|
47805
|
+
# @return [String]
|
47806
|
+
attr_accessor :self_link
|
47807
|
+
|
47808
|
+
# [Output Only] Unreachable resources.
|
47809
|
+
# Corresponds to the JSON property `unreachables`
|
47810
|
+
# @return [Array<String>]
|
47811
|
+
attr_accessor :unreachables
|
47812
|
+
|
47813
|
+
# [Output Only] Informational warning message.
|
47814
|
+
# Corresponds to the JSON property `warning`
|
47815
|
+
# @return [Google::Apis::ComputeAlpha::TargetTcpProxyAggregatedList::Warning]
|
47816
|
+
attr_accessor :warning
|
47817
|
+
|
47818
|
+
def initialize(**args)
|
47819
|
+
update!(**args)
|
47820
|
+
end
|
47821
|
+
|
47822
|
+
# Update properties of this object
|
47823
|
+
def update!(**args)
|
47824
|
+
@id = args[:id] if args.key?(:id)
|
47825
|
+
@items = args[:items] if args.key?(:items)
|
47826
|
+
@kind = args[:kind] if args.key?(:kind)
|
47827
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
47828
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
47829
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
47830
|
+
@warning = args[:warning] if args.key?(:warning)
|
47831
|
+
end
|
47832
|
+
|
47833
|
+
# [Output Only] Informational warning message.
|
47834
|
+
class Warning
|
47835
|
+
include Google::Apis::Core::Hashable
|
47836
|
+
|
47837
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
47838
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
47839
|
+
# Corresponds to the JSON property `code`
|
47840
|
+
# @return [String]
|
47841
|
+
attr_accessor :code
|
47842
|
+
|
47843
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
47844
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
47845
|
+
# Corresponds to the JSON property `data`
|
47846
|
+
# @return [Array<Google::Apis::ComputeAlpha::TargetTcpProxyAggregatedList::Warning::Datum>]
|
47847
|
+
attr_accessor :data
|
47848
|
+
|
47849
|
+
# [Output Only] A human-readable description of the warning code.
|
47850
|
+
# Corresponds to the JSON property `message`
|
47851
|
+
# @return [String]
|
47852
|
+
attr_accessor :message
|
47853
|
+
|
47854
|
+
def initialize(**args)
|
47855
|
+
update!(**args)
|
47856
|
+
end
|
47857
|
+
|
47858
|
+
# Update properties of this object
|
47859
|
+
def update!(**args)
|
47860
|
+
@code = args[:code] if args.key?(:code)
|
47861
|
+
@data = args[:data] if args.key?(:data)
|
47862
|
+
@message = args[:message] if args.key?(:message)
|
47863
|
+
end
|
47864
|
+
|
47865
|
+
#
|
47866
|
+
class Datum
|
47867
|
+
include Google::Apis::Core::Hashable
|
47868
|
+
|
47869
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
47870
|
+
# For example, for warnings where there are no results in a list request for a
|
47871
|
+
# particular zone, this key might be scope and the key value might be the zone
|
47872
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
47873
|
+
# suggested replacement, or a warning about invalid network settings (for
|
47874
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
47875
|
+
# for IP forwarding).
|
47876
|
+
# Corresponds to the JSON property `key`
|
47877
|
+
# @return [String]
|
47878
|
+
attr_accessor :key
|
47879
|
+
|
47880
|
+
# [Output Only] A warning data value corresponding to the key.
|
47881
|
+
# Corresponds to the JSON property `value`
|
47882
|
+
# @return [String]
|
47883
|
+
attr_accessor :value
|
47884
|
+
|
47885
|
+
def initialize(**args)
|
47886
|
+
update!(**args)
|
47887
|
+
end
|
47888
|
+
|
47889
|
+
# Update properties of this object
|
47890
|
+
def update!(**args)
|
47891
|
+
@key = args[:key] if args.key?(:key)
|
47892
|
+
@value = args[:value] if args.key?(:value)
|
47893
|
+
end
|
47894
|
+
end
|
47895
|
+
end
|
47896
|
+
end
|
47897
|
+
|
47246
47898
|
# Contains a list of TargetTcpProxy resources.
|
47247
47899
|
class TargetTcpProxyList
|
47248
47900
|
include Google::Apis::Core::Hashable
|
@@ -48049,14 +48701,13 @@ module Google
|
|
48049
48701
|
class UdpHealthCheck
|
48050
48702
|
include Google::Apis::Core::Hashable
|
48051
48703
|
|
48052
|
-
# The UDP port number
|
48053
|
-
# 65535.
|
48704
|
+
# The UDP port number to which the health check prober sends packets. Valid
|
48705
|
+
# values are 1 through 65535.
|
48054
48706
|
# Corresponds to the JSON property `port`
|
48055
48707
|
# @return [Fixnum]
|
48056
48708
|
attr_accessor :port
|
48057
48709
|
|
48058
|
-
#
|
48059
|
-
# port_name are defined, port takes precedence.
|
48710
|
+
# Not supported.
|
48060
48711
|
# Corresponds to the JSON property `portName`
|
48061
48712
|
# @return [String]
|
48062
48713
|
attr_accessor :port_name
|