google-apis-compute_alpha 0.82.0 → 0.84.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: ee5b01e167d5d459608c474504c34ed4d32e7fd5ca18dd0e5ebafccf8a30508f
4
+ data.tar.gz: 83c439fc744ef5c53c0e3338bce5f2acf389cd812f742c56919487d2cfc777f9
5
5
  SHA512:
6
- metadata.gz: 6879967f6886a2043d903b0d617fe7f9a1fa4b6bb494d1b026c7a87900e64a22926be3359a5abb82218edcc53d945fadccbf7f3a564e45deae9f8c36b9a4e58f
7
- data.tar.gz: 8c6034ec9f55f1126208a02a2fc83672ea785476889054211a4ed265fb8ff85de8950e9065937c0beb0168d9e3894558130dfc7b87e623ff99623fd228b51b04
6
+ metadata.gz: 251f4edb86e67f19e9f49e2957692be9eafbe7a907166501626c45681f68ab74c67acb6b683f42c9dc3403014bd816b408539d92ee1813c6e5b6f95cb6858b50
7
+ data.tar.gz: 2566bdd643141454bd73dd130067287d0c790d2f98c00c154fa4d6fc417fc05fd55e2532a092a73507d9df2f27048d342275f2e006c6a1417adc63a5973a7d98
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-compute_alpha
2
2
 
3
+ ### v0.84.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231024
6
+
7
+ ### v0.83.0 (2023-10-29)
8
+
9
+ * Regenerated from discovery document revision 20231017
10
+
3
11
  ### v0.82.0 (2023-10-22)
4
12
 
5
13
  * 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)
@@ -38996,6 +39006,12 @@ module Google
38996
39006
  class ResourceStatus
38997
39007
  include Google::Apis::Core::Hashable
38998
39008
 
39009
+ # [Output Only] Contains last termination details why the instance was
39010
+ # terminated.
39011
+ # Corresponds to the JSON property `lastInstanceTerminationDetails`
39012
+ # @return [Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails]
39013
+ attr_accessor :last_instance_termination_details
39014
+
38999
39015
  # [Output Only] An opaque ID of the host on which the VM is running.
39000
39016
  # Corresponds to the JSON property `physicalHost`
39001
39017
  # @return [String]
@@ -39018,12 +39034,32 @@ module Google
39018
39034
 
39019
39035
  # Update properties of this object
39020
39036
  def update!(**args)
39037
+ @last_instance_termination_details = args[:last_instance_termination_details] if args.key?(:last_instance_termination_details)
39021
39038
  @physical_host = args[:physical_host] if args.key?(:physical_host)
39022
39039
  @scheduling = args[:scheduling] if args.key?(:scheduling)
39023
39040
  @service_integration_statuses = args[:service_integration_statuses] if args.key?(:service_integration_statuses)
39024
39041
  end
39025
39042
  end
39026
39043
 
39044
+ #
39045
+ class ResourceStatusLastInstanceTerminationDetails
39046
+ include Google::Apis::Core::Hashable
39047
+
39048
+ # Reason for termination
39049
+ # Corresponds to the JSON property `terminationReason`
39050
+ # @return [String]
39051
+ attr_accessor :termination_reason
39052
+
39053
+ def initialize(**args)
39054
+ update!(**args)
39055
+ end
39056
+
39057
+ # Update properties of this object
39058
+ def update!(**args)
39059
+ @termination_reason = args[:termination_reason] if args.key?(:termination_reason)
39060
+ end
39061
+ end
39062
+
39027
39063
  #
39028
39064
  class ResourceStatusScheduling
39029
39065
  include Google::Apis::Core::Hashable
@@ -39232,6 +39268,13 @@ module Google
39232
39268
  # @return [String]
39233
39269
  attr_accessor :next_hop_instance
39234
39270
 
39271
+ # [Output only] Internal fixed region-to-region cost that Google Cloud
39272
+ # calculates based on factors such as network performance, distance, and
39273
+ # available bandwidth between regions.
39274
+ # Corresponds to the JSON property `nextHopInterRegionCost`
39275
+ # @return [Fixnum]
39276
+ attr_accessor :next_hop_inter_region_cost
39277
+
39235
39278
  # [Output Only] The URL to an InterconnectAttachment which is the next hop for
39236
39279
  # the route. This field will only be populated for the dynamic routes generated
39237
39280
  # by Cloud Router with a linked interconnectAttachment.
@@ -39249,11 +39292,23 @@ module Google
39249
39292
  # @return [String]
39250
39293
  attr_accessor :next_hop_ip
39251
39294
 
39295
+ # [Output Only] Multi-Exit Discriminator, a BGP route metric that indicates the
39296
+ # desirability of a particular route in a network.
39297
+ # Corresponds to the JSON property `nextHopMed`
39298
+ # @return [Fixnum]
39299
+ attr_accessor :next_hop_med
39300
+
39252
39301
  # The URL of the local network if it should handle matching packets.
39253
39302
  # Corresponds to the JSON property `nextHopNetwork`
39254
39303
  # @return [String]
39255
39304
  attr_accessor :next_hop_network
39256
39305
 
39306
+ # [Output Only] Indicates the origin of the route. Can be IGP (Interior Gateway
39307
+ # Protocol), EGP (Exterior Gateway Protocol), or INCOMPLETE.
39308
+ # Corresponds to the JSON property `nextHopOrigin`
39309
+ # @return [String]
39310
+ attr_accessor :next_hop_origin
39311
+
39257
39312
  # [Output Only] The network peering name that should handle matching packets,
39258
39313
  # which should conform to RFC1035.
39259
39314
  # Corresponds to the JSON property `nextHopPeering`
@@ -39329,9 +39384,12 @@ module Google
39329
39384
  @next_hop_hub = args[:next_hop_hub] if args.key?(:next_hop_hub)
39330
39385
  @next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
39331
39386
  @next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
39387
+ @next_hop_inter_region_cost = args[:next_hop_inter_region_cost] if args.key?(:next_hop_inter_region_cost)
39332
39388
  @next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
39333
39389
  @next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
39390
+ @next_hop_med = args[:next_hop_med] if args.key?(:next_hop_med)
39334
39391
  @next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
39392
+ @next_hop_origin = args[:next_hop_origin] if args.key?(:next_hop_origin)
39335
39393
  @next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
39336
39394
  @next_hop_vpn_tunnel = args[:next_hop_vpn_tunnel] if args.key?(:next_hop_vpn_tunnel)
39337
39395
  @priority = args[:priority] if args.key?(:priority)
@@ -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.84.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 = "20231024"
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
@@ -17055,6 +17062,8 @@ module Google
17055
17062
  class ResourceStatus
17056
17063
  # @private
17057
17064
  class Representation < Google::Apis::Core::JsonRepresentation
17065
+ property :last_instance_termination_details, as: 'lastInstanceTerminationDetails', class: Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails, decorator: Google::Apis::ComputeAlpha::ResourceStatusLastInstanceTerminationDetails::Representation
17066
+
17058
17067
  property :physical_host, as: 'physicalHost'
17059
17068
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::ResourceStatusScheduling, decorator: Google::Apis::ComputeAlpha::ResourceStatusScheduling::Representation
17060
17069
 
@@ -17063,6 +17072,13 @@ module Google
17063
17072
  end
17064
17073
  end
17065
17074
 
17075
+ class ResourceStatusLastInstanceTerminationDetails
17076
+ # @private
17077
+ class Representation < Google::Apis::Core::JsonRepresentation
17078
+ property :termination_reason, as: 'terminationReason'
17079
+ end
17080
+ end
17081
+
17066
17082
  class ResourceStatusScheduling
17067
17083
  # @private
17068
17084
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17113,9 +17129,12 @@ module Google
17113
17129
  property :next_hop_hub, as: 'nextHopHub'
17114
17130
  property :next_hop_ilb, as: 'nextHopIlb'
17115
17131
  property :next_hop_instance, as: 'nextHopInstance'
17132
+ property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
17116
17133
  property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
17117
17134
  property :next_hop_ip, as: 'nextHopIp'
17135
+ property :next_hop_med, as: 'nextHopMed'
17118
17136
  property :next_hop_network, as: 'nextHopNetwork'
17137
+ property :next_hop_origin, as: 'nextHopOrigin'
17119
17138
  property :next_hop_peering, as: 'nextHopPeering'
17120
17139
  property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
17121
17140
  property :priority, as: 'priority'
@@ -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.84.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-11-05 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.84.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: []