google-apis-compute_alpha 0.82.0 → 0.83.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: 10c25b5951b7badfb97e8ca39b47e39b38a4dd5fa58c1f87785980976c356913
4
- data.tar.gz: a3bc711711cc7c04765a1a48948a35065fb2f6f93650382a7bfb151117fe3d88
3
+ metadata.gz: bcf08296e448e78db5ea161bb62a7b167cd7574baa83ea35e60c6b36bc33e489
4
+ data.tar.gz: 6f6540b6f873450352bf75b5bedae9861d626533d3784ff87025d7e3cda6111f
5
5
  SHA512:
6
- metadata.gz: 6879967f6886a2043d903b0d617fe7f9a1fa4b6bb494d1b026c7a87900e64a22926be3359a5abb82218edcc53d945fadccbf7f3a564e45deae9f8c36b9a4e58f
7
- data.tar.gz: 8c6034ec9f55f1126208a02a2fc83672ea785476889054211a4ed265fb8ff85de8950e9065937c0beb0168d9e3894558130dfc7b87e623ff99623fd228b51b04
6
+ metadata.gz: 25aefb2e29dedff7746ef4054931778fcd794547d609c301e98ea36735d92cef41335b45be7566eb3cf2377178c5358298d5471bc448db76da2055afe22ec17a
7
+ data.tar.gz: f55d73ed984753ee916abe06becb7c77d1b6a7938ad63386c9b981415f6193b4620e4a0ceb4b7c402d38e59fb94859715be2e7851693ad50a570c63509ba0012
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.83.0 (2023-10-29)
4
+
5
+ * Regenerated from discovery document revision 20231017
6
+
3
7
  ### v0.82.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231011
@@ -3707,23 +3707,23 @@ module Google
3707
3707
  # @return [Fixnum]
3708
3708
  attr_accessor :id
3709
3709
 
3710
- # Specifies preference of traffic to the backend (from the proxy and from the
3711
- # client for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send
3712
- # IPv4 traffic to the backends of the Backend Service (Instance Group, Managed
3713
- # Instance Group, Network Endpoint Group) regardless of traffic from the client
3714
- # to the proxy. Only IPv4 health-checks are used to check the health of the
3715
- # backends. This is the default setting. - PREFER_IPV6: Prioritize the
3716
- # connection to the endpoints IPv6 address over its IPv4 address (provided there
3717
- # is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the
3718
- # backends of the Backend Service (Instance Group, Managed Instance Group,
3719
- # Network Endpoint Group) regardless of traffic from the client to the proxy.
3720
- # Only IPv6 health-checks are used to check the health of the backends. This
3721
- # field is applicable to either: - Advanced Global External HTTPS Load Balancing
3722
- # (load balancing scheme EXTERNAL_MANAGED), - Regional External HTTPS Load
3723
- # Balancing, - Internal TCP Proxy (load balancing scheme INTERNAL_MANAGED), -
3724
- # Regional Internal HTTPS Load Balancing (load balancing scheme INTERNAL_MANAGED)
3725
- # , - Traffic Director with Envoy proxies and proxyless gRPC (load balancing
3726
- # scheme INTERNAL_SELF_MANAGED).
3710
+ # Specifies a preference for traffic sent from the proxy to the backend (or from
3711
+ # the client to the backend for proxyless gRPC). The possible values are: -
3712
+ # IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (
3713
+ # Instance Group, Managed Instance Group, Network Endpoint Group), regardless of
3714
+ # traffic from the client to the proxy. Only IPv4 health checks are used to
3715
+ # check the health of the backends. This is the default setting. - PREFER_IPV6:
3716
+ # Prioritize the connection to the endpoint's IPv6 address over its IPv4 address
3717
+ # (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6
3718
+ # traffic to the backends of the backend service (Instance Group, Managed
3719
+ # Instance Group, Network Endpoint Group), regardless of traffic from the client
3720
+ # to the proxy. Only IPv6 health checks are used to check the health of the
3721
+ # backends. This field is applicable to either: - Advanced Global External HTTPS
3722
+ # Load Balancing (load balancing scheme EXTERNAL_MANAGED), - Regional External
3723
+ # HTTPS Load Balancing, - Internal TCP Proxy (load balancing scheme
3724
+ # INTERNAL_MANAGED), - Regional Internal HTTPS Load Balancing (load balancing
3725
+ # scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless
3726
+ # gRPC (load balancing scheme INTERNAL_SELF_MANAGED).
3727
3727
  # Corresponds to the JSON property `ipAddressSelectionPolicy`
3728
3728
  # @return [String]
3729
3729
  attr_accessor :ip_address_selection_policy
@@ -6026,6 +6026,15 @@ module Google
6026
6026
  # @return [String]
6027
6027
  attr_accessor :end_timestamp
6028
6028
 
6029
+ # Specifies the already existing reservations to attach to the Commitment. This
6030
+ # field is optional, and it can be a full or partial URL. For example, the
6031
+ # following are valid URLs to an reservation: - https://www.googleapis.com/
6032
+ # compute/v1/projects/project/zones/zone /reservations/reservation - projects/
6033
+ # project/zones/zone/reservations/reservation
6034
+ # Corresponds to the JSON property `existingReservations`
6035
+ # @return [Array<String>]
6036
+ attr_accessor :existing_reservations
6037
+
6029
6038
  # [Output Only] The unique identifier for the resource. This identifier is
6030
6039
  # defined by the server.
6031
6040
  # Corresponds to the JSON property `id`
@@ -6136,6 +6145,7 @@ module Google
6136
6145
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
6137
6146
  @description = args[:description] if args.key?(:description)
6138
6147
  @end_timestamp = args[:end_timestamp] if args.key?(:end_timestamp)
6148
+ @existing_reservations = args[:existing_reservations] if args.key?(:existing_reservations)
6139
6149
  @id = args[:id] if args.key?(:id)
6140
6150
  @kind = args[:kind] if args.key?(:kind)
6141
6151
  @license_resource = args[:license_resource] if args.key?(:license_resource)
@@ -27374,13 +27384,6 @@ module Google
27374
27384
  # @return [Fixnum]
27375
27385
  attr_accessor :port
27376
27386
 
27377
- # The name of the zone where the instance hosting the network endpoint is
27378
- # located (valid only for regional GCE_VM_IP_PORT NEGs). It should comply with
27379
- # RFC1035. The zone must belong to the region of the Network Endpoint Group.
27380
- # Corresponds to the JSON property `zone`
27381
- # @return [String]
27382
- attr_accessor :zone
27383
-
27384
27387
  def initialize(**args)
27385
27388
  update!(**args)
27386
27389
  end
@@ -27394,7 +27397,6 @@ module Google
27394
27397
  @ip_address = args[:ip_address] if args.key?(:ip_address)
27395
27398
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
27396
27399
  @port = args[:port] if args.key?(:port)
27397
- @zone = args[:zone] if args.key?(:zone)
27398
27400
  end
27399
27401
  end
27400
27402
 
@@ -38996,6 +38998,12 @@ module Google
38996
38998
  class ResourceStatus
38997
38999
  include Google::Apis::Core::Hashable
38998
39000
 
39001
+ # [Output Only] Contains last termination details why the instance was
39002
+ # terminated.
39003
+ # Corresponds to the JSON property `lastInstanceTerminationDetails`
39004
+ # @return [Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails]
39005
+ attr_accessor :last_instance_termination_details
39006
+
38999
39007
  # [Output Only] An opaque ID of the host on which the VM is running.
39000
39008
  # Corresponds to the JSON property `physicalHost`
39001
39009
  # @return [String]
@@ -39018,12 +39026,32 @@ module Google
39018
39026
 
39019
39027
  # Update properties of this object
39020
39028
  def update!(**args)
39029
+ @last_instance_termination_details = args[:last_instance_termination_details] if args.key?(:last_instance_termination_details)
39021
39030
  @physical_host = args[:physical_host] if args.key?(:physical_host)
39022
39031
  @scheduling = args[:scheduling] if args.key?(:scheduling)
39023
39032
  @service_integration_statuses = args[:service_integration_statuses] if args.key?(:service_integration_statuses)
39024
39033
  end
39025
39034
  end
39026
39035
 
39036
+ #
39037
+ class ResourceStatusLastInstanceTerminationDetails
39038
+ include Google::Apis::Core::Hashable
39039
+
39040
+ # Reason for termination
39041
+ # Corresponds to the JSON property `terminationReason`
39042
+ # @return [String]
39043
+ attr_accessor :termination_reason
39044
+
39045
+ def initialize(**args)
39046
+ update!(**args)
39047
+ end
39048
+
39049
+ # Update properties of this object
39050
+ def update!(**args)
39051
+ @termination_reason = args[:termination_reason] if args.key?(:termination_reason)
39052
+ end
39053
+ end
39054
+
39027
39055
  #
39028
39056
  class ResourceStatusScheduling
39029
39057
  include Google::Apis::Core::Hashable
@@ -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.82.0"
19
+ GEM_VERSION = "0.83.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 = "20231011"
25
+ REVISION = "20231017"
26
26
  end
27
27
  end
28
28
  end
@@ -5134,6 +5134,12 @@ module Google
5134
5134
  include Google::Apis::Core::JsonObjectSupport
5135
5135
  end
5136
5136
 
5137
+ class ResourceStatusLastInstanceTerminationDetails
5138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5139
+
5140
+ include Google::Apis::Core::JsonObjectSupport
5141
+ end
5142
+
5137
5143
  class ResourceStatusScheduling
5138
5144
  class Representation < Google::Apis::Core::JsonRepresentation; end
5139
5145
 
@@ -8788,6 +8794,7 @@ module Google
8788
8794
  property :creation_timestamp, as: 'creationTimestamp'
8789
8795
  property :description, as: 'description'
8790
8796
  property :end_timestamp, as: 'endTimestamp'
8797
+ collection :existing_reservations, as: 'existingReservations'
8791
8798
  property :id, :numeric_string => true, as: 'id'
8792
8799
  property :kind, as: 'kind'
8793
8800
  property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeAlpha::LicenseResourceCommitment, decorator: Google::Apis::ComputeAlpha::LicenseResourceCommitment::Representation
@@ -13999,7 +14006,6 @@ module Google
13999
14006
  property :ip_address, as: 'ipAddress'
14000
14007
  property :ipv6_address, as: 'ipv6Address'
14001
14008
  property :port, as: 'port'
14002
- property :zone, as: 'zone'
14003
14009
  end
14004
14010
  end
14005
14011
 
@@ -17055,6 +17061,8 @@ module Google
17055
17061
  class ResourceStatus
17056
17062
  # @private
17057
17063
  class Representation < Google::Apis::Core::JsonRepresentation
17064
+ property :last_instance_termination_details, as: 'lastInstanceTerminationDetails', class: Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails, decorator: Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails::Representation
17065
+
17058
17066
  property :physical_host, as: 'physicalHost'
17059
17067
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::ResourceStatusScheduling, decorator: Google::Apis::ComputeAlpha::ResourceStatusScheduling::Representation
17060
17068
 
@@ -17063,6 +17071,13 @@ module Google
17063
17071
  end
17064
17072
  end
17065
17073
 
17074
+ class ResourceStatusLastInstanceTerminationDetails
17075
+ # @private
17076
+ class Representation < Google::Apis::Core::JsonRepresentation
17077
+ property :termination_reason, as: 'terminationReason'
17078
+ end
17079
+ end
17080
+
17066
17081
  class ResourceStatusScheduling
17067
17082
  # @private
17068
17083
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13956,6 +13956,65 @@ module Google
13956
13956
  execute_or_queue_command(command, &block)
13957
13957
  end
13958
13958
 
13959
+ # Deletes one network interface from an active instance.
13960
+ # InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to
13961
+ # delete, using project+zone+resource_id fields; - network interface to be
13962
+ # deleted, using network_interface_name field; Only VLAN interface deletion is
13963
+ # supported for now.
13964
+ # @param [String] project
13965
+ # Project ID for this request.
13966
+ # @param [String] zone
13967
+ # The name of the zone for this request.
13968
+ # @param [String] instance
13969
+ # The instance name for this request stored as resource_id. Name should conform
13970
+ # to RFC1035 or be an unsigned long integer.
13971
+ # @param [String] network_interface_name
13972
+ # The name of the network interface to be deleted from the instance. Only VLAN
13973
+ # network interface deletion is supported.
13974
+ # @param [String] request_id
13975
+ # An optional request ID to identify requests. Specify a unique request ID so
13976
+ # that if you must retry your request, the server will know to ignore the
13977
+ # request if it has already been completed. For example, consider a situation
13978
+ # where you make an initial request and the request times out. If you make the
13979
+ # request again with the same request ID, the server can check if original
13980
+ # operation with the same request ID was received, and if so, will ignore the
13981
+ # second request. This prevents clients from accidentally creating duplicate
13982
+ # commitments. The request ID must be a valid UUID with the exception that zero
13983
+ # UUID is not supported ( 00000000-0000-0000-0000-000000000000).
13984
+ # @param [String] fields
13985
+ # Selector specifying which fields to include in a partial response.
13986
+ # @param [String] quota_user
13987
+ # Available to use for quota purposes for server-side applications. Can be any
13988
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
13989
+ # @param [String] user_ip
13990
+ # Legacy name for parameter that has been superseded by `quotaUser`.
13991
+ # @param [Google::Apis::RequestOptions] options
13992
+ # Request-specific options
13993
+ #
13994
+ # @yield [result, err] Result & error if block supplied
13995
+ # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
13996
+ # @yieldparam err [StandardError] error object if request failed
13997
+ #
13998
+ # @return [Google::Apis::ComputeAlpha::Operation]
13999
+ #
14000
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14001
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14002
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
14003
+ def delete_instance_network_interface(project, zone, instance, network_interface_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
14004
+ command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface', options)
14005
+ command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
14006
+ command.response_class = Google::Apis::ComputeAlpha::Operation
14007
+ command.params['project'] = project unless project.nil?
14008
+ command.params['zone'] = zone unless zone.nil?
14009
+ command.params['instance'] = instance unless instance.nil?
14010
+ command.query['networkInterfaceName'] = network_interface_name unless network_interface_name.nil?
14011
+ command.query['requestId'] = request_id unless request_id.nil?
14012
+ command.query['fields'] = fields unless fields.nil?
14013
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
14014
+ command.query['userIp'] = user_ip unless user_ip.nil?
14015
+ execute_or_queue_command(command, &block)
14016
+ end
14017
+
13959
14018
  # Detaches a disk from an instance.
13960
14019
  # @param [String] project
13961
14020
  # 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.82.0
4
+ version: 0.83.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-10-22 00:00:00.000000000 Z
11
+ date: 2023-10-29 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.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.83.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: []