google-apis-compute_alpha 0.75.0 → 0.76.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: 39386bb3a96ef9ec0643c574687bc67aab106f9501dee8c29950fd464e1911f2
4
- data.tar.gz: 256e19dd25ce51cafc7fc00b2c16cd6b5494579bc1c68403c65e02ed9c6f75e0
3
+ metadata.gz: 9db0a38eca361e65414b933ffa92cd38208c79b184b43cc42916460e27c648c9
4
+ data.tar.gz: aaa79e74864901d6fb6f335d966c71a73d44a5853a7121393b6770b1145a895f
5
5
  SHA512:
6
- metadata.gz: 5f92e571bcaf4aaf18d6624a6d85c38173614c61b7cd3068b1c59ff498da94142be776ee9a24de32dcd0a00315ce341e7b9c3a8530e32a966bc0058e72d2ded7
7
- data.tar.gz: 3f1dc56e575fa56da08049678b6d8e00c7d8f6bccdc8e9af5b4815ec41ae6cd522aa54bad6fbc2b8db517f934bb7860ea3289135359af18cd96446a6bcb6985c
6
+ metadata.gz: 07aee70391f2f330749661f97c08e0ba8a3690a12ac1bbc841393d35e52fe50ddc419835339a5eca65054f3aa9888dd722e589c59622f9d3af1435f6a7f2f310
7
+ data.tar.gz: b42b41b3d5084d580e44b471e5af78c23cff8b56141074fb0eca2e07cfb3513beac372d39fb18baafeaf9f15102661f2e811d985e27bfd32faeaa8920967c932
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.76.0 (2023-08-27)
4
+
5
+ * Regenerated from discovery document revision 20230814
6
+
3
7
  ### v0.75.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230801
@@ -5738,6 +5738,70 @@ module Google
5738
5738
  end
5739
5739
  end
5740
5740
 
5741
+ # Represents the network information between workload placements.
5742
+ class CapacityConstraint
5743
+ include Google::Apis::Core::Hashable
5744
+
5745
+ #
5746
+ # Corresponds to the JSON property `constraintMetadata`
5747
+ # @return [String]
5748
+ attr_accessor :constraint_metadata
5749
+
5750
+ # Weighted sum of BandwidthTerms (each term is coefficient * term) must be less
5751
+ # than or equal to max_sum.
5752
+ # Corresponds to the JSON property `maxSumGbps`
5753
+ # @return [Float]
5754
+ attr_accessor :max_sum_gbps
5755
+
5756
+ #
5757
+ # Corresponds to the JSON property `terms`
5758
+ # @return [Array<Google::Apis::ComputeAlpha::CapacityConstraintConstraintTerm>]
5759
+ attr_accessor :terms
5760
+
5761
+ def initialize(**args)
5762
+ update!(**args)
5763
+ end
5764
+
5765
+ # Update properties of this object
5766
+ def update!(**args)
5767
+ @constraint_metadata = args[:constraint_metadata] if args.key?(:constraint_metadata)
5768
+ @max_sum_gbps = args[:max_sum_gbps] if args.key?(:max_sum_gbps)
5769
+ @terms = args[:terms] if args.key?(:terms)
5770
+ end
5771
+ end
5772
+
5773
+ #
5774
+ class CapacityConstraintConstraintTerm
5775
+ include Google::Apis::Core::Hashable
5776
+
5777
+ # Coefficient of this term in the linear expression. The value of the term will
5778
+ # be coefficient * (demand from src to dst in Gbps).
5779
+ # Corresponds to the JSON property `coefficient`
5780
+ # @return [Float]
5781
+ attr_accessor :coefficient
5782
+
5783
+ #
5784
+ # Corresponds to the JSON property `destinationNode`
5785
+ # @return [Google::Apis::ComputeAlpha::PlacementLocation]
5786
+ attr_accessor :destination_node
5787
+
5788
+ # Source and destination nodes.
5789
+ # Corresponds to the JSON property `sourceNode`
5790
+ # @return [Google::Apis::ComputeAlpha::PlacementLocation]
5791
+ attr_accessor :source_node
5792
+
5793
+ def initialize(**args)
5794
+ update!(**args)
5795
+ end
5796
+
5797
+ # Update properties of this object
5798
+ def update!(**args)
5799
+ @coefficient = args[:coefficient] if args.key?(:coefficient)
5800
+ @destination_node = args[:destination_node] if args.key?(:destination_node)
5801
+ @source_node = args[:source_node] if args.key?(:source_node)
5802
+ end
5803
+ end
5804
+
5741
5805
  # [Deprecated] gRPC channel credentials to access the SDS server. gRPC channel
5742
5806
  # credentials to access the SDS server.
5743
5807
  class ChannelCredentials
@@ -7185,7 +7249,7 @@ module Google
7185
7249
  # a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk
7186
7250
  # parameter, or specify it alone to create an empty persistent disk. If you
7187
7251
  # specify this field along with a source, the value of sizeGb must not be less
7188
- # than the size of the source. Acceptable values are 1 to 65536, inclusive.
7252
+ # than the size of the source. Acceptable values are greater than 0.
7189
7253
  # Corresponds to the JSON property `sizeGb`
7190
7254
  # @return [Fixnum]
7191
7255
  attr_accessor :size_gb
@@ -10386,6 +10450,16 @@ module Google
10386
10450
  attr_accessor :allow_psc_global_access
10387
10451
  alias_method :allow_psc_global_access?, :allow_psc_global_access
10388
10452
 
10453
+ # This is used in PSC consumer ForwardingRule to control whether the producer is
10454
+ # allowed to inject packets into the consumer's network. If set to true, the
10455
+ # target service attachment must have tunneling enabled and TunnelingConfig.
10456
+ # RoutingMode set to PACKET_INJECTION Non-PSC forwarding rules should not use
10457
+ # this field.
10458
+ # Corresponds to the JSON property `allowPscPacketInjection`
10459
+ # @return [Boolean]
10460
+ attr_accessor :allow_psc_packet_injection
10461
+ alias_method :allow_psc_packet_injection?, :allow_psc_packet_injection
10462
+
10389
10463
  # Identifies the backend service to which the forwarding rule sends traffic.
10390
10464
  # Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must
10391
10465
  # be omitted for all other load balancer types.
@@ -10431,12 +10505,12 @@ module Google
10431
10505
  attr_accessor :id
10432
10506
 
10433
10507
  # Resource reference of a PublicDelegatedPrefix. The PDP must be a sub-PDP in
10434
- # IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats to
10435
- # specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP:
10508
+ # EXTERNAL_IPV6_FORWARDING_RULE_CREATION mode. Use one of the following formats
10509
+ # to specify a sub-PDP when creating an IPv6 NetLB forwarding rule using BYOIP:
10436
10510
  # Full resource URL, as in https://www.googleapis.com/compute/v1/projects/
10437
- # project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name Partial URL, as
10438
- # in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-name -
10439
- # regions/region/publicDelegatedPrefixes/sub-pdp-name
10511
+ # project_id/regions/region /publicDelegatedPrefixes/sub-pdp-name Partial URL,
10512
+ # as in: - projects/project_id/regions/region/publicDelegatedPrefixes/sub-pdp-
10513
+ # name - regions/region/publicDelegatedPrefixes/sub-pdp-name
10440
10514
  # Corresponds to the JSON property `ipCollection`
10441
10515
  # @return [String]
10442
10516
  attr_accessor :ip_collection
@@ -10680,6 +10754,7 @@ module Google
10680
10754
  @all_ports = args[:all_ports] if args.key?(:all_ports)
10681
10755
  @allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
10682
10756
  @allow_psc_global_access = args[:allow_psc_global_access] if args.key?(:allow_psc_global_access)
10757
+ @allow_psc_packet_injection = args[:allow_psc_packet_injection] if args.key?(:allow_psc_packet_injection)
10683
10758
  @backend_service = args[:backend_service] if args.key?(:backend_service)
10684
10759
  @base_forwarding_rule = args[:base_forwarding_rule] if args.key?(:base_forwarding_rule)
10685
10760
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
@@ -11879,6 +11954,25 @@ module Google
11879
11954
  end
11880
11955
  end
11881
11956
 
11957
+ #
11958
+ class GetNetworkCapacityConstraintsResponse
11959
+ include Google::Apis::Core::Hashable
11960
+
11961
+ # Set of capacity constraints that describe network adjacency.
11962
+ # Corresponds to the JSON property `capacityConstraints`
11963
+ # @return [Array<Google::Apis::ComputeAlpha::CapacityConstraint>]
11964
+ attr_accessor :capacity_constraints
11965
+
11966
+ def initialize(**args)
11967
+ update!(**args)
11968
+ end
11969
+
11970
+ # Update properties of this object
11971
+ def update!(**args)
11972
+ @capacity_constraints = args[:capacity_constraints] if args.key?(:capacity_constraints)
11973
+ end
11974
+ end
11975
+
11882
11976
  #
11883
11977
  class GetOwnerInstanceResponse
11884
11978
  include Google::Apis::Core::Hashable
@@ -17441,6 +17535,12 @@ module Google
17441
17535
  # @return [Google::Apis::ComputeAlpha::QueuingPolicy]
17442
17536
  attr_accessor :queuing_policy
17443
17537
 
17538
+ # The number of instances to be created by this resize request. The group's
17539
+ # target size will be increased by this number.
17540
+ # Corresponds to the JSON property `resizeBy`
17541
+ # @return [Fixnum]
17542
+ attr_accessor :resize_by
17543
+
17444
17544
  # [Output Only] The URL for this resize request. The server defines this URL.
17445
17545
  # Corresponds to the JSON property `selfLink`
17446
17546
  # @return [String]
@@ -17456,11 +17556,7 @@ module Google
17456
17556
  # @return [String]
17457
17557
  attr_accessor :state
17458
17558
 
17459
- # [Output only] Status of the request. The Status message is aligned with
17460
- # QueuedResource.status. ResizeRequest.queuing_policy contains the queuing
17461
- # policy as provided by the user; it could have either valid_until_time or
17462
- # valid_until_duration. ResizeRequest.status.queuing_policy always contains
17463
- # absolute time as calculated by the server when the request is queued.
17559
+ # [Output only] Status of the request.
17464
17560
  # Corresponds to the JSON property `status`
17465
17561
  # @return [Google::Apis::ComputeAlpha::InstanceGroupManagerResizeRequestStatus]
17466
17562
  attr_accessor :status
@@ -17484,6 +17580,7 @@ module Google
17484
17580
  @kind = args[:kind] if args.key?(:kind)
17485
17581
  @name = args[:name] if args.key?(:name)
17486
17582
  @queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
17583
+ @resize_by = args[:resize_by] if args.key?(:resize_by)
17487
17584
  @self_link = args[:self_link] if args.key?(:self_link)
17488
17585
  @self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
17489
17586
  @state = args[:state] if args.key?(:state)
@@ -19742,25 +19839,25 @@ module Google
19742
19839
  class InstanceSettingsMetadata
19743
19840
  include Google::Apis::Core::Hashable
19744
19841
 
19842
+ # A metadata key/value items map. The total size of all keys and values must be
19843
+ # less than 512KB.
19844
+ # Corresponds to the JSON property `items`
19845
+ # @return [Hash<String,String>]
19846
+ attr_accessor :items
19847
+
19745
19848
  # [Output Only] Type of the resource. Always compute#metadata for metadata.
19746
19849
  # Corresponds to the JSON property `kind`
19747
19850
  # @return [String]
19748
19851
  attr_accessor :kind
19749
19852
 
19750
- # A metadata key/value map. The total size of all keys and values must be less
19751
- # than 512KB.
19752
- # Corresponds to the JSON property `metadata`
19753
- # @return [Hash<String,String>]
19754
- attr_accessor :metadata
19755
-
19756
19853
  def initialize(**args)
19757
19854
  update!(**args)
19758
19855
  end
19759
19856
 
19760
19857
  # Update properties of this object
19761
19858
  def update!(**args)
19859
+ @items = args[:items] if args.key?(:items)
19762
19860
  @kind = args[:kind] if args.key?(:kind)
19763
- @metadata = args[:metadata] if args.key?(:metadata)
19764
19861
  end
19765
19862
  end
19766
19863
 
@@ -21784,9 +21881,8 @@ module Google
21784
21881
  attr_accessor :operational_status
21785
21882
 
21786
21883
  # [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
21787
- # for DEDICATED]. The opaque identifier of an PARTNER attachment used to
21788
- # initiate provisioning with a selected partner. Of the form "XXXXX/region/
21789
- # domain"
21884
+ # for DEDICATED]. The opaque identifier of a PARTNER attachment used to initiate
21885
+ # provisioning with a selected partner. Of the form "XXXXX/region/domain"
21790
21886
  # Corresponds to the JSON property `pairingKey`
21791
21887
  # @return [String]
21792
21888
  attr_accessor :pairing_key
@@ -33088,6 +33184,31 @@ module Google
33088
33184
  end
33089
33185
  end
33090
33186
 
33187
+ #
33188
+ class PlacementLocation
33189
+ include Google::Apis::Core::Hashable
33190
+
33191
+ # Aggregation block id of the placement group.
33192
+ # Corresponds to the JSON property `aggregationBlockId`
33193
+ # @return [String]
33194
+ attr_accessor :aggregation_block_id
33195
+
33196
+ # Partial or full URL of the resource policy for the placement group.
33197
+ # Corresponds to the JSON property `resourcePolicy`
33198
+ # @return [String]
33199
+ attr_accessor :resource_policy
33200
+
33201
+ def initialize(**args)
33202
+ update!(**args)
33203
+ end
33204
+
33205
+ # Update properties of this object
33206
+ def update!(**args)
33207
+ @aggregation_block_id = args[:aggregation_block_id] if args.key?(:aggregation_block_id)
33208
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
33209
+ end
33210
+ end
33211
+
33091
33212
  # An Identity and Access Management (IAM) policy, which specifies access
33092
33213
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
33093
33214
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -40211,8 +40332,9 @@ module Google
40211
40332
  class RouterNat
40212
40333
  include Google::Apis::Core::Hashable
40213
40334
 
40214
- # The network tier to use when automatically reserving IP addresses. Must be one
40215
- # of: PREMIUM, STANDARD. If not specified, PREMIUM tier will be used.
40335
+ # The network tier to use when automatically reserving NAT IP addresses. Must be
40336
+ # one of: PREMIUM, STANDARD. If not specified, then the current project-level
40337
+ # default tier is used.
40216
40338
  # Corresponds to the JSON property `autoNetworkTier`
40217
40339
  # @return [String]
40218
40340
  attr_accessor :auto_network_tier
@@ -43694,6 +43816,14 @@ module Google
43694
43816
  # @return [String]
43695
43817
  attr_accessor :target_service
43696
43818
 
43819
+ # Use to configure this PSC connection in tunneling mode. In tunneling mode
43820
+ # traffic from consumer to producer will be encapsulated as it crosses the VPC
43821
+ # boundary and traffic from producer to consumer will be decapsulated in the
43822
+ # same manner.
43823
+ # Corresponds to the JSON property `tunnelingConfig`
43824
+ # @return [Google::Apis::ComputeAlpha::ServiceAttachmentTunnelingConfig]
43825
+ attr_accessor :tunneling_config
43826
+
43697
43827
  def initialize(**args)
43698
43828
  update!(**args)
43699
43829
  end
@@ -43719,6 +43849,7 @@ module Google
43719
43849
  @region = args[:region] if args.key?(:region)
43720
43850
  @self_link = args[:self_link] if args.key?(:self_link)
43721
43851
  @target_service = args[:target_service] if args.key?(:target_service)
43852
+ @tunneling_config = args[:tunneling_config] if args.key?(:tunneling_config)
43722
43853
  end
43723
43854
  end
43724
43855
 
@@ -44031,6 +44162,36 @@ module Google
44031
44162
  end
44032
44163
  end
44033
44164
 
44165
+ # Use to configure this PSC connection in tunneling mode. In tunneling mode
44166
+ # traffic from consumer to producer will be encapsulated as it crosses the VPC
44167
+ # boundary and traffic from producer to consumer will be decapsulated in the
44168
+ # same manner.
44169
+ class ServiceAttachmentTunnelingConfig
44170
+ include Google::Apis::Core::Hashable
44171
+
44172
+ # Specify the encapsulation protocol and what metadata to include in incoming
44173
+ # encapsulated packet headers.
44174
+ # Corresponds to the JSON property `encapsulationProfile`
44175
+ # @return [String]
44176
+ attr_accessor :encapsulation_profile
44177
+
44178
+ # How this Service Attachment will treat traffic sent to the tunnel_ip, destined
44179
+ # for the consumer network.
44180
+ # Corresponds to the JSON property `routingMode`
44181
+ # @return [String]
44182
+ attr_accessor :routing_mode
44183
+
44184
+ def initialize(**args)
44185
+ update!(**args)
44186
+ end
44187
+
44188
+ # Update properties of this object
44189
+ def update!(**args)
44190
+ @encapsulation_profile = args[:encapsulation_profile] if args.key?(:encapsulation_profile)
44191
+ @routing_mode = args[:routing_mode] if args.key?(:routing_mode)
44192
+ end
44193
+ end
44194
+
44034
44195
  #
44035
44196
  class ServiceAttachmentsScopedList
44036
44197
  include Google::Apis::Core::Hashable
@@ -54177,12 +54338,12 @@ module Google
54177
54338
  # @return [Fixnum]
54178
54339
  attr_accessor :peer_external_gateway_interface
54179
54340
 
54180
- # URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected.
54341
+ # URL of the peer side HA VPN gateway to which this VPN tunnel is connected.
54181
54342
  # Provided by the client when the VPN tunnel is created. This field can be used
54182
54343
  # when creating highly available VPN from VPC network to VPC network, the field
54183
54344
  # is exclusive with the field peerExternalGateway. If provided, the VPN tunnel
54184
- # will automatically use the same vpnGatewayInterface ID in the peer GCP VPN
54185
- # gateway.
54345
+ # will automatically use the same vpnGatewayInterface ID in the peer Google
54346
+ # Cloud VPN gateway.
54186
54347
  # Corresponds to the JSON property `peerGcpGateway`
54187
54348
  # @return [String]
54188
54349
  attr_accessor :peer_gcp_gateway
@@ -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.75.0"
19
+ GEM_VERSION = "0.76.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230801"
25
+ REVISION = "20230814"
26
26
  end
27
27
  end
28
28
  end
@@ -658,6 +658,18 @@ module Google
658
658
  include Google::Apis::Core::JsonObjectSupport
659
659
  end
660
660
 
661
+ class CapacityConstraint
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class CapacityConstraintConstraintTerm
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
661
673
  class ChannelCredentials
662
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
675
 
@@ -1396,6 +1408,12 @@ module Google
1396
1408
  include Google::Apis::Core::JsonObjectSupport
1397
1409
  end
1398
1410
 
1411
+ class GetNetworkCapacityConstraintsResponse
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1399
1417
  class GetOwnerInstanceResponse
1400
1418
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1419
 
@@ -4204,6 +4222,12 @@ module Google
4204
4222
  include Google::Apis::Core::JsonObjectSupport
4205
4223
  end
4206
4224
 
4225
+ class PlacementLocation
4226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4227
+
4228
+ include Google::Apis::Core::JsonObjectSupport
4229
+ end
4230
+
4207
4231
  class Policy
4208
4232
  class Representation < Google::Apis::Core::JsonRepresentation; end
4209
4233
 
@@ -5740,6 +5764,12 @@ module Google
5740
5764
  include Google::Apis::Core::JsonObjectSupport
5741
5765
  end
5742
5766
 
5767
+ class ServiceAttachmentTunnelingConfig
5768
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5769
+
5770
+ include Google::Apis::Core::JsonObjectSupport
5771
+ end
5772
+
5743
5773
  class ServiceAttachmentsScopedList
5744
5774
  class Representation < Google::Apis::Core::JsonRepresentation; end
5745
5775
 
@@ -8536,6 +8566,27 @@ module Google
8536
8566
  end
8537
8567
  end
8538
8568
 
8569
+ class CapacityConstraint
8570
+ # @private
8571
+ class Representation < Google::Apis::Core::JsonRepresentation
8572
+ property :constraint_metadata, as: 'constraintMetadata'
8573
+ property :max_sum_gbps, as: 'maxSumGbps'
8574
+ collection :terms, as: 'terms', class: Google::Apis::ComputeAlpha::CapacityConstraintConstraintTerm, decorator: Google::Apis::ComputeAlpha::CapacityConstraintConstraintTerm::Representation
8575
+
8576
+ end
8577
+ end
8578
+
8579
+ class CapacityConstraintConstraintTerm
8580
+ # @private
8581
+ class Representation < Google::Apis::Core::JsonRepresentation
8582
+ property :coefficient, as: 'coefficient'
8583
+ property :destination_node, as: 'destinationNode', class: Google::Apis::ComputeAlpha::PlacementLocation, decorator: Google::Apis::ComputeAlpha::PlacementLocation::Representation
8584
+
8585
+ property :source_node, as: 'sourceNode', class: Google::Apis::ComputeAlpha::PlacementLocation, decorator: Google::Apis::ComputeAlpha::PlacementLocation::Representation
8586
+
8587
+ end
8588
+ end
8589
+
8539
8590
  class ChannelCredentials
8540
8591
  # @private
8541
8592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9612,6 +9663,7 @@ module Google
9612
9663
  property :all_ports, as: 'allPorts'
9613
9664
  property :allow_global_access, as: 'allowGlobalAccess'
9614
9665
  property :allow_psc_global_access, as: 'allowPscGlobalAccess'
9666
+ property :allow_psc_packet_injection, as: 'allowPscPacketInjection'
9615
9667
  property :backend_service, as: 'backendService'
9616
9668
  property :base_forwarding_rule, as: 'baseForwardingRule'
9617
9669
  property :creation_timestamp, as: 'creationTimestamp'
@@ -9957,6 +10009,14 @@ module Google
9957
10009
  end
9958
10010
  end
9959
10011
 
10012
+ class GetNetworkCapacityConstraintsResponse
10013
+ # @private
10014
+ class Representation < Google::Apis::Core::JsonRepresentation
10015
+ collection :capacity_constraints, as: 'capacityConstraints', class: Google::Apis::ComputeAlpha::CapacityConstraint, decorator: Google::Apis::ComputeAlpha::CapacityConstraint::Representation
10016
+
10017
+ end
10018
+ end
10019
+
9960
10020
  class GetOwnerInstanceResponse
9961
10021
  # @private
9962
10022
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11243,6 +11303,7 @@ module Google
11243
11303
  property :name, as: 'name'
11244
11304
  property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
11245
11305
 
11306
+ property :resize_by, as: 'resizeBy'
11246
11307
  property :self_link, as: 'selfLink'
11247
11308
  property :self_link_with_id, as: 'selfLinkWithId'
11248
11309
  property :state, as: 'state'
@@ -11888,8 +11949,8 @@ module Google
11888
11949
  class InstanceSettingsMetadata
11889
11950
  # @private
11890
11951
  class Representation < Google::Apis::Core::JsonRepresentation
11952
+ hash :items, as: 'items'
11891
11953
  property :kind, as: 'kind'
11892
- hash :metadata, as: 'metadata'
11893
11954
  end
11894
11955
  end
11895
11956
 
@@ -15279,6 +15340,14 @@ module Google
15279
15340
  end
15280
15341
  end
15281
15342
 
15343
+ class PlacementLocation
15344
+ # @private
15345
+ class Representation < Google::Apis::Core::JsonRepresentation
15346
+ property :aggregation_block_id, as: 'aggregationBlockId'
15347
+ property :resource_policy, as: 'resourcePolicy'
15348
+ end
15349
+ end
15350
+
15282
15351
  class Policy
15283
15352
  # @private
15284
15353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17987,6 +18056,8 @@ module Google
17987
18056
  property :region, as: 'region'
17988
18057
  property :self_link, as: 'selfLink'
17989
18058
  property :target_service, as: 'targetService'
18059
+ property :tunneling_config, as: 'tunnelingConfig', class: Google::Apis::ComputeAlpha::ServiceAttachmentTunnelingConfig, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentTunnelingConfig::Representation
18060
+
17990
18061
  end
17991
18062
  end
17992
18063
 
@@ -18074,6 +18145,14 @@ module Google
18074
18145
  end
18075
18146
  end
18076
18147
 
18148
+ class ServiceAttachmentTunnelingConfig
18149
+ # @private
18150
+ class Representation < Google::Apis::Core::JsonRepresentation
18151
+ property :encapsulation_profile, as: 'encapsulationProfile'
18152
+ property :routing_mode, as: 'routingMode'
18153
+ end
18154
+ end
18155
+
18077
18156
  class ServiceAttachmentsScopedList
18078
18157
  # @private
18079
18158
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21269,6 +21269,56 @@ module Google
21269
21269
  execute_or_queue_command(command, &block)
21270
21270
  end
21271
21271
 
21272
+ # Updates an association for the specified network firewall policy.
21273
+ # @param [String] project
21274
+ # Project ID for this request.
21275
+ # @param [String] firewall_policy
21276
+ # Name of the firewall policy to update.
21277
+ # @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
21278
+ # @param [String] request_id
21279
+ # An optional request ID to identify requests. Specify a unique request ID so
21280
+ # that if you must retry your request, the server will know to ignore the
21281
+ # request if it has already been completed. For example, consider a situation
21282
+ # where you make an initial request and the request times out. If you make the
21283
+ # request again with the same request ID, the server can check if original
21284
+ # operation with the same request ID was received, and if so, will ignore the
21285
+ # second request. This prevents clients from accidentally creating duplicate
21286
+ # commitments. The request ID must be a valid UUID with the exception that zero
21287
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
21288
+ # @param [String] fields
21289
+ # Selector specifying which fields to include in a partial response.
21290
+ # @param [String] quota_user
21291
+ # Available to use for quota purposes for server-side applications. Can be any
21292
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
21293
+ # @param [String] user_ip
21294
+ # Legacy name for parameter that has been superseded by `quotaUser`.
21295
+ # @param [Google::Apis::RequestOptions] options
21296
+ # Request-specific options
21297
+ #
21298
+ # @yield [result, err] Result & error if block supplied
21299
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
21300
+ # @yieldparam err [StandardError] error object if request failed
21301
+ #
21302
+ # @return [Google::Apis::ComputeAlpha::Operation]
21303
+ #
21304
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
21305
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
21306
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
21307
+ def patch_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
21308
+ command = make_simple_command(:post, 'projects/{project}/global/firewallPolicies/{firewallPolicy}/patchAssociation', options)
21309
+ command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
21310
+ command.request_object = firewall_policy_association_object
21311
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
21312
+ command.response_class = Google::Apis::ComputeAlpha::Operation
21313
+ command.params['project'] = project unless project.nil?
21314
+ command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
21315
+ command.query['requestId'] = request_id unless request_id.nil?
21316
+ command.query['fields'] = fields unless fields.nil?
21317
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
21318
+ command.query['userIp'] = user_ip unless user_ip.nil?
21319
+ execute_or_queue_command(command, &block)
21320
+ end
21321
+
21272
21322
  # Patches a rule of the specified priority.
21273
21323
  # @param [String] project
21274
21324
  # Project ID for this request.
@@ -38580,6 +38630,46 @@ module Google
38580
38630
  execute_or_queue_command(command, &block)
38581
38631
  end
38582
38632
 
38633
+ # Returns the network capacity constraints for the specified placement policies.
38634
+ # @param [String] project
38635
+ # Project ID for this request.
38636
+ # @param [String] region
38637
+ # Name of the region for this request.
38638
+ # @param [Array<String>, String] resource_policies
38639
+ # Partial or full URL of the resource policies for which to retrieve the network
38640
+ # capacity constraints.
38641
+ # @param [String] fields
38642
+ # Selector specifying which fields to include in a partial response.
38643
+ # @param [String] quota_user
38644
+ # Available to use for quota purposes for server-side applications. Can be any
38645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
38646
+ # @param [String] user_ip
38647
+ # Legacy name for parameter that has been superseded by `quotaUser`.
38648
+ # @param [Google::Apis::RequestOptions] options
38649
+ # Request-specific options
38650
+ #
38651
+ # @yield [result, err] Result & error if block supplied
38652
+ # @yieldparam result [Google::Apis::ComputeAlpha::GetNetworkCapacityConstraintsResponse] parsed result object
38653
+ # @yieldparam err [StandardError] error object if request failed
38654
+ #
38655
+ # @return [Google::Apis::ComputeAlpha::GetNetworkCapacityConstraintsResponse]
38656
+ #
38657
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38658
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38659
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
38660
+ def get_resource_policy_network_capacity_constraints(project, region, resource_policies: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
38661
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/getNetworkCapacityConstraints', options)
38662
+ command.response_representation = Google::Apis::ComputeAlpha::GetNetworkCapacityConstraintsResponse::Representation
38663
+ command.response_class = Google::Apis::ComputeAlpha::GetNetworkCapacityConstraintsResponse
38664
+ command.params['project'] = project unless project.nil?
38665
+ command.params['region'] = region unless region.nil?
38666
+ command.query['resourcePolicies'] = resource_policies unless resource_policies.nil?
38667
+ command.query['fields'] = fields unless fields.nil?
38668
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
38669
+ command.query['userIp'] = user_ip unless user_ip.nil?
38670
+ execute_or_queue_command(command, &block)
38671
+ end
38672
+
38583
38673
  # Creates a new resource policy.
38584
38674
  # @param [String] project
38585
38675
  # Project ID for this request.
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.75.0
4
+ version: 0.76.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: 2023-08-13 00:00:00.000000000 Z
11
+ date: 2023-08-27 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.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.76.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Compute Engine API Alpha