google-apis-compute_v1 0.53.0 → 0.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/compute_v1/classes.rb +344 -51
- data/lib/google/apis/compute_v1/gem_version.rb +3 -3
- data/lib/google/apis/compute_v1/representations.rb +118 -0
- data/lib/google/apis/compute_v1/service.rb +105 -4
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: acdd7a8e85b7c0c612bae512a335732290b293b92dc6a8a91741681ddbc19a4f
|
4
|
+
data.tar.gz: f415572b4a09098dcbcaf73e15aff1461e18ea0cfffbcfa75fab61461e7c8cd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0503eaa8dd6c54aaa757f16f2ea55c5e3cb577a84bc505bb31f35ebbc7705c5eafe9cef69d903a0aecefead01c7b4ab6ca93b3fd3231fdd8e9e6aea9efc1e582
|
7
|
+
data.tar.gz: 927056ad76f1d72ef80060d7df08793ba6414a9d7015f57533950be3dbb968506ee7667accc6aecefd363f09dde85a8bca3b28fc3e8ef7b1c02ab9a6807d9a8b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-compute_v1
|
2
2
|
|
3
|
+
### v0.55.0 (2022-11-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221026
|
6
|
+
|
7
|
+
### v0.54.0 (2022-10-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20221018
|
10
|
+
* Regenerated using generator version 0.11.0
|
11
|
+
|
3
12
|
### v0.53.0 (2022-09-30)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20220918
|
@@ -1435,12 +1435,14 @@ module Google
|
|
1435
1435
|
# Specifies the disk type to use to create the instance. If not specified, the
|
1436
1436
|
# default is pd-standard, specified using the full URL. For example: https://www.
|
1437
1437
|
# googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/pd-standard
|
1438
|
-
# For a full list of acceptable values, see Persistent disk types. If you
|
1439
|
-
# this field, you can provide either the full or
|
1440
|
-
# following are valid
|
1441
|
-
#
|
1442
|
-
# diskType - zones/zone/diskTypes/diskType
|
1443
|
-
#
|
1438
|
+
# For a full list of acceptable values, see Persistent disk types. If you
|
1439
|
+
# specify this field when creating a VM, you can provide either the full or
|
1440
|
+
# partial URL. For example, the following values are valid: - https://www.
|
1441
|
+
# googleapis.com/compute/v1/projects/project/zones/zone /diskTypes/diskType -
|
1442
|
+
# projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType
|
1443
|
+
# If you specify this field when creating or updating an instance template or
|
1444
|
+
# all-instances configuration, specify the type of the disk, not the URL. For
|
1445
|
+
# example: pd-standard.
|
1444
1446
|
# Corresponds to the JSON property `diskType`
|
1445
1447
|
# @return [String]
|
1446
1448
|
attr_accessor :disk_type
|
@@ -1502,10 +1504,10 @@ module Google
|
|
1502
1504
|
attr_accessor :source_image
|
1503
1505
|
|
1504
1506
|
# The customer-supplied encryption key of the source image. Required if the
|
1505
|
-
# source image is protected by a customer-supplied encryption key.
|
1506
|
-
#
|
1507
|
-
# disks for instances in a managed
|
1508
|
-
# encrypted with your own keys.
|
1507
|
+
# source image is protected by a customer-supplied encryption key.
|
1508
|
+
# InstanceTemplate and InstancePropertiesPatch do not store customer-supplied
|
1509
|
+
# encryption keys, so you cannot create disks for instances in a managed
|
1510
|
+
# instance group if the source images are encrypted with your own keys.
|
1509
1511
|
# Corresponds to the JSON property `sourceImageEncryptionKey`
|
1510
1512
|
# @return [Google::Apis::ComputeV1::CustomerEncryptionKey]
|
1511
1513
|
attr_accessor :source_image_encryption_key
|
@@ -5543,7 +5545,8 @@ module Google
|
|
5543
5545
|
# Specifies a regular expression that matches allowed origins. For more
|
5544
5546
|
# information about the regular expression syntax, see Syntax. An origin is
|
5545
5547
|
# allowed if it matches either an item in allowOrigins or an item in
|
5546
|
-
# allowOriginRegexes.
|
5548
|
+
# allowOriginRegexes. Regular expressions can only be used when the
|
5549
|
+
# loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
|
5547
5550
|
# Corresponds to the JSON property `allowOriginRegexes`
|
5548
5551
|
# @return [Array<String>]
|
5549
5552
|
attr_accessor :allow_origin_regexes
|
@@ -8631,16 +8634,17 @@ module Google
|
|
8631
8634
|
# optionally specify an IP address that references an existing static (reserved)
|
8632
8635
|
# IP address resource. When omitted, Google Cloud assigns an ephemeral IP
|
8633
8636
|
# address. Use one of the following formats to specify an IP address while
|
8634
|
-
# creating a forwarding rule: * IP address number, as in `100.1.2.3` *
|
8635
|
-
# resource URL, as in https://www.
|
8636
|
-
# regions/region
|
8637
|
-
#
|
8638
|
-
# addresses/address-name -
|
8639
|
-
# forwarding rule's target or
|
8640
|
-
#
|
8641
|
-
# detailed information, see [IP address
|
8642
|
-
# load-balancing/docs/forwarding-rule-
|
8643
|
-
# reading an IPAddress, the API always
|
8637
|
+
# creating a forwarding rule: * IP address number, as in `100.1.2.3` * IPv6
|
8638
|
+
# address range, as in `2600:1234::/96` * Full resource URL, as in https://www.
|
8639
|
+
# googleapis.com/compute/v1/projects/ project_id/regions/region/addresses/
|
8640
|
+
# address-name * Partial URL or by name, as in: - projects/project_id/regions/
|
8641
|
+
# region/addresses/address-name - regions/region/addresses/address-name - global/
|
8642
|
+
# addresses/address-name - address-name The forwarding rule's target or
|
8643
|
+
# backendService, and in most cases, also the loadBalancingScheme, determine the
|
8644
|
+
# type of IP address that you can use. For detailed information, see [IP address
|
8645
|
+
# specifications](https://cloud.google.com/load-balancing/docs/forwarding-rule-
|
8646
|
+
# concepts#ip_address_specifications). When reading an IPAddress, the API always
|
8647
|
+
# returns the IP address number.
|
8644
8648
|
# Corresponds to the JSON property `IPAddress`
|
8645
8649
|
# @return [String]
|
8646
8650
|
attr_accessor :ip_address
|
@@ -11149,8 +11153,8 @@ module Google
|
|
11149
11153
|
# For matching against a port specified in the HTTP request, use a headerMatch
|
11150
11154
|
# with headerName set to PORT and a regular expression that satisfies the
|
11151
11155
|
# RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch,
|
11152
|
-
# suffixMatch, regexMatch, presentMatch or rangeMatch must be set.
|
11153
|
-
#
|
11156
|
+
# suffixMatch, regexMatch, presentMatch or rangeMatch must be set. Regular
|
11157
|
+
# expressions can only be used when the loadBalancingScheme is set to
|
11154
11158
|
# INTERNAL_SELF_MANAGED.
|
11155
11159
|
# Corresponds to the JSON property `regexMatch`
|
11156
11160
|
# @return [String]
|
@@ -11469,8 +11473,8 @@ module Google
|
|
11469
11473
|
# The queryParameterMatch matches if the value of the parameter matches the
|
11470
11474
|
# regular expression specified by regexMatch. For more information about regular
|
11471
11475
|
# expression syntax, see Syntax. Only one of presentMatch, exactMatch, or
|
11472
|
-
# regexMatch must be set.
|
11473
|
-
# is set to INTERNAL_SELF_MANAGED.
|
11476
|
+
# regexMatch must be set. Regular expressions can only be used when the
|
11477
|
+
# loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
|
11474
11478
|
# Corresponds to the JSON property `regexMatch`
|
11475
11479
|
# @return [String]
|
11476
11480
|
attr_accessor :regex_match
|
@@ -11851,8 +11855,8 @@ module Google
|
|
11851
11855
|
# the regular expression specified in regexMatch after removing any query
|
11852
11856
|
# parameters and anchor supplied with the original URL. For more information
|
11853
11857
|
# about regular expression syntax, see Syntax. Only one of prefixMatch,
|
11854
|
-
# fullPathMatch or regexMatch must be specified.
|
11855
|
-
#
|
11858
|
+
# fullPathMatch or regexMatch must be specified. Regular expressions can only be
|
11859
|
+
# used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
|
11856
11860
|
# Corresponds to the JSON property `regexMatch`
|
11857
11861
|
# @return [String]
|
11858
11862
|
attr_accessor :regex_match
|
@@ -13547,6 +13551,12 @@ module Google
|
|
13547
13551
|
# @return [String]
|
13548
13552
|
attr_accessor :kind
|
13549
13553
|
|
13554
|
+
# Pagination behavior of the listManagedInstances API method for this managed
|
13555
|
+
# instance group.
|
13556
|
+
# Corresponds to the JSON property `listManagedInstancesResults`
|
13557
|
+
# @return [String]
|
13558
|
+
attr_accessor :list_managed_instances_results
|
13559
|
+
|
13550
13560
|
# The name of the managed instance group. The name must be 1-63 characters long,
|
13551
13561
|
# and comply with RFC1035.
|
13552
13562
|
# Corresponds to the JSON property `name`
|
@@ -13634,6 +13644,7 @@ module Google
|
|
13634
13644
|
@instance_group = args[:instance_group] if args.key?(:instance_group)
|
13635
13645
|
@instance_template = args[:instance_template] if args.key?(:instance_template)
|
13636
13646
|
@kind = args[:kind] if args.key?(:kind)
|
13647
|
+
@list_managed_instances_results = args[:list_managed_instances_results] if args.key?(:list_managed_instances_results)
|
13637
13648
|
@name = args[:name] if args.key?(:name)
|
13638
13649
|
@named_ports = args[:named_ports] if args.key?(:named_ports)
|
13639
13650
|
@region = args[:region] if args.key?(:region)
|
@@ -19465,6 +19476,11 @@ module Google
|
|
19465
19476
|
# @return [Google::Apis::ComputeV1::LocalizedMessage]
|
19466
19477
|
attr_accessor :localized_message
|
19467
19478
|
|
19479
|
+
# Additional details for quota exceeded error for resource quota.
|
19480
|
+
# Corresponds to the JSON property `quotaInfo`
|
19481
|
+
# @return [Google::Apis::ComputeV1::QuotaExceededInfo]
|
19482
|
+
attr_accessor :quota_info
|
19483
|
+
|
19468
19484
|
def initialize(**args)
|
19469
19485
|
update!(**args)
|
19470
19486
|
end
|
@@ -19474,6 +19490,7 @@ module Google
|
|
19474
19490
|
@error_info = args[:error_info] if args.key?(:error_info)
|
19475
19491
|
@help = args[:help] if args.key?(:help)
|
19476
19492
|
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
19493
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
19477
19494
|
end
|
19478
19495
|
end
|
19479
19496
|
end
|
@@ -23841,6 +23858,11 @@ module Google
|
|
23841
23858
|
# @return [Google::Apis::ComputeV1::LocalizedMessage]
|
23842
23859
|
attr_accessor :localized_message
|
23843
23860
|
|
23861
|
+
# Additional details for quota exceeded error for resource quota.
|
23862
|
+
# Corresponds to the JSON property `quotaInfo`
|
23863
|
+
# @return [Google::Apis::ComputeV1::QuotaExceededInfo]
|
23864
|
+
attr_accessor :quota_info
|
23865
|
+
|
23844
23866
|
def initialize(**args)
|
23845
23867
|
update!(**args)
|
23846
23868
|
end
|
@@ -23850,6 +23872,7 @@ module Google
|
|
23850
23872
|
@error_info = args[:error_info] if args.key?(:error_info)
|
23851
23873
|
@help = args[:help] if args.key?(:help)
|
23852
23874
|
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
23875
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
23853
23876
|
end
|
23854
23877
|
end
|
23855
23878
|
end
|
@@ -24270,28 +24293,36 @@ module Google
|
|
24270
24293
|
|
24271
24294
|
# Number of errors before a host is ejected from the connection pool. When the
|
24272
24295
|
# backend host is accessed over HTTP, a 5xx return code qualifies as an error.
|
24273
|
-
# Defaults to 5.
|
24296
|
+
# Defaults to 5. Not supported when the backend service is referenced by a URL
|
24297
|
+
# map that is bound to target gRPC proxy that has validateForProxyless field set
|
24298
|
+
# to true.
|
24274
24299
|
# Corresponds to the JSON property `consecutiveErrors`
|
24275
24300
|
# @return [Fixnum]
|
24276
24301
|
attr_accessor :consecutive_errors
|
24277
24302
|
|
24278
24303
|
# The number of consecutive gateway failures (502, 503, 504 status or connection
|
24279
24304
|
# errors that are mapped to one of those status codes) before a consecutive
|
24280
|
-
# gateway failure ejection occurs. Defaults to 3.
|
24305
|
+
# gateway failure ejection occurs. Defaults to 3. Not supported when the backend
|
24306
|
+
# service is referenced by a URL map that is bound to target gRPC proxy that has
|
24307
|
+
# validateForProxyless field set to true.
|
24281
24308
|
# Corresponds to the JSON property `consecutiveGatewayFailure`
|
24282
24309
|
# @return [Fixnum]
|
24283
24310
|
attr_accessor :consecutive_gateway_failure
|
24284
24311
|
|
24285
24312
|
# The percentage chance that a host will be actually ejected when an outlier
|
24286
24313
|
# status is detected through consecutive 5xx. This setting can be used to
|
24287
|
-
# disable ejection or to ramp it up slowly. Defaults to 0.
|
24314
|
+
# disable ejection or to ramp it up slowly. Defaults to 0. Not supported when
|
24315
|
+
# the backend service is referenced by a URL map that is bound to target gRPC
|
24316
|
+
# proxy that has validateForProxyless field set to true.
|
24288
24317
|
# Corresponds to the JSON property `enforcingConsecutiveErrors`
|
24289
24318
|
# @return [Fixnum]
|
24290
24319
|
attr_accessor :enforcing_consecutive_errors
|
24291
24320
|
|
24292
24321
|
# The percentage chance that a host will be actually ejected when an outlier
|
24293
24322
|
# status is detected through consecutive gateway failures. This setting can be
|
24294
|
-
# used to disable ejection or to ramp it up slowly. Defaults to 100.
|
24323
|
+
# used to disable ejection or to ramp it up slowly. Defaults to 100. Not
|
24324
|
+
# supported when the backend service is referenced by a URL map that is bound to
|
24325
|
+
# target gRPC proxy that has validateForProxyless field set to true.
|
24295
24326
|
# Corresponds to the JSON property `enforcingConsecutiveGatewayFailure`
|
24296
24327
|
# @return [Fixnum]
|
24297
24328
|
attr_accessor :enforcing_consecutive_gateway_failure
|
@@ -26457,6 +26488,44 @@ module Google
|
|
26457
26488
|
end
|
26458
26489
|
end
|
26459
26490
|
|
26491
|
+
# Additional details for quota exceeded error for resource quota.
|
26492
|
+
class QuotaExceededInfo
|
26493
|
+
include Google::Apis::Core::Hashable
|
26494
|
+
|
26495
|
+
# The map holding related quota dimensions.
|
26496
|
+
# Corresponds to the JSON property `dimensions`
|
26497
|
+
# @return [Hash<String,String>]
|
26498
|
+
attr_accessor :dimensions
|
26499
|
+
|
26500
|
+
# Current effective quota limit. The limit's unit depends on the quota type or
|
26501
|
+
# metric.
|
26502
|
+
# Corresponds to the JSON property `limit`
|
26503
|
+
# @return [Float]
|
26504
|
+
attr_accessor :limit
|
26505
|
+
|
26506
|
+
# The name of the quota limit.
|
26507
|
+
# Corresponds to the JSON property `limitName`
|
26508
|
+
# @return [String]
|
26509
|
+
attr_accessor :limit_name
|
26510
|
+
|
26511
|
+
# The Compute Engine quota metric name.
|
26512
|
+
# Corresponds to the JSON property `metricName`
|
26513
|
+
# @return [String]
|
26514
|
+
attr_accessor :metric_name
|
26515
|
+
|
26516
|
+
def initialize(**args)
|
26517
|
+
update!(**args)
|
26518
|
+
end
|
26519
|
+
|
26520
|
+
# Update properties of this object
|
26521
|
+
def update!(**args)
|
26522
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
26523
|
+
@limit = args[:limit] if args.key?(:limit)
|
26524
|
+
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
26525
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
26526
|
+
end
|
26527
|
+
end
|
26528
|
+
|
26460
26529
|
# Represents a reference to a resource.
|
26461
26530
|
class Reference
|
26462
26531
|
include Google::Apis::Core::Hashable
|
@@ -32134,9 +32203,11 @@ module Google
|
|
32134
32203
|
attr_accessor :region
|
32135
32204
|
|
32136
32205
|
# A list of rules that belong to this policy. There must always be a default
|
32137
|
-
# rule
|
32138
|
-
#
|
32139
|
-
#
|
32206
|
+
# rule which is a rule with priority 2147483647 and match all condition (for the
|
32207
|
+
# match condition this means match "*" for srcIpRanges and for the networkMatch
|
32208
|
+
# condition every field must be either match "*" or not set). If no rules are
|
32209
|
+
# provided when creating a security policy, a default rule with action "allow"
|
32210
|
+
# will be added.
|
32140
32211
|
# Corresponds to the JSON property `rules`
|
32141
32212
|
# @return [Array<Google::Apis::ComputeV1::SecurityPolicyRule>]
|
32142
32213
|
attr_accessor :rules
|
@@ -32686,19 +32757,23 @@ module Google
|
|
32686
32757
|
|
32687
32758
|
# Determines the key to enforce the rate_limit_threshold on. Possible values are:
|
32688
32759
|
# - ALL: A single rate limit threshold is applied to all the requests matching
|
32689
|
-
# this rule. This is the default value if
|
32690
|
-
#
|
32691
|
-
#
|
32692
|
-
#
|
32693
|
-
#
|
32694
|
-
#
|
32695
|
-
#
|
32696
|
-
#
|
32697
|
-
#
|
32698
|
-
#
|
32699
|
-
#
|
32700
|
-
#
|
32701
|
-
#
|
32760
|
+
# this rule. This is the default value if "enforceOnKey" is not configured. - IP:
|
32761
|
+
# The source IP address of the request is the key. Each IP has this limit
|
32762
|
+
# enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is
|
32763
|
+
# configured under "enforceOnKeyName". The key value is truncated to the first
|
32764
|
+
# 128 bytes of the header value. If no such header is present in the request,
|
32765
|
+
# the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the
|
32766
|
+
# originating client IP address) specified in the list of IPs under X-Forwarded-
|
32767
|
+
# For HTTP header. If no such header is present or the value is not a valid IP,
|
32768
|
+
# the key defaults to the source IP address of the request i.e. key type IP. -
|
32769
|
+
# HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "
|
32770
|
+
# enforceOnKeyName". The key value is truncated to the first 128 bytes of the
|
32771
|
+
# cookie value. If no such cookie is present in the request, the key type
|
32772
|
+
# defaults to ALL. - HTTP_PATH: The URL path of the HTTP request. The key value
|
32773
|
+
# is truncated to the first 128 bytes. - SNI: Server name indication in the TLS
|
32774
|
+
# session of the HTTPS request. The key value is truncated to the first 128
|
32775
|
+
# bytes. The key type defaults to ALL on a HTTP session. - REGION_CODE: The
|
32776
|
+
# country/region from which the request originates.
|
32702
32777
|
# Corresponds to the JSON property `enforceOnKey`
|
32703
32778
|
# @return [String]
|
32704
32779
|
attr_accessor :enforce_on_key
|
@@ -35348,8 +35423,7 @@ module Google
|
|
35348
35423
|
attr_accessor :enable_flow_logs
|
35349
35424
|
alias_method :enable_flow_logs?, :enable_flow_logs
|
35350
35425
|
|
35351
|
-
#
|
35352
|
-
# subnetwork.
|
35426
|
+
# The external IPv6 address range that is owned by this subnetwork.
|
35353
35427
|
# Corresponds to the JSON property `externalIpv6Prefix`
|
35354
35428
|
# @return [String]
|
35355
35429
|
attr_accessor :external_ipv6_prefix
|
@@ -38582,6 +38656,97 @@ module Google
|
|
38582
38656
|
end
|
38583
38657
|
end
|
38584
38658
|
|
38659
|
+
#
|
38660
|
+
class TargetTcpProxiesScopedList
|
38661
|
+
include Google::Apis::Core::Hashable
|
38662
|
+
|
38663
|
+
# A list of TargetTcpProxies contained in this scope.
|
38664
|
+
# Corresponds to the JSON property `targetTcpProxies`
|
38665
|
+
# @return [Array<Google::Apis::ComputeV1::TargetTcpProxy>]
|
38666
|
+
attr_accessor :target_tcp_proxies
|
38667
|
+
|
38668
|
+
# Informational warning which replaces the list of backend services when the
|
38669
|
+
# list is empty.
|
38670
|
+
# Corresponds to the JSON property `warning`
|
38671
|
+
# @return [Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning]
|
38672
|
+
attr_accessor :warning
|
38673
|
+
|
38674
|
+
def initialize(**args)
|
38675
|
+
update!(**args)
|
38676
|
+
end
|
38677
|
+
|
38678
|
+
# Update properties of this object
|
38679
|
+
def update!(**args)
|
38680
|
+
@target_tcp_proxies = args[:target_tcp_proxies] if args.key?(:target_tcp_proxies)
|
38681
|
+
@warning = args[:warning] if args.key?(:warning)
|
38682
|
+
end
|
38683
|
+
|
38684
|
+
# Informational warning which replaces the list of backend services when the
|
38685
|
+
# list is empty.
|
38686
|
+
class Warning
|
38687
|
+
include Google::Apis::Core::Hashable
|
38688
|
+
|
38689
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
38690
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
38691
|
+
# Corresponds to the JSON property `code`
|
38692
|
+
# @return [String]
|
38693
|
+
attr_accessor :code
|
38694
|
+
|
38695
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
38696
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
38697
|
+
# Corresponds to the JSON property `data`
|
38698
|
+
# @return [Array<Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning::Datum>]
|
38699
|
+
attr_accessor :data
|
38700
|
+
|
38701
|
+
# [Output Only] A human-readable description of the warning code.
|
38702
|
+
# Corresponds to the JSON property `message`
|
38703
|
+
# @return [String]
|
38704
|
+
attr_accessor :message
|
38705
|
+
|
38706
|
+
def initialize(**args)
|
38707
|
+
update!(**args)
|
38708
|
+
end
|
38709
|
+
|
38710
|
+
# Update properties of this object
|
38711
|
+
def update!(**args)
|
38712
|
+
@code = args[:code] if args.key?(:code)
|
38713
|
+
@data = args[:data] if args.key?(:data)
|
38714
|
+
@message = args[:message] if args.key?(:message)
|
38715
|
+
end
|
38716
|
+
|
38717
|
+
#
|
38718
|
+
class Datum
|
38719
|
+
include Google::Apis::Core::Hashable
|
38720
|
+
|
38721
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
38722
|
+
# For example, for warnings where there are no results in a list request for a
|
38723
|
+
# particular zone, this key might be scope and the key value might be the zone
|
38724
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
38725
|
+
# suggested replacement, or a warning about invalid network settings (for
|
38726
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
38727
|
+
# for IP forwarding).
|
38728
|
+
# Corresponds to the JSON property `key`
|
38729
|
+
# @return [String]
|
38730
|
+
attr_accessor :key
|
38731
|
+
|
38732
|
+
# [Output Only] A warning data value corresponding to the key.
|
38733
|
+
# Corresponds to the JSON property `value`
|
38734
|
+
# @return [String]
|
38735
|
+
attr_accessor :value
|
38736
|
+
|
38737
|
+
def initialize(**args)
|
38738
|
+
update!(**args)
|
38739
|
+
end
|
38740
|
+
|
38741
|
+
# Update properties of this object
|
38742
|
+
def update!(**args)
|
38743
|
+
@key = args[:key] if args.key?(:key)
|
38744
|
+
@value = args[:value] if args.key?(:value)
|
38745
|
+
end
|
38746
|
+
end
|
38747
|
+
end
|
38748
|
+
end
|
38749
|
+
|
38585
38750
|
#
|
38586
38751
|
class TargetTcpProxiesSetBackendServiceRequest
|
38587
38752
|
include Google::Apis::Core::Hashable
|
@@ -38715,6 +38880,130 @@ module Google
|
|
38715
38880
|
end
|
38716
38881
|
end
|
38717
38882
|
|
38883
|
+
#
|
38884
|
+
class TargetTcpProxyAggregatedList
|
38885
|
+
include Google::Apis::Core::Hashable
|
38886
|
+
|
38887
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
38888
|
+
# Corresponds to the JSON property `id`
|
38889
|
+
# @return [String]
|
38890
|
+
attr_accessor :id
|
38891
|
+
|
38892
|
+
# A list of TargetTcpProxiesScopedList resources.
|
38893
|
+
# Corresponds to the JSON property `items`
|
38894
|
+
# @return [Hash<String,Google::Apis::ComputeV1::TargetTcpProxiesScopedList>]
|
38895
|
+
attr_accessor :items
|
38896
|
+
|
38897
|
+
# [Output Only] Type of resource. Always compute#targetTcpProxyAggregatedList
|
38898
|
+
# for lists of Target TCP Proxies.
|
38899
|
+
# Corresponds to the JSON property `kind`
|
38900
|
+
# @return [String]
|
38901
|
+
attr_accessor :kind
|
38902
|
+
|
38903
|
+
# [Output Only] This token allows you to get the next page of results for list
|
38904
|
+
# requests. If the number of results is larger than maxResults, use the
|
38905
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
38906
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
38907
|
+
# continue paging through the results.
|
38908
|
+
# Corresponds to the JSON property `nextPageToken`
|
38909
|
+
# @return [String]
|
38910
|
+
attr_accessor :next_page_token
|
38911
|
+
|
38912
|
+
# [Output Only] Server-defined URL for this resource.
|
38913
|
+
# Corresponds to the JSON property `selfLink`
|
38914
|
+
# @return [String]
|
38915
|
+
attr_accessor :self_link
|
38916
|
+
|
38917
|
+
# [Output Only] Unreachable resources.
|
38918
|
+
# Corresponds to the JSON property `unreachables`
|
38919
|
+
# @return [Array<String>]
|
38920
|
+
attr_accessor :unreachables
|
38921
|
+
|
38922
|
+
# [Output Only] Informational warning message.
|
38923
|
+
# Corresponds to the JSON property `warning`
|
38924
|
+
# @return [Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning]
|
38925
|
+
attr_accessor :warning
|
38926
|
+
|
38927
|
+
def initialize(**args)
|
38928
|
+
update!(**args)
|
38929
|
+
end
|
38930
|
+
|
38931
|
+
# Update properties of this object
|
38932
|
+
def update!(**args)
|
38933
|
+
@id = args[:id] if args.key?(:id)
|
38934
|
+
@items = args[:items] if args.key?(:items)
|
38935
|
+
@kind = args[:kind] if args.key?(:kind)
|
38936
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
38937
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
38938
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
38939
|
+
@warning = args[:warning] if args.key?(:warning)
|
38940
|
+
end
|
38941
|
+
|
38942
|
+
# [Output Only] Informational warning message.
|
38943
|
+
class Warning
|
38944
|
+
include Google::Apis::Core::Hashable
|
38945
|
+
|
38946
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
38947
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
38948
|
+
# Corresponds to the JSON property `code`
|
38949
|
+
# @return [String]
|
38950
|
+
attr_accessor :code
|
38951
|
+
|
38952
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
38953
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
38954
|
+
# Corresponds to the JSON property `data`
|
38955
|
+
# @return [Array<Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning::Datum>]
|
38956
|
+
attr_accessor :data
|
38957
|
+
|
38958
|
+
# [Output Only] A human-readable description of the warning code.
|
38959
|
+
# Corresponds to the JSON property `message`
|
38960
|
+
# @return [String]
|
38961
|
+
attr_accessor :message
|
38962
|
+
|
38963
|
+
def initialize(**args)
|
38964
|
+
update!(**args)
|
38965
|
+
end
|
38966
|
+
|
38967
|
+
# Update properties of this object
|
38968
|
+
def update!(**args)
|
38969
|
+
@code = args[:code] if args.key?(:code)
|
38970
|
+
@data = args[:data] if args.key?(:data)
|
38971
|
+
@message = args[:message] if args.key?(:message)
|
38972
|
+
end
|
38973
|
+
|
38974
|
+
#
|
38975
|
+
class Datum
|
38976
|
+
include Google::Apis::Core::Hashable
|
38977
|
+
|
38978
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
38979
|
+
# For example, for warnings where there are no results in a list request for a
|
38980
|
+
# particular zone, this key might be scope and the key value might be the zone
|
38981
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
38982
|
+
# suggested replacement, or a warning about invalid network settings (for
|
38983
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
38984
|
+
# for IP forwarding).
|
38985
|
+
# Corresponds to the JSON property `key`
|
38986
|
+
# @return [String]
|
38987
|
+
attr_accessor :key
|
38988
|
+
|
38989
|
+
# [Output Only] A warning data value corresponding to the key.
|
38990
|
+
# Corresponds to the JSON property `value`
|
38991
|
+
# @return [String]
|
38992
|
+
attr_accessor :value
|
38993
|
+
|
38994
|
+
def initialize(**args)
|
38995
|
+
update!(**args)
|
38996
|
+
end
|
38997
|
+
|
38998
|
+
# Update properties of this object
|
38999
|
+
def update!(**args)
|
39000
|
+
@key = args[:key] if args.key?(:key)
|
39001
|
+
@value = args[:value] if args.key?(:value)
|
39002
|
+
end
|
39003
|
+
end
|
39004
|
+
end
|
39005
|
+
end
|
39006
|
+
|
38718
39007
|
# Contains a list of TargetTcpProxy resources.
|
38719
39008
|
class TargetTcpProxyList
|
38720
39009
|
include Google::Apis::Core::Hashable
|
@@ -40741,7 +41030,8 @@ module Google
|
|
40741
41030
|
attr_accessor :self_link
|
40742
41031
|
|
40743
41032
|
# The stack type for this VPN gateway to identify the IP protocols that are
|
40744
|
-
# enabled.
|
41033
|
+
# enabled. Possible values are: IPV4_ONLY, IPV4_IPV6. If not specified,
|
41034
|
+
# IPV4_ONLY will be used.
|
40745
41035
|
# Corresponds to the JSON property `stackType`
|
40746
41036
|
# @return [String]
|
40747
41037
|
attr_accessor :stack_type
|
@@ -41352,7 +41642,9 @@ module Google
|
|
41352
41642
|
attr_accessor :peer_external_gateway
|
41353
41643
|
|
41354
41644
|
# The interface ID of the external VPN gateway to which this VPN tunnel is
|
41355
|
-
# connected. Provided by the client when the VPN tunnel is created.
|
41645
|
+
# connected. Provided by the client when the VPN tunnel is created. Possible
|
41646
|
+
# values are: `0`, `1`, `2`, `3`. The number of IDs in use depends on the
|
41647
|
+
# external VPN gateway redundancy type.
|
41356
41648
|
# Corresponds to the JSON property `peerExternalGatewayInterface`
|
41357
41649
|
# @return [Fixnum]
|
41358
41650
|
attr_accessor :peer_external_gateway_interface
|
@@ -41443,6 +41735,7 @@ module Google
|
|
41443
41735
|
attr_accessor :vpn_gateway
|
41444
41736
|
|
41445
41737
|
# The interface ID of the VPN gateway with which this VPN tunnel is associated.
|
41738
|
+
# Possible values are: `0`, `1`.
|
41446
41739
|
# Corresponds to the JSON property `vpnGatewayInterface`
|
41447
41740
|
# @return [Fixnum]
|
41448
41741
|
attr_accessor :vpn_gateway_interface
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComputeV1
|
18
18
|
# Version of the google-apis-compute_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221026"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3352,6 +3352,12 @@ module Google
|
|
3352
3352
|
include Google::Apis::Core::JsonObjectSupport
|
3353
3353
|
end
|
3354
3354
|
|
3355
|
+
class QuotaExceededInfo
|
3356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3357
|
+
|
3358
|
+
include Google::Apis::Core::JsonObjectSupport
|
3359
|
+
end
|
3360
|
+
|
3355
3361
|
class Reference
|
3356
3362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3357
3363
|
|
@@ -5086,6 +5092,24 @@ module Google
|
|
5086
5092
|
include Google::Apis::Core::JsonObjectSupport
|
5087
5093
|
end
|
5088
5094
|
|
5095
|
+
class TargetTcpProxiesScopedList
|
5096
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5097
|
+
|
5098
|
+
class Warning
|
5099
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5100
|
+
|
5101
|
+
class Datum
|
5102
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5103
|
+
|
5104
|
+
include Google::Apis::Core::JsonObjectSupport
|
5105
|
+
end
|
5106
|
+
|
5107
|
+
include Google::Apis::Core::JsonObjectSupport
|
5108
|
+
end
|
5109
|
+
|
5110
|
+
include Google::Apis::Core::JsonObjectSupport
|
5111
|
+
end
|
5112
|
+
|
5089
5113
|
class TargetTcpProxiesSetBackendServiceRequest
|
5090
5114
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5091
5115
|
|
@@ -5104,6 +5128,24 @@ module Google
|
|
5104
5128
|
include Google::Apis::Core::JsonObjectSupport
|
5105
5129
|
end
|
5106
5130
|
|
5131
|
+
class TargetTcpProxyAggregatedList
|
5132
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5133
|
+
|
5134
|
+
class Warning
|
5135
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5136
|
+
|
5137
|
+
class Datum
|
5138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5139
|
+
|
5140
|
+
include Google::Apis::Core::JsonObjectSupport
|
5141
|
+
end
|
5142
|
+
|
5143
|
+
include Google::Apis::Core::JsonObjectSupport
|
5144
|
+
end
|
5145
|
+
|
5146
|
+
include Google::Apis::Core::JsonObjectSupport
|
5147
|
+
end
|
5148
|
+
|
5107
5149
|
class TargetTcpProxyList
|
5108
5150
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5109
5151
|
|
@@ -8677,6 +8719,7 @@ module Google
|
|
8677
8719
|
property :instance_group, as: 'instanceGroup'
|
8678
8720
|
property :instance_template, as: 'instanceTemplate'
|
8679
8721
|
property :kind, as: 'kind'
|
8722
|
+
property :list_managed_instances_results, as: 'listManagedInstancesResults'
|
8680
8723
|
property :name, as: 'name'
|
8681
8724
|
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeV1::NamedPort, decorator: Google::Apis::ComputeV1::NamedPort::Representation
|
8682
8725
|
|
@@ -10217,6 +10260,8 @@ module Google
|
|
10217
10260
|
|
10218
10261
|
property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
|
10219
10262
|
|
10263
|
+
property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
|
10264
|
+
|
10220
10265
|
end
|
10221
10266
|
end
|
10222
10267
|
end
|
@@ -11316,6 +11361,8 @@ module Google
|
|
11316
11361
|
|
11317
11362
|
property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeV1::LocalizedMessage, decorator: Google::Apis::ComputeV1::LocalizedMessage::Representation
|
11318
11363
|
|
11364
|
+
property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeV1::QuotaExceededInfo, decorator: Google::Apis::ComputeV1::QuotaExceededInfo::Representation
|
11365
|
+
|
11319
11366
|
end
|
11320
11367
|
end
|
11321
11368
|
end
|
@@ -11974,6 +12021,16 @@ module Google
|
|
11974
12021
|
end
|
11975
12022
|
end
|
11976
12023
|
|
12024
|
+
class QuotaExceededInfo
|
12025
|
+
# @private
|
12026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12027
|
+
hash :dimensions, as: 'dimensions'
|
12028
|
+
property :limit, as: 'limit'
|
12029
|
+
property :limit_name, as: 'limitName'
|
12030
|
+
property :metric_name, as: 'metricName'
|
12031
|
+
end
|
12032
|
+
end
|
12033
|
+
|
11977
12034
|
class Reference
|
11978
12035
|
# @private
|
11979
12036
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15066,6 +15123,34 @@ module Google
|
|
15066
15123
|
end
|
15067
15124
|
end
|
15068
15125
|
|
15126
|
+
class TargetTcpProxiesScopedList
|
15127
|
+
# @private
|
15128
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15129
|
+
collection :target_tcp_proxies, as: 'targetTcpProxies', class: Google::Apis::ComputeV1::TargetTcpProxy, decorator: Google::Apis::ComputeV1::TargetTcpProxy::Representation
|
15130
|
+
|
15131
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning, decorator: Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning::Representation
|
15132
|
+
|
15133
|
+
end
|
15134
|
+
|
15135
|
+
class Warning
|
15136
|
+
# @private
|
15137
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15138
|
+
property :code, as: 'code'
|
15139
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Warning::Datum::Representation
|
15140
|
+
|
15141
|
+
property :message, as: 'message'
|
15142
|
+
end
|
15143
|
+
|
15144
|
+
class Datum
|
15145
|
+
# @private
|
15146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15147
|
+
property :key, as: 'key'
|
15148
|
+
property :value, as: 'value'
|
15149
|
+
end
|
15150
|
+
end
|
15151
|
+
end
|
15152
|
+
end
|
15153
|
+
|
15069
15154
|
class TargetTcpProxiesSetBackendServiceRequest
|
15070
15155
|
# @private
|
15071
15156
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -15096,6 +15181,39 @@ module Google
|
|
15096
15181
|
end
|
15097
15182
|
end
|
15098
15183
|
|
15184
|
+
class TargetTcpProxyAggregatedList
|
15185
|
+
# @private
|
15186
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15187
|
+
property :id, as: 'id'
|
15188
|
+
hash :items, as: 'items', class: Google::Apis::ComputeV1::TargetTcpProxiesScopedList, decorator: Google::Apis::ComputeV1::TargetTcpProxiesScopedList::Representation
|
15189
|
+
|
15190
|
+
property :kind, as: 'kind'
|
15191
|
+
property :next_page_token, as: 'nextPageToken'
|
15192
|
+
property :self_link, as: 'selfLink'
|
15193
|
+
collection :unreachables, as: 'unreachables'
|
15194
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning::Representation
|
15195
|
+
|
15196
|
+
end
|
15197
|
+
|
15198
|
+
class Warning
|
15199
|
+
# @private
|
15200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15201
|
+
property :code, as: 'code'
|
15202
|
+
collection :data, as: 'data', class: Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Warning::Datum::Representation
|
15203
|
+
|
15204
|
+
property :message, as: 'message'
|
15205
|
+
end
|
15206
|
+
|
15207
|
+
class Datum
|
15208
|
+
# @private
|
15209
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
15210
|
+
property :key, as: 'key'
|
15211
|
+
property :value, as: 'value'
|
15212
|
+
end
|
15213
|
+
end
|
15214
|
+
end
|
15215
|
+
end
|
15216
|
+
|
15099
15217
|
class TargetTcpProxyList
|
15100
15218
|
# @private
|
15101
15219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26623,7 +26623,10 @@ module Google
|
|
26623
26623
|
execute_or_queue_command(command, &block)
|
26624
26624
|
end
|
26625
26625
|
|
26626
|
-
# Patches the specified policy with the data included in the request.
|
26626
|
+
# Patches the specified policy with the data included in the request. To clear
|
26627
|
+
# fields in the rule, leave the fields empty and specify them in the updateMask.
|
26628
|
+
# This cannot be used to be update the rules in the policy. Please use the per
|
26629
|
+
# rule methods like addRule, patchRule, and removeRule instead.
|
26627
26630
|
# @param [String] project
|
26628
26631
|
# Project ID for this request.
|
26629
26632
|
# @param [String] region
|
@@ -31040,9 +31043,10 @@ module Google
|
|
31040
31043
|
execute_or_queue_command(command, &block)
|
31041
31044
|
end
|
31042
31045
|
|
31043
|
-
# Patches the specified policy with the data included in the request.
|
31044
|
-
#
|
31045
|
-
#
|
31046
|
+
# Patches the specified policy with the data included in the request. To clear
|
31047
|
+
# fields in the rule, leave the fields empty and specify them in the updateMask.
|
31048
|
+
# This cannot be used to be update the rules in the policy. Please use the per
|
31049
|
+
# rule methods like addRule, patchRule, and removeRule instead.
|
31046
31050
|
# @param [String] project
|
31047
31051
|
# Project ID for this request.
|
31048
31052
|
# @param [String] security_policy
|
@@ -36368,6 +36372,103 @@ module Google
|
|
36368
36372
|
execute_or_queue_command(command, &block)
|
36369
36373
|
end
|
36370
36374
|
|
36375
|
+
# Retrieves the list of all TargetTcpProxy resources, regional and global,
|
36376
|
+
# available to the specified project.
|
36377
|
+
# @param [String] project
|
36378
|
+
# Name of the project scoping this request.
|
36379
|
+
# @param [String] filter
|
36380
|
+
# A filter expression that filters resources listed in the response. Most
|
36381
|
+
# Compute resources support two types of filter expressions: expressions that
|
36382
|
+
# support regular expressions and expressions that follow API improvement
|
36383
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
36384
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
36385
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
36386
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
36387
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
36388
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
36389
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
36390
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
36391
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
36392
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
36393
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
36394
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
36395
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
36396
|
+
# provide each separate expression within parentheses. For example: ``` (
|
36397
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
36398
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
36399
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
36400
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
36401
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
36402
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
36403
|
+
# expression with or without quotes or against multiple parenthesized
|
36404
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
36405
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
36406
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
36407
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
36408
|
+
# match the entire field. For example, to filter for instances that do not end
|
36409
|
+
# with name "instance", you would use `name ne .*instance`.
|
36410
|
+
# @param [Boolean] include_all_scopes
|
36411
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
36412
|
+
# global) should be included in the response. For new resource types added after
|
36413
|
+
# this field, the flag has no effect as new resource types will always include
|
36414
|
+
# every visible scope for each scope type in response. For resource types which
|
36415
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
36416
|
+
# types where the resource type is expected to be found will be included.
|
36417
|
+
# @param [Fixnum] max_results
|
36418
|
+
# The maximum number of results per page that should be returned. If the number
|
36419
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
36420
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
36421
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
36422
|
+
# @param [String] order_by
|
36423
|
+
# Sorts list results by a certain order. By default, results are returned in
|
36424
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
36425
|
+
# descending order based on the creation timestamp using `orderBy="
|
36426
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
36427
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
36428
|
+
# resources like operations so that the newest operation is returned first.
|
36429
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
36430
|
+
# @param [String] page_token
|
36431
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
36432
|
+
# by a previous list request to get the next page of results.
|
36433
|
+
# @param [Boolean] return_partial_success
|
36434
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
36435
|
+
# failure. The default value is false.
|
36436
|
+
# @param [String] fields
|
36437
|
+
# Selector specifying which fields to include in a partial response.
|
36438
|
+
# @param [String] quota_user
|
36439
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
36440
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
36441
|
+
# @param [String] user_ip
|
36442
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
36443
|
+
# @param [Google::Apis::RequestOptions] options
|
36444
|
+
# Request-specific options
|
36445
|
+
#
|
36446
|
+
# @yield [result, err] Result & error if block supplied
|
36447
|
+
# @yieldparam result [Google::Apis::ComputeV1::TargetTcpProxyAggregatedList] parsed result object
|
36448
|
+
# @yieldparam err [StandardError] error object if request failed
|
36449
|
+
#
|
36450
|
+
# @return [Google::Apis::ComputeV1::TargetTcpProxyAggregatedList]
|
36451
|
+
#
|
36452
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
36453
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
36454
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
36455
|
+
def aggregated_target_tcp_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
36456
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/targetTcpProxies', options)
|
36457
|
+
command.response_representation = Google::Apis::ComputeV1::TargetTcpProxyAggregatedList::Representation
|
36458
|
+
command.response_class = Google::Apis::ComputeV1::TargetTcpProxyAggregatedList
|
36459
|
+
command.params['project'] = project unless project.nil?
|
36460
|
+
command.query['filter'] = filter unless filter.nil?
|
36461
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
36462
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
36463
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
36464
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
36465
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
36466
|
+
command.query['fields'] = fields unless fields.nil?
|
36467
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
36468
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
36469
|
+
execute_or_queue_command(command, &block)
|
36470
|
+
end
|
36471
|
+
|
36371
36472
|
# Deletes the specified TargetTcpProxy resource.
|
36372
36473
|
# @param [String] project
|
36373
36474
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-compute_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.55.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.9.
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.55.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|