google-apis-compute_v1 0.54.0 → 0.55.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abc081b310b12e04f5e89afe2cd4e7e4e5e029e6a0813bc64435e3e4e96c0ecf
4
- data.tar.gz: 9858cb4bd96c6b8ba92d39ee87a43761bc3fc98089e55ed02698e8f02a5cfbff
3
+ metadata.gz: acdd7a8e85b7c0c612bae512a335732290b293b92dc6a8a91741681ddbc19a4f
4
+ data.tar.gz: f415572b4a09098dcbcaf73e15aff1461e18ea0cfffbcfa75fab61461e7c8cd7
5
5
  SHA512:
6
- metadata.gz: d9e6381e17a9b9a682742f813df59fe3e4b835790a0d29e3bf53b86450aa2d8f506a6a3492c3f35f83300c1021c5eb2ff21234b8e38c353b9d5262872313c4d9
7
- data.tar.gz: a3581c98a79b81d9fd18e768370965e8ea266de0bd7fec6449cbdc967adf8386a68dce99b76a01a7300926e823ce1aa52fb1fef536311dca01ce222500109d09
6
+ metadata.gz: 0503eaa8dd6c54aaa757f16f2ea55c5e3cb577a84bc505bb31f35ebbc7705c5eafe9cef69d903a0aecefead01c7b4ab6ca93b3fd3231fdd8e9e6aea9efc1e582
7
+ data.tar.gz: 927056ad76f1d72ef80060d7df08793ba6414a9d7015f57533950be3dbb968506ee7667accc6aecefd363f09dde85a8bca3b28fc3e8ef7b1c02ab9a6807d9a8b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.54.0 (2022-10-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20221018
@@ -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 define
1439
- # this field, you can provide either the full or partial URL. For example, the
1440
- # following are valid values: - https://www.googleapis.com/compute/v1/projects/
1441
- # project/zones/zone /diskTypes/diskType - projects/project/zones/zone/diskTypes/
1442
- # diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this
1443
- # is the name of the disk type, not URL.
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. Instance
1506
- # templates do not store customer-supplied encryption keys, so you cannot create
1507
- # disks for instances in a managed instance group if the source images are
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
@@ -8632,16 +8634,17 @@ module Google
8632
8634
  # optionally specify an IP address that references an existing static (reserved)
8633
8635
  # IP address resource. When omitted, Google Cloud assigns an ephemeral IP
8634
8636
  # address. Use one of the following formats to specify an IP address while
8635
- # creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full
8636
- # resource URL, as in https://www.googleapis.com/compute/v1/projects/project_id/
8637
- # regions/region /addresses/address-name * Partial URL or by name, as in: -
8638
- # projects/project_id/regions/region/addresses/address-name - regions/region/
8639
- # addresses/address-name - global/addresses/address-name - address-name The
8640
- # forwarding rule's target or backendService, and in most cases, also the
8641
- # loadBalancingScheme, determine the type of IP address that you can use. For
8642
- # detailed information, see [IP address specifications](https://cloud.google.com/
8643
- # load-balancing/docs/forwarding-rule-concepts#ip_address_specifications). When
8644
- # reading an IPAddress, the API always returns the IP address number.
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.
8645
8648
  # Corresponds to the JSON property `IPAddress`
8646
8649
  # @return [String]
8647
8650
  attr_accessor :ip_address
@@ -32754,23 +32757,23 @@ module Google
32754
32757
 
32755
32758
  # Determines the key to enforce the rate_limit_threshold on. Possible values are:
32756
32759
  # - ALL: A single rate limit threshold is applied to all the requests matching
32757
- # this rule. This is the default value if this field 'enforce_on_key' is not
32758
- # configured. - IP: The source IP address of the request is the key. Each IP has
32759
- # this limit enforced separately. - HTTP_HEADER: The value of the HTTP header
32760
- # whose name is configured under "enforce_on_key_name". The key value is
32761
- # truncated to the first 128 bytes of the header value. If no such header is
32762
- # present in the request, the key type defaults to ALL. - XFF_IP: The first IP
32763
- # address (i.e. the originating client IP address) specified in the list of IPs
32764
- # under X-Forwarded-For HTTP header. If no such header is present or the value
32765
- # is not a valid IP, the key defaults to the source IP address of the request i.
32766
- # e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is
32767
- # configured under "enforce_on_key_name". The key value is truncated to the
32768
- # first 128 bytes of the cookie value. If no such cookie is present in the
32769
- # request, the key type defaults to ALL. - HTTP_PATH: The URL path of the HTTP
32770
- # request. The key value is truncated to the first 128 bytes. - SNI: Server name
32771
- # indication in the TLS session of the HTTPS request. The key value is truncated
32772
- # to the first 128 bytes. The key type defaults to ALL on a HTTP session. -
32773
- # REGION_CODE: The country/region from which the request originates.
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.
32774
32777
  # Corresponds to the JSON property `enforceOnKey`
32775
32778
  # @return [String]
32776
32779
  attr_accessor :enforce_on_key
@@ -35420,8 +35423,7 @@ module Google
35420
35423
  attr_accessor :enable_flow_logs
35421
35424
  alias_method :enable_flow_logs?, :enable_flow_logs
35422
35425
 
35423
- # [Output Only] The external IPv6 address range that is assigned to this
35424
- # subnetwork.
35426
+ # The external IPv6 address range that is owned by this subnetwork.
35425
35427
  # Corresponds to the JSON property `externalIpv6Prefix`
35426
35428
  # @return [String]
35427
35429
  attr_accessor :external_ipv6_prefix
@@ -38654,6 +38656,97 @@ module Google
38654
38656
  end
38655
38657
  end
38656
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
+
38657
38750
  #
38658
38751
  class TargetTcpProxiesSetBackendServiceRequest
38659
38752
  include Google::Apis::Core::Hashable
@@ -38787,6 +38880,130 @@ module Google
38787
38880
  end
38788
38881
  end
38789
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
+
38790
39007
  # Contains a list of TargetTcpProxy resources.
38791
39008
  class TargetTcpProxyList
38792
39009
  include Google::Apis::Core::Hashable
@@ -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.54.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221018"
25
+ REVISION = "20221026"
26
26
  end
27
27
  end
28
28
  end
@@ -5092,6 +5092,24 @@ module Google
5092
5092
  include Google::Apis::Core::JsonObjectSupport
5093
5093
  end
5094
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
+
5095
5113
  class TargetTcpProxiesSetBackendServiceRequest
5096
5114
  class Representation < Google::Apis::Core::JsonRepresentation; end
5097
5115
 
@@ -5110,6 +5128,24 @@ module Google
5110
5128
  include Google::Apis::Core::JsonObjectSupport
5111
5129
  end
5112
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
+
5113
5149
  class TargetTcpProxyList
5114
5150
  class Representation < Google::Apis::Core::JsonRepresentation; end
5115
5151
 
@@ -15087,6 +15123,34 @@ module Google
15087
15123
  end
15088
15124
  end
15089
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
+
15090
15154
  class TargetTcpProxiesSetBackendServiceRequest
15091
15155
  # @private
15092
15156
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -15117,6 +15181,39 @@ module Google
15117
15181
  end
15118
15182
  end
15119
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
+
15120
15217
  class TargetTcpProxyList
15121
15218
  # @private
15122
15219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -36372,6 +36372,103 @@ module Google
36372
36372
  execute_or_queue_command(command, &block)
36373
36373
  end
36374
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
+
36375
36472
  # Deletes the specified TargetTcpProxy resource.
36376
36473
  # @param [String] project
36377
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.54.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-10-31 00:00:00.000000000 Z
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
@@ -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.54.0
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: []