google-apis-compute_v1 0.55.0 → 0.57.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2506,7 +2506,9 @@ module Google
2506
2506
  # group is completely drained, offering 0% of its available capacity. The valid
2507
2507
  # ranges are 0.0 and [0.1,1.0]. You cannot configure a setting larger than 0 and
2508
2508
  # smaller than 0.1. You cannot configure a setting of 0 when there is only one
2509
- # backend attached to the backend service.
2509
+ # backend attached to the backend service. Not available with backends that don'
2510
+ # t support using a balancingMode. This includes backends such as global
2511
+ # internet NEGs, regional serverless NEGs, and PSC NEGs.
2510
2512
  # Corresponds to the JSON property `capacityScaler`
2511
2513
  # @return [Float]
2512
2514
  attr_accessor :capacity_scaler
@@ -7124,7 +7126,8 @@ module Google
7124
7126
 
7125
7127
  # The reason of the error. This is a constant value that identifies the
7126
7128
  # proximate cause of the error. Error reasons are unique within a particular
7127
- # domain of errors. This should be at most 63 characters and match /[A-Z0-9_]+/.
7129
+ # domain of errors. This should be at most 63 characters and match a regular
7130
+ # expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
7128
7131
  # Corresponds to the JSON property `reason`
7129
7132
  # @return [String]
7130
7133
  attr_accessor :reason
@@ -8122,8 +8125,8 @@ module Google
8122
8125
  attr_accessor :kind
8123
8126
 
8124
8127
  # Name of the resource. For Organization Firewall Policies it's a [Output Only]
8125
- # numeric ID allocated by GCP which uniquely identifies the Organization
8126
- # Firewall Policy.
8128
+ # numeric ID allocated by Google Cloud which uniquely identifies the
8129
+ # Organization Firewall Policy.
8127
8130
  # Corresponds to the JSON property `name`
8128
8131
  # @return [String]
8129
8132
  attr_accessor :name
@@ -8658,12 +8661,13 @@ module Google
8658
8661
  # @return [String]
8659
8662
  attr_accessor :ip_protocol
8660
8663
 
8661
- # This field is used along with the backend_service field for Internal TCP/UDP
8662
- # Load Balancing or Network Load Balancing, or with the target field for
8663
- # internal and external TargetInstance. You can only use one of ports and
8664
- # port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and
8665
- # SCTP traffic, packets addressed to any ports will be forwarded to the target
8666
- # or backendService.
8664
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
8665
+ # internal TCP/UDP load balancers, backend service-based network load balancers,
8666
+ # and internal and external protocol forwarding. Set this field to true to allow
8667
+ # packets addressed to any port or packets lacking destination port information (
8668
+ # for example, UDP fragments after the first fragment) to be forwarded to the
8669
+ # backends configured with this forwarding rule. The ports, port_range, and
8670
+ # allPorts fields are mutually exclusive.
8667
8671
  # Corresponds to the JSON property `allPorts`
8668
8672
  # @return [Boolean]
8669
8673
  attr_accessor :all_ports
@@ -8819,27 +8823,35 @@ module Google
8819
8823
  attr_accessor :no_automate_dns_zone
8820
8824
  alias_method :no_automate_dns_zone?, :no_automate_dns_zone
8821
8825
 
8822
- # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
8823
- # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
8824
- # SCTP. Packets addressed to ports in the specified range will be forwarded to
8825
- # target or backend_service. You can only use one of ports, port_range, or
8826
- # allPorts. The three are mutually exclusive. Forwarding rules with the same [
8827
- # IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding
8828
- # target have constraints on the acceptable ports. For more information, see [
8829
- # Port specifications](https://cloud.google.com/load-balancing/docs/forwarding-
8830
- # rule-concepts#port_specifications). @pattern: \\d+(?:-\\d+)?
8826
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
8827
+ # backend service-based network load balancers, target pool-based network load
8828
+ # balancers, internal proxy load balancers, external proxy load balancers,
8829
+ # Traffic Director, external protocol forwarding, and Classic VPN. Some products
8830
+ # have restrictions on what ports can be used. See port specifications for
8831
+ # details. Only packets addressed to ports in the specified range will be
8832
+ # forwarded to the backends configured with this forwarding rule. The ports,
8833
+ # port_range, and allPorts fields are mutually exclusive. For external
8834
+ # forwarding rules, two or more forwarding rules cannot use the same [IPAddress,
8835
+ # IPProtocol] pair, and cannot have overlapping portRanges. For internal
8836
+ # forwarding rules within the same VPC network, two or more forwarding rules
8837
+ # cannot use the same [IPAddress, IPProtocol] pair, and cannot have overlapping
8838
+ # portRanges. @pattern: \\d+(?:-\\d+)?
8831
8839
  # Corresponds to the JSON property `portRange`
8832
8840
  # @return [String]
8833
8841
  attr_accessor :port_range
8834
8842
 
8835
- # The ports field is only supported when the forwarding rule references a
8836
- # backend_service directly. Only packets addressed to the [specified list of
8837
- # ports]((https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
8838
- # port_specifications)) are forwarded to backends. You can only use one of ports
8839
- # and port_range, or allPorts. The three are mutually exclusive. You can specify
8840
- # a list of up to five ports, which can be non-contiguous. Forwarding rules with
8841
- # the same [IPAddress, IPProtocol] pair must have disjoint ports. @pattern: \\d+(
8842
- # ?:-\\d+)?
8843
+ # This field can only be used: - If IPProtocol is one of TCP, UDP, or SCTP. - By
8844
+ # internal TCP/UDP load balancers, backend service-based network load balancers,
8845
+ # and internal protocol forwarding. You can specify a list of up to five ports
8846
+ # by number, separated by commas. The ports can be contiguous or discontiguous.
8847
+ # Only packets addressed to these ports will be forwarded to the backends
8848
+ # configured with this forwarding rule. For external forwarding rules, two or
8849
+ # more forwarding rules cannot use the same [IPAddress, IPProtocol] pair, and
8850
+ # cannot share any values defined in ports. For internal forwarding rules within
8851
+ # the same VPC network, two or more forwarding rules cannot use the same [
8852
+ # IPAddress, IPProtocol] pair, and cannot share any values defined in ports. The
8853
+ # ports, port_range, and allPorts fields are mutually exclusive. @pattern: \\d+(?
8854
+ # :-\\d+)?
8843
8855
  # Corresponds to the JSON property `ports`
8844
8856
  # @return [Array<String>]
8845
8857
  attr_accessor :ports
@@ -8904,12 +8916,13 @@ module Google
8904
8916
  # forwarding rules, this target must be in the same region as the forwarding
8905
8917
  # rule. For global forwarding rules, this target must be a global load balancing
8906
8918
  # resource. The forwarded traffic must be of a type appropriate to the target
8907
- # object. For more information, see the "Target" column in [Port specifications](
8919
+ # object. - For load balancers, see the "Target" column in [Port specifications](
8908
8920
  # https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
8909
- # ip_address_specifications). For Private Service Connect forwarding rules that
8910
- # forward traffic to Google APIs, provide the name of a supported Google API
8911
- # bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All
8912
- # supported Google APIs.
8921
+ # ip_address_specifications). - For Private Service Connect forwarding rules
8922
+ # that forward traffic to Google APIs, provide the name of a supported Google
8923
+ # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
8924
+ # All supported Google APIs. - For Private Service Connect forwarding rules that
8925
+ # forward traffic to managed services, the target must be a service attachment.
8913
8926
  # Corresponds to the JSON property `target`
8914
8927
  # @return [String]
8915
8928
  attr_accessor :target
@@ -10304,13 +10317,18 @@ module Google
10304
10317
  attr_accessor :fingerprint
10305
10318
 
10306
10319
  # A list of URLs to the HealthCheck resources. Must have at least one
10307
- # HealthCheck, and not more than 10. HealthCheck resources must have
10320
+ # HealthCheck, and not more than 10 for regional HealthCheckService, and not
10321
+ # more than 1 for global HealthCheckService. HealthCheck resources must have
10308
10322
  # portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For
10309
10323
  # regional HealthCheckService, the HealthCheck must be regional and in the same
10310
10324
  # region. For global HealthCheckService, HealthCheck must be global. Mix of
10311
10325
  # regional and global HealthChecks is not supported. Multiple regional
10312
10326
  # HealthChecks must belong to the same region. Regional HealthChecks must belong
10313
- # to the same region as zones of NEGs.
10327
+ # to the same region as zones of NetworkEndpointGroups. For global
10328
+ # HealthCheckService using global INTERNET_IP_PORT NetworkEndpointGroups, the
10329
+ # global HealthChecks must specify sourceRegions, and HealthChecks that specify
10330
+ # sourceRegions can only be used with global INTERNET_IP_PORT
10331
+ # NetworkEndpointGroups.
10314
10332
  # Corresponds to the JSON property `healthChecks`
10315
10333
  # @return [Array<String>]
10316
10334
  attr_accessor :health_checks
@@ -10320,7 +10338,8 @@ module Google
10320
10338
  # NO_AGGREGATION. An EndpointHealth message is returned for each pair in the
10321
10339
  # health check service. - AND. If any health check of an endpoint reports
10322
10340
  # UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health
10323
- # checks report HEALTHY, the HealthState of the endpoint is HEALTHY. .
10341
+ # checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is
10342
+ # only allowed with regional HealthCheckService.
10324
10343
  # Corresponds to the JSON property `healthStatusAggregationPolicy`
10325
10344
  # @return [String]
10326
10345
  attr_accessor :health_status_aggregation_policy
@@ -10349,7 +10368,8 @@ module Google
10349
10368
 
10350
10369
  # A list of URLs to the NetworkEndpointGroup resources. Must not have more than
10351
10370
  # 100. For regional HealthCheckService, NEGs must be in zones in the region of
10352
- # the HealthCheckService.
10371
+ # the HealthCheckService. For global HealthCheckServices, the
10372
+ # NetworkEndpointGroups must be global INTERNET_IP_PORT.
10353
10373
  # Corresponds to the JSON property `networkEndpointGroups`
10354
10374
  # @return [Array<String>]
10355
10375
  attr_accessor :network_endpoint_groups
@@ -16359,8 +16379,9 @@ module Google
16359
16379
 
16360
16380
  # Email address to contact the customer NOC for operations and maintenance
16361
16381
  # notifications regarding this Interconnect. If specified, this will be used for
16362
- # notifications in addition to all other forms described, such as Stackdriver
16363
- # logs alerting and Cloud Notifications.
16382
+ # notifications in addition to all other forms described, such as Cloud
16383
+ # Monitoring logs alerting and Cloud Notifications. This field is required for
16384
+ # users who sign up for Cloud Interconnect using workforce identity federation.
16364
16385
  # Corresponds to the JSON property `nocContactEmail`
16365
16386
  # @return [String]
16366
16387
  attr_accessor :noc_contact_email
@@ -17217,6 +17238,16 @@ module Google
17217
17238
  # @return [Array<Google::Apis::ComputeV1::InterconnectDiagnosticsArpEntry>]
17218
17239
  attr_accessor :arp_caches
17219
17240
 
17241
+ # The aggregation type of the bundle interface.
17242
+ # Corresponds to the JSON property `bundleAggregationType`
17243
+ # @return [String]
17244
+ attr_accessor :bundle_aggregation_type
17245
+
17246
+ # The operational status of the bundle interface.
17247
+ # Corresponds to the JSON property `bundleOperationalStatus`
17248
+ # @return [String]
17249
+ attr_accessor :bundle_operational_status
17250
+
17220
17251
  # A list of InterconnectDiagnostics.LinkStatus objects, describing the status
17221
17252
  # for each link on the Interconnect.
17222
17253
  # Corresponds to the JSON property `links`
@@ -17235,6 +17266,8 @@ module Google
17235
17266
  # Update properties of this object
17236
17267
  def update!(**args)
17237
17268
  @arp_caches = args[:arp_caches] if args.key?(:arp_caches)
17269
+ @bundle_aggregation_type = args[:bundle_aggregation_type] if args.key?(:bundle_aggregation_type)
17270
+ @bundle_operational_status = args[:bundle_operational_status] if args.key?(:bundle_operational_status)
17238
17271
  @links = args[:links] if args.key?(:links)
17239
17272
  @mac_address = args[:mac_address] if args.key?(:mac_address)
17240
17273
  end
@@ -17358,6 +17391,11 @@ module Google
17358
17391
  # @return [Google::Apis::ComputeV1::InterconnectDiagnosticsLinkLacpStatus]
17359
17392
  attr_accessor :lacp_status
17360
17393
 
17394
+ # The operational status of the link.
17395
+ # Corresponds to the JSON property `operationalStatus`
17396
+ # @return [String]
17397
+ attr_accessor :operational_status
17398
+
17361
17399
  # An InterconnectDiagnostics.LinkOpticalPower object, describing the current
17362
17400
  # value and status of the received light level.
17363
17401
  # Corresponds to the JSON property `receivingOpticalPower`
@@ -17380,6 +17418,7 @@ module Google
17380
17418
  @circuit_id = args[:circuit_id] if args.key?(:circuit_id)
17381
17419
  @google_demarc = args[:google_demarc] if args.key?(:google_demarc)
17382
17420
  @lacp_status = args[:lacp_status] if args.key?(:lacp_status)
17421
+ @operational_status = args[:operational_status] if args.key?(:operational_status)
17383
17422
  @receiving_optical_power = args[:receiving_optical_power] if args.key?(:receiving_optical_power)
17384
17423
  @transmitting_optical_power = args[:transmitting_optical_power] if args.key?(:transmitting_optical_power)
17385
17424
  end
@@ -19843,6 +19882,496 @@ module Google
19843
19882
  end
19844
19883
  end
19845
19884
 
19885
+ # NetworkAttachments A network attachment resource ...
19886
+ class NetworkAttachment
19887
+ include Google::Apis::Core::Hashable
19888
+
19889
+ # [Output Only] An array of connections for all the producers connected to this
19890
+ # network attachment.
19891
+ # Corresponds to the JSON property `connectionEndpoints`
19892
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachmentConnectedEndpoint>]
19893
+ attr_accessor :connection_endpoints
19894
+
19895
+ #
19896
+ # Corresponds to the JSON property `connectionPreference`
19897
+ # @return [String]
19898
+ attr_accessor :connection_preference
19899
+
19900
+ # [Output Only] Creation timestamp in RFC3339 text format.
19901
+ # Corresponds to the JSON property `creationTimestamp`
19902
+ # @return [String]
19903
+ attr_accessor :creation_timestamp
19904
+
19905
+ # An optional description of this resource. Provide this property when you
19906
+ # create the resource.
19907
+ # Corresponds to the JSON property `description`
19908
+ # @return [String]
19909
+ attr_accessor :description
19910
+
19911
+ # [Output Only] Fingerprint of this resource. A hash of the contents stored in
19912
+ # this object. This field is used in optimistic locking. An up-to-date
19913
+ # fingerprint must be provided in order to patch.
19914
+ # Corresponds to the JSON property `fingerprint`
19915
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
19916
+ # @return [String]
19917
+ attr_accessor :fingerprint
19918
+
19919
+ # [Output Only] The unique identifier for the resource type. The server
19920
+ # generates this identifier.
19921
+ # Corresponds to the JSON property `id`
19922
+ # @return [Fixnum]
19923
+ attr_accessor :id
19924
+
19925
+ # [Output Only] Type of the resource.
19926
+ # Corresponds to the JSON property `kind`
19927
+ # @return [String]
19928
+ attr_accessor :kind
19929
+
19930
+ # Name of the resource. Provided by the client when the resource is created. The
19931
+ # name must be 1-63 characters long, and comply with RFC1035. Specifically, the
19932
+ # name must be 1-63 characters long and match the regular expression `[a-z]([-a-
19933
+ # z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
19934
+ # and all following characters must be a dash, lowercase letter, or digit,
19935
+ # except the last character, which cannot be a dash.
19936
+ # Corresponds to the JSON property `name`
19937
+ # @return [String]
19938
+ attr_accessor :name
19939
+
19940
+ # [Output Only] The URL of the network which the Network Attachment belongs to.
19941
+ # Corresponds to the JSON property `network`
19942
+ # @return [String]
19943
+ attr_accessor :network
19944
+
19945
+ # Projects that are allowed to connect to this network attachment. The project
19946
+ # can be specified using its id or number.
19947
+ # Corresponds to the JSON property `producerAcceptLists`
19948
+ # @return [Array<String>]
19949
+ attr_accessor :producer_accept_lists
19950
+
19951
+ # Projects that are not allowed to connect to this network attachment. The
19952
+ # project can be specified using its id or number.
19953
+ # Corresponds to the JSON property `producerRejectLists`
19954
+ # @return [Array<String>]
19955
+ attr_accessor :producer_reject_lists
19956
+
19957
+ # [Output Only] URL of the region where the network attachment resides. This
19958
+ # field applies only to the region resource. You must specify this field as part
19959
+ # of the HTTP request URL. It is not settable as a field in the request body.
19960
+ # Corresponds to the JSON property `region`
19961
+ # @return [String]
19962
+ attr_accessor :region
19963
+
19964
+ # [Output Only] Server-defined URL for the resource.
19965
+ # Corresponds to the JSON property `selfLink`
19966
+ # @return [String]
19967
+ attr_accessor :self_link
19968
+
19969
+ # [Output Only] Server-defined URL for this resource's resource id.
19970
+ # Corresponds to the JSON property `selfLinkWithId`
19971
+ # @return [String]
19972
+ attr_accessor :self_link_with_id
19973
+
19974
+ # An array of URLs where each entry is the URL of a subnet provided by the
19975
+ # service consumer to use for endpoints in the producers that connect to this
19976
+ # network attachment.
19977
+ # Corresponds to the JSON property `subnetworks`
19978
+ # @return [Array<String>]
19979
+ attr_accessor :subnetworks
19980
+
19981
+ def initialize(**args)
19982
+ update!(**args)
19983
+ end
19984
+
19985
+ # Update properties of this object
19986
+ def update!(**args)
19987
+ @connection_endpoints = args[:connection_endpoints] if args.key?(:connection_endpoints)
19988
+ @connection_preference = args[:connection_preference] if args.key?(:connection_preference)
19989
+ @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
19990
+ @description = args[:description] if args.key?(:description)
19991
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
19992
+ @id = args[:id] if args.key?(:id)
19993
+ @kind = args[:kind] if args.key?(:kind)
19994
+ @name = args[:name] if args.key?(:name)
19995
+ @network = args[:network] if args.key?(:network)
19996
+ @producer_accept_lists = args[:producer_accept_lists] if args.key?(:producer_accept_lists)
19997
+ @producer_reject_lists = args[:producer_reject_lists] if args.key?(:producer_reject_lists)
19998
+ @region = args[:region] if args.key?(:region)
19999
+ @self_link = args[:self_link] if args.key?(:self_link)
20000
+ @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
20001
+ @subnetworks = args[:subnetworks] if args.key?(:subnetworks)
20002
+ end
20003
+ end
20004
+
20005
+ # Contains a list of NetworkAttachmentsScopedList.
20006
+ class NetworkAttachmentAggregatedList
20007
+ include Google::Apis::Core::Hashable
20008
+
20009
+ # [Output Only] Unique identifier for the resource; defined by the server.
20010
+ # Corresponds to the JSON property `id`
20011
+ # @return [String]
20012
+ attr_accessor :id
20013
+
20014
+ # A list of NetworkAttachmentsScopedList resources.
20015
+ # Corresponds to the JSON property `items`
20016
+ # @return [Hash<String,Google::Apis::ComputeV1::NetworkAttachmentsScopedList>]
20017
+ attr_accessor :items
20018
+
20019
+ #
20020
+ # Corresponds to the JSON property `kind`
20021
+ # @return [String]
20022
+ attr_accessor :kind
20023
+
20024
+ # [Output Only] This token allows you to get the next page of results for list
20025
+ # requests. If the number of results is larger than maxResults, use the
20026
+ # nextPageToken as a value for the query parameter pageToken in the next list
20027
+ # request. Subsequent list requests will have their own nextPageToken to
20028
+ # continue paging through the results.
20029
+ # Corresponds to the JSON property `nextPageToken`
20030
+ # @return [String]
20031
+ attr_accessor :next_page_token
20032
+
20033
+ # [Output Only] Server-defined URL for this resource.
20034
+ # Corresponds to the JSON property `selfLink`
20035
+ # @return [String]
20036
+ attr_accessor :self_link
20037
+
20038
+ # [Output Only] Informational warning message.
20039
+ # Corresponds to the JSON property `warning`
20040
+ # @return [Google::Apis::ComputeV1::NetworkAttachmentAggregatedList::Warning]
20041
+ attr_accessor :warning
20042
+
20043
+ def initialize(**args)
20044
+ update!(**args)
20045
+ end
20046
+
20047
+ # Update properties of this object
20048
+ def update!(**args)
20049
+ @id = args[:id] if args.key?(:id)
20050
+ @items = args[:items] if args.key?(:items)
20051
+ @kind = args[:kind] if args.key?(:kind)
20052
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20053
+ @self_link = args[:self_link] if args.key?(:self_link)
20054
+ @warning = args[:warning] if args.key?(:warning)
20055
+ end
20056
+
20057
+ # [Output Only] Informational warning message.
20058
+ class Warning
20059
+ include Google::Apis::Core::Hashable
20060
+
20061
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20062
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20063
+ # Corresponds to the JSON property `code`
20064
+ # @return [String]
20065
+ attr_accessor :code
20066
+
20067
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20068
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20069
+ # Corresponds to the JSON property `data`
20070
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachmentAggregatedList::Warning::Datum>]
20071
+ attr_accessor :data
20072
+
20073
+ # [Output Only] A human-readable description of the warning code.
20074
+ # Corresponds to the JSON property `message`
20075
+ # @return [String]
20076
+ attr_accessor :message
20077
+
20078
+ def initialize(**args)
20079
+ update!(**args)
20080
+ end
20081
+
20082
+ # Update properties of this object
20083
+ def update!(**args)
20084
+ @code = args[:code] if args.key?(:code)
20085
+ @data = args[:data] if args.key?(:data)
20086
+ @message = args[:message] if args.key?(:message)
20087
+ end
20088
+
20089
+ #
20090
+ class Datum
20091
+ include Google::Apis::Core::Hashable
20092
+
20093
+ # [Output Only] A key that provides more detail on the warning being returned.
20094
+ # For example, for warnings where there are no results in a list request for a
20095
+ # particular zone, this key might be scope and the key value might be the zone
20096
+ # name. Other examples might be a key indicating a deprecated resource and a
20097
+ # suggested replacement, or a warning about invalid network settings (for
20098
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20099
+ # for IP forwarding).
20100
+ # Corresponds to the JSON property `key`
20101
+ # @return [String]
20102
+ attr_accessor :key
20103
+
20104
+ # [Output Only] A warning data value corresponding to the key.
20105
+ # Corresponds to the JSON property `value`
20106
+ # @return [String]
20107
+ attr_accessor :value
20108
+
20109
+ def initialize(**args)
20110
+ update!(**args)
20111
+ end
20112
+
20113
+ # Update properties of this object
20114
+ def update!(**args)
20115
+ @key = args[:key] if args.key?(:key)
20116
+ @value = args[:value] if args.key?(:value)
20117
+ end
20118
+ end
20119
+ end
20120
+ end
20121
+
20122
+ # [Output Only] A connection connected to this network attachment.
20123
+ class NetworkAttachmentConnectedEndpoint
20124
+ include Google::Apis::Core::Hashable
20125
+
20126
+ # The IP address assigned to the producer instance network interface. This value
20127
+ # will be a range in case of Serverless.
20128
+ # Corresponds to the JSON property `ipAddress`
20129
+ # @return [String]
20130
+ attr_accessor :ip_address
20131
+
20132
+ # The project id or number of the interface to which the IP was assigned.
20133
+ # Corresponds to the JSON property `projectIdOrNum`
20134
+ # @return [String]
20135
+ attr_accessor :project_id_or_num
20136
+
20137
+ # Alias IP ranges from the same subnetwork
20138
+ # Corresponds to the JSON property `secondaryIpCidrRanges`
20139
+ # @return [Array<String>]
20140
+ attr_accessor :secondary_ip_cidr_ranges
20141
+
20142
+ # The status of a connected endpoint to this network attachment.
20143
+ # Corresponds to the JSON property `status`
20144
+ # @return [String]
20145
+ attr_accessor :status
20146
+
20147
+ # The subnetwork used to assign the IP to the producer instance network
20148
+ # interface.
20149
+ # Corresponds to the JSON property `subnetwork`
20150
+ # @return [String]
20151
+ attr_accessor :subnetwork
20152
+
20153
+ def initialize(**args)
20154
+ update!(**args)
20155
+ end
20156
+
20157
+ # Update properties of this object
20158
+ def update!(**args)
20159
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
20160
+ @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
20161
+ @secondary_ip_cidr_ranges = args[:secondary_ip_cidr_ranges] if args.key?(:secondary_ip_cidr_ranges)
20162
+ @status = args[:status] if args.key?(:status)
20163
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
20164
+ end
20165
+ end
20166
+
20167
+ #
20168
+ class NetworkAttachmentList
20169
+ include Google::Apis::Core::Hashable
20170
+
20171
+ # [Output Only] Unique identifier for the resource; defined by the server.
20172
+ # Corresponds to the JSON property `id`
20173
+ # @return [String]
20174
+ attr_accessor :id
20175
+
20176
+ # A list of NetworkAttachment resources.
20177
+ # Corresponds to the JSON property `items`
20178
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachment>]
20179
+ attr_accessor :items
20180
+
20181
+ #
20182
+ # Corresponds to the JSON property `kind`
20183
+ # @return [String]
20184
+ attr_accessor :kind
20185
+
20186
+ # [Output Only] This token allows you to get the next page of results for list
20187
+ # requests. If the number of results is larger than maxResults, use the
20188
+ # nextPageToken as a value for the query parameter pageToken in the next list
20189
+ # request. Subsequent list requests will have their own nextPageToken to
20190
+ # continue paging through the results.
20191
+ # Corresponds to the JSON property `nextPageToken`
20192
+ # @return [String]
20193
+ attr_accessor :next_page_token
20194
+
20195
+ # [Output Only] Server-defined URL for this resource.
20196
+ # Corresponds to the JSON property `selfLink`
20197
+ # @return [String]
20198
+ attr_accessor :self_link
20199
+
20200
+ # [Output Only] Informational warning message.
20201
+ # Corresponds to the JSON property `warning`
20202
+ # @return [Google::Apis::ComputeV1::NetworkAttachmentList::Warning]
20203
+ attr_accessor :warning
20204
+
20205
+ def initialize(**args)
20206
+ update!(**args)
20207
+ end
20208
+
20209
+ # Update properties of this object
20210
+ def update!(**args)
20211
+ @id = args[:id] if args.key?(:id)
20212
+ @items = args[:items] if args.key?(:items)
20213
+ @kind = args[:kind] if args.key?(:kind)
20214
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20215
+ @self_link = args[:self_link] if args.key?(:self_link)
20216
+ @warning = args[:warning] if args.key?(:warning)
20217
+ end
20218
+
20219
+ # [Output Only] Informational warning message.
20220
+ class Warning
20221
+ include Google::Apis::Core::Hashable
20222
+
20223
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20224
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20225
+ # Corresponds to the JSON property `code`
20226
+ # @return [String]
20227
+ attr_accessor :code
20228
+
20229
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20230
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20231
+ # Corresponds to the JSON property `data`
20232
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachmentList::Warning::Datum>]
20233
+ attr_accessor :data
20234
+
20235
+ # [Output Only] A human-readable description of the warning code.
20236
+ # Corresponds to the JSON property `message`
20237
+ # @return [String]
20238
+ attr_accessor :message
20239
+
20240
+ def initialize(**args)
20241
+ update!(**args)
20242
+ end
20243
+
20244
+ # Update properties of this object
20245
+ def update!(**args)
20246
+ @code = args[:code] if args.key?(:code)
20247
+ @data = args[:data] if args.key?(:data)
20248
+ @message = args[:message] if args.key?(:message)
20249
+ end
20250
+
20251
+ #
20252
+ class Datum
20253
+ include Google::Apis::Core::Hashable
20254
+
20255
+ # [Output Only] A key that provides more detail on the warning being returned.
20256
+ # For example, for warnings where there are no results in a list request for a
20257
+ # particular zone, this key might be scope and the key value might be the zone
20258
+ # name. Other examples might be a key indicating a deprecated resource and a
20259
+ # suggested replacement, or a warning about invalid network settings (for
20260
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20261
+ # for IP forwarding).
20262
+ # Corresponds to the JSON property `key`
20263
+ # @return [String]
20264
+ attr_accessor :key
20265
+
20266
+ # [Output Only] A warning data value corresponding to the key.
20267
+ # Corresponds to the JSON property `value`
20268
+ # @return [String]
20269
+ attr_accessor :value
20270
+
20271
+ def initialize(**args)
20272
+ update!(**args)
20273
+ end
20274
+
20275
+ # Update properties of this object
20276
+ def update!(**args)
20277
+ @key = args[:key] if args.key?(:key)
20278
+ @value = args[:value] if args.key?(:value)
20279
+ end
20280
+ end
20281
+ end
20282
+ end
20283
+
20284
+ #
20285
+ class NetworkAttachmentsScopedList
20286
+ include Google::Apis::Core::Hashable
20287
+
20288
+ # A list of NetworkAttachments contained in this scope.
20289
+ # Corresponds to the JSON property `networkAttachments`
20290
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachment>]
20291
+ attr_accessor :network_attachments
20292
+
20293
+ # Informational warning which replaces the list of network attachments when the
20294
+ # list is empty.
20295
+ # Corresponds to the JSON property `warning`
20296
+ # @return [Google::Apis::ComputeV1::NetworkAttachmentsScopedList::Warning]
20297
+ attr_accessor :warning
20298
+
20299
+ def initialize(**args)
20300
+ update!(**args)
20301
+ end
20302
+
20303
+ # Update properties of this object
20304
+ def update!(**args)
20305
+ @network_attachments = args[:network_attachments] if args.key?(:network_attachments)
20306
+ @warning = args[:warning] if args.key?(:warning)
20307
+ end
20308
+
20309
+ # Informational warning which replaces the list of network attachments when the
20310
+ # list is empty.
20311
+ class Warning
20312
+ include Google::Apis::Core::Hashable
20313
+
20314
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
20315
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
20316
+ # Corresponds to the JSON property `code`
20317
+ # @return [String]
20318
+ attr_accessor :code
20319
+
20320
+ # [Output Only] Metadata about this warning in key: value format. For example: "
20321
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
20322
+ # Corresponds to the JSON property `data`
20323
+ # @return [Array<Google::Apis::ComputeV1::NetworkAttachmentsScopedList::Warning::Datum>]
20324
+ attr_accessor :data
20325
+
20326
+ # [Output Only] A human-readable description of the warning code.
20327
+ # Corresponds to the JSON property `message`
20328
+ # @return [String]
20329
+ attr_accessor :message
20330
+
20331
+ def initialize(**args)
20332
+ update!(**args)
20333
+ end
20334
+
20335
+ # Update properties of this object
20336
+ def update!(**args)
20337
+ @code = args[:code] if args.key?(:code)
20338
+ @data = args[:data] if args.key?(:data)
20339
+ @message = args[:message] if args.key?(:message)
20340
+ end
20341
+
20342
+ #
20343
+ class Datum
20344
+ include Google::Apis::Core::Hashable
20345
+
20346
+ # [Output Only] A key that provides more detail on the warning being returned.
20347
+ # For example, for warnings where there are no results in a list request for a
20348
+ # particular zone, this key might be scope and the key value might be the zone
20349
+ # name. Other examples might be a key indicating a deprecated resource and a
20350
+ # suggested replacement, or a warning about invalid network settings (for
20351
+ # example, if an instance attempts to perform IP forwarding but is not enabled
20352
+ # for IP forwarding).
20353
+ # Corresponds to the JSON property `key`
20354
+ # @return [String]
20355
+ attr_accessor :key
20356
+
20357
+ # [Output Only] A warning data value corresponding to the key.
20358
+ # Corresponds to the JSON property `value`
20359
+ # @return [String]
20360
+ attr_accessor :value
20361
+
20362
+ def initialize(**args)
20363
+ update!(**args)
20364
+ end
20365
+
20366
+ # Update properties of this object
20367
+ def update!(**args)
20368
+ @key = args[:key] if args.key?(:key)
20369
+ @value = args[:value] if args.key?(:value)
20370
+ end
20371
+ end
20372
+ end
20373
+ end
20374
+
19846
20375
  # Represents a Google Cloud Armor network edge security service resource.
19847
20376
  class NetworkEdgeSecurityService
19848
20377
  include Google::Apis::Core::Hashable
@@ -25518,6 +26047,11 @@ module Google
25518
26047
  # @return [Google::Apis::ComputeV1::UsageExportLocation]
25519
26048
  attr_accessor :usage_export_location
25520
26049
 
26050
+ # [Output Only] Default internal DNS setting used by VMs running in this project.
26051
+ # Corresponds to the JSON property `vmDnsSetting`
26052
+ # @return [String]
26053
+ attr_accessor :vm_dns_setting
26054
+
25521
26055
  # [Output Only] The role this project has in a shared VPC configuration.
25522
26056
  # Currently, only projects with the host role, which is specified by the value
25523
26057
  # HOST, are differentiated.
@@ -25543,6 +26077,7 @@ module Google
25543
26077
  @quotas = args[:quotas] if args.key?(:quotas)
25544
26078
  @self_link = args[:self_link] if args.key?(:self_link)
25545
26079
  @usage_export_location = args[:usage_export_location] if args.key?(:usage_export_location)
26080
+ @vm_dns_setting = args[:vm_dns_setting] if args.key?(:vm_dns_setting)
25546
26081
  @xpn_project_status = args[:xpn_project_status] if args.key?(:xpn_project_status)
25547
26082
  end
25548
26083
  end
@@ -28629,8 +29164,8 @@ module Google
28629
29164
  # @return [Fixnum]
28630
29165
  attr_accessor :amount
28631
29166
 
28632
- # Type of resource for which this commitment applies. Possible values are VCPU
28633
- # and MEMORY
29167
+ # Type of resource for which this commitment applies. Possible values are VCPU,
29168
+ # MEMORY, LOCAL_SSD, and ACCELERATOR.
28634
29169
  # Corresponds to the JSON property `type`
28635
29170
  # @return [String]
28636
29171
  attr_accessor :type
@@ -33323,6 +33858,11 @@ module Google
33323
33858
  # @return [Fixnum]
33324
33859
  attr_accessor :connection_limit
33325
33860
 
33861
+ # The network URL for the network to set the limit for.
33862
+ # Corresponds to the JSON property `networkUrl`
33863
+ # @return [String]
33864
+ attr_accessor :network_url
33865
+
33326
33866
  # The project id or number for the project to set the limit for.
33327
33867
  # Corresponds to the JSON property `projectIdOrNum`
33328
33868
  # @return [String]
@@ -33335,6 +33875,7 @@ module Google
33335
33875
  # Update properties of this object
33336
33876
  def update!(**args)
33337
33877
  @connection_limit = args[:connection_limit] if args.key?(:connection_limit)
33878
+ @network_url = args[:network_url] if args.key?(:network_url)
33338
33879
  @project_id_or_num = args[:project_id_or_num] if args.key?(:project_id_or_num)
33339
33880
  end
33340
33881
  end