google-apis-compute_beta 0.108.0 → 0.109.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: 0a83be7c46d2f8480f70551d231d2888ec512d95fa20f76e498e8bb606ebb032
4
- data.tar.gz: 9ea6be7a3f55005f59d3e9245fde1d353539d2d9353f43e2d01d7a64be6b2bc6
3
+ metadata.gz: 2e3717249c2abf428c06afd334b6a6a0c494fc3e6508f49e9d4430e9e464f091
4
+ data.tar.gz: 4ebea1abbd1bfc275a001533e7ae098968f2a0b9e9fcf677ea55ecd448d6dc2d
5
5
  SHA512:
6
- metadata.gz: ea4bcdc2f081b88d41823122abb049214f6581f4ac177ba1cf77dffea137c7168d1732ddebd6ccae9d578aeab7963fc13396eddd997731d686316050ba4e806a
7
- data.tar.gz: 1350431772445043394259872a4060a2badd22dfcac985cac042680f915581ccd9f53455c044f4165bff751eace75ad668eca03d2d3bc45b2b78dc001e71419a
6
+ metadata.gz: 151781676f37d5f1294fa86906beb5ec2e6ab20b6d5dede7c5b78626133d045d4beb148d008864ef6ed559d9604b442c15fd3666a5855716732378c5b20639ee
7
+ data.tar.gz: 6bbab6d5c58da7e2a179937e0d485f99d72021cdb1972afaaf8e78501ea114a4e25724a7ebc11480c416dcb1778ccd9a08e2fab80cacfbfe23da3dbf5910392a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.109.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20241231
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.108.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
@@ -1870,7 +1869,9 @@ module Google
1870
1869
  # disk, one of initializeParams.sourceSnapshot or initializeParams.sourceImage
1871
1870
  # or disks.source is required. To create a disk with a snapshot that you created,
1872
1871
  # specify the snapshot name in the following format: global/snapshots/my-backup
1873
- # If the source snapshot is deleted later, this field will not be set.
1872
+ # If the source snapshot is deleted later, this field will not be set. Note: You
1873
+ # cannot create VMs in bulk using a snapshot as the source. Use an image instead
1874
+ # when you create VMs using the bulk insert method.
1874
1875
  # Corresponds to the JSON property `sourceSnapshot`
1875
1876
  # @return [String]
1876
1877
  attr_accessor :source_snapshot
@@ -3919,6 +3920,12 @@ module Google
3919
3920
  # @return [Fixnum]
3920
3921
  attr_accessor :timeout_sec
3921
3922
 
3923
+ # Configuration for Backend Authenticated TLS and mTLS. May only be specified
3924
+ # when the backend protocol is SSL, HTTPS or HTTP2.
3925
+ # Corresponds to the JSON property `tlsSettings`
3926
+ # @return [Google::Apis::ComputeBeta::BackendServiceTlsSettings]
3927
+ attr_accessor :tls_settings
3928
+
3922
3929
  # [Output Only] List of resources referencing given backend service.
3923
3930
  # Corresponds to the JSON property `usedBy`
3924
3931
  # @return [Array<Google::Apis::ComputeBeta::BackendServiceUsedBy>]
@@ -3976,6 +3983,7 @@ module Google
3976
3983
  @strong_session_affinity_cookie = args[:strong_session_affinity_cookie] if args.key?(:strong_session_affinity_cookie)
3977
3984
  @subsetting = args[:subsetting] if args.key?(:subsetting)
3978
3985
  @timeout_sec = args[:timeout_sec] if args.key?(:timeout_sec)
3986
+ @tls_settings = args[:tls_settings] if args.key?(:tls_settings)
3979
3987
  @used_by = args[:used_by] if args.key?(:used_by)
3980
3988
  end
3981
3989
  end
@@ -4962,6 +4970,80 @@ module Google
4962
4970
  end
4963
4971
  end
4964
4972
 
4973
+ #
4974
+ class BackendServiceTlsSettings
4975
+ include Google::Apis::Core::Hashable
4976
+
4977
+ # Reference to the BackendAuthenticationConfig resource from the networksecurity.
4978
+ # googleapis.com namespace. Can be used in authenticating TLS connections to the
4979
+ # backend, as specified by the authenticationMode field. Can only be specified
4980
+ # if authenticationMode is not NONE.
4981
+ # Corresponds to the JSON property `authenticationConfig`
4982
+ # @return [String]
4983
+ attr_accessor :authentication_config
4984
+
4985
+ # Server Name Indication - see RFC3546 section 3.1. If set, the load balancer
4986
+ # sends this string as the SNI hostname in the TLS connection to the backend,
4987
+ # and requires that this string match a Subject Alternative Name (SAN) in the
4988
+ # backend's server certificate. With a Regional Internet NEG backend, if the SNI
4989
+ # is specified here, the load balancer uses it regardless of whether the
4990
+ # Regional Internet NEG is specified with FQDN or IP address and port. When both
4991
+ # sni and subjectAltNames[] are specified, the load balancer matches the backend
4992
+ # certificate's SAN only to subjectAltNames[].
4993
+ # Corresponds to the JSON property `sni`
4994
+ # @return [String]
4995
+ attr_accessor :sni
4996
+
4997
+ # A list of Subject Alternative Names (SANs) that the Load Balancer verifies
4998
+ # during a TLS handshake with the backend. When the server presents its X.509
4999
+ # certificate to the Load Balancer, the Load Balancer inspects the certificate's
5000
+ # SAN field, and requires that at least one SAN match one of the subjectAltNames
5001
+ # in the list. This field is limited to 5 entries. When both sni and
5002
+ # subjectAltNames[] are specified, the load balancer matches the backend
5003
+ # certificate's SAN only to subjectAltNames[].
5004
+ # Corresponds to the JSON property `subjectAltNames`
5005
+ # @return [Array<Google::Apis::ComputeBeta::BackendServiceTlsSettingsSubjectAltName>]
5006
+ attr_accessor :subject_alt_names
5007
+
5008
+ def initialize(**args)
5009
+ update!(**args)
5010
+ end
5011
+
5012
+ # Update properties of this object
5013
+ def update!(**args)
5014
+ @authentication_config = args[:authentication_config] if args.key?(:authentication_config)
5015
+ @sni = args[:sni] if args.key?(:sni)
5016
+ @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names)
5017
+ end
5018
+ end
5019
+
5020
+ # A Subject Alternative Name that the load balancer matches against the SAN
5021
+ # field in the TLS certificate provided by the backend, specified as either a
5022
+ # DNS name or a URI, in accordance with RFC 5280 4.2.1.6
5023
+ class BackendServiceTlsSettingsSubjectAltName
5024
+ include Google::Apis::Core::Hashable
5025
+
5026
+ # The SAN specified as a DNS Name.
5027
+ # Corresponds to the JSON property `dnsName`
5028
+ # @return [String]
5029
+ attr_accessor :dns_name
5030
+
5031
+ # The SAN specified as a URI.
5032
+ # Corresponds to the JSON property `uniformResourceIdentifier`
5033
+ # @return [String]
5034
+ attr_accessor :uniform_resource_identifier
5035
+
5036
+ def initialize(**args)
5037
+ update!(**args)
5038
+ end
5039
+
5040
+ # Update properties of this object
5041
+ def update!(**args)
5042
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
5043
+ @uniform_resource_identifier = args[:uniform_resource_identifier] if args.key?(:uniform_resource_identifier)
5044
+ end
5045
+ end
5046
+
4965
5047
  #
4966
5048
  class BackendServiceUsedBy
4967
5049
  include Google::Apis::Core::Hashable
@@ -8560,12 +8642,12 @@ module Google
8560
8642
  # @return [String]
8561
8643
  attr_accessor :domain
8562
8644
 
8563
- # Additional structured details about this error. Keys must match /a-z+/ but
8564
- # should ideally be lowerCamelCase. Also they must be limited to 64 characters
8565
- # in length. When identifying the current value of an exceeded limit, the units
8566
- # should be contained in the key, not the value. For example, rather than `"
8567
- # instanceLimit": "100/request"`, should be returned as, `"
8568
- # instanceLimitPerRequest": "100"`, if the client exceeds the number of
8645
+ # Additional structured details about this error. Keys must match a regular
8646
+ # expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be
8647
+ # limited to 64 characters in length. When identifying the current value of an
8648
+ # exceeded limit, the units should be contained in the key, not the value. For
8649
+ # example, rather than ``"instanceLimit": "100/request"``, should be returned as,
8650
+ # ``"instanceLimitPerRequest": "100"``, if the client exceeds the number of
8569
8651
  # instances that can be created in a single (batch) request.
8570
8652
  # Corresponds to the JSON property `metadatas`
8571
8653
  # @return [Hash<String,String>]
@@ -9534,6 +9616,97 @@ module Google
9534
9616
  end
9535
9617
  end
9536
9618
 
9619
+ #
9620
+ class FirewallPoliciesScopedList
9621
+ include Google::Apis::Core::Hashable
9622
+
9623
+ # A list of firewall policies contained in this scope.
9624
+ # Corresponds to the JSON property `firewallPolicies`
9625
+ # @return [Array<Google::Apis::ComputeBeta::FirewallPolicy>]
9626
+ attr_accessor :firewall_policies
9627
+
9628
+ # Informational warning which replaces the list of firewall policies when the
9629
+ # list is empty.
9630
+ # Corresponds to the JSON property `warning`
9631
+ # @return [Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning]
9632
+ attr_accessor :warning
9633
+
9634
+ def initialize(**args)
9635
+ update!(**args)
9636
+ end
9637
+
9638
+ # Update properties of this object
9639
+ def update!(**args)
9640
+ @firewall_policies = args[:firewall_policies] if args.key?(:firewall_policies)
9641
+ @warning = args[:warning] if args.key?(:warning)
9642
+ end
9643
+
9644
+ # Informational warning which replaces the list of firewall policies when the
9645
+ # list is empty.
9646
+ class Warning
9647
+ include Google::Apis::Core::Hashable
9648
+
9649
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
9650
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
9651
+ # Corresponds to the JSON property `code`
9652
+ # @return [String]
9653
+ attr_accessor :code
9654
+
9655
+ # [Output Only] Metadata about this warning in key: value format. For example: "
9656
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
9657
+ # Corresponds to the JSON property `data`
9658
+ # @return [Array<Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning::Datum>]
9659
+ attr_accessor :data
9660
+
9661
+ # [Output Only] A human-readable description of the warning code.
9662
+ # Corresponds to the JSON property `message`
9663
+ # @return [String]
9664
+ attr_accessor :message
9665
+
9666
+ def initialize(**args)
9667
+ update!(**args)
9668
+ end
9669
+
9670
+ # Update properties of this object
9671
+ def update!(**args)
9672
+ @code = args[:code] if args.key?(:code)
9673
+ @data = args[:data] if args.key?(:data)
9674
+ @message = args[:message] if args.key?(:message)
9675
+ end
9676
+
9677
+ #
9678
+ class Datum
9679
+ include Google::Apis::Core::Hashable
9680
+
9681
+ # [Output Only] A key that provides more detail on the warning being returned.
9682
+ # For example, for warnings where there are no results in a list request for a
9683
+ # particular zone, this key might be scope and the key value might be the zone
9684
+ # name. Other examples might be a key indicating a deprecated resource and a
9685
+ # suggested replacement, or a warning about invalid network settings (for
9686
+ # example, if an instance attempts to perform IP forwarding but is not enabled
9687
+ # for IP forwarding).
9688
+ # Corresponds to the JSON property `key`
9689
+ # @return [String]
9690
+ attr_accessor :key
9691
+
9692
+ # [Output Only] A warning data value corresponding to the key.
9693
+ # Corresponds to the JSON property `value`
9694
+ # @return [String]
9695
+ attr_accessor :value
9696
+
9697
+ def initialize(**args)
9698
+ update!(**args)
9699
+ end
9700
+
9701
+ # Update properties of this object
9702
+ def update!(**args)
9703
+ @key = args[:key] if args.key?(:key)
9704
+ @value = args[:value] if args.key?(:value)
9705
+ end
9706
+ end
9707
+ end
9708
+ end
9709
+
9537
9710
  # Represents a Firewall Policy resource.
9538
9711
  class FirewallPolicy
9539
9712
  include Google::Apis::Core::Hashable
@@ -11048,6 +11221,12 @@ module Google
11048
11221
  attr_accessor :auto_delete_auto_created_reservations
11049
11222
  alias_method :auto_delete_auto_created_reservations?, :auto_delete_auto_created_reservations
11050
11223
 
11224
+ # If not present, then FR will not deliver a new commitment or update an
11225
+ # existing commitment.
11226
+ # Corresponds to the JSON property `commitmentInfo`
11227
+ # @return [Google::Apis::ComputeBeta::FutureReservationCommitmentInfo]
11228
+ attr_accessor :commitment_info
11229
+
11051
11230
  # [Output Only] The creation timestamp for this future reservation in RFC3339
11052
11231
  # text format.
11053
11232
  # Corresponds to the JSON property `creationTimestamp`
@@ -11167,6 +11346,7 @@ module Google
11167
11346
  @auto_created_reservations_delete_time = args[:auto_created_reservations_delete_time] if args.key?(:auto_created_reservations_delete_time)
11168
11347
  @auto_created_reservations_duration = args[:auto_created_reservations_duration] if args.key?(:auto_created_reservations_duration)
11169
11348
  @auto_delete_auto_created_reservations = args[:auto_delete_auto_created_reservations] if args.key?(:auto_delete_auto_created_reservations)
11349
+ @commitment_info = args[:commitment_info] if args.key?(:commitment_info)
11170
11350
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
11171
11351
  @deployment_type = args[:deployment_type] if args.key?(:deployment_type)
11172
11352
  @description = args[:description] if args.key?(:description)
@@ -11188,6 +11368,40 @@ module Google
11188
11368
  end
11189
11369
  end
11190
11370
 
11371
+ #
11372
+ class FutureReservationCommitmentInfo
11373
+ include Google::Apis::Core::Hashable
11374
+
11375
+ # name of the commitment where capacity is being delivered to.
11376
+ # Corresponds to the JSON property `commitmentName`
11377
+ # @return [String]
11378
+ attr_accessor :commitment_name
11379
+
11380
+ # Indicates if a Commitment needs to be created as part of FR delivery. If this
11381
+ # field is not present, then no commitment needs to be created.
11382
+ # Corresponds to the JSON property `commitmentPlan`
11383
+ # @return [String]
11384
+ attr_accessor :commitment_plan
11385
+
11386
+ # Only applicable if FR is delivering to the same reservation. If set, all
11387
+ # parent commitments will be extended to match the end date of the plan for this
11388
+ # commitment.
11389
+ # Corresponds to the JSON property `previousCommitmentTerms`
11390
+ # @return [String]
11391
+ attr_accessor :previous_commitment_terms
11392
+
11393
+ def initialize(**args)
11394
+ update!(**args)
11395
+ end
11396
+
11397
+ # Update properties of this object
11398
+ def update!(**args)
11399
+ @commitment_name = args[:commitment_name] if args.key?(:commitment_name)
11400
+ @commitment_plan = args[:commitment_plan] if args.key?(:commitment_plan)
11401
+ @previous_commitment_terms = args[:previous_commitment_terms] if args.key?(:previous_commitment_terms)
11402
+ end
11403
+ end
11404
+
11191
11405
  #
11192
11406
  class FutureReservationSpecificSkuProperties
11193
11407
  include Google::Apis::Core::Hashable
@@ -21459,7 +21673,7 @@ module Google
21459
21673
  # BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M:
21460
21674
  # 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s -
21461
21675
  # BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/
21462
- # s
21676
+ # s - BPS_100G: 100 Gbit/s
21463
21677
  # Corresponds to the JSON property `bandwidth`
21464
21678
  # @return [String]
21465
21679
  attr_accessor :bandwidth
@@ -21469,13 +21683,13 @@ module Google
21469
21683
  # @return [Array<String>]
21470
21684
  attr_accessor :candidate_ipv6_subnets
21471
21685
 
21472
- # Up to 16 candidate prefixes that can be used to restrict the allocation of
21473
- # cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
21474
- # prefixes must be within link-local address space (169.254.0.0/16) and must be /
21475
- # 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
21476
- # from the supplied candidate prefix(es). The request will fail if all possible /
21477
- # 29s are in use on Google's edge. If not supplied, Google will randomly select
21478
- # an unused /29 from all of link-local space.
21686
+ # Input only. Up to 16 candidate prefixes that can be used to restrict the
21687
+ # allocation of cloudRouterIpAddress and customerRouterIpAddress for this
21688
+ # attachment. All prefixes must be within link-local address space (169.254.0.0/
21689
+ # 16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select
21690
+ # an unused /29 from the supplied candidate prefix(es). The request will fail if
21691
+ # all possible /29s are in use on Google's edge. If not supplied, Google will
21692
+ # randomly select an unused /29 from all of link-local space.
21479
21693
  # Corresponds to the JSON property `candidateSubnets`
21480
21694
  # @return [Array<String>]
21481
21695
  attr_accessor :candidate_subnets
@@ -21537,8 +21751,8 @@ module Google
21537
21751
  # @return [String]
21538
21752
  attr_accessor :description
21539
21753
 
21540
- # Desired availability domain for the attachment. Only available for type
21541
- # PARTNER, at creation time, and can take one of the following values: -
21754
+ # Input only. Desired availability domain for the attachment. Only available for
21755
+ # type PARTNER, at creation time, and can take one of the following values: -
21542
21756
  # AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For
21543
21757
  # improved reliability, customers should configure a pair of attachments, one
21544
21758
  # per availability domain. The selected availability domain will be provided to
@@ -21738,13 +21952,13 @@ module Google
21738
21952
  # @return [String]
21739
21953
  attr_accessor :state
21740
21954
 
21741
- # Length of the IPv4 subnet mask. Allowed values: - 29 (default) - 30 The
21742
- # default value is 29, except for Cross-Cloud Interconnect connections that use
21743
- # an InterconnectRemoteLocation with a constraints.subnetLengthRange.min equal
21744
- # to 30. For example, connections that use an Azure remote location fall into
21745
- # this category. In these cases, the default value is 30, and requesting 29
21746
- # returns an error. Where both 29 and 30 are allowed, 29 is preferred, because
21747
- # it gives Google Cloud Support more debugging visibility.
21955
+ # Input only. Length of the IPv4 subnet mask. Allowed values: - 29 (default) -
21956
+ # 30 The default value is 29, except for Cross-Cloud Interconnect connections
21957
+ # that use an InterconnectRemoteLocation with a constraints.subnetLengthRange.
21958
+ # min equal to 30. For example, connections that use an Azure remote location
21959
+ # fall into this category. In these cases, the default value is 30, and
21960
+ # requesting 29 returns an error. Where both 29 and 30 are allowed, 29 is
21961
+ # preferred, because it gives Google Cloud Support more debugging visibility.
21748
21962
  # Corresponds to the JSON property `subnetLength`
21749
21963
  # @return [Fixnum]
21750
21964
  attr_accessor :subnet_length
@@ -27649,6 +27863,130 @@ module Google
27649
27863
  end
27650
27864
  end
27651
27865
 
27866
+ #
27867
+ class NetworkFirewallPolicyAggregatedList
27868
+ include Google::Apis::Core::Hashable
27869
+
27870
+ # [Output Only] Unique identifier for the resource; defined by the server.
27871
+ # Corresponds to the JSON property `id`
27872
+ # @return [String]
27873
+ attr_accessor :id
27874
+
27875
+ # A list of FirewallPoliciesScopedList resources.
27876
+ # Corresponds to the JSON property `items`
27877
+ # @return [Hash<String,Google::Apis::ComputeBeta::FirewallPoliciesScopedList>]
27878
+ attr_accessor :items
27879
+
27880
+ # [Output Only] Type of resource. Always compute#
27881
+ # networkFirewallPoliciesAggregatedList for lists of network firewall policies.
27882
+ # Corresponds to the JSON property `kind`
27883
+ # @return [String]
27884
+ attr_accessor :kind
27885
+
27886
+ # [Output Only] This token allows you to get the next page of results for list
27887
+ # requests. If the number of results is larger than maxResults, use the
27888
+ # nextPageToken as a value for the query parameter pageToken in the next list
27889
+ # request. Subsequent list requests will have their own nextPageToken to
27890
+ # continue paging through the results.
27891
+ # Corresponds to the JSON property `nextPageToken`
27892
+ # @return [String]
27893
+ attr_accessor :next_page_token
27894
+
27895
+ # [Output Only] Server-defined URL for this resource.
27896
+ # Corresponds to the JSON property `selfLink`
27897
+ # @return [String]
27898
+ attr_accessor :self_link
27899
+
27900
+ # [Output Only] Unreachable resources.
27901
+ # Corresponds to the JSON property `unreachables`
27902
+ # @return [Array<String>]
27903
+ attr_accessor :unreachables
27904
+
27905
+ # [Output Only] Informational warning message.
27906
+ # Corresponds to the JSON property `warning`
27907
+ # @return [Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning]
27908
+ attr_accessor :warning
27909
+
27910
+ def initialize(**args)
27911
+ update!(**args)
27912
+ end
27913
+
27914
+ # Update properties of this object
27915
+ def update!(**args)
27916
+ @id = args[:id] if args.key?(:id)
27917
+ @items = args[:items] if args.key?(:items)
27918
+ @kind = args[:kind] if args.key?(:kind)
27919
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
27920
+ @self_link = args[:self_link] if args.key?(:self_link)
27921
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
27922
+ @warning = args[:warning] if args.key?(:warning)
27923
+ end
27924
+
27925
+ # [Output Only] Informational warning message.
27926
+ class Warning
27927
+ include Google::Apis::Core::Hashable
27928
+
27929
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
27930
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
27931
+ # Corresponds to the JSON property `code`
27932
+ # @return [String]
27933
+ attr_accessor :code
27934
+
27935
+ # [Output Only] Metadata about this warning in key: value format. For example: "
27936
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
27937
+ # Corresponds to the JSON property `data`
27938
+ # @return [Array<Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning::Datum>]
27939
+ attr_accessor :data
27940
+
27941
+ # [Output Only] A human-readable description of the warning code.
27942
+ # Corresponds to the JSON property `message`
27943
+ # @return [String]
27944
+ attr_accessor :message
27945
+
27946
+ def initialize(**args)
27947
+ update!(**args)
27948
+ end
27949
+
27950
+ # Update properties of this object
27951
+ def update!(**args)
27952
+ @code = args[:code] if args.key?(:code)
27953
+ @data = args[:data] if args.key?(:data)
27954
+ @message = args[:message] if args.key?(:message)
27955
+ end
27956
+
27957
+ #
27958
+ class Datum
27959
+ include Google::Apis::Core::Hashable
27960
+
27961
+ # [Output Only] A key that provides more detail on the warning being returned.
27962
+ # For example, for warnings where there are no results in a list request for a
27963
+ # particular zone, this key might be scope and the key value might be the zone
27964
+ # name. Other examples might be a key indicating a deprecated resource and a
27965
+ # suggested replacement, or a warning about invalid network settings (for
27966
+ # example, if an instance attempts to perform IP forwarding but is not enabled
27967
+ # for IP forwarding).
27968
+ # Corresponds to the JSON property `key`
27969
+ # @return [String]
27970
+ attr_accessor :key
27971
+
27972
+ # [Output Only] A warning data value corresponding to the key.
27973
+ # Corresponds to the JSON property `value`
27974
+ # @return [String]
27975
+ attr_accessor :value
27976
+
27977
+ def initialize(**args)
27978
+ update!(**args)
27979
+ end
27980
+
27981
+ # Update properties of this object
27982
+ def update!(**args)
27983
+ @key = args[:key] if args.key?(:key)
27984
+ @value = args[:value] if args.key?(:value)
27985
+ end
27986
+ end
27987
+ end
27988
+ end
27989
+
27652
27990
  # A network interface resource attached to an instance.
27653
27991
  class NetworkInterface
27654
27992
  include Google::Apis::Core::Hashable
@@ -48973,14 +49311,15 @@ module Google
48973
49311
  # to INTERNAL_SELF_MANAGED. The URLs should refer to a SSL Certificate resource
48974
49312
  # or Certificate Manager Certificate resource. Mixing Classic Certificates and
48975
49313
  # Certificate Manager Certificates is not allowed. Certificate Manager
48976
- # Certificates must include the certificatemanager API. Certificate Manager
48977
- # Certificates are not supported by Global external Application Load Balancer or
48978
- # Classic Application Load Balancer, use certificate_map instead. Currently, you
48979
- # may specify up to 15 Classic SSL Certificates. Certificate Manager
48980
- # Certificates accepted formats are: - //certificatemanager.googleapis.com/
48981
- # projects/`project`/locations/` location`/certificates/`resourceName`. - https:/
48982
- # /certificatemanager.googleapis.com/v1alpha1/projects/`project `/locations/`
48983
- # location`/certificates/`resourceName`.
49314
+ # Certificates must include the certificatemanager API namespace. Using
49315
+ # Certificate Manager Certificates in this field is not supported by Global
49316
+ # external Application Load Balancer or Classic Application Load Balancer, use
49317
+ # certificate_map instead. Currently, you may specify up to 15 Classic SSL
49318
+ # Certificates or up to 100 Certificate Manager Certificates. Certificate
49319
+ # Manager Certificates accepted formats are: - //certificatemanager.googleapis.
49320
+ # com/projects/`project`/locations/` location`/certificates/`resourceName`. -
49321
+ # https://certificatemanager.googleapis.com/v1alpha1/projects/`project `/
49322
+ # locations/`location`/certificates/`resourceName`.
48984
49323
  # Corresponds to the JSON property `sslCertificates`
48985
49324
  # @return [Array<String>]
48986
49325
  attr_accessor :ssl_certificates
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.108.0"
19
+ GEM_VERSION = "0.109.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
@@ -568,6 +568,18 @@ module Google
568
568
  include Google::Apis::Core::JsonObjectSupport
569
569
  end
570
570
 
571
+ class BackendServiceTlsSettings
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
577
+ class BackendServiceTlsSettingsSubjectAltName
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
571
583
  class BackendServiceUsedBy
572
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
585
 
@@ -1150,6 +1162,24 @@ module Google
1150
1162
  include Google::Apis::Core::JsonObjectSupport
1151
1163
  end
1152
1164
 
1165
+ class FirewallPoliciesScopedList
1166
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1167
+
1168
+ class Warning
1169
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1170
+
1171
+ class Datum
1172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1173
+
1174
+ include Google::Apis::Core::JsonObjectSupport
1175
+ end
1176
+
1177
+ include Google::Apis::Core::JsonObjectSupport
1178
+ end
1179
+
1180
+ include Google::Apis::Core::JsonObjectSupport
1181
+ end
1182
+
1153
1183
  class FirewallPolicy
1154
1184
  class Representation < Google::Apis::Core::JsonRepresentation; end
1155
1185
 
@@ -1288,6 +1318,12 @@ module Google
1288
1318
  include Google::Apis::Core::JsonObjectSupport
1289
1319
  end
1290
1320
 
1321
+ class FutureReservationCommitmentInfo
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1291
1327
  class FutureReservationSpecificSkuProperties
1292
1328
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1329
 
@@ -3466,6 +3502,24 @@ module Google
3466
3502
  include Google::Apis::Core::JsonObjectSupport
3467
3503
  end
3468
3504
 
3505
+ class NetworkFirewallPolicyAggregatedList
3506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3507
+
3508
+ class Warning
3509
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3510
+
3511
+ class Datum
3512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3513
+
3514
+ include Google::Apis::Core::JsonObjectSupport
3515
+ end
3516
+
3517
+ include Google::Apis::Core::JsonObjectSupport
3518
+ end
3519
+
3520
+ include Google::Apis::Core::JsonObjectSupport
3521
+ end
3522
+
3469
3523
  class NetworkInterface
3470
3524
  class Representation < Google::Apis::Core::JsonRepresentation; end
3471
3525
 
@@ -8001,6 +8055,8 @@ module Google
8001
8055
  property :subsetting, as: 'subsetting', class: Google::Apis::ComputeBeta::Subsetting, decorator: Google::Apis::ComputeBeta::Subsetting::Representation
8002
8056
 
8003
8057
  property :timeout_sec, as: 'timeoutSec'
8058
+ property :tls_settings, as: 'tlsSettings', class: Google::Apis::ComputeBeta::BackendServiceTlsSettings, decorator: Google::Apis::ComputeBeta::BackendServiceTlsSettings::Representation
8059
+
8004
8060
  collection :used_by, as: 'usedBy', class: Google::Apis::ComputeBeta::BackendServiceUsedBy, decorator: Google::Apis::ComputeBeta::BackendServiceUsedBy::Representation
8005
8061
 
8006
8062
  end
@@ -8238,6 +8294,24 @@ module Google
8238
8294
  end
8239
8295
  end
8240
8296
 
8297
+ class BackendServiceTlsSettings
8298
+ # @private
8299
+ class Representation < Google::Apis::Core::JsonRepresentation
8300
+ property :authentication_config, as: 'authenticationConfig'
8301
+ property :sni, as: 'sni'
8302
+ collection :subject_alt_names, as: 'subjectAltNames', class: Google::Apis::ComputeBeta::BackendServiceTlsSettingsSubjectAltName, decorator: Google::Apis::ComputeBeta::BackendServiceTlsSettingsSubjectAltName::Representation
8303
+
8304
+ end
8305
+ end
8306
+
8307
+ class BackendServiceTlsSettingsSubjectAltName
8308
+ # @private
8309
+ class Representation < Google::Apis::Core::JsonRepresentation
8310
+ property :dns_name, as: 'dnsName'
8311
+ property :uniform_resource_identifier, as: 'uniformResourceIdentifier'
8312
+ end
8313
+ end
8314
+
8241
8315
  class BackendServiceUsedBy
8242
8316
  # @private
8243
8317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9312,6 +9386,34 @@ module Google
9312
9386
  end
9313
9387
  end
9314
9388
 
9389
+ class FirewallPoliciesScopedList
9390
+ # @private
9391
+ class Representation < Google::Apis::Core::JsonRepresentation
9392
+ collection :firewall_policies, as: 'firewallPolicies', class: Google::Apis::ComputeBeta::FirewallPolicy, decorator: Google::Apis::ComputeBeta::FirewallPolicy::Representation
9393
+
9394
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning, decorator: Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning::Representation
9395
+
9396
+ end
9397
+
9398
+ class Warning
9399
+ # @private
9400
+ class Representation < Google::Apis::Core::JsonRepresentation
9401
+ property :code, as: 'code'
9402
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Warning::Datum::Representation
9403
+
9404
+ property :message, as: 'message'
9405
+ end
9406
+
9407
+ class Datum
9408
+ # @private
9409
+ class Representation < Google::Apis::Core::JsonRepresentation
9410
+ property :key, as: 'key'
9411
+ property :value, as: 'value'
9412
+ end
9413
+ end
9414
+ end
9415
+ end
9416
+
9315
9417
  class FirewallPolicy
9316
9418
  # @private
9317
9419
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9612,6 +9714,8 @@ module Google
9612
9714
  property :auto_created_reservations_duration, as: 'autoCreatedReservationsDuration', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
9613
9715
 
9614
9716
  property :auto_delete_auto_created_reservations, as: 'autoDeleteAutoCreatedReservations'
9717
+ property :commitment_info, as: 'commitmentInfo', class: Google::Apis::ComputeBeta::FutureReservationCommitmentInfo, decorator: Google::Apis::ComputeBeta::FutureReservationCommitmentInfo::Representation
9718
+
9615
9719
  property :creation_timestamp, as: 'creationTimestamp'
9616
9720
  property :deployment_type, as: 'deploymentType'
9617
9721
  property :description, as: 'description'
@@ -9637,6 +9741,15 @@ module Google
9637
9741
  end
9638
9742
  end
9639
9743
 
9744
+ class FutureReservationCommitmentInfo
9745
+ # @private
9746
+ class Representation < Google::Apis::Core::JsonRepresentation
9747
+ property :commitment_name, as: 'commitmentName'
9748
+ property :commitment_plan, as: 'commitmentPlan'
9749
+ property :previous_commitment_terms, as: 'previousCommitmentTerms'
9750
+ end
9751
+ end
9752
+
9640
9753
  class FutureReservationSpecificSkuProperties
9641
9754
  # @private
9642
9755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13747,6 +13860,39 @@ module Google
13747
13860
  end
13748
13861
  end
13749
13862
 
13863
+ class NetworkFirewallPolicyAggregatedList
13864
+ # @private
13865
+ class Representation < Google::Apis::Core::JsonRepresentation
13866
+ property :id, as: 'id'
13867
+ hash :items, as: 'items', class: Google::Apis::ComputeBeta::FirewallPoliciesScopedList, decorator: Google::Apis::ComputeBeta::FirewallPoliciesScopedList::Representation
13868
+
13869
+ property :kind, as: 'kind'
13870
+ property :next_page_token, as: 'nextPageToken'
13871
+ property :self_link, as: 'selfLink'
13872
+ collection :unreachables, as: 'unreachables'
13873
+ property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning::Representation
13874
+
13875
+ end
13876
+
13877
+ class Warning
13878
+ # @private
13879
+ class Representation < Google::Apis::Core::JsonRepresentation
13880
+ property :code, as: 'code'
13881
+ collection :data, as: 'data', class: Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Warning::Datum::Representation
13882
+
13883
+ property :message, as: 'message'
13884
+ end
13885
+
13886
+ class Datum
13887
+ # @private
13888
+ class Representation < Google::Apis::Core::JsonRepresentation
13889
+ property :key, as: 'key'
13890
+ property :value, as: 'value'
13891
+ end
13892
+ end
13893
+ end
13894
+ end
13895
+
13750
13896
  class NetworkInterface
13751
13897
  # @private
13752
13898
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -20997,6 +20997,112 @@ module Google
20997
20997
  execute_or_queue_command(command, &block)
20998
20998
  end
20999
20999
 
21000
+ # Retrieves an aggregated list of network firewall policies, listing network
21001
+ # firewall policies from all applicable scopes (global and regional) and
21002
+ # grouping the results per scope. To prevent failure, Google recommends that you
21003
+ # set the `returnPartialSuccess` parameter to `true`.
21004
+ # @param [String] project
21005
+ # Project ID for this request.
21006
+ # @param [String] filter
21007
+ # A filter expression that filters resources listed in the response. Most
21008
+ # Compute resources support two types of filter expressions: expressions that
21009
+ # support regular expressions and expressions that follow API improvement
21010
+ # proposal AIP-160. These two types of filter expressions cannot be mixed in one
21011
+ # request. If you want to use AIP-160, your expression must specify the field
21012
+ # name, an operator, and the value that you want to use for filtering. The value
21013
+ # must be a string, a number, or a boolean. The operator must be either `=`, `!=`
21014
+ # , `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
21015
+ # Engine instances, you can exclude instances named `example-instance` by
21016
+ # specifying `name != example-instance`. The `:*` comparison can be used to test
21017
+ # whether a key has been defined. For example, to find all objects with `owner`
21018
+ # label use: ``` labels.owner:* ``` You can also filter nested fields. For
21019
+ # example, you could specify `scheduling.automaticRestart = false` to include
21020
+ # instances only if they are not scheduled for automatic restarts. You can use
21021
+ # filtering on nested fields to filter based on resource labels. To filter on
21022
+ # multiple expressions, provide each separate expression within parentheses. For
21023
+ # example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel
21024
+ # Skylake") ``` By default, each expression is an `AND` expression. However, you
21025
+ # can include `AND` and `OR` expressions explicitly. For example: ``` (
21026
+ # cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (
21027
+ # scheduling.automaticRestart = true) ``` If you want to use a regular
21028
+ # expression, use the `eq` (equal) or `ne` (not equal) operator against a single
21029
+ # un-parenthesized expression with or without quotes or against multiple
21030
+ # parenthesized expressions. Examples: `fieldname eq unquoted literal` `
21031
+ # fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(
21032
+ # fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is
21033
+ # interpreted as a regular expression using Google RE2 library syntax. The
21034
+ # literal value must match the entire field. For example, to filter for
21035
+ # instances that do not end with name "instance", you would use `name ne .*
21036
+ # instance`. You cannot combine constraints on multiple fields using regular
21037
+ # expressions.
21038
+ # @param [Boolean] include_all_scopes
21039
+ # Indicates whether every visible scope for each scope type (zone, region,
21040
+ # global) should be included in the response. For new resource types added after
21041
+ # this field, the flag has no effect as new resource types will always include
21042
+ # every visible scope for each scope type in response. For resource types which
21043
+ # predate this field, if this flag is omitted or false, only scopes of the scope
21044
+ # types where the resource type is expected to be found will be included.
21045
+ # @param [Fixnum] max_results
21046
+ # The maximum number of results per page that should be returned. If the number
21047
+ # of available results is larger than `maxResults`, Compute Engine returns a `
21048
+ # nextPageToken` that can be used to get the next page of results in subsequent
21049
+ # list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
21050
+ # @param [String] order_by
21051
+ # Sorts list results by a certain order. By default, results are returned in
21052
+ # alphanumerical order based on the resource name. You can also sort results in
21053
+ # descending order based on the creation timestamp using `orderBy="
21054
+ # creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
21055
+ # field in reverse chronological order (newest result first). Use this to sort
21056
+ # resources like operations so that the newest operation is returned first.
21057
+ # Currently, only sorting by `name` or `creationTimestamp desc` is supported.
21058
+ # @param [String] page_token
21059
+ # Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
21060
+ # by a previous list request to get the next page of results.
21061
+ # @param [Boolean] return_partial_success
21062
+ # Opt-in for partial success behavior which provides partial results in case of
21063
+ # failure. The default value is false. For example, when partial success
21064
+ # behavior is enabled, aggregatedList for a single zone scope either returns all
21065
+ # resources in the zone or no resources, with an error code.
21066
+ # @param [Fixnum] service_project_number
21067
+ # The Shared VPC service project id or service project number for which
21068
+ # aggregated list request is invoked for subnetworks list-usable api.
21069
+ # @param [String] fields
21070
+ # Selector specifying which fields to include in a partial response.
21071
+ # @param [String] quota_user
21072
+ # Available to use for quota purposes for server-side applications. Can be any
21073
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21074
+ # @param [String] user_ip
21075
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21076
+ # @param [Google::Apis::RequestOptions] options
21077
+ # Request-specific options
21078
+ #
21079
+ # @yield [result, err] Result & error if block supplied
21080
+ # @yieldparam result [Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList] parsed result object
21081
+ # @yieldparam err [StandardError] error object if request failed
21082
+ #
21083
+ # @return [Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList]
21084
+ #
21085
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21086
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21087
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21088
+ 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)
21089
+ command = make_simple_command(:get, 'projects/{project}/aggregated/firewallPolicies', options)
21090
+ command.response_representation = Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList::Representation
21091
+ command.response_class = Google::Apis::ComputeBeta::NetworkFirewallPolicyAggregatedList
21092
+ command.params['project'] = project unless project.nil?
21093
+ command.query['filter'] = filter unless filter.nil?
21094
+ command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
21095
+ command.query['maxResults'] = max_results unless max_results.nil?
21096
+ command.query['orderBy'] = order_by unless order_by.nil?
21097
+ command.query['pageToken'] = page_token unless page_token.nil?
21098
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
21099
+ command.query['serviceProjectNumber'] = service_project_number unless service_project_number.nil?
21100
+ command.query['fields'] = fields unless fields.nil?
21101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21102
+ command.query['userIp'] = user_ip unless user_ip.nil?
21103
+ execute_or_queue_command(command, &block)
21104
+ end
21105
+
21000
21106
  # Copies rules to the specified firewall policy.
21001
21107
  # @param [String] project
21002
21108
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.108.0
4
+ version: 0.109.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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.108.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.109.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
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 Beta
82
79
  test_files: []