google-apis-compute_beta 0.55.0 → 0.56.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: c3bc0785d410104a6d025b58c7376eaa619c40baca9d57af15b99718037f1243
4
- data.tar.gz: 994e4f0b6fcf8f80f17c53e3d67adae62fb9b328d4baf5dd009d9cabeea3320f
3
+ metadata.gz: 85a62ca1575b82d9a9108181999e5102ba4405a1b8cbf7e85048e9996fb1db9f
4
+ data.tar.gz: f8e83130e3860e3a345412cb09d8f66dadbb414ef6b37b3b8beb3c601746e689
5
5
  SHA512:
6
- metadata.gz: 9c9d8c85d94ef2433b0da664b421d9cd5fffb7fe03fdca9ea433544f1043e3ff5713cfdeda0e86b72f368a12078e5305379a490525ac0c89a4050dec286e26b8
7
- data.tar.gz: 11a3b9d41dc4df359e797ba5fda6bbfb18f59ade29b2f4b2cc83b448ff9ef1447bc16c07583701319212f17d27d7a4820a300ca9ec428fd499ecb37c31874e66
6
+ metadata.gz: 384f5d877c908d5c3f05cb2f51b263bbf26dc818283cdcaf708c0c61574f9173f85245d8d7f613d2a35c0354de99b1d056bf36a227f7c3a261ec7a0ff6d9efac
7
+ data.tar.gz: 391c7e2bd81f646bc95038daa09b91cf99fbb7af45e6e56d86c2ff3bb695f3c1d831b11c25a61f042e861c64fb478168271cda5bee4792b0b3cc1f2927bb0534
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_beta
2
2
 
3
+ ### v0.56.0 (2023-01-04)
4
+
5
+ * Regenerated from discovery document revision 20221206
6
+
3
7
  ### v0.55.0 (2022-12-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20221205
@@ -9253,12 +9253,13 @@ module Google
9253
9253
  # forwarding rules, this target must be in the same region as the forwarding
9254
9254
  # rule. For global forwarding rules, this target must be a global load balancing
9255
9255
  # resource. The forwarded traffic must be of a type appropriate to the target
9256
- # object. For more information, see the "Target" column in [Port specifications](
9256
+ # object. - For load balancers, see the "Target" column in [Port specifications](
9257
9257
  # https://cloud.google.com/load-balancing/docs/forwarding-rule-concepts#
9258
- # ip_address_specifications). For Private Service Connect forwarding rules that
9259
- # forward traffic to Google APIs, provide the name of a supported Google API
9260
- # bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis - All
9261
- # supported Google APIs.
9258
+ # ip_address_specifications). - For Private Service Connect forwarding rules
9259
+ # that forward traffic to Google APIs, provide the name of a supported Google
9260
+ # API bundle: - vpc-sc - APIs that support VPC Service Controls. - all-apis -
9261
+ # All supported Google APIs. - For Private Service Connect forwarding rules that
9262
+ # forward traffic to managed services, the target must be a service attachment.
9262
9263
  # Corresponds to the JSON property `target`
9263
9264
  # @return [String]
9264
9265
  attr_accessor :target
@@ -23961,6 +23962,25 @@ module Google
23961
23962
  end
23962
23963
  end
23963
23964
 
23965
+ #
23966
+ class NodeGroupsSimulateMaintenanceEventRequest
23967
+ include Google::Apis::Core::Hashable
23968
+
23969
+ # Names of the nodes to go under maintenance simulation.
23970
+ # Corresponds to the JSON property `nodes`
23971
+ # @return [Array<String>]
23972
+ attr_accessor :nodes
23973
+
23974
+ def initialize(**args)
23975
+ update!(**args)
23976
+ end
23977
+
23978
+ # Update properties of this object
23979
+ def update!(**args)
23980
+ @nodes = args[:nodes] if args.key?(:nodes)
23981
+ end
23982
+ end
23983
+
23964
23984
  # Represent a sole-tenant Node Template resource. You can use a template to
23965
23985
  # define properties for nodes in a node group. For more information, read
23966
23986
  # Creating node groups and instances.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComputeBeta
18
18
  # Version of the google-apis-compute_beta gem
19
- GEM_VERSION = "0.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221205"
25
+ REVISION = "20221206"
26
26
  end
27
27
  end
28
28
  end
@@ -2986,6 +2986,12 @@ module Google
2986
2986
  include Google::Apis::Core::JsonObjectSupport
2987
2987
  end
2988
2988
 
2989
+ class NodeGroupsSimulateMaintenanceEventRequest
2990
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2991
+
2992
+ include Google::Apis::Core::JsonObjectSupport
2993
+ end
2994
+
2989
2995
  class NodeTemplate
2990
2996
  class Representation < Google::Apis::Core::JsonRepresentation; end
2991
2997
 
@@ -11660,6 +11666,13 @@ module Google
11660
11666
  end
11661
11667
  end
11662
11668
 
11669
+ class NodeGroupsSimulateMaintenanceEventRequest
11670
+ # @private
11671
+ class Representation < Google::Apis::Core::JsonRepresentation
11672
+ collection :nodes, as: 'nodes'
11673
+ end
11674
+ end
11675
+
11663
11676
  class NodeTemplate
11664
11677
  # @private
11665
11678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19901,6 +19901,60 @@ module Google
19901
19901
  execute_or_queue_command(command, &block)
19902
19902
  end
19903
19903
 
19904
+ # Simulates maintenance event on specified nodes from the node group.
19905
+ # @param [String] project
19906
+ # Project ID for this request.
19907
+ # @param [String] zone
19908
+ # The name of the zone for this request.
19909
+ # @param [String] node_group
19910
+ # Name of the NodeGroup resource whose nodes will go under maintenance
19911
+ # simulation.
19912
+ # @param [Google::Apis::ComputeBeta::NodeGroupsSimulateMaintenanceEventRequest] node_groups_simulate_maintenance_event_request_object
19913
+ # @param [String] request_id
19914
+ # An optional request ID to identify requests. Specify a unique request ID so
19915
+ # that if you must retry your request, the server will know to ignore the
19916
+ # request if it has already been completed. For example, consider a situation
19917
+ # where you make an initial request and the request times out. If you make the
19918
+ # request again with the same request ID, the server can check if original
19919
+ # operation with the same request ID was received, and if so, will ignore the
19920
+ # second request. This prevents clients from accidentally creating duplicate
19921
+ # commitments. The request ID must be a valid UUID with the exception that zero
19922
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
19923
+ # @param [String] fields
19924
+ # Selector specifying which fields to include in a partial response.
19925
+ # @param [String] quota_user
19926
+ # Available to use for quota purposes for server-side applications. Can be any
19927
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
19928
+ # @param [String] user_ip
19929
+ # Legacy name for parameter that has been superseded by `quotaUser`.
19930
+ # @param [Google::Apis::RequestOptions] options
19931
+ # Request-specific options
19932
+ #
19933
+ # @yield [result, err] Result & error if block supplied
19934
+ # @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
19935
+ # @yieldparam err [StandardError] error object if request failed
19936
+ #
19937
+ # @return [Google::Apis::ComputeBeta::Operation]
19938
+ #
19939
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
19940
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
19941
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
19942
+ def simulate_node_group_maintenance_event(project, zone, node_group, node_groups_simulate_maintenance_event_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
19943
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/simulateMaintenanceEvent', options)
19944
+ command.request_representation = Google::Apis::ComputeBeta::NodeGroupsSimulateMaintenanceEventRequest::Representation
19945
+ command.request_object = node_groups_simulate_maintenance_event_request_object
19946
+ command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
19947
+ command.response_class = Google::Apis::ComputeBeta::Operation
19948
+ command.params['project'] = project unless project.nil?
19949
+ command.params['zone'] = zone unless zone.nil?
19950
+ command.params['nodeGroup'] = node_group unless node_group.nil?
19951
+ command.query['requestId'] = request_id unless request_id.nil?
19952
+ command.query['fields'] = fields unless fields.nil?
19953
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
19954
+ command.query['userIp'] = user_ip unless user_ip.nil?
19955
+ execute_or_queue_command(command, &block)
19956
+ end
19957
+
19904
19958
  # Returns permissions that a caller has on the specified resource.
19905
19959
  # @param [String] project
19906
19960
  # Project ID for this request.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.56.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-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-04 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_beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.55.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
63
63
  post_install_message:
64
64
  rdoc_options: []