google-apis-compute_alpha 0.92.0 → 0.93.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: 75b0a254f68bc62fecbd9294b2bb60828be8973747a4055422764e46624416c2
4
- data.tar.gz: 32fc04577c00cac7c16df7adb4dea7daac1ffd69c122f94e9c00f9061355faa3
3
+ metadata.gz: c9368233fa98fc18ac782033c6ba5f25fe2de38a8fc83a38e93b57fb299b4f08
4
+ data.tar.gz: 942910bc72ac77e8d6e1a083da4199c287b7a9d2a47a5c5c5566fc2ae6e96cef
5
5
  SHA512:
6
- metadata.gz: f853c9eb3d38b19bcce36f34f7eacb68cf13d92131b0aff2742c4efcf688ca3f2d61db998d1892aa6a14afded4514e7fded08dc473116269fce20e53c8ce58c5
7
- data.tar.gz: 0aba45a0af004330bdacaaa4eedf51a0536815e4eeafcac2faca2ed0651756974b9ad3b7687ef884ec584c504044c905af368e013f9f9592a4b79cd99fdf0609
6
+ metadata.gz: 5899fe42fba542dc1f324806228a411c8c1ab9c9c10d29875d94f566c85fac8fd6b5d3befb467b51c5068ff8e931040396ecc48115f14752afabe461e00c6e6f
7
+ data.tar.gz: 2a643049f4fa5ffa8436f0b101a3734dc83be7bcfdd9029528e925db4e187ed10e5c58da72169021044a557cfd2faea7aaa3c19298a7773897f0c30d64f06b39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.93.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240227
6
+
3
7
  ### v0.92.0 (2024-03-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20240220
@@ -3667,6 +3667,35 @@ module Google
3667
3667
  attr_accessor :enable_cdn
3668
3668
  alias_method :enable_cdn?, :enable_cdn
3669
3669
 
3670
+ # Specifies the canary migration state. Possible values are PREPARE, TEST, and
3671
+ # FINALIZE. To begin the migration from EXTERNAL to EXTERNAL_MANAGED, the state
3672
+ # must be changed to PREPARE. The state must be changed to FINALIZE before the
3673
+ # loadBalancingScheme can be changed to EXTERNAL_MANAGED. Optionally, the TEST
3674
+ # state can be used to migrate traffic by percentage using
3675
+ # externalManagedMigrationTestingRate. Rolling back a migration requires the
3676
+ # states to be set in reverse order. So changing the scheme from
3677
+ # EXTERNAL_MANAGED to EXTERNAL requires the state to be set to FINALIZE at the
3678
+ # same time. Optionally, the TEST state can be used to migrate some traffic back
3679
+ # to EXTERNAL or PREPARE can be used to migrate all traffic back to EXTERNAL.
3680
+ # Corresponds to the JSON property `externalManagedMigrationState`
3681
+ # @return [String]
3682
+ attr_accessor :external_managed_migration_state
3683
+
3684
+ # Determines the fraction of requests that should be processed by the Global
3685
+ # external Application Load Balancer. The value of this field must be in the
3686
+ # range [0, 1]. For example: - A value of 0 will send all requests through the
3687
+ # Classic ALB for the given resource. - A value of .001 will send .1% of
3688
+ # requests through the Global external ALB for the given resource. - A value of .
3689
+ # 01 will send 1% of requests through the Global external ALB for the given
3690
+ # resource. - A value of 1 will send all requests through the Global external
3691
+ # ALB for the given resource. Session affinity options will slightly affect this
3692
+ # routing behavior, for more details, see: Session Affinity. This value is only
3693
+ # used if the loadBalancingScheme in the BackendService is set to EXTERNAL when
3694
+ # using the classic Application Load Balancer.
3695
+ # Corresponds to the JSON property `externalManagedMigrationTestingRate`
3696
+ # @return [Float]
3697
+ attr_accessor :external_managed_migration_testing_rate
3698
+
3670
3699
  # For load balancers that have configurable failover: [Internal passthrough
3671
3700
  # Network Load Balancers](https://cloud.google.com/load-balancing/docs/internal/
3672
3701
  # failover-overview) and [external passthrough Network Load Balancers](https://
@@ -3969,6 +3998,8 @@ module Google
3969
3998
  @description = args[:description] if args.key?(:description)
3970
3999
  @edge_security_policy = args[:edge_security_policy] if args.key?(:edge_security_policy)
3971
4000
  @enable_cdn = args[:enable_cdn] if args.key?(:enable_cdn)
4001
+ @external_managed_migration_state = args[:external_managed_migration_state] if args.key?(:external_managed_migration_state)
4002
+ @external_managed_migration_testing_rate = args[:external_managed_migration_testing_rate] if args.key?(:external_managed_migration_testing_rate)
3972
4003
  @failover_policy = args[:failover_policy] if args.key?(:failover_policy)
3973
4004
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
3974
4005
  @ha_policy = args[:ha_policy] if args.key?(:ha_policy)
@@ -5493,12 +5524,6 @@ module Google
5493
5524
  class BgpRouteNetworkLayerReachabilityInformation
5494
5525
  include Google::Apis::Core::Hashable
5495
5526
 
5496
- # Human readable CIDR notation for a prefix. E.g. 10.42.0.0/16. Deprecated in
5497
- # favor of prefix.
5498
- # Corresponds to the JSON property `destination`
5499
- # @return [String]
5500
- attr_accessor :destination
5501
-
5502
5527
  # If the BGP session supports multiple paths (RFC 7911), the path identifier for
5503
5528
  # this route.
5504
5529
  # Corresponds to the JSON property `pathId`
@@ -5516,7 +5541,6 @@ module Google
5516
5541
 
5517
5542
  # Update properties of this object
5518
5543
  def update!(**args)
5519
- @destination = args[:destination] if args.key?(:destination)
5520
5544
  @path_id = args[:path_id] if args.key?(:path_id)
5521
5545
  @prefix = args[:prefix] if args.key?(:prefix)
5522
5546
  end
@@ -12577,7 +12601,7 @@ module Google
12577
12601
  # The ID of a supported feature. To add multiple values, use commas to separate
12578
12602
  # values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE -
12579
12603
  # WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE -
12580
- # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE -
12604
+ # SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE_V2 - SEV_SNP_CAPABLE -
12581
12605
  # TDX_CAPABLE - IDPF For more information, see Enabling guest operating system
12582
12606
  # features.
12583
12607
  # Corresponds to the JSON property `type`
@@ -23981,10 +24005,10 @@ module Google
23981
24005
 
23982
24006
  # [Output Only] Port pair remote location constraints, which can take one of the
23983
24007
  # following values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION,
23984
- # PORT_PAIR_MATCHING_REMOTE_LOCATION. GCP's API refers only to individual ports,
23985
- # but the UI uses this field when ordering a pair of ports, to prevent users
23986
- # from accidentally ordering something that is incompatible with their cloud
23987
- # provider. Specifically, when ordering a redundant pair of Cross-Cloud
24008
+ # PORT_PAIR_MATCHING_REMOTE_LOCATION. Google Cloud API refers only to individual
24009
+ # ports, but the UI uses this field when ordering a pair of ports, to prevent
24010
+ # users from accidentally ordering something that is incompatible with their
24011
+ # cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud
23988
24012
  # Interconnect ports, and one of them uses a remote location with
23989
24013
  # portPairMatchingRemoteLocation set to matching, the UI requires that both
23990
24014
  # ports use the same remote location.
@@ -28459,6 +28483,12 @@ module Google
28459
28483
  # @return [String]
28460
28484
  attr_accessor :consumer_psc_address
28461
28485
 
28486
+ # The psc producer port is used to connect PSC NEG with specific port on the PSC
28487
+ # Producer side; should only be used for the PRIVATE_SERVICE_CONNECT NEG type
28488
+ # Corresponds to the JSON property `producerPort`
28489
+ # @return [Fixnum]
28490
+ attr_accessor :producer_port
28491
+
28462
28492
  # [Output Only] The PSC connection id of the PSC Network Endpoint Group Consumer.
28463
28493
  # Corresponds to the JSON property `pscConnectionId`
28464
28494
  # @return [Fixnum]
@@ -28476,6 +28506,7 @@ module Google
28476
28506
  # Update properties of this object
28477
28507
  def update!(**args)
28478
28508
  @consumer_psc_address = args[:consumer_psc_address] if args.key?(:consumer_psc_address)
28509
+ @producer_port = args[:producer_port] if args.key?(:producer_port)
28479
28510
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
28480
28511
  @psc_connection_status = args[:psc_connection_status] if args.key?(:psc_connection_status)
28481
28512
  end
@@ -50432,6 +50463,95 @@ module Google
50432
50463
  end
50433
50464
  end
50434
50465
 
50466
+ #
50467
+ class SubnetworksScopedWarning
50468
+ include Google::Apis::Core::Hashable
50469
+
50470
+ # Name of the scope containing this set of Subnetworks.
50471
+ # Corresponds to the JSON property `scopeName`
50472
+ # @return [String]
50473
+ attr_accessor :scope_name
50474
+
50475
+ # An informational warning about unreachable scope
50476
+ # Corresponds to the JSON property `warning`
50477
+ # @return [Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning]
50478
+ attr_accessor :warning
50479
+
50480
+ def initialize(**args)
50481
+ update!(**args)
50482
+ end
50483
+
50484
+ # Update properties of this object
50485
+ def update!(**args)
50486
+ @scope_name = args[:scope_name] if args.key?(:scope_name)
50487
+ @warning = args[:warning] if args.key?(:warning)
50488
+ end
50489
+
50490
+ # An informational warning about unreachable scope
50491
+ class Warning
50492
+ include Google::Apis::Core::Hashable
50493
+
50494
+ # [Output Only] A warning code, if applicable. For example, Compute Engine
50495
+ # returns NO_RESULTS_ON_PAGE if there are no results in the response.
50496
+ # Corresponds to the JSON property `code`
50497
+ # @return [String]
50498
+ attr_accessor :code
50499
+
50500
+ # [Output Only] Metadata about this warning in key: value format. For example: "
50501
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
50502
+ # Corresponds to the JSON property `data`
50503
+ # @return [Array<Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning::Datum>]
50504
+ attr_accessor :data
50505
+
50506
+ # [Output Only] A human-readable description of the warning code.
50507
+ # Corresponds to the JSON property `message`
50508
+ # @return [String]
50509
+ attr_accessor :message
50510
+
50511
+ def initialize(**args)
50512
+ update!(**args)
50513
+ end
50514
+
50515
+ # Update properties of this object
50516
+ def update!(**args)
50517
+ @code = args[:code] if args.key?(:code)
50518
+ @data = args[:data] if args.key?(:data)
50519
+ @message = args[:message] if args.key?(:message)
50520
+ end
50521
+
50522
+ #
50523
+ class Datum
50524
+ include Google::Apis::Core::Hashable
50525
+
50526
+ # [Output Only] A key that provides more detail on the warning being returned.
50527
+ # For example, for warnings where there are no results in a list request for a
50528
+ # particular zone, this key might be scope and the key value might be the zone
50529
+ # name. Other examples might be a key indicating a deprecated resource and a
50530
+ # suggested replacement, or a warning about invalid network settings (for
50531
+ # example, if an instance attempts to perform IP forwarding but is not enabled
50532
+ # for IP forwarding).
50533
+ # Corresponds to the JSON property `key`
50534
+ # @return [String]
50535
+ attr_accessor :key
50536
+
50537
+ # [Output Only] A warning data value corresponding to the key.
50538
+ # Corresponds to the JSON property `value`
50539
+ # @return [String]
50540
+ attr_accessor :value
50541
+
50542
+ def initialize(**args)
50543
+ update!(**args)
50544
+ end
50545
+
50546
+ # Update properties of this object
50547
+ def update!(**args)
50548
+ @key = args[:key] if args.key?(:key)
50549
+ @value = args[:value] if args.key?(:value)
50550
+ end
50551
+ end
50552
+ end
50553
+ end
50554
+
50435
50555
  #
50436
50556
  class SubnetworksSetPrivateIpGoogleAccessRequest
50437
50557
  include Google::Apis::Core::Hashable
@@ -55500,11 +55620,22 @@ module Google
55500
55620
  # @return [String]
55501
55621
  attr_accessor :next_page_token
55502
55622
 
55623
+ # [Output Only] Informational warning messages for failures encountered from
55624
+ # scopes.
55625
+ # Corresponds to the JSON property `scoped_warnings`
55626
+ # @return [Array<Google::Apis::ComputeAlpha::SubnetworksScopedWarning>]
55627
+ attr_accessor :scoped_warnings
55628
+
55503
55629
  # [Output Only] Server-defined URL for this resource.
55504
55630
  # Corresponds to the JSON property `selfLink`
55505
55631
  # @return [String]
55506
55632
  attr_accessor :self_link
55507
55633
 
55634
+ # [Output Only] Unreachable resources.
55635
+ # Corresponds to the JSON property `unreachables`
55636
+ # @return [Array<String>]
55637
+ attr_accessor :unreachables
55638
+
55508
55639
  # [Output Only] Informational warning message.
55509
55640
  # Corresponds to the JSON property `warning`
55510
55641
  # @return [Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning]
@@ -55520,7 +55651,9 @@ module Google
55520
55651
  @items = args[:items] if args.key?(:items)
55521
55652
  @kind = args[:kind] if args.key?(:kind)
55522
55653
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
55654
+ @scoped_warnings = args[:scoped_warnings] if args.key?(:scoped_warnings)
55523
55655
  @self_link = args[:self_link] if args.key?(:self_link)
55656
+ @unreachables = args[:unreachables] if args.key?(:unreachables)
55524
55657
  @warning = args[:warning] if args.key?(:warning)
55525
55658
  end
55526
55659
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.92.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240220"
25
+ REVISION = "20240227"
26
26
  end
27
27
  end
28
28
  end
@@ -6586,6 +6586,24 @@ module Google
6586
6586
  include Google::Apis::Core::JsonObjectSupport
6587
6587
  end
6588
6588
 
6589
+ class SubnetworksScopedWarning
6590
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6591
+
6592
+ class Warning
6593
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6594
+
6595
+ class Datum
6596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6597
+
6598
+ include Google::Apis::Core::JsonObjectSupport
6599
+ end
6600
+
6601
+ include Google::Apis::Core::JsonObjectSupport
6602
+ end
6603
+
6604
+ include Google::Apis::Core::JsonObjectSupport
6605
+ end
6606
+
6589
6607
  class SubnetworksSetPrivateIpGoogleAccessRequest
6590
6608
  class Representation < Google::Apis::Core::JsonRepresentation; end
6591
6609
 
@@ -8398,6 +8416,8 @@ module Google
8398
8416
  property :description, as: 'description'
8399
8417
  property :edge_security_policy, as: 'edgeSecurityPolicy'
8400
8418
  property :enable_cdn, as: 'enableCDN'
8419
+ property :external_managed_migration_state, as: 'externalManagedMigrationState'
8420
+ property :external_managed_migration_testing_rate, as: 'externalManagedMigrationTestingRate'
8401
8421
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation
8402
8422
 
8403
8423
  property :fingerprint, :base64 => true, as: 'fingerprint'
@@ -8811,7 +8831,6 @@ module Google
8811
8831
  class BgpRouteNetworkLayerReachabilityInformation
8812
8832
  # @private
8813
8833
  class Representation < Google::Apis::Core::JsonRepresentation
8814
- property :destination, as: 'destination'
8815
8834
  property :path_id, as: 'pathId'
8816
8835
  property :prefix, as: 'prefix'
8817
8836
  end
@@ -14386,6 +14405,7 @@ module Google
14386
14405
  # @private
14387
14406
  class Representation < Google::Apis::Core::JsonRepresentation
14388
14407
  property :consumer_psc_address, as: 'consumerPscAddress'
14408
+ property :producer_port, as: 'producerPort'
14389
14409
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
14390
14410
  property :psc_connection_status, as: 'pscConnectionStatus'
14391
14411
  end
@@ -19990,6 +20010,33 @@ module Google
19990
20010
  end
19991
20011
  end
19992
20012
 
20013
+ class SubnetworksScopedWarning
20014
+ # @private
20015
+ class Representation < Google::Apis::Core::JsonRepresentation
20016
+ property :scope_name, as: 'scopeName'
20017
+ property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning, decorator: Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning::Representation
20018
+
20019
+ end
20020
+
20021
+ class Warning
20022
+ # @private
20023
+ class Representation < Google::Apis::Core::JsonRepresentation
20024
+ property :code, as: 'code'
20025
+ collection :data, as: 'data', class: Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning::Datum, decorator: Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Warning::Datum::Representation
20026
+
20027
+ property :message, as: 'message'
20028
+ end
20029
+
20030
+ class Datum
20031
+ # @private
20032
+ class Representation < Google::Apis::Core::JsonRepresentation
20033
+ property :key, as: 'key'
20034
+ property :value, as: 'value'
20035
+ end
20036
+ end
20037
+ end
20038
+ end
20039
+
19993
20040
  class SubnetworksSetPrivateIpGoogleAccessRequest
19994
20041
  # @private
19995
20042
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21245,7 +21292,10 @@ module Google
21245
21292
 
21246
21293
  property :kind, as: 'kind'
21247
21294
  property :next_page_token, as: 'nextPageToken'
21295
+ collection :scoped_warnings, as: 'scoped_warnings', class: Google::Apis::ComputeAlpha::SubnetworksScopedWarning, decorator: Google::Apis::ComputeAlpha::SubnetworksScopedWarning::Representation
21296
+
21248
21297
  property :self_link, as: 'selfLink'
21298
+ collection :unreachables, as: 'unreachables'
21249
21299
  property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning, decorator: Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Warning::Representation
21250
21300
 
21251
21301
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.92.0
4
+ version: 0.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-03 00:00:00.000000000 Z
11
+ date: 2024-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.92.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.93.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_alpha
63
63
  post_install_message:
64
64
  rdoc_options: []