google-apis-compute_alpha 0.98.0 → 0.99.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f24cd0c05b39f06ca2d7f2374d041361471efab3ab1dc4b34a312c62289f549
4
- data.tar.gz: f9026f65062787de748c5d416650f639d9fa5241fb971d3af65b30d17f5efdea
3
+ metadata.gz: a734beb7ec643d15700fc395a649db5f7facef3eee023af7d336fc84176e6c8e
4
+ data.tar.gz: 8644055efb29d0420227d3954b8d25d9977350a821f0bc2ad5298454ad32b295
5
5
  SHA512:
6
- metadata.gz: 621d53d69ffd60b35eab56d6202f64b6f6bee207a49ee8be4331e56e5b426699caa54434e60163bc6b3622803aaa4ef0f351c03db25219a82db248a54e5dafa4
7
- data.tar.gz: 6a8e29c63a477db80042cca300c3470c8a8df99b7130ee4fb883549ebed0e4c28885cb745df655a5cffa8946dd764c4665ed876f138d3caa1928305d52486493
6
+ metadata.gz: '04483b02c64465f3f7fed8785eaa5ddbf402249ba9eebac110c77527fba0e125e434edcc730064522f697d6e2ed2ee9bbcce5cca226cfd73952c2d69ca8f94d9'
7
+ data.tar.gz: 796078e858ed1e4d9bed116c0a67b79053dab961565691eb1b482e01d60c4caba92af77003bd86f51acc6fdb100e8d75561a9b9474e140461025699393e46d3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.99.0 (2024-04-28)
4
+
5
+ * Regenerated from discovery document revision 20240421
6
+
3
7
  ### v0.98.0 (2024-04-21)
4
8
 
5
9
  * Regenerated from discovery document revision 20240407
@@ -1460,7 +1460,6 @@ module Google
1460
1460
  end
1461
1461
 
1462
1462
  # This reservation type allows to pre allocate specific instance configuration.
1463
- # Next ID: 6
1464
1463
  class AllocationSpecificSkuReservation
1465
1464
  include Google::Apis::Core::Hashable
1466
1465
 
@@ -22009,6 +22008,13 @@ module Google
22009
22008
  class Interconnect
22010
22009
  include Google::Apis::Core::Hashable
22011
22010
 
22011
+ # Enable or disable the Application Aware Interconnect(AAI) feature on this
22012
+ # interconnect.
22013
+ # Corresponds to the JSON property `aaiEnabled`
22014
+ # @return [Boolean]
22015
+ attr_accessor :aai_enabled
22016
+ alias_method :aai_enabled?, :aai_enabled
22017
+
22012
22018
  # Administrative status of the interconnect. When this is set to true, the
22013
22019
  # Interconnect is functional and can carry traffic. When set to false, no
22014
22020
  # packets can be carried over the interconnect and no BGP routes are exchanged
@@ -22244,6 +22250,7 @@ module Google
22244
22250
 
22245
22251
  # Update properties of this object
22246
22252
  def update!(**args)
22253
+ @aai_enabled = args[:aai_enabled] if args.key?(:aai_enabled)
22247
22254
  @admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
22248
22255
  @application_aware_interconnect = args[:application_aware_interconnect] if args.key?(:application_aware_interconnect)
22249
22256
  @available_features = args[:available_features] if args.key?(:available_features)
@@ -29658,7 +29665,7 @@ module Google
29658
29665
  end
29659
29666
  end
29660
29667
 
29661
- # NetworkPlacement Represents a Google managed network placement resource.
29668
+ # NetworkPlacement represents a Google managed network placement resource.
29662
29669
  class NetworkPlacement
29663
29670
  include Google::Apis::Core::Hashable
29664
29671
 
@@ -33455,7 +33462,7 @@ module Google
33455
33462
  # @return [String]
33456
33463
  attr_accessor :enable
33457
33464
 
33458
- # Filter for mirrored traffic. If unspecified, all traffic is mirrored.
33465
+ # Filter for mirrored traffic. If unspecified, all IPv4 traffic is mirrored.
33459
33466
  # Corresponds to the JSON property `filter`
33460
33467
  # @return [Google::Apis::ComputeAlpha::PacketMirroringFilter]
33461
33468
  attr_accessor :filter
@@ -33676,7 +33683,7 @@ module Google
33676
33683
  # @return [Array<String>]
33677
33684
  attr_accessor :ip_protocols
33678
33685
 
33679
- # One or more IPv4 or IPv6 CIDR ranges that apply as filter on the source (
33686
+ # One or more IPv4 or IPv6 CIDR ranges that apply as filters on the source (
33680
33687
  # ingress) or destination (egress) IP in the IP header. If no ranges are
33681
33688
  # specified, all IPv4 traffic that matches the specified IPProtocols is mirrored.
33682
33689
  # If neither cidrRanges nor IPProtocols is specified, all IPv4 traffic is
@@ -38684,7 +38691,6 @@ module Google
38684
38691
  attr_accessor :share_settings
38685
38692
 
38686
38693
  # This reservation type allows to pre allocate specific instance configuration.
38687
- # Next ID: 6
38688
38694
  # Corresponds to the JSON property `specificReservation`
38689
38695
  # @return [Google::Apis::ComputeAlpha::AllocationSpecificSkuReservation]
38690
38696
  attr_accessor :specific_reservation
@@ -41335,7 +41341,8 @@ module Google
41335
41341
  attr_accessor :enable_ipv4
41336
41342
  alias_method :enable_ipv4?, :enable_ipv4
41337
41343
 
41338
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
41344
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
41345
+ # peerIpAddress is version 6.
41339
41346
  # Corresponds to the JSON property `enableIpv6`
41340
41347
  # @return [Boolean]
41341
41348
  attr_accessor :enable_ipv6
@@ -41343,14 +41350,16 @@ module Google
41343
41350
 
41344
41351
  # List of export policies applied to this peer, in the order they must be
41345
41352
  # evaluated. The name must correspond to an existing policy that has
41346
- # ROUTE_POLICY_TYPE_EXPORT type.
41353
+ # ROUTE_POLICY_TYPE_EXPORT type. Note that Route Policies are currently
41354
+ # available in preview. Please use Beta API to use Route Policies.
41347
41355
  # Corresponds to the JSON property `exportPolicies`
41348
41356
  # @return [Array<String>]
41349
41357
  attr_accessor :export_policies
41350
41358
 
41351
41359
  # List of import policies applied to this peer, in the order they must be
41352
41360
  # evaluated. The name must correspond to an existing policy that has
41353
- # ROUTE_POLICY_TYPE_IMPORT type.
41361
+ # ROUTE_POLICY_TYPE_IMPORT type. Note that Route Policies are currently
41362
+ # available in preview. Please use Beta API to use Route Policies.
41354
41363
  # Corresponds to the JSON property `importPolicies`
41355
41364
  # @return [Array<String>]
41356
41365
  attr_accessor :import_policies
@@ -41360,8 +41369,7 @@ module Google
41360
41369
  # @return [String]
41361
41370
  attr_accessor :interface_name
41362
41371
 
41363
- # IP address of the interface inside Google Cloud Platform. Only IPv4 is
41364
- # supported.
41372
+ # IP address of the interface inside Google Cloud Platform.
41365
41373
  # Corresponds to the JSON property `ipAddress`
41366
41374
  # @return [String]
41367
41375
  attr_accessor :ip_address
@@ -41409,8 +41417,7 @@ module Google
41409
41417
  # @return [Fixnum]
41410
41418
  attr_accessor :peer_asn
41411
41419
 
41412
- # IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is
41413
- # supported.
41420
+ # IP address of the BGP interface outside Google Cloud Platform.
41414
41421
  # Corresponds to the JSON property `peerIpAddress`
41415
41422
  # @return [String]
41416
41423
  attr_accessor :peer_ip_address
@@ -41576,10 +41583,15 @@ module Google
41576
41583
  class RouterInterface
41577
41584
  include Google::Apis::Core::Hashable
41578
41585
 
41579
- # IP address and range of the interface. The IP range must be in the RFC3927
41580
- # link-local IP address space. The value must be a CIDR-formatted string, for
41581
- # example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents
41582
- # the IP address of the interface.
41586
+ # IP address and range of the interface. - For Internet Protocol version 4 (IPv4)
41587
+ # , the IP range must be in the RFC3927 link-local IP address space. The value
41588
+ # must be a CIDR-formatted string, for example, 169.254.0.1/30. Note: Do not
41589
+ # truncate the IP address, as it represents the IP address of the interface. -
41590
+ # For Internet Protocol version 6 (IPv6), the value must be a unique local
41591
+ # address (ULA) range from fdff:1::/64 with a mask length of 126 or less. This
41592
+ # value should be a CIDR-formatted string, for example, fc00:0:1:1::1/112.
41593
+ # Within the router's VPC, this IPv6 prefix will be reserved exclusively for
41594
+ # this connection and cannot be used for any other purpose.
41583
41595
  # Corresponds to the JSON property `ipRange`
41584
41596
  # @return [String]
41585
41597
  attr_accessor :ip_range
@@ -42215,7 +42227,8 @@ module Google
42215
42227
  attr_accessor :enable_ipv4
42216
42228
  alias_method :enable_ipv4?, :enable_ipv4
42217
42229
 
42218
- # Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
42230
+ # Enable IPv6 traffic over BGP Peer. It is enabled by default if the
42231
+ # peerIpAddress is version 6.
42219
42232
  # Corresponds to the JSON property `enableIpv6`
42220
42233
  # @return [Boolean]
42221
42234
  attr_accessor :enable_ipv6
@@ -52303,7 +52316,7 @@ module Google
52303
52316
 
52304
52317
  # URLs to networkservices.HttpFilter resources enabled for xDS clients using
52305
52318
  # this configuration. For example, https://networkservices.googleapis.com/beta/
52306
- # projects/project/locations/ locationhttpFilters/httpFilter Only filters that
52319
+ # projects/project/locations/ location/httpFilters/httpFilter Only filters that
52307
52320
  # handle outbound connection and stream events may be specified. These filters
52308
52321
  # work in conjunction with a default set of HTTP filters that may already be
52309
52322
  # configured by Traffic Director. Traffic Director will determine the final
@@ -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.98.0"
19
+ GEM_VERSION = "0.99.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 = "20240407"
25
+ REVISION = "20240421"
26
26
  end
27
27
  end
28
28
  end
@@ -12909,6 +12909,7 @@ module Google
12909
12909
  class Interconnect
12910
12910
  # @private
12911
12911
  class Representation < Google::Apis::Core::JsonRepresentation
12912
+ property :aai_enabled, as: 'aaiEnabled'
12912
12913
  property :admin_enabled, as: 'adminEnabled'
12913
12914
  property :application_aware_interconnect, as: 'applicationAwareInterconnect', class: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect, decorator: Google::Apis::ComputeAlpha::InterconnectApplicationAwareInterconnect::Representation
12914
12915
 
@@ -41699,6 +41699,112 @@ module Google
41699
41699
  execute_or_queue_command(command, &block)
41700
41700
  end
41701
41701
 
41702
+ # Patches Named Set
41703
+ # @param [String] project
41704
+ # Project ID for this request.
41705
+ # @param [String] region
41706
+ # Name of the region for this request.
41707
+ # @param [String] router
41708
+ # Name of the Router resource where Named Set is defined.
41709
+ # @param [Google::Apis::ComputeAlpha::NamedSet] named_set_object
41710
+ # @param [String] request_id
41711
+ # An optional request ID to identify requests. Specify a unique request ID so
41712
+ # that if you must retry your request, the server will know to ignore the
41713
+ # request if it has already been completed. For example, consider a situation
41714
+ # where you make an initial request and the request times out. If you make the
41715
+ # request again with the same request ID, the server can check if original
41716
+ # operation with the same request ID was received, and if so, will ignore the
41717
+ # second request. This prevents clients from accidentally creating duplicate
41718
+ # commitments. The request ID must be a valid UUID with the exception that zero
41719
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41720
+ # @param [String] fields
41721
+ # Selector specifying which fields to include in a partial response.
41722
+ # @param [String] quota_user
41723
+ # Available to use for quota purposes for server-side applications. Can be any
41724
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41725
+ # @param [String] user_ip
41726
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41727
+ # @param [Google::Apis::RequestOptions] options
41728
+ # Request-specific options
41729
+ #
41730
+ # @yield [result, err] Result & error if block supplied
41731
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41732
+ # @yieldparam err [StandardError] error object if request failed
41733
+ #
41734
+ # @return [Google::Apis::ComputeAlpha::Operation]
41735
+ #
41736
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41737
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41738
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41739
+ def patch_router_named_set(project, region, router, named_set_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41740
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchNamedSet', options)
41741
+ command.request_representation = Google::Apis::ComputeAlpha::NamedSet::Representation
41742
+ command.request_object = named_set_object
41743
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41744
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41745
+ command.params['project'] = project unless project.nil?
41746
+ command.params['region'] = region unless region.nil?
41747
+ command.params['router'] = router unless router.nil?
41748
+ command.query['requestId'] = request_id unless request_id.nil?
41749
+ command.query['fields'] = fields unless fields.nil?
41750
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41751
+ command.query['userIp'] = user_ip unless user_ip.nil?
41752
+ execute_or_queue_command(command, &block)
41753
+ end
41754
+
41755
+ # Patches Route Policy
41756
+ # @param [String] project
41757
+ # Project ID for this request.
41758
+ # @param [String] region
41759
+ # Name of the region for this request.
41760
+ # @param [String] router
41761
+ # Name of the Router resource where Route Policy is defined.
41762
+ # @param [Google::Apis::ComputeAlpha::RoutePolicy] route_policy_object
41763
+ # @param [String] request_id
41764
+ # An optional request ID to identify requests. Specify a unique request ID so
41765
+ # that if you must retry your request, the server will know to ignore the
41766
+ # request if it has already been completed. For example, consider a situation
41767
+ # where you make an initial request and the request times out. If you make the
41768
+ # request again with the same request ID, the server can check if original
41769
+ # operation with the same request ID was received, and if so, will ignore the
41770
+ # second request. This prevents clients from accidentally creating duplicate
41771
+ # commitments. The request ID must be a valid UUID with the exception that zero
41772
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
41773
+ # @param [String] fields
41774
+ # Selector specifying which fields to include in a partial response.
41775
+ # @param [String] quota_user
41776
+ # Available to use for quota purposes for server-side applications. Can be any
41777
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
41778
+ # @param [String] user_ip
41779
+ # Legacy name for parameter that has been superseded by `quotaUser`.
41780
+ # @param [Google::Apis::RequestOptions] options
41781
+ # Request-specific options
41782
+ #
41783
+ # @yield [result, err] Result & error if block supplied
41784
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
41785
+ # @yieldparam err [StandardError] error object if request failed
41786
+ #
41787
+ # @return [Google::Apis::ComputeAlpha::Operation]
41788
+ #
41789
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
41790
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
41791
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
41792
+ def patch_router_route_policy(project, region, router, route_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
41793
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/patchRoutePolicy', options)
41794
+ command.request_representation = Google::Apis::ComputeAlpha::RoutePolicy::Representation
41795
+ command.request_object = route_policy_object
41796
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
41797
+ command.response_class = Google::Apis::ComputeAlpha::Operation
41798
+ command.params['project'] = project unless project.nil?
41799
+ command.params['region'] = region unless region.nil?
41800
+ command.params['router'] = router unless router.nil?
41801
+ command.query['requestId'] = request_id unless request_id.nil?
41802
+ command.query['fields'] = fields unless fields.nil?
41803
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
41804
+ command.query['userIp'] = user_ip unless user_ip.nil?
41805
+ execute_or_queue_command(command, &block)
41806
+ end
41807
+
41702
41808
  # Preview fields auto-generated during router create and update operations.
41703
41809
  # Calling this method does NOT create or update the router.
41704
41810
  # @param [String] project
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.98.0
4
+ version: 0.99.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-04-21 00:00:00.000000000 Z
11
+ date: 2024-04-28 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.98.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.99.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: []