google-apis-compute_v1 0.113.0 → 0.114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67f1e6f4eed7dd7af40dcc7e5034cf4ea751e4fc12fe07789d34eb6ef7e5f219
4
- data.tar.gz: 7955369e27dd72a771680d61a0f0635e95316f5eaf40c3ac13f9e2610f583a00
3
+ metadata.gz: 9ab1469989b98c0882535bdc9c0be4efa9798bfda3304ceda3dc536d18a10143
4
+ data.tar.gz: 322614f9496005ce1aac5a2b1a1b700ed14307cf9af9911e315a1cac73c301bf
5
5
  SHA512:
6
- metadata.gz: c7a0e9171bd5884e0f886bb2939a4b5e68c48d7ccf0833f1a1c1af2993b884315731effb653da1e331c2466dce6bc45a20117a8c6260ecb7a0ccaba25178cfbe
7
- data.tar.gz: dc04a7ecab44a7378e8f855721c463358d1f76e554923956c97a63bbe65d6288ab57edd7bf3cd5f37ee3622f4896dbfc250bc7509510ade23292f673f0ed8373
6
+ metadata.gz: fd081159ecf225107b353c4180880f918861f57d8065aa0c9ca08d44ecb7fe81e91ce5670cad915b768839be813f8a4dc6d86ede8d3ea13e7b6b03a66f526498
7
+ data.tar.gz: 33132d4876f0bf8fc7d7d15658f87aad21bbc164b1d3babcccdbdd87ac9a45469aca8533d8259677d5f6b12a69262ec41b1ecef72d95f798d34e104924d2e796
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_v1
2
2
 
3
+ ### v0.114.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20241231
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.113.0 (2024-12-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20241201
@@ -567,8 +567,7 @@ module Google
567
567
  # @return [String]
568
568
  attr_accessor :public_ptr_domain_name
569
569
 
570
- # [Output Only] The resource URL for the security policy associated with this
571
- # access config.
570
+ # The resource URL for the security policy associated with this access config.
572
571
  # Corresponds to the JSON property `securityPolicy`
573
572
  # @return [String]
574
573
  attr_accessor :security_policy
@@ -1773,7 +1772,9 @@ module Google
1773
1772
  # disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
1774
1773
  # or disks.source is required. To create a disk with a snapshot that you created,
1775
1774
  # specify the snapshot name in the following format: global/snapshots/my-backup
1776
- # If the source snapshot is deleted later, this field will not be set.
1775
+ # If the source snapshot is deleted later, this field will not be set. Note: You
1776
+ # cannot create VMs in bulk using a snapshot as the source. Use an image instead
1777
+ # when you create VMs using the bulk insert method.
1777
1778
  # Corresponds to the JSON property `sourceSnapshot`
1778
1779
  # @return [String]
1779
1780
  attr_accessor :source_snapshot
@@ -8090,12 +8091,12 @@ module Google
8090
8091
  # @return [String]
8091
8092
  attr_accessor :domain
8092
8093
 
8093
- # Additional structured details about this error. Keys must match /a-z+/ but
8094
- # should ideally be lowerCamelCase. Also they must be limited to 64 characters
8095
- # in length. When identifying the current value of an exceeded limit, the units
8096
- # should be contained in the key, not the value. For example, rather than `"
8097
- # instanceLimit": "100/request"`, should be returned as, `"
8098
- # instanceLimitPerRequest": "100"`, if the client exceeds the number of
8094
+ # Additional structured details about this error. Keys must match a regular
8095
+ # expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be
8096
+ # limited to 64 characters in length. When identifying the current value of an
8097
+ # exceeded limit, the units should be contained in the key, not the value. For
8098
+ # example, rather than ``"instanceLimit": "100/request"``, should be returned as,
8099
+ # ``"instanceLimitPerRequest": "100"``, if the client exceeds the number of
8099
8100
  # instances that can be created in a single (batch) request.
8100
8101
  # Corresponds to the JSON property `metadatas`
8101
8102
  # @return [Hash<String,String>]
@@ -9055,6 +9056,97 @@ module Google
9055
9056
  end
9056
9057
  end
9057
9058
 
9059
+ #
9060
+ class FirewallPoliciesScopedList
9061
+ include Google::Apis::Core::Hashable
9062
+
9063
+ # A list of firewall policies contained in this scope.
9064
+ # Corresponds to the JSON property `firewallPolicies`
9065
+ # @return [Array<Google::Apis::ComputeV1::FirewallPolicy>]
9066
+ attr_accessor :firewall_policies
9067
+
9068
+ # Informational warning which replaces the list of firewall policies when the
9069
+ # list is empty.
9070
+ # Corresponds to the JSON property `warning`
9071
+ # @return [Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning]
9072
+ attr_accessor :warning
9073
+
9074
+ def initialize(**args)
9075
+ update!(**args)
9076
+ end
9077
+
9078
+ # Update properties of this object
9079
+ def update!(**args)
9080
+ @firewall_policies = args[:firewall_policies] if args.key?(:firewall_policies)
9081
+ @warning = args[:warning] if args.key?(:warning)
9082
+ end
9083
+
9084
+ # Informational warning which replaces the list of firewall policies when the
9085
+ # list is empty.
9086
+ class Warning
9087
+ include Google::Apis::Core::Hashable
9088
+
9089
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
9090
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
9091
+ # Corresponds to the JSON property `code`
9092
+ # @return [String]
9093
+ attr_accessor :code
9094
+
9095
+ # [Output Only] Metadata about this warning in key: value format. For example: "
9096
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
9097
+ # Corresponds to the JSON property `data`
9098
+ # @return [Array<Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Datum>]
9099
+ attr_accessor :data
9100
+
9101
+ # [Output Only] A human-readable description of the warning code.
9102
+ # Corresponds to the JSON property `message`
9103
+ # @return [String]
9104
+ attr_accessor :message
9105
+
9106
+ def initialize(**args)
9107
+ update!(**args)
9108
+ end
9109
+
9110
+ # Update properties of this object
9111
+ def update!(**args)
9112
+ @code = args[:code] if args.key?(:code)
9113
+ @data = args[:data] if args.key?(:data)
9114
+ @message = args[:message] if args.key?(:message)
9115
+ end
9116
+
9117
+ #
9118
+ class Datum
9119
+ include Google::Apis::Core::Hashable
9120
+
9121
+ # [Output Only] A key that provides more detail on the warning being returned.
9122
+ # For example, for warnings where there are no results in a list request for a
9123
+ # particular zone, this key might be scope and the key value might be the zone
9124
+ # name. Other examples might be a key indicating a deprecated resource and a
9125
+ # suggested replacement, or a warning about invalid network settings (for
9126
+ # example, if an instance attempts to perform IP forwarding but is not enabled
9127
+ # for IP forwarding).
9128
+ # Corresponds to the JSON property `key`
9129
+ # @return [String]
9130
+ attr_accessor :key
9131
+
9132
+ # [Output Only] A warning data value corresponding to the key.
9133
+ # Corresponds to the JSON property `value`
9134
+ # @return [String]
9135
+ attr_accessor :value
9136
+
9137
+ def initialize(**args)
9138
+ update!(**args)
9139
+ end
9140
+
9141
+ # Update properties of this object
9142
+ def update!(**args)
9143
+ @key = args[:key] if args.key?(:key)
9144
+ @value = args[:value] if args.key?(:value)
9145
+ end
9146
+ end
9147
+ end
9148
+ end
9149
+
9058
9150
  # Represents a Firewall Policy resource.
9059
9151
  class FirewallPolicy
9060
9152
  include Google::Apis::Core::Hashable
@@ -19533,7 +19625,7 @@ module Google
19533
19625
  # BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M:
19534
19626
  # 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s -
19535
19627
  # BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/
19536
- # s
19628
+ # s - BPS_100G: 100 Gbit/s
19537
19629
  # Corresponds to the JSON property `bandwidth`
19538
19630
  # @return [String]
19539
19631
  attr_accessor :bandwidth
@@ -19543,13 +19635,13 @@ module Google
19543
19635
  # @return [Array<String>]
19544
19636
  attr_accessor :candidate_ipv6_subnets
19545
19637
 
19546
- # Up to 16 candidate prefixes that can be used to restrict the allocation of
19547
- # cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
19548
- # prefixes must be within link-local address space (169.254.0.0/16) and must be /
19549
- # 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
19550
- # from the supplied candidate prefix(es). The request will fail if all possible /
19551
- # 29s are in use on Google's edge. If not supplied, Google will randomly select
19552
- # an unused /29 from all of link-local space.
19638
+ # Input only. Up to 16 candidate prefixes that can be used to restrict the
19639
+ # allocation of cloudRouterIpAddress and customerRouterIpAddress for this
19640
+ # attachment. All prefixes must be within link-local address space (169.254.0.0/
19641
+ # 16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select
19642
+ # an unused /29 from the supplied candidate prefix(es). The request will fail if
19643
+ # all possible /29s are in use on Google's edge. If not supplied, Google will
19644
+ # randomly select an unused /29 from all of link-local space.
19553
19645
  # Corresponds to the JSON property `candidateSubnets`
19554
19646
  # @return [Array<String>]
19555
19647
  attr_accessor :candidate_subnets
@@ -19611,8 +19703,8 @@ module Google
19611
19703
  # @return [String]
19612
19704
  attr_accessor :description
19613
19705
 
19614
- # Desired availability domain for the attachment. Only available for type
19615
- # PARTNER, at creation time, and can take one of the following values: -
19706
+ # Input only. Desired availability domain for the attachment. Only available for
19707
+ # type PARTNER, at creation time, and can take one of the following values: -
19616
19708
  # AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For
19617
19709
  # improved reliability, customers should configure a pair of attachments, one
19618
19710
  # per availability domain. The selected availability domain will be provided to
@@ -19812,13 +19904,13 @@ module Google
19812
19904
  # @return [String]
19813
19905
  attr_accessor :state
19814
19906
 
19815
- # Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The
19816
- # default value is 29, except for Cross-Cloud Interconnect connections that use
19817
- # an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal
19818
- # to 30. For example, connections that use an Azure remote location fall into
19819
- # this category. In these cases, the default value is 30, and requesting 29
19820
- # returns an error. Where both 29 and 30 are allowed, 29 is preferred, because
19821
- # it gives Google Cloud Support more debugging visibility.
19907
+ # Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) -
19908
+ # 30 The default value is 29, except for Cross-Cloud Interconnect connections
19909
+ # that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.
19910
+ # min equal to 30. For example, connections that use an Azure remote location
19911
+ # fall into this category. In these cases, the default value is 30, and
19912
+ # requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is
19913
+ # preferred, because it gives Google Cloud Support more debugging visibility.
19822
19914
  # Corresponds to the JSON property `subnetLength`
19823
19915
  # @return [Fixnum]
19824
19916
  attr_accessor :subnet_length
@@ -25349,6 +25441,130 @@ module Google
25349
25441
  end
25350
25442
  end
25351
25443
 
25444
+ #
25445
+ class NetworkFirewallPolicyAggregatedList
25446
+ include Google::Apis::Core::Hashable
25447
+
25448
+ # [Output Only] Unique identifier for the resource; defined by the server.
25449
+ # Corresponds to the JSON property `id`
25450
+ # @return [String]
25451
+ attr_accessor :id
25452
+
25453
+ # A list of FirewallPoliciesScopedList resources.
25454
+ # Corresponds to the JSON property `items`
25455
+ # @return [Hash<String,Google::Apis::ComputeV1::FirewallPoliciesScopedList>]
25456
+ attr_accessor :items
25457
+
25458
+ # [Output Only] Type of resource. Always compute#
25459
+ # networkFirewallPoliciesAggregatedList for lists of network firewall policies.
25460
+ # Corresponds to the JSON property `kind`
25461
+ # @return [String]
25462
+ attr_accessor :kind
25463
+
25464
+ # [Output Only] This token allows you to get the next page of results for list
25465
+ # requests. If the number of results is larger than maxResults, use the
25466
+ # nextPageToken as a value for the query parameter pageToken in the next list
25467
+ # request. Subsequent list requests will have their own nextPageToken to
25468
+ # continue paging through the results.
25469
+ # Corresponds to the JSON property `nextPageToken`
25470
+ # @return [String]
25471
+ attr_accessor :next_page_token
25472
+
25473
+ # [Output Only] Server-defined URL for this resource.
25474
+ # Corresponds to the JSON property `selfLink`
25475
+ # @return [String]
25476
+ attr_accessor :self_link
25477
+
25478
+ # [Output Only] Unreachable resources.
25479
+ # Corresponds to the JSON property `unreachables`
25480
+ # @return [Array<String>]
25481
+ attr_accessor :unreachables
25482
+
25483
+ # [Output Only] Informational warning message.
25484
+ # Corresponds to the JSON property `warning`
25485
+ # @return [Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning]
25486
+ attr_accessor :warning
25487
+
25488
+ def initialize(**args)
25489
+ update!(**args)
25490
+ end
25491
+
25492
+ # Update properties of this object
25493
+ def update!(**args)
25494
+ @id = args[:id] if args.key?(:id)
25495
+ @items = args[:items] if args.key?(:items)
25496
+ @kind = args[:kind] if args.key?(:kind)
25497
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
25498
+ @self_link = args[:self_link] if args.key?(:self_link)
25499
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
25500
+ @warning = args[:warning] if args.key?(:warning)
25501
+ end
25502
+
25503
+ # [Output Only] Informational warning message.
25504
+ class Warning
25505
+ include Google::Apis::Core::Hashable
25506
+
25507
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
25508
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
25509
+ # Corresponds to the JSON property `code`
25510
+ # @return [String]
25511
+ attr_accessor :code
25512
+
25513
+ # [Output Only] Metadata about this warning in key: value format. For example: "
25514
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
25515
+ # Corresponds to the JSON property `data`
25516
+ # @return [Array<Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Datum>]
25517
+ attr_accessor :data
25518
+
25519
+ # [Output Only] A human-readable description of the warning code.
25520
+ # Corresponds to the JSON property `message`
25521
+ # @return [String]
25522
+ attr_accessor :message
25523
+
25524
+ def initialize(**args)
25525
+ update!(**args)
25526
+ end
25527
+
25528
+ # Update properties of this object
25529
+ def update!(**args)
25530
+ @code = args[:code] if args.key?(:code)
25531
+ @data = args[:data] if args.key?(:data)
25532
+ @message = args[:message] if args.key?(:message)
25533
+ end
25534
+
25535
+ #
25536
+ class Datum
25537
+ include Google::Apis::Core::Hashable
25538
+
25539
+ # [Output Only] A key that provides more detail on the warning being returned.
25540
+ # For example, for warnings where there are no results in a list request for a
25541
+ # particular zone, this key might be scope and the key value might be the zone
25542
+ # name. Other examples might be a key indicating a deprecated resource and a
25543
+ # suggested replacement, or a warning about invalid network settings (for
25544
+ # example, if an instance attempts to perform IP forwarding but is not enabled
25545
+ # for IP forwarding).
25546
+ # Corresponds to the JSON property `key`
25547
+ # @return [String]
25548
+ attr_accessor :key
25549
+
25550
+ # [Output Only] A warning data value corresponding to the key.
25551
+ # Corresponds to the JSON property `value`
25552
+ # @return [String]
25553
+ attr_accessor :value
25554
+
25555
+ def initialize(**args)
25556
+ update!(**args)
25557
+ end
25558
+
25559
+ # Update properties of this object
25560
+ def update!(**args)
25561
+ @key = args[:key] if args.key?(:key)
25562
+ @value = args[:value] if args.key?(:value)
25563
+ end
25564
+ end
25565
+ end
25566
+ end
25567
+
25352
25568
  # A network interface resource attached to an instance.
25353
25569
  class NetworkInterface
25354
25570
  include Google::Apis::Core::Hashable
@@ -26159,6 +26375,17 @@ module Google
26159
26375
  # @return [String]
26160
26376
  attr_accessor :bgp_inter_region_cost
26161
26377
 
26378
+ # [Output Only] Effective value of the bgp_always_compare_med field.
26379
+ # Corresponds to the JSON property `effectiveBgpAlwaysCompareMed`
26380
+ # @return [Boolean]
26381
+ attr_accessor :effective_bgp_always_compare_med
26382
+ alias_method :effective_bgp_always_compare_med?, :effective_bgp_always_compare_med
26383
+
26384
+ # [Output Only] Effective value of the bgp_inter_region_cost field.
26385
+ # Corresponds to the JSON property `effectiveBgpInterRegionCost`
26386
+ # @return [String]
26387
+ attr_accessor :effective_bgp_inter_region_cost
26388
+
26162
26389
  # The network-wide routing mode to use. If set to REGIONAL, this network's Cloud
26163
26390
  # Routers will only advertise routes with subnets of this network in the same
26164
26391
  # region as the router. If set to GLOBAL, this network's Cloud Routers will
@@ -26176,6 +26403,8 @@ module Google
26176
26403
  @bgp_always_compare_med = args[:bgp_always_compare_med] if args.key?(:bgp_always_compare_med)
26177
26404
  @bgp_best_path_selection_mode = args[:bgp_best_path_selection_mode] if args.key?(:bgp_best_path_selection_mode)
26178
26405
  @bgp_inter_region_cost = args[:bgp_inter_region_cost] if args.key?(:bgp_inter_region_cost)
26406
+ @effective_bgp_always_compare_med = args[:effective_bgp_always_compare_med] if args.key?(:effective_bgp_always_compare_med)
26407
+ @effective_bgp_inter_region_cost = args[:effective_bgp_inter_region_cost] if args.key?(:effective_bgp_inter_region_cost)
26179
26408
  @routing_mode = args[:routing_mode] if args.key?(:routing_mode)
26180
26409
  end
26181
26410
  end
@@ -44741,14 +44970,15 @@ module Google
44741
44970
  # to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource
44742
44971
  # or Certificate Manager Certificate resource. Mixing Classic Certificates and
44743
44972
  # Certificate Manager Certificates is not allowed. Certificate Manager
44744
- # Certificates must include the certificatemanager API. Certificate Manager
44745
- # Certificates are not supported by Global external Application Load Balancer or
44746
- # Classic Application Load Balancer, use certificate_map instead. Currently, you
44747
- # may specify up to 15 Classic SSL Certificates. Certificate Manager
44748
- # Certificates accepted formats are: - //certificatemanager.googleapis.com/
44749
- # projects/`project`/locations/` location`/certificates/`resourceName`. - https:/
44750
- # /certificatemanager.googleapis.com/v1alpha1/projects/`project `/locations/`
44751
- # location`/certificates/`resourceName`.
44973
+ # Certificates must include the certificatemanager API namespace. Using
44974
+ # Certificate Manager Certificates in this field is not supported by Global
44975
+ # external Application Load Balancer or Classic Application Load Balancer, use
44976
+ # certificate_map instead. Currently, you may specify up to 15 Classic SSL
44977
+ # Certificates or up to 100 Certificate Manager Certificates. Certificate
44978
+ # Manager Certificates accepted formats are: - //certificatemanager.googleapis.
44979
+ # com/projects/`project`/locations/` location`/certificates/`resourceName`. -
44980
+ # https://certificatemanager.googleapis.com/v1alpha1/projects/`project `/
44981
+ # locations/`location`/certificates/`resourceName`.
44752
44982
  # Corresponds to the JSON property `sslCertificates`
44753
44983
  # @return [Array<String>]
44754
44984
  attr_accessor :ssl_certificates
@@ -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.113.0"
19
+ GEM_VERSION = "0.114.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241201"
25
+ REVISION = "20241231"
26
26
  end
27
27
  end
28
28
  end
@@ -1096,6 +1096,24 @@ module Google
1096
1096
  include Google::Apis::Core::JsonObjectSupport
1097
1097
  end
1098
1098
 
1099
+ class FirewallPoliciesScopedList
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ class Warning
1103
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1104
+
1105
+ class Datum
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1111
+ include Google::Apis::Core::JsonObjectSupport
1112
+ end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1099
1117
  class FirewallPolicy
1100
1118
  class Representation < Google::Apis::Core::JsonRepresentation; end
1101
1119
 
@@ -3184,6 +3202,24 @@ module Google
3184
3202
  include Google::Apis::Core::JsonObjectSupport
3185
3203
  end
3186
3204
 
3205
+ class NetworkFirewallPolicyAggregatedList
3206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3207
+
3208
+ class Warning
3209
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3210
+
3211
+ class Datum
3212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3213
+
3214
+ include Google::Apis::Core::JsonObjectSupport
3215
+ end
3216
+
3217
+ include Google::Apis::Core::JsonObjectSupport
3218
+ end
3219
+
3220
+ include Google::Apis::Core::JsonObjectSupport
3221
+ end
3222
+
3187
3223
  class NetworkInterface
3188
3224
  class Representation < Google::Apis::Core::JsonRepresentation; end
3189
3225
 
@@ -8668,6 +8704,34 @@ module Google
8668
8704
  end
8669
8705
  end
8670
8706
 
8707
+ class FirewallPoliciesScopedList
8708
+ # @private
8709
+ class Representation < Google::Apis::Core::JsonRepresentation
8710
+ collection :firewall_policies, as: 'firewallPolicies', class: Google::Apis::ComputeV1::FirewallPolicy, decorator: Google::Apis::ComputeV1::FirewallPolicy::Representation
8711
+
8712
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Representation
8713
+
8714
+ end
8715
+
8716
+ class Warning
8717
+ # @private
8718
+ class Representation < Google::Apis::Core::JsonRepresentation
8719
+ property :code, as: 'code'
8720
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Warning::Datum::Representation
8721
+
8722
+ property :message, as: 'message'
8723
+ end
8724
+
8725
+ class Datum
8726
+ # @private
8727
+ class Representation < Google::Apis::Core::JsonRepresentation
8728
+ property :key, as: 'key'
8729
+ property :value, as: 'value'
8730
+ end
8731
+ end
8732
+ end
8733
+ end
8734
+
8671
8735
  class FirewallPolicy
8672
8736
  # @private
8673
8737
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12640,6 +12704,39 @@ module Google
12640
12704
  end
12641
12705
  end
12642
12706
 
12707
+ class NetworkFirewallPolicyAggregatedList
12708
+ # @private
12709
+ class Representation < Google::Apis::Core::JsonRepresentation
12710
+ property :id, as: 'id'
12711
+ hash :items, as: 'items', class: Google::Apis::ComputeV1::FirewallPoliciesScopedList, decorator: Google::Apis::ComputeV1::FirewallPoliciesScopedList::Representation
12712
+
12713
+ property :kind, as: 'kind'
12714
+ property :next_page_token, as: 'nextPageToken'
12715
+ property :self_link, as: 'selfLink'
12716
+ collection :unreachables, as: 'unreachables'
12717
+ property :warning, as: 'warning', class: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning, decorator: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Representation
12718
+
12719
+ end
12720
+
12721
+ class Warning
12722
+ # @private
12723
+ class Representation < Google::Apis::Core::JsonRepresentation
12724
+ property :code, as: 'code'
12725
+ collection :data, as: 'data', class: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Warning::Datum::Representation
12726
+
12727
+ property :message, as: 'message'
12728
+ end
12729
+
12730
+ class Datum
12731
+ # @private
12732
+ class Representation < Google::Apis::Core::JsonRepresentation
12733
+ property :key, as: 'key'
12734
+ property :value, as: 'value'
12735
+ end
12736
+ end
12737
+ end
12738
+ end
12739
+
12643
12740
  class NetworkInterface
12644
12741
  # @private
12645
12742
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12816,6 +12913,8 @@ module Google
12816
12913
  property :bgp_always_compare_med, as: 'bgpAlwaysCompareMed'
12817
12914
  property :bgp_best_path_selection_mode, as: 'bgpBestPathSelectionMode'
12818
12915
  property :bgp_inter_region_cost, as: 'bgpInterRegionCost'
12916
+ property :effective_bgp_always_compare_med, as: 'effectiveBgpAlwaysCompareMed'
12917
+ property :effective_bgp_inter_region_cost, as: 'effectiveBgpInterRegionCost'
12819
12918
  property :routing_mode, as: 'routingMode'
12820
12919
  end
12821
12920
  end
@@ -19306,6 +19306,112 @@ module Google
19306
19306
  execute_or_queue_command(command, &block)
19307
19307
  end
19308
19308
 
19309
+ # Retrieves an aggregated list of network firewall policies, listing network
19310
+ # firewall policies from all applicable scopes (global and regional) and
19311
+ # grouping the results per scope. To prevent failure, Google recommends that you
19312
+ # set the `returnPartialSuccess` parameter to `true`.
19313
+ # @param [String] project
19314
+ # Project ID for this request.
19315
+ # @param [String] filter
19316
+ # A filter expression that filters resources listed in the response. Most
19317
+ # Compute resources support two types of filter expressions: expressions that
19318
+ # support regular expressions and expressions that follow API improvement
19319
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
19320
+ # request. If you want to use AIP-160, your expression must specify the field
19321
+ # name, an operator, and the value that you want to use for filtering. The value
19322
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
19323
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
19324
+ # Engine instances, you can exclude instances named `example-instance` by
19325
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
19326
+ # whether a key has been defined. For example, to find all objects with `owner`
19327
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
19328
+ # example, you could specify `scheduling.automaticRestart = false` to include
19329
+ # instances only if they are not scheduled for automatic restarts. You can use
19330
+ # filtering on nested fields to filter based on resource labels. To filter on
19331
+ # multiple expressions, provide each separate expression within parentheses. For
19332
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
19333
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
19334
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
19335
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
19336
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
19337
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
19338
+ # un-parenthesized expression with or without quotes or against multiple
19339
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
19340
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
19341
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
19342
+ # interpreted as a regular expression using Google RE2 library syntax. The
19343
+ # literal value must match the entire field. For example, to filter for
19344
+ # instances that do not end with name "instance", you would use `name ne .*
19345
+ # instance`. You cannot combine constraints on multiple fields using regular
19346
+ # expressions.
19347
+ # @param [Boolean] include_all_scopes
19348
+ # Indicates whether every visible scope for each scope type (zone, region,
19349
+ # global) should be included in the response. For new resource types added after
19350
+ # this field, the flag has no effect as new resource types will always include
19351
+ # every visible scope for each scope type in response. For resource types which
19352
+ # predate this field, if this flag is omitted or false, only scopes of the scope
19353
+ # types where the resource type is expected to be found will be included.
19354
+ # @param [Fixnum] max_results
19355
+ # The maximum number of results per page that should be returned. If the number
19356
+ # of available results is larger than `maxResults`, Compute Engine returns a `
19357
+ # nextPageToken` that can be used to get the next page of results in subsequent
19358
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
19359
+ # @param [String] order_by
19360
+ # Sorts list results by a certain order. By default, results are returned in
19361
+ # alphanumerical order based on the resource name. You can also sort results in
19362
+ # descending order based on the creation timestamp using `orderBy="
19363
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
19364
+ # field in reverse chronological order (newest result first). Use this to sort
19365
+ # resources like operations so that the newest operation is returned first.
19366
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
19367
+ # @param [String] page_token
19368
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
19369
+ # by a previous list request to get the next page of results.
19370
+ # @param [Boolean] return_partial_success
19371
+ # Opt-in for partial success behavior which provides partial results in case of
19372
+ # failure. The default value is false. For example, when partial success
19373
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
19374
+ # resources in the zone or no resources, with an error code.
19375
+ # @param [Fixnum] service_project_number
19376
+ # The Shared VPC service project id or service project number for which
19377
+ # aggregated list request is invoked for subnetworks list-usable api.
19378
+ # @param [String] fields
19379
+ # Selector specifying which fields to include in a partial response.
19380
+ # @param [String] quota_user
19381
+ # Available to use for quota purposes for server-side applications. Can be any
19382
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19383
+ # @param [String] user_ip
19384
+ # Legacy name for parameter that has been superseded by `quotaUser`.
19385
+ # @param [Google::Apis::RequestOptions] options
19386
+ # Request-specific options
19387
+ #
19388
+ # @yield [result, err] Result & error if block supplied
19389
+ # @yieldparam result [Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList] parsed result object
19390
+ # @yieldparam err [StandardError] error object if request failed
19391
+ #
19392
+ # @return [Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList]
19393
+ #
19394
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19395
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19396
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19397
+ def aggregated_network_firewall_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, service_project_number: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19398
+ command = make_simple_command(:get, 'projects/{project}/aggregated/firewallPolicies', options)
19399
+ command.response_representation = Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList::Representation
19400
+ command.response_class = Google::Apis::ComputeV1::NetworkFirewallPolicyAggregatedList
19401
+ command.params['project'] = project unless project.nil?
19402
+ command.query['filter'] = filter unless filter.nil?
19403
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
19404
+ command.query['maxResults'] = max_results unless max_results.nil?
19405
+ command.query['orderBy'] = order_by unless order_by.nil?
19406
+ command.query['pageToken'] = page_token unless page_token.nil?
19407
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
19408
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
19409
+ command.query['fields'] = fields unless fields.nil?
19410
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19411
+ command.query['userIp'] = user_ip unless user_ip.nil?
19412
+ execute_or_queue_command(command, &block)
19413
+ end
19414
+
19309
19415
  # Copies rules to the specified firewall policy.
19310
19416
  # @param [String] project
19311
19417
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.113.0
4
+ version: 0.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.113.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.114.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Compute Engine API V1
82
79
  test_files: []