google-apis-compute_beta 0.86.0 → 0.88.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.
@@ -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.
|
19
|
+
GEM_VERSION = "0.88.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 = "20231231"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -5044,6 +5044,12 @@ module Google
|
|
5044
5044
|
include Google::Apis::Core::JsonObjectSupport
|
5045
5045
|
end
|
5046
5046
|
|
5047
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
5048
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5049
|
+
|
5050
|
+
include Google::Apis::Core::JsonObjectSupport
|
5051
|
+
end
|
5052
|
+
|
5047
5053
|
class SecurityPolicyAdvancedOptionsConfig
|
5048
5054
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5049
5055
|
|
@@ -7898,6 +7904,7 @@ module Google
|
|
7898
7904
|
property :creation_timestamp, as: 'creationTimestamp'
|
7899
7905
|
property :description, as: 'description'
|
7900
7906
|
property :end_timestamp, as: 'endTimestamp'
|
7907
|
+
collection :existing_reservations, as: 'existingReservations'
|
7901
7908
|
property :id, :numeric_string => true, as: 'id'
|
7902
7909
|
property :kind, as: 'kind'
|
7903
7910
|
property :license_resource, as: 'licenseResource', class: Google::Apis::ComputeBeta::LicenseResourceCommitment, decorator: Google::Apis::ComputeBeta::LicenseResourceCommitment::Representation
|
@@ -8163,6 +8170,7 @@ module Google
|
|
8163
8170
|
collection :resource_policies, as: 'resourcePolicies'
|
8164
8171
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::DiskResourceStatus, decorator: Google::Apis::ComputeBeta::DiskResourceStatus::Representation
|
8165
8172
|
|
8173
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
8166
8174
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
8167
8175
|
property :self_link, as: 'selfLink'
|
8168
8176
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
@@ -9564,6 +9572,8 @@ module Google
|
|
9564
9572
|
property :health_state, as: 'healthState'
|
9565
9573
|
property :instance, as: 'instance'
|
9566
9574
|
property :ip_address, as: 'ipAddress'
|
9575
|
+
property :ipv6_address, as: 'ipv6Address'
|
9576
|
+
property :ipv6_health_state, as: 'ipv6HealthState'
|
9567
9577
|
property :port, as: 'port'
|
9568
9578
|
property :weight, as: 'weight'
|
9569
9579
|
property :weight_error, as: 'weightError'
|
@@ -9907,6 +9917,7 @@ module Google
|
|
9907
9917
|
|
9908
9918
|
property :rollout_override, as: 'rolloutOverride', class: Google::Apis::ComputeBeta::RolloutPolicy, decorator: Google::Apis::ComputeBeta::RolloutPolicy::Representation
|
9909
9919
|
|
9920
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
9910
9921
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
9911
9922
|
property :self_link, as: 'selfLink'
|
9912
9923
|
property :shielded_instance_initial_state, as: 'shieldedInstanceInitialState', class: Google::Apis::ComputeBeta::InitialStateConfig, decorator: Google::Apis::ComputeBeta::InitialStateConfig::Representation
|
@@ -10042,6 +10053,7 @@ module Google
|
|
10042
10053
|
collection :resource_policies, as: 'resourcePolicies'
|
10043
10054
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::ResourceStatus, decorator: Google::Apis::ComputeBeta::ResourceStatus::Representation
|
10044
10055
|
|
10056
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
10045
10057
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
10046
10058
|
property :scheduling, as: 'scheduling', class: Google::Apis::ComputeBeta::Scheduling, decorator: Google::Apis::ComputeBeta::Scheduling::Representation
|
10047
10059
|
|
@@ -10327,6 +10339,8 @@ module Google
|
|
10327
10339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10328
10340
|
hash :instance_selection_lists, as: 'instanceSelectionLists', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
|
10329
10341
|
|
10342
|
+
hash :instance_selections, as: 'instanceSelections', class: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection, decorator: Google::Apis::ComputeBeta::InstanceGroupManagerInstanceFlexibilityPolicyInstanceSelection::Representation
|
10343
|
+
|
10330
10344
|
end
|
10331
10345
|
end
|
10332
10346
|
|
@@ -11319,6 +11333,7 @@ module Google
|
|
11319
11333
|
property :region, as: 'region'
|
11320
11334
|
property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeBeta::InstantSnapshotResourceStatus, decorator: Google::Apis::ComputeBeta::InstantSnapshotResourceStatus::Representation
|
11321
11335
|
|
11336
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
11322
11337
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
11323
11338
|
property :self_link, as: 'selfLink'
|
11324
11339
|
property :self_link_with_id, as: 'selfLinkWithId'
|
@@ -12165,6 +12180,7 @@ module Google
|
|
12165
12180
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
12166
12181
|
|
12167
12182
|
property :name, as: 'name'
|
12183
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
12168
12184
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
12169
12185
|
collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeBeta::SavedDisk, decorator: Google::Apis::ComputeBeta::SavedDisk::Representation
|
12170
12186
|
|
@@ -12359,6 +12375,7 @@ module Google
|
|
12359
12375
|
|
12360
12376
|
property :properties_from_flexibility_policy, as: 'propertiesFromFlexibilityPolicy', class: Google::Apis::ComputeBeta::ManagedInstancePropertiesFromFlexibilityPolicy, decorator: Google::Apis::ComputeBeta::ManagedInstancePropertiesFromFlexibilityPolicy::Representation
|
12361
12377
|
|
12378
|
+
property :target_status, as: 'targetStatus'
|
12362
12379
|
property :version, as: 'version', class: Google::Apis::ComputeBeta::ManagedInstanceVersion, decorator: Google::Apis::ComputeBeta::ManagedInstanceVersion::Representation
|
12363
12380
|
|
12364
12381
|
end
|
@@ -15788,14 +15805,17 @@ module Google
|
|
15788
15805
|
|
15789
15806
|
property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeBeta::BfdStatus, decorator: Google::Apis::ComputeBeta::BfdStatus::Representation
|
15790
15807
|
|
15808
|
+
property :enable_ipv4, as: 'enableIpv4'
|
15791
15809
|
property :enable_ipv6, as: 'enableIpv6'
|
15792
15810
|
property :ip_address, as: 'ipAddress'
|
15811
|
+
property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
|
15793
15812
|
property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
|
15794
15813
|
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
15795
15814
|
property :md5_auth_enabled, as: 'md5AuthEnabled'
|
15796
15815
|
property :name, as: 'name'
|
15797
15816
|
property :num_learned_routes, as: 'numLearnedRoutes'
|
15798
15817
|
property :peer_ip_address, as: 'peerIpAddress'
|
15818
|
+
property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
|
15799
15819
|
property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
|
15800
15820
|
property :router_appliance_instance, as: 'routerApplianceInstance'
|
15801
15821
|
property :state, as: 'state'
|
@@ -16139,7 +16159,21 @@ module Google
|
|
16139
16159
|
property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
|
16140
16160
|
property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
|
16141
16161
|
property :auto_deploy_load_threshold, as: 'autoDeployLoadThreshold'
|
16162
|
+
property :detection_absolute_qps, as: 'detectionAbsoluteQps'
|
16163
|
+
property :detection_load_threshold, as: 'detectionLoadThreshold'
|
16164
|
+
property :detection_relative_to_baseline_qps, as: 'detectionRelativeToBaselineQps'
|
16142
16165
|
property :name, as: 'name'
|
16166
|
+
collection :traffic_granularity_configs, as: 'trafficGranularityConfigs', class: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig, decorator: Google::Apis::ComputeBeta::SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig::Representation
|
16167
|
+
|
16168
|
+
end
|
16169
|
+
end
|
16170
|
+
|
16171
|
+
class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
|
16172
|
+
# @private
|
16173
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
16174
|
+
property :enable_each_unique_value, as: 'enableEachUniqueValue'
|
16175
|
+
property :type, as: 'type'
|
16176
|
+
property :value, as: 'value'
|
16143
16177
|
end
|
16144
16178
|
end
|
16145
16179
|
|
@@ -16747,6 +16781,7 @@ module Google
|
|
16747
16781
|
collection :licenses, as: 'licenses'
|
16748
16782
|
property :location_hint, as: 'locationHint'
|
16749
16783
|
property :name, as: 'name'
|
16784
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
16750
16785
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
16751
16786
|
property :self_link, as: 'selfLink'
|
16752
16787
|
property :snapshot_encryption_key, as: 'snapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
@@ -1665,7 +1665,7 @@ module Google
|
|
1665
1665
|
# @param [String] project
|
1666
1666
|
# Project ID for this request.
|
1667
1667
|
# @param [String] backend_bucket
|
1668
|
-
# Name of the
|
1668
|
+
# Name of the BackendBucket resource to which the security policy should be set.
|
1669
1669
|
# The name should conform to RFC1035.
|
1670
1670
|
# @param [Google::Apis::ComputeBeta::SecurityPolicyReference] security_policy_reference_object
|
1671
1671
|
# @param [String] request_id
|
@@ -11113,8 +11113,7 @@ module Google
|
|
11113
11113
|
# creating an instance, the currentAction is CREATING. If a previous action
|
11114
11114
|
# failed, the list displays the errors for that failed action. The orderBy query
|
11115
11115
|
# parameter is not supported. The `pageToken` query parameter is supported only
|
11116
|
-
#
|
11117
|
-
# field is set to `PAGINATED`.
|
11116
|
+
# if the group's `listManagedInstancesResults` field is set to `PAGINATED`.
|
11118
11117
|
# @param [String] project
|
11119
11118
|
# Project ID for this request.
|
11120
11119
|
# @param [String] zone
|
@@ -14473,6 +14472,56 @@ module Google
|
|
14473
14472
|
execute_or_queue_command(command, &block)
|
14474
14473
|
end
|
14475
14474
|
|
14475
|
+
# Perform a manual maintenance on the instance.
|
14476
|
+
# @param [String] project
|
14477
|
+
# Project ID for this request.
|
14478
|
+
# @param [String] zone
|
14479
|
+
# The name of the zone for this request.
|
14480
|
+
# @param [String] instance
|
14481
|
+
# Name of the instance scoping this request.
|
14482
|
+
# @param [String] request_id
|
14483
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
14484
|
+
# that if you must retry your request, the server will know to ignore the
|
14485
|
+
# request if it has already been completed. For example, consider a situation
|
14486
|
+
# where you make an initial request and the request times out. If you make the
|
14487
|
+
# request again with the same request ID, the server can check if original
|
14488
|
+
# operation with the same request ID was received, and if so, will ignore the
|
14489
|
+
# second request. This prevents clients from accidentally creating duplicate
|
14490
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
14491
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
14492
|
+
# @param [String] fields
|
14493
|
+
# Selector specifying which fields to include in a partial response.
|
14494
|
+
# @param [String] quota_user
|
14495
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14496
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14497
|
+
# @param [String] user_ip
|
14498
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
14499
|
+
# @param [Google::Apis::RequestOptions] options
|
14500
|
+
# Request-specific options
|
14501
|
+
#
|
14502
|
+
# @yield [result, err] Result & error if block supplied
|
14503
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
14504
|
+
# @yieldparam err [StandardError] error object if request failed
|
14505
|
+
#
|
14506
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
14507
|
+
#
|
14508
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14509
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14510
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14511
|
+
def perform_instance_maintenance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14512
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/performMaintenance', options)
|
14513
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
14514
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
14515
|
+
command.params['project'] = project unless project.nil?
|
14516
|
+
command.params['zone'] = zone unless zone.nil?
|
14517
|
+
command.params['instance'] = instance unless instance.nil?
|
14518
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
14519
|
+
command.query['fields'] = fields unless fields.nil?
|
14520
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14521
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14522
|
+
execute_or_queue_command(command, &block)
|
14523
|
+
end
|
14524
|
+
|
14476
14525
|
# Removes resource policies from an instance.
|
14477
14526
|
# @param [String] project
|
14478
14527
|
# Project ID for this request.
|
@@ -15491,6 +15540,9 @@ module Google
|
|
15491
15540
|
# second request. This prevents clients from accidentally creating duplicate
|
15492
15541
|
# commitments. The request ID must be a valid UUID with the exception that zero
|
15493
15542
|
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
15543
|
+
# @param [Boolean] with_extended_notifications
|
15544
|
+
# Determines whether the customers receive notifications before migration. Only
|
15545
|
+
# applicable to SF vms.
|
15494
15546
|
# @param [String] fields
|
15495
15547
|
# Selector specifying which fields to include in a partial response.
|
15496
15548
|
# @param [String] quota_user
|
@@ -15510,7 +15562,7 @@ module Google
|
|
15510
15562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
15511
15563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
15512
15564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
15513
|
-
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15565
|
+
def simulate_instance_maintenance_event(project, zone, instance, request_id: nil, with_extended_notifications: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
15514
15566
|
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options)
|
15515
15567
|
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
15516
15568
|
command.response_class = Google::Apis::ComputeBeta::Operation
|
@@ -15518,6 +15570,7 @@ module Google
|
|
15518
15570
|
command.params['zone'] = zone unless zone.nil?
|
15519
15571
|
command.params['instance'] = instance unless instance.nil?
|
15520
15572
|
command.query['requestId'] = request_id unless request_id.nil?
|
15573
|
+
command.query['withExtendedNotifications'] = with_extended_notifications unless with_extended_notifications.nil?
|
15521
15574
|
command.query['fields'] = fields unless fields.nil?
|
15522
15575
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
15523
15576
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
@@ -15641,8 +15694,9 @@ module Google
|
|
15641
15694
|
# @param [String] instance
|
15642
15695
|
# Name of the instance resource to stop.
|
15643
15696
|
# @param [Boolean] discard_local_ssd
|
15644
|
-
#
|
15645
|
-
#
|
15697
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
15698
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
15699
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
15646
15700
|
# @param [String] request_id
|
15647
15701
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15648
15702
|
# that if you must retry your request, the server will know to ignore the
|
@@ -15701,8 +15755,9 @@ module Google
|
|
15701
15755
|
# @param [String] instance
|
15702
15756
|
# Name of the instance resource to suspend.
|
15703
15757
|
# @param [Boolean] discard_local_ssd
|
15704
|
-
#
|
15705
|
-
#
|
15758
|
+
# This property is required if the instance has any attached Local SSD disks. If
|
15759
|
+
# false, Local SSD data will be preserved when the instance is suspended. If
|
15760
|
+
# true, the contents of any attached Local SSD disks will be discarded.
|
15706
15761
|
# @param [String] request_id
|
15707
15762
|
# An optional request ID to identify requests. Specify a unique request ID so
|
15708
15763
|
# that if you must retry your request, the server will know to ignore the
|
@@ -29805,9 +29860,8 @@ module Google
|
|
29805
29860
|
# Lists the instances in the managed instance group and instances that are
|
29806
29861
|
# scheduled to be created. The list includes any current actions that the group
|
29807
29862
|
# has scheduled for its instances. The orderBy query parameter is not supported.
|
29808
|
-
# The `pageToken` query parameter is supported only
|
29809
|
-
#
|
29810
|
-
# PAGINATED`.
|
29863
|
+
# The `pageToken` query parameter is supported only if the group's `
|
29864
|
+
# listManagedInstancesResults` field is set to `PAGINATED`.
|
29811
29865
|
# @param [String] project
|
29812
29866
|
# Project ID for this request.
|
29813
29867
|
# @param [String] region
|
@@ -44998,8 +45052,8 @@ module Google
|
|
44998
45052
|
|
44999
45053
|
# Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
|
45000
45054
|
# side support for SSL features. This affects connections between clients and
|
45001
|
-
# the
|
45002
|
-
#
|
45055
|
+
# the load balancer. They do not affect the connection between the load balancer
|
45056
|
+
# and the backends.
|
45003
45057
|
# @param [String] project
|
45004
45058
|
# Project ID for this request.
|
45005
45059
|
# @param [String] target_ssl_proxy
|
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.
|
4
|
+
version: 0.88.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:
|
11
|
+
date: 2024-01-07 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.88.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Compute Engine API Beta
|