google-apis-compute_alpha 0.84.0 → 0.86.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
|
19
|
+
GEM_VERSION = "0.86.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 = "
|
25
|
+
REVISION = "20231128"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -484,6 +484,24 @@ module Google
|
|
484
484
|
include Google::Apis::Core::JsonObjectSupport
|
485
485
|
end
|
486
486
|
|
487
|
+
class BackendServiceHaPolicy
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class BackendServiceHaPolicyLeader
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class BackendServiceHaPolicyLeaderNetworkEndpoint
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
487
505
|
class BackendServiceIap
|
488
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
507
|
|
@@ -2008,6 +2026,12 @@ module Google
|
|
2008
2026
|
include Google::Apis::Core::JsonObjectSupport
|
2009
2027
|
end
|
2010
2028
|
|
2029
|
+
class InstanceGroupManagerParams
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2031
|
+
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
2033
|
+
end
|
2034
|
+
|
2011
2035
|
class InstanceGroupManagerResizeRequest
|
2012
2036
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2013
2037
|
|
@@ -2470,6 +2494,12 @@ module Google
|
|
2470
2494
|
include Google::Apis::Core::JsonObjectSupport
|
2471
2495
|
end
|
2472
2496
|
|
2497
|
+
class InstancesAddNetworkInterfaceRequest
|
2498
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2499
|
+
|
2500
|
+
include Google::Apis::Core::JsonObjectSupport
|
2501
|
+
end
|
2502
|
+
|
2473
2503
|
class InstancesAddResourcePoliciesRequest
|
2474
2504
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2475
2505
|
|
@@ -5158,6 +5188,12 @@ module Google
|
|
5158
5188
|
include Google::Apis::Core::JsonObjectSupport
|
5159
5189
|
end
|
5160
5190
|
|
5191
|
+
class ResourceStatusShutdownDetails
|
5192
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5193
|
+
|
5194
|
+
include Google::Apis::Core::JsonObjectSupport
|
5195
|
+
end
|
5196
|
+
|
5161
5197
|
class RolloutPolicy
|
5162
5198
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5163
5199
|
|
@@ -5464,6 +5500,12 @@ module Google
|
|
5464
5500
|
include Google::Apis::Core::JsonObjectSupport
|
5465
5501
|
end
|
5466
5502
|
|
5503
|
+
class SchedulingGracefulShutdown
|
5504
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5505
|
+
|
5506
|
+
include Google::Apis::Core::JsonObjectSupport
|
5507
|
+
end
|
5508
|
+
|
5467
5509
|
class SchedulingNodeAffinity
|
5468
5510
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5469
5511
|
|
@@ -5560,6 +5602,12 @@ module Google
|
|
5560
5602
|
include Google::Apis::Core::JsonObjectSupport
|
5561
5603
|
end
|
5562
5604
|
|
5605
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
5606
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5607
|
+
|
5608
|
+
include Google::Apis::Core::JsonObjectSupport
|
5609
|
+
end
|
5610
|
+
|
5563
5611
|
class SecurityPolicyAdvancedOptionsConfig
|
5564
5612
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5565
5613
|
|
@@ -7727,6 +7775,7 @@ module Google
|
|
7727
7775
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7728
7776
|
property :enable_nested_virtualization, as: 'enableNestedVirtualization'
|
7729
7777
|
property :enable_uefi_networking, as: 'enableUefiNetworking'
|
7778
|
+
property :enable_watchdog_timer, as: 'enableWatchdogTimer'
|
7730
7779
|
property :numa_node_count, as: 'numaNodeCount'
|
7731
7780
|
property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
|
7732
7781
|
property :threads_per_core, as: 'threadsPerCore'
|
@@ -8274,6 +8323,8 @@ module Google
|
|
8274
8323
|
property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation
|
8275
8324
|
|
8276
8325
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
8326
|
+
property :ha_policy, as: 'haPolicy', class: Google::Apis::ComputeAlpha::BackendServiceHaPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceHaPolicy::Representation
|
8327
|
+
|
8277
8328
|
collection :health_checks, as: 'healthChecks'
|
8278
8329
|
property :iap, as: 'iap', class: Google::Apis::ComputeAlpha::BackendServiceIap, decorator: Google::Apis::ComputeAlpha::BackendServiceIap::Representation
|
8279
8330
|
|
@@ -8412,6 +8463,31 @@ module Google
|
|
8412
8463
|
end
|
8413
8464
|
end
|
8414
8465
|
|
8466
|
+
class BackendServiceHaPolicy
|
8467
|
+
# @private
|
8468
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8469
|
+
property :fast_ip_move, as: 'fastIPMove'
|
8470
|
+
property :leader, as: 'leader', class: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader, decorator: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeader::Representation
|
8471
|
+
|
8472
|
+
end
|
8473
|
+
end
|
8474
|
+
|
8475
|
+
class BackendServiceHaPolicyLeader
|
8476
|
+
# @private
|
8477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8478
|
+
property :backend_group, as: 'backendGroup'
|
8479
|
+
property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint, decorator: Google::Apis::ComputeAlpha::BackendServiceHaPolicyLeaderNetworkEndpoint::Representation
|
8480
|
+
|
8481
|
+
end
|
8482
|
+
end
|
8483
|
+
|
8484
|
+
class BackendServiceHaPolicyLeaderNetworkEndpoint
|
8485
|
+
# @private
|
8486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8487
|
+
property :instance, as: 'instance'
|
8488
|
+
end
|
8489
|
+
end
|
8490
|
+
|
8415
8491
|
class BackendServiceIap
|
8416
8492
|
# @private
|
8417
8493
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9086,6 +9162,7 @@ module Google
|
|
9086
9162
|
collection :resource_policies, as: 'resourcePolicies'
|
9087
9163
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::DiskResourceStatus, decorator: Google::Apis::ComputeAlpha::DiskResourceStatus::Representation
|
9088
9164
|
|
9165
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
9089
9166
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9090
9167
|
property :self_link, as: 'selfLink'
|
9091
9168
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -10944,6 +11021,7 @@ module Google
|
|
10944
11021
|
|
10945
11022
|
property :rollout_override, as: 'rolloutOverride', class: Google::Apis::ComputeAlpha::RolloutPolicy, decorator: Google::Apis::ComputeAlpha::RolloutPolicy::Representation
|
10946
11023
|
|
11024
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
10947
11025
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
10948
11026
|
property :self_link, as: 'selfLink'
|
10949
11027
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -11083,6 +11161,7 @@ module Google
|
|
11083
11161
|
collection :resource_policies, as: 'resourcePolicies'
|
11084
11162
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::ResourceStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatus::Representation
|
11085
11163
|
|
11164
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
11086
11165
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
11087
11166
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
|
11088
11167
|
|
@@ -11281,6 +11360,8 @@ module Google
|
|
11281
11360
|
property :name, as: 'name'
|
11282
11361
|
collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeAlpha::NamedPort, decorator: Google::Apis::ComputeAlpha::NamedPort::Representation
|
11283
11362
|
|
11363
|
+
property :params, as: 'params', class: Google::Apis::ComputeAlpha::InstanceGroupManagerParams, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerParams::Representation
|
11364
|
+
|
11284
11365
|
property :region, as: 'region'
|
11285
11366
|
property :self_link, as: 'selfLink'
|
11286
11367
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -11452,6 +11533,13 @@ module Google
|
|
11452
11533
|
end
|
11453
11534
|
end
|
11454
11535
|
|
11536
|
+
class InstanceGroupManagerParams
|
11537
|
+
# @private
|
11538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11539
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
11540
|
+
end
|
11541
|
+
end
|
11542
|
+
|
11455
11543
|
class InstanceGroupManagerResizeRequest
|
11456
11544
|
# @private
|
11457
11545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12237,6 +12325,14 @@ module Google
|
|
12237
12325
|
end
|
12238
12326
|
end
|
12239
12327
|
|
12328
|
+
class InstancesAddNetworkInterfaceRequest
|
12329
|
+
# @private
|
12330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12331
|
+
property :network_interface, as: 'network_interface', class: Google::Apis::ComputeAlpha::NetworkInterface, decorator: Google::Apis::ComputeAlpha::NetworkInterface::Representation
|
12332
|
+
|
12333
|
+
end
|
12334
|
+
end
|
12335
|
+
|
12240
12336
|
class InstancesAddResourcePoliciesRequest
|
12241
12337
|
# @private
|
12242
12338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12410,6 +12506,7 @@ module Google
|
|
12410
12506
|
property :region, as: 'region'
|
12411
12507
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus, decorator: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus::Representation
|
12412
12508
|
|
12509
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
12413
12510
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
12414
12511
|
property :self_link, as: 'selfLink'
|
12415
12512
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -13386,6 +13483,7 @@ module Google
|
|
13386
13483
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
13387
13484
|
|
13388
13485
|
property :name, as: 'name'
|
13486
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
13389
13487
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
13390
13488
|
collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeAlpha::SavedDisk, decorator: Google::Apis::ComputeAlpha::SavedDisk::Representation
|
13391
13489
|
|
@@ -17069,6 +17167,10 @@ module Google
|
|
17069
17167
|
|
17070
17168
|
hash :service_integration_statuses, as: 'serviceIntegrationStatuses', class: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatusServiceIntegrationStatus::Representation
|
17071
17169
|
|
17170
|
+
property :shutdown_details, as: 'shutdownDetails', class: Google::Apis::ComputeAlpha::ResourceStatusShutdownDetails, decorator: Google::Apis::ComputeAlpha::ResourceStatusShutdownDetails::Representation
|
17171
|
+
|
17172
|
+
property :upcoming_maintenance, as: 'upcomingMaintenance', class: Google::Apis::ComputeAlpha::UpcomingMaintenance, decorator: Google::Apis::ComputeAlpha::UpcomingMaintenance::Representation
|
17173
|
+
|
17072
17174
|
end
|
17073
17175
|
end
|
17074
17176
|
|
@@ -17103,6 +17205,17 @@ module Google
|
|
17103
17205
|
end
|
17104
17206
|
end
|
17105
17207
|
|
17208
|
+
class ResourceStatusShutdownDetails
|
17209
|
+
# @private
|
17210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17211
|
+
property :max_duration, as: 'maxDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
17212
|
+
|
17213
|
+
property :request_timestamp, as: 'requestTimestamp'
|
17214
|
+
property :stop_state, as: 'stopState'
|
17215
|
+
property :target_state, as: 'targetState'
|
17216
|
+
end
|
17217
|
+
end
|
17218
|
+
|
17106
17219
|
class RolloutPolicy
|
17107
17220
|
# @private
|
17108
17221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17505,14 +17618,17 @@ module Google
|
|
17505
17618
|
|
17506
17619
|
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeAlpha::BfdStatus, decorator: Google::Apis::ComputeAlpha::BfdStatus::Representation
|
17507
17620
|
|
17621
|
+
property :enable_ipv4, as: 'enableIpv4'
|
17508
17622
|
property :enable_ipv6, as: 'enableIpv6'
|
17509
17623
|
property :ip_address, as: 'ipAddress'
|
17624
|
+
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
|
17510
17625
|
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
17511
17626
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
17512
17627
|
property :md5_auth_enabled, as: 'md5AuthEnabled'
|
17513
17628
|
property :name, as: 'name'
|
17514
17629
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
17515
17630
|
property :peer_ip_address, as: 'peerIpAddress'
|
17631
|
+
property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
|
17516
17632
|
property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
|
17517
17633
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
17518
17634
|
property :state, as: 'state'
|
@@ -17750,6 +17866,8 @@ module Google
|
|
17750
17866
|
property :availability_domain, as: 'availabilityDomain'
|
17751
17867
|
property :current_cpus, as: 'currentCpus'
|
17752
17868
|
property :current_memory_mb, :numeric_string => true, as: 'currentMemoryMb'
|
17869
|
+
property :graceful_shutdown, as: 'gracefulShutdown', class: Google::Apis::ComputeAlpha::SchedulingGracefulShutdown, decorator: Google::Apis::ComputeAlpha::SchedulingGracefulShutdown::Representation
|
17870
|
+
|
17753
17871
|
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
17754
17872
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
17755
17873
|
property :latency_tolerant, as: 'latencyTolerant'
|
@@ -17770,6 +17888,15 @@ module Google
|
|
17770
17888
|
end
|
17771
17889
|
end
|
17772
17890
|
|
17891
|
+
class SchedulingGracefulShutdown
|
17892
|
+
# @private
|
17893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17894
|
+
property :enabled, as: 'enabled'
|
17895
|
+
property :max_duration, as: 'maxDuration', class: Google::Apis::ComputeAlpha::Duration, decorator: Google::Apis::ComputeAlpha::Duration::Representation
|
17896
|
+
|
17897
|
+
end
|
17898
|
+
end
|
17899
|
+
|
17773
17900
|
class SchedulingNodeAffinity
|
17774
17901
|
# @private
|
17775
17902
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -17947,7 +18074,21 @@ module Google
|
|
17947
18074
|
property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
|
17948
18075
|
property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
|
17949
18076
|
property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
|
18077
|
+
property :detection_absolute_qps, as: 'detectionAbsoluteQps'
|
18078
|
+
property :detection_load_threshold, as: 'detectionLoadThreshold'
|
18079
|
+
property :detection_relative_to_baseline_qps, as: 'detectionRelativeToBaselineQps'
|
17950
18080
|
property :name, as: 'name'
|
18081
|
+
collection :traffic_granularity_configs, as: 'trafficGranularityConfigs', class: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig, decorator: Google::Apis::ComputeAlpha::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig::Representation
|
18082
|
+
|
18083
|
+
end
|
18084
|
+
end
|
18085
|
+
|
18086
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
18087
|
+
# @private
|
18088
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
18089
|
+
property :enable_each_unique_value, as: 'enableEachUniqueValue'
|
18090
|
+
property :type, as: 'type'
|
18091
|
+
property :value, as: 'value'
|
17951
18092
|
end
|
17952
18093
|
end
|
17953
18094
|
|
@@ -18633,6 +18774,7 @@ module Google
|
|
18633
18774
|
property :max_retention_days, as: 'maxRetentionDays'
|
18634
18775
|
property :name, as: 'name'
|
18635
18776
|
property :region, as: 'region'
|
18777
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
18636
18778
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
18637
18779
|
property :self_link, as: 'selfLink'
|
18638
18780
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -11241,8 +11241,7 @@ module Google
|
|
11241
11241
|
# creating an instance, the currentAction is CREATING. If a previous action
|
11242
11242
|
# failed, the list displays the errors for that failed action. The orderBy query
|
11243
11243
|
# parameter is not supported. The `pageToken` query parameter is supported only
|
11244
|
-
#
|
11245
|
-
# field is set to `PAGINATED`.
|
11244
|
+
# if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
|
11246
11245
|
# @param [String] project
|
11247
11246
|
# Project ID for this request.
|
11248
11247
|
# @param [String] zone
|
@@ -13581,6 +13580,60 @@ module Google
|
|
13581
13580
|
execute_or_queue_command(command, &block)
|
13582
13581
|
end
|
13583
13582
|
|
13583
|
+
# Adds a network interface to an instance.
|
13584
|
+
# @param [String] project
|
13585
|
+
# Project ID for this request.
|
13586
|
+
# @param [String] zone
|
13587
|
+
# The name of the zone for this request.
|
13588
|
+
# @param [String] instance
|
13589
|
+
# The instance name for this request stored as resource_id. Name should conform
|
13590
|
+
# to RFC1035 or be an unsigned long integer.
|
13591
|
+
# @param [Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest] instances_add_network_interface_request_object
|
13592
|
+
# @param [String] request_id
|
13593
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
13594
|
+
# that if you must retry your request, the server will know to ignore the
|
13595
|
+
# request if it has already been completed. For example, consider a situation
|
13596
|
+
# where you make an initial request and the request times out. If you make the
|
13597
|
+
# request again with the same request ID, the server can check if original
|
13598
|
+
# operation with the same request ID was received, and if so, will ignore the
|
13599
|
+
# second request. This prevents clients from accidentally creating duplicate
|
13600
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
13601
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
13602
|
+
# @param [String] fields
|
13603
|
+
# Selector specifying which fields to include in a partial response.
|
13604
|
+
# @param [String] quota_user
|
13605
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
13606
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
13607
|
+
# @param [String] user_ip
|
13608
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
13609
|
+
# @param [Google::Apis::RequestOptions] options
|
13610
|
+
# Request-specific options
|
13611
|
+
#
|
13612
|
+
# @yield [result, err] Result & error if block supplied
|
13613
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
13614
|
+
# @yieldparam err [StandardError] error object if request failed
|
13615
|
+
#
|
13616
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
13617
|
+
#
|
13618
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13619
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13620
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13621
|
+
def add_instance_network_interface(project, zone, instance, instances_add_network_interface_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13622
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface', options)
|
13623
|
+
command.request_representation = Google::Apis::ComputeAlpha::InstancesAddNetworkInterfaceRequest::Representation
|
13624
|
+
command.request_object = instances_add_network_interface_request_object
|
13625
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
13626
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
13627
|
+
command.params['project'] = project unless project.nil?
|
13628
|
+
command.params['zone'] = zone unless zone.nil?
|
13629
|
+
command.params['instance'] = instance unless instance.nil?
|
13630
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
13631
|
+
command.query['fields'] = fields unless fields.nil?
|
13632
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
13633
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
13634
|
+
execute_or_queue_command(command, &block)
|
13635
|
+
end
|
13636
|
+
|
13584
13637
|
# Adds existing resource policies to an instance. You can only add one policy
|
13585
13638
|
# right now which will be applied to this instance for scheduling live
|
13586
13639
|
# migrations.
|
@@ -13857,6 +13910,8 @@ module Google
|
|
13857
13910
|
# The name of the zone for this request.
|
13858
13911
|
# @param [String] instance
|
13859
13912
|
# Name of the instance resource to delete.
|
13913
|
+
# @param [Boolean] no_graceful_shutdown
|
13914
|
+
# If true, skips Graceful Shutdown.
|
13860
13915
|
# @param [String] request_id
|
13861
13916
|
# An optional request ID to identify requests. Specify a unique request ID so
|
13862
13917
|
# that if you must retry your request, the server will know to ignore the
|
@@ -13886,13 +13941,14 @@ module Google
|
|
13886
13941
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
13887
13942
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
13888
13943
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
13889
|
-
def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13944
|
+
def delete_instance(project, zone, instance, no_graceful_shutdown: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
13890
13945
|
command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options)
|
13891
13946
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
13892
13947
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
13893
13948
|
command.params['project'] = project unless project.nil?
|
13894
13949
|
command.params['zone'] = zone unless zone.nil?
|
13895
13950
|
command.params['instance'] = instance unless instance.nil?
|
13951
|
+
command.query['noGracefulShutdown'] = no_graceful_shutdown unless no_graceful_shutdown.nil?
|
13896
13952
|
command.query['requestId'] = request_id unless request_id.nil?
|
13897
13953
|
command.query['fields'] = fields unless fields.nil?
|
13898
13954
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -15989,8 +16045,11 @@ module Google
|
|
15989
16045
|
# @param [String] instance
|
15990
16046
|
# Name of the instance resource to stop.
|
15991
16047
|
# @param [Boolean] discard_local_ssd
|
15992
|
-
#
|
15993
|
-
#
|
16048
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
16049
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
16050
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
16051
|
+
# @param [Boolean] no_graceful_shutdown
|
16052
|
+
# If true, skips Graceful Shutdown.
|
15994
16053
|
# @param [String] request_id
|
15995
16054
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15996
16055
|
# that if you must retry your request, the server will know to ignore the
|
@@ -16020,7 +16079,7 @@ module Google
|
|
16020
16079
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
16021
16080
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
16022
16081
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
16023
|
-
def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16082
|
+
def stop_instance(project, zone, instance, discard_local_ssd: nil, no_graceful_shutdown: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
16024
16083
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options)
|
16025
16084
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
16026
16085
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
@@ -16028,6 +16087,7 @@ module Google
|
|
16028
16087
|
command.params['zone'] = zone unless zone.nil?
|
16029
16088
|
command.params['instance'] = instance unless instance.nil?
|
16030
16089
|
command.query['discardLocalSsd'] = discard_local_ssd unless discard_local_ssd.nil?
|
16090
|
+
command.query['noGracefulShutdown'] = no_graceful_shutdown unless no_graceful_shutdown.nil?
|
16031
16091
|
command.query['requestId'] = request_id unless request_id.nil?
|
16032
16092
|
command.query['fields'] = fields unless fields.nil?
|
16033
16093
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -16049,8 +16109,9 @@ module Google
|
|
16049
16109
|
# @param [String] instance
|
16050
16110
|
# Name of the instance resource to suspend.
|
16051
16111
|
# @param [Boolean] discard_local_ssd
|
16052
|
-
#
|
16053
|
-
#
|
16112
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
16113
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
16114
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
16054
16115
|
# @param [String] request_id
|
16055
16116
|
# An optional request ID to identify requests. Specify a unique request ID so
|
16056
16117
|
# that if you must retry your request, the server will know to ignore the
|
@@ -31137,9 +31198,8 @@ module Google
|
|
31137
31198
|
# Lists the instances in the managed instance group and instances that are
|
31138
31199
|
# scheduled to be created. The list includes any current actions that the group
|
31139
31200
|
# has scheduled for its instances. The orderBy query parameter is not supported.
|
31140
|
-
# The `pageToken` query parameter is supported only
|
31141
|
-
#
|
31142
|
-
# PAGINATED`.
|
31201
|
+
# The `pageToken` query parameter is supported only if the group's `
|
31202
|
+
# listManagedInstancesResults` field is set to `PAGINATED`.
|
31143
31203
|
# @param [String] project
|
31144
31204
|
# Project ID for this request.
|
31145
31205
|
# @param [String] region
|
@@ -48328,8 +48388,8 @@ module Google
|
|
48328
48388
|
|
48329
48389
|
# Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
|
48330
48390
|
# side support for SSL features. This affects connections between clients and
|
48331
|
-
# the
|
48332
|
-
#
|
48391
|
+
# the load balancer. They do not affect the connection between the load balancer
|
48392
|
+
# and the backends.
|
48333
48393
|
# @param [String] project
|
48334
48394
|
# Project ID for this request.
|
48335
48395
|
# @param [String] target_ssl_proxy
|
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.
|
4
|
+
version: 0.86.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-
|
11
|
+
date: 2023-12-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.86.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: []
|