google-apis-compute_alpha 0.28.0 → 0.29.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: 12a0d7d352784bf3d35456512fb138ced5ad6b1217f9e0b6f9bd2be9e4aa1150
4
- data.tar.gz: bcf24ee4bfb3e061f8941bd78949fe6599a002da2992c5824b46b484f3a420b4
3
+ metadata.gz: cdecb8230cd13fa0d0330072ac00861c0c0aacd94a603517c9356baa41807716
4
+ data.tar.gz: 9e24db4b2c27b4f85633e2169e9baa44cf7a80bba3d1fd43116810eaac7cbfd3
5
5
  SHA512:
6
- metadata.gz: 1310a932328f78af34a401d3053c9fedeaeb7caad270824febc24bd8c5ef417830765d31d37407653dab254ac7726514fcacc53aaa9fb9f0af9271ee6c1f62e6
7
- data.tar.gz: fcb28cffdf939d5844be21f01ec9ac34de91e644ab3352d6958cc4390269175c7a77e57334c00f2d9cd5ab6cbbf06d9a39676176a5795a7594db42a31e200dfd
6
+ metadata.gz: f5badd56b10eabfdf77cad040255706ecb626c31340888521e5d58e1d569f8678f46dde59c1e813af21aa418ec4cdf7f3fdd7f5be64a2e53474cd274e05a4eae
7
+ data.tar.gz: b6ad0bf5726aa7fcb98f21a509df0dcd356aeebcaca64db7a2893b71a43254957a3f7b77d61ee02ccb01d6eb60eb9b06cdd1ba1e617bde29c90fed066fcd50c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.29.0 (2022-03-18)
4
+
5
+ * Regenerated from discovery document revision 20220312
6
+
3
7
  ### v0.28.0 (2022-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20220301
@@ -3614,12 +3614,13 @@ module Google
3614
3614
  attr_accessor :subsetting
3615
3615
 
3616
3616
  # The backend service timeout has a different meaning depending on the type of
3617
- # load balancer. For more information see, Backend service settings The default
3618
- # is 30 seconds. The full range of timeout values allowed is 1 - 2,147,483,647
3619
- # seconds. This value can be overridden in the PathMatcher configuration of the
3620
- # UrlMap that references this backend service. Not supported when the backend
3621
- # service is referenced by a URL map that is bound to target gRPC proxy that has
3622
- # validateForProxyless field set to true. Instead, use maxStreamDuration.
3617
+ # load balancer. For more information see, Backend service settings. The default
3618
+ # is 30 seconds. The full range of timeout values allowed goes from 1 through 2,
3619
+ # 147,483,647 seconds. This value can be overridden in the PathMatcher
3620
+ # configuration of the UrlMap that references this backend service. Not
3621
+ # supported when the backend service is referenced by a URL map that is bound to
3622
+ # target gRPC proxy that has validateForProxyless field set to true. Instead,
3623
+ # use maxStreamDuration.
3623
3624
  # Corresponds to the JSON property `timeoutSec`
3624
3625
  # @return [Fixnum]
3625
3626
  attr_accessor :timeout_sec
@@ -9480,6 +9481,14 @@ module Google
9480
9481
  # @return [String]
9481
9482
  attr_accessor :network_tier
9482
9483
 
9484
+ # This is used in PSC consumer ForwardingRule to control whether it should try
9485
+ # to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this
9486
+ # field.
9487
+ # Corresponds to the JSON property `noAutomateDnsZone`
9488
+ # @return [Boolean]
9489
+ attr_accessor :no_automate_dns_zone
9490
+ alias_method :no_automate_dns_zone?, :no_automate_dns_zone
9491
+
9483
9492
  # This field can be used only if: - Load balancing scheme is one of EXTERNAL,
9484
9493
  # INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or
9485
9494
  # SCTP. Packets addressed to ports in the specified range will be forwarded to
@@ -9607,6 +9616,7 @@ module Google
9607
9616
  @name = args[:name] if args.key?(:name)
9608
9617
  @network = args[:network] if args.key?(:network)
9609
9618
  @network_tier = args[:network_tier] if args.key?(:network_tier)
9619
+ @no_automate_dns_zone = args[:no_automate_dns_zone] if args.key?(:no_automate_dns_zone)
9610
9620
  @port_range = args[:port_range] if args.key?(:port_range)
9611
9621
  @ports = args[:ports] if args.key?(:ports)
9612
9622
  @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
@@ -24671,7 +24681,8 @@ module Google
24671
24681
  attr_accessor :kind
24672
24682
 
24673
24683
  # [Output Only] The name of the network interface, which is generated by the
24674
- # server. For network devices, these are eth0, eth1, etc.
24684
+ # server. For a VM, the network interface uses the nicN naming format. Where N
24685
+ # is a value between 0 and 7. The default interface value is nic0.
24675
24686
  # Corresponds to the JSON property `name`
24676
24687
  # @return [String]
24677
24688
  attr_accessor :name
@@ -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.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220301"
25
+ REVISION = "20220312"
26
26
  end
27
27
  end
28
28
  end
@@ -8513,6 +8513,7 @@ module Google
8513
8513
  property :name, as: 'name'
8514
8514
  property :network, as: 'network'
8515
8515
  property :network_tier, as: 'networkTier'
8516
+ property :no_automate_dns_zone, as: 'noAutomateDnsZone'
8516
8517
  property :port_range, as: 'portRange'
8517
8518
  collection :ports, as: 'ports'
8518
8519
  property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
@@ -23247,6 +23247,53 @@ module Google
23247
23247
  execute_or_queue_command(command, &block)
23248
23248
  end
23249
23249
 
23250
+ # Announces the specified PublicAdvertisedPrefix
23251
+ # @param [String] project
23252
+ # Project ID for this request.
23253
+ # @param [String] public_advertised_prefix
23254
+ # The name of the public advertised prefix. It should comply with RFC1035.
23255
+ # @param [String] request_id
23256
+ # An optional request ID to identify requests. Specify a unique request ID so
23257
+ # that if you must retry your request, the server will know to ignore the
23258
+ # request if it has already been completed. For example, consider a situation
23259
+ # where you make an initial request and the request times out. If you make the
23260
+ # request again with the same request ID, the server can check if original
23261
+ # operation with the same request ID was received, and if so, will ignore the
23262
+ # second request. This prevents clients from accidentally creating duplicate
23263
+ # commitments. The request ID must be a valid UUID with the exception that zero
23264
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23265
+ # @param [String] fields
23266
+ # Selector specifying which fields to include in a partial response.
23267
+ # @param [String] quota_user
23268
+ # Available to use for quota purposes for server-side applications. Can be any
23269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23270
+ # @param [String] user_ip
23271
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23272
+ # @param [Google::Apis::RequestOptions] options
23273
+ # Request-specific options
23274
+ #
23275
+ # @yield [result, err] Result & error if block supplied
23276
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23277
+ # @yieldparam err [StandardError] error object if request failed
23278
+ #
23279
+ # @return [Google::Apis::ComputeAlpha::Operation]
23280
+ #
23281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23284
+ def announce_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23285
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/announce', options)
23286
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23287
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23288
+ command.params['project'] = project unless project.nil?
23289
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
23290
+ command.query['requestId'] = request_id unless request_id.nil?
23291
+ command.query['fields'] = fields unless fields.nil?
23292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23293
+ command.query['userIp'] = user_ip unless user_ip.nil?
23294
+ execute_or_queue_command(command, &block)
23295
+ end
23296
+
23250
23297
  # Deletes the specified PublicAdvertisedPrefix
23251
23298
  # @param [String] project
23252
23299
  # Project ID for this request.
@@ -23507,6 +23554,53 @@ module Google
23507
23554
  execute_or_queue_command(command, &block)
23508
23555
  end
23509
23556
 
23557
+ # Withdraws the specified PublicAdvertisedPrefix
23558
+ # @param [String] project
23559
+ # Project ID for this request.
23560
+ # @param [String] public_advertised_prefix
23561
+ # The name of the public advertised prefix. It should comply with RFC1035.
23562
+ # @param [String] request_id
23563
+ # An optional request ID to identify requests. Specify a unique request ID so
23564
+ # that if you must retry your request, the server will know to ignore the
23565
+ # request if it has already been completed. For example, consider a situation
23566
+ # where you make an initial request and the request times out. If you make the
23567
+ # request again with the same request ID, the server can check if original
23568
+ # operation with the same request ID was received, and if so, will ignore the
23569
+ # second request. This prevents clients from accidentally creating duplicate
23570
+ # commitments. The request ID must be a valid UUID with the exception that zero
23571
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23572
+ # @param [String] fields
23573
+ # Selector specifying which fields to include in a partial response.
23574
+ # @param [String] quota_user
23575
+ # Available to use for quota purposes for server-side applications. Can be any
23576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23577
+ # @param [String] user_ip
23578
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23579
+ # @param [Google::Apis::RequestOptions] options
23580
+ # Request-specific options
23581
+ #
23582
+ # @yield [result, err] Result & error if block supplied
23583
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23584
+ # @yieldparam err [StandardError] error object if request failed
23585
+ #
23586
+ # @return [Google::Apis::ComputeAlpha::Operation]
23587
+ #
23588
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23589
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23590
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23591
+ def withdraw_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23592
+ command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}/withdraw', options)
23593
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23594
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23595
+ command.params['project'] = project unless project.nil?
23596
+ command.params['publicAdvertisedPrefix'] = public_advertised_prefix unless public_advertised_prefix.nil?
23597
+ command.query['requestId'] = request_id unless request_id.nil?
23598
+ command.query['fields'] = fields unless fields.nil?
23599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23600
+ command.query['userIp'] = user_ip unless user_ip.nil?
23601
+ execute_or_queue_command(command, &block)
23602
+ end
23603
+
23510
23604
  # Lists all PublicDelegatedPrefix resources owned by the specific project across
23511
23605
  # all scopes.
23512
23606
  # @param [String] project
@@ -23593,6 +23687,57 @@ module Google
23593
23687
  execute_or_queue_command(command, &block)
23594
23688
  end
23595
23689
 
23690
+ # Announces the specified PublicDelegatedPrefix in the given region.
23691
+ # @param [String] project
23692
+ # Project ID for this request.
23693
+ # @param [String] region
23694
+ # The name of the region where the public delegated prefix is located. It should
23695
+ # comply with RFC1035.
23696
+ # @param [String] public_delegated_prefix
23697
+ # The name of the public delegated prefix. It should comply with RFC1035.
23698
+ # @param [String] request_id
23699
+ # An optional request ID to identify requests. Specify a unique request ID so
23700
+ # that if you must retry your request, the server will know to ignore the
23701
+ # request if it has already been completed. For example, consider a situation
23702
+ # where you make an initial request and the request times out. If you make the
23703
+ # request again with the same request ID, the server can check if original
23704
+ # operation with the same request ID was received, and if so, will ignore the
23705
+ # second request. This prevents clients from accidentally creating duplicate
23706
+ # commitments. The request ID must be a valid UUID with the exception that zero
23707
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
23708
+ # @param [String] fields
23709
+ # Selector specifying which fields to include in a partial response.
23710
+ # @param [String] quota_user
23711
+ # Available to use for quota purposes for server-side applications. Can be any
23712
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
23713
+ # @param [String] user_ip
23714
+ # Legacy name for parameter that has been superseded by `quotaUser`.
23715
+ # @param [Google::Apis::RequestOptions] options
23716
+ # Request-specific options
23717
+ #
23718
+ # @yield [result, err] Result & error if block supplied
23719
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
23720
+ # @yieldparam err [StandardError] error object if request failed
23721
+ #
23722
+ # @return [Google::Apis::ComputeAlpha::Operation]
23723
+ #
23724
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23725
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23726
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
23727
+ def announce_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
23728
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/announce', options)
23729
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
23730
+ command.response_class = Google::Apis::ComputeAlpha::Operation
23731
+ command.params['project'] = project unless project.nil?
23732
+ command.params['region'] = region unless region.nil?
23733
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
23734
+ command.query['requestId'] = request_id unless request_id.nil?
23735
+ command.query['fields'] = fields unless fields.nil?
23736
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
23737
+ command.query['userIp'] = user_ip unless user_ip.nil?
23738
+ execute_or_queue_command(command, &block)
23739
+ end
23740
+
23596
23741
  # Deletes the specified PublicDelegatedPrefix in the given region.
23597
23742
  # @param [String] project
23598
23743
  # Project ID for this request.
@@ -23868,6 +24013,57 @@ module Google
23868
24013
  execute_or_queue_command(command, &block)
23869
24014
  end
23870
24015
 
24016
+ # Withdraws the specified PublicDelegatedPrefix in the given region.
24017
+ # @param [String] project
24018
+ # Project ID for this request.
24019
+ # @param [String] region
24020
+ # The name of the region where the public delegated prefix is located. It should
24021
+ # comply with RFC1035.
24022
+ # @param [String] public_delegated_prefix
24023
+ # The name of the public delegated prefix. It should comply with RFC1035.
24024
+ # @param [String] request_id
24025
+ # An optional request ID to identify requests. Specify a unique request ID so
24026
+ # that if you must retry your request, the server will know to ignore the
24027
+ # request if it has already been completed. For example, consider a situation
24028
+ # where you make an initial request and the request times out. If you make the
24029
+ # request again with the same request ID, the server can check if original
24030
+ # operation with the same request ID was received, and if so, will ignore the
24031
+ # second request. This prevents clients from accidentally creating duplicate
24032
+ # commitments. The request ID must be a valid UUID with the exception that zero
24033
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
24034
+ # @param [String] fields
24035
+ # Selector specifying which fields to include in a partial response.
24036
+ # @param [String] quota_user
24037
+ # Available to use for quota purposes for server-side applications. Can be any
24038
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
24039
+ # @param [String] user_ip
24040
+ # Legacy name for parameter that has been superseded by `quotaUser`.
24041
+ # @param [Google::Apis::RequestOptions] options
24042
+ # Request-specific options
24043
+ #
24044
+ # @yield [result, err] Result & error if block supplied
24045
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
24046
+ # @yieldparam err [StandardError] error object if request failed
24047
+ #
24048
+ # @return [Google::Apis::ComputeAlpha::Operation]
24049
+ #
24050
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24051
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24052
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
24053
+ def withdraw_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
24054
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}/withdraw', options)
24055
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
24056
+ command.response_class = Google::Apis::ComputeAlpha::Operation
24057
+ command.params['project'] = project unless project.nil?
24058
+ command.params['region'] = region unless region.nil?
24059
+ command.params['publicDelegatedPrefix'] = public_delegated_prefix unless public_delegated_prefix.nil?
24060
+ command.query['requestId'] = request_id unless request_id.nil?
24061
+ command.query['fields'] = fields unless fields.nil?
24062
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
24063
+ command.query['userIp'] = user_ip unless user_ip.nil?
24064
+ execute_or_queue_command(command, &block)
24065
+ end
24066
+
23871
24067
  # Deletes the specified autoscaler.
23872
24068
  # @param [String] project
23873
24069
  # 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.28.0
4
+ version: 0.29.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: 2022-03-14 00:00:00.000000000 Z
11
+ date: 2022-03-21 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.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.29.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: []