google-apis-compute_alpha 0.85.0 → 0.86.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 ComputeAlpha
18
18
  # Version of the google-apis-compute_alpha gem
19
- GEM_VERSION = "0.85.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 = "20231031"
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
 
@@ -5572,6 +5602,12 @@ module Google
5572
5602
  include Google::Apis::Core::JsonObjectSupport
5573
5603
  end
5574
5604
 
5605
+ class SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfigTrafficGranularityConfig
5606
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5607
+
5608
+ include Google::Apis::Core::JsonObjectSupport
5609
+ end
5610
+
5575
5611
  class SecurityPolicyAdvancedOptionsConfig
5576
5612
  class Representation < Google::Apis::Core::JsonRepresentation; end
5577
5613
 
@@ -7739,6 +7775,7 @@ module Google
7739
7775
  class Representation < Google::Apis::Core::JsonRepresentation
7740
7776
  property :enable_nested_virtualization, as: 'enableNestedVirtualization'
7741
7777
  property :enable_uefi_networking, as: 'enableUefiNetworking'
7778
+ property :enable_watchdog_timer, as: 'enableWatchdogTimer'
7742
7779
  property :numa_node_count, as: 'numaNodeCount'
7743
7780
  property :performance_monitoring_unit, as: 'performanceMonitoringUnit'
7744
7781
  property :threads_per_core, as: 'threadsPerCore'
@@ -8286,6 +8323,8 @@ module Google
8286
8323
  property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeAlpha::BackendServiceFailoverPolicy::Representation
8287
8324
 
8288
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
+
8289
8328
  collection :health_checks, as: 'healthChecks'
8290
8329
  property :iap, as: 'iap', class: Google::Apis::ComputeAlpha::BackendServiceIap, decorator: Google::Apis::ComputeAlpha::BackendServiceIap::Representation
8291
8330
 
@@ -8424,6 +8463,31 @@ module Google
8424
8463
  end
8425
8464
  end
8426
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
+
8427
8491
  class BackendServiceIap
8428
8492
  # @private
8429
8493
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9098,6 +9162,7 @@ module Google
9098
9162
  collection :resource_policies, as: 'resourcePolicies'
9099
9163
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::DiskResourceStatus, decorator: Google::Apis::ComputeAlpha::DiskResourceStatus::Representation
9100
9164
 
9165
+ property :satisfies_pzi, as: 'satisfiesPzi'
9101
9166
  property :satisfies_pzs, as: 'satisfiesPzs'
9102
9167
  property :self_link, as: 'selfLink'
9103
9168
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -10956,6 +11021,7 @@ module Google
10956
11021
 
10957
11022
  property :rollout_override, as: 'rolloutOverride', class: Google::Apis::ComputeAlpha::RolloutPolicy, decorator: Google::Apis::ComputeAlpha::RolloutPolicy::Representation
10958
11023
 
11024
+ property :satisfies_pzi, as: 'satisfiesPzi'
10959
11025
  property :satisfies_pzs, as: 'satisfiesPzs'
10960
11026
  property :self_link, as: 'selfLink'
10961
11027
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -11095,6 +11161,7 @@ module Google
11095
11161
  collection :resource_policies, as: 'resourcePolicies'
11096
11162
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::ResourceStatus, decorator: Google::Apis::ComputeAlpha::ResourceStatus::Representation
11097
11163
 
11164
+ property :satisfies_pzi, as: 'satisfiesPzi'
11098
11165
  property :satisfies_pzs, as: 'satisfiesPzs'
11099
11166
  property :scheduling, as: 'scheduling', class: Google::Apis::ComputeAlpha::Scheduling, decorator: Google::Apis::ComputeAlpha::Scheduling::Representation
11100
11167
 
@@ -11293,6 +11360,8 @@ module Google
11293
11360
  property :name, as: 'name'
11294
11361
  collection :named_ports, as: 'namedPorts', class: Google::Apis::ComputeAlpha::NamedPort, decorator: Google::Apis::ComputeAlpha::NamedPort::Representation
11295
11362
 
11363
+ property :params, as: 'params', class: Google::Apis::ComputeAlpha::InstanceGroupManagerParams, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerParams::Representation
11364
+
11296
11365
  property :region, as: 'region'
11297
11366
  property :self_link, as: 'selfLink'
11298
11367
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -11464,6 +11533,13 @@ module Google
11464
11533
  end
11465
11534
  end
11466
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
+
11467
11543
  class InstanceGroupManagerResizeRequest
11468
11544
  # @private
11469
11545
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12249,6 +12325,14 @@ module Google
12249
12325
  end
12250
12326
  end
12251
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
+
12252
12336
  class InstancesAddResourcePoliciesRequest
12253
12337
  # @private
12254
12338
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12422,6 +12506,7 @@ module Google
12422
12506
  property :region, as: 'region'
12423
12507
  property :resource_status, as: 'resourceStatus', class: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus, decorator: Google::Apis::ComputeAlpha::InstantSnapshotResourceStatus::Representation
12424
12508
 
12509
+ property :satisfies_pzi, as: 'satisfiesPzi'
12425
12510
  property :satisfies_pzs, as: 'satisfiesPzs'
12426
12511
  property :self_link, as: 'selfLink'
12427
12512
  property :self_link_with_id, as: 'selfLinkWithId'
@@ -13398,6 +13483,7 @@ module Google
13398
13483
  property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
13399
13484
 
13400
13485
  property :name, as: 'name'
13486
+ property :satisfies_pzi, as: 'satisfiesPzi'
13401
13487
  property :satisfies_pzs, as: 'satisfiesPzs'
13402
13488
  collection :saved_disks, as: 'savedDisks', class: Google::Apis::ComputeAlpha::SavedDisk, decorator: Google::Apis::ComputeAlpha::SavedDisk::Representation
13403
13489
 
@@ -17532,14 +17618,17 @@ module Google
17532
17618
 
17533
17619
  property :bfd_status, as: 'bfdStatus', class: Google::Apis::ComputeAlpha::BfdStatus, decorator: Google::Apis::ComputeAlpha::BfdStatus::Representation
17534
17620
 
17621
+ property :enable_ipv4, as: 'enableIpv4'
17535
17622
  property :enable_ipv6, as: 'enableIpv6'
17536
17623
  property :ip_address, as: 'ipAddress'
17624
+ property :ipv4_nexthop_address, as: 'ipv4NexthopAddress'
17537
17625
  property :ipv6_nexthop_address, as: 'ipv6NexthopAddress'
17538
17626
  property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
17539
17627
  property :md5_auth_enabled, as: 'md5AuthEnabled'
17540
17628
  property :name, as: 'name'
17541
17629
  property :num_learned_routes, as: 'numLearnedRoutes'
17542
17630
  property :peer_ip_address, as: 'peerIpAddress'
17631
+ property :peer_ipv4_nexthop_address, as: 'peerIpv4NexthopAddress'
17543
17632
  property :peer_ipv6_nexthop_address, as: 'peerIpv6NexthopAddress'
17544
17633
  property :router_appliance_instance, as: 'routerApplianceInstance'
17545
17634
  property :state, as: 'state'
@@ -17985,7 +18074,21 @@ module Google
17985
18074
  property :auto_deploy_expiration_sec, as: 'autoDeployExpirationSec'
17986
18075
  property :auto_deploy_impacted_baseline_threshold, as: 'autoDeployImpactedBaselineThreshold'
17987
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'
17988
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'
17989
18092
  end
17990
18093
  end
17991
18094
 
@@ -18671,6 +18774,7 @@ module Google
18671
18774
  property :max_retention_days, as: 'maxRetentionDays'
18672
18775
  property :name, as: 'name'
18673
18776
  property :region, as: 'region'
18777
+ property :satisfies_pzi, as: 'satisfiesPzi'
18674
18778
  property :satisfies_pzs, as: 'satisfiesPzs'
18675
18779
  property :self_link, as: 'selfLink'
18676
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
- # in the alpha and beta API and only if the group's `listManagedInstancesResults`
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.
@@ -15992,8 +16045,9 @@ module Google
15992
16045
  # @param [String] instance
15993
16046
  # Name of the instance resource to stop.
15994
16047
  # @param [Boolean] discard_local_ssd
15995
- # If true, discard the contents of any attached localSSD partitions. Default
15996
- # value is false.
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.
15997
16051
  # @param [Boolean] no_graceful_shutdown
15998
16052
  # If true, skips Graceful Shutdown.
15999
16053
  # @param [String] request_id
@@ -16055,8 +16109,9 @@ module Google
16055
16109
  # @param [String] instance
16056
16110
  # Name of the instance resource to suspend.
16057
16111
  # @param [Boolean] discard_local_ssd
16058
- # If true, discard the contents of any attached localSSD partitions. Default
16059
- # value is false.
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.
16060
16115
  # @param [String] request_id
16061
16116
  # An optional request ID to identify requests. Specify a unique request ID so
16062
16117
  # that if you must retry your request, the server will know to ignore the
@@ -31143,9 +31198,8 @@ module Google
31143
31198
  # Lists the instances in the managed instance group and instances that are
31144
31199
  # scheduled to be created. The list includes any current actions that the group
31145
31200
  # has scheduled for its instances. The orderBy query parameter is not supported.
31146
- # The `pageToken` query parameter is supported only in the alpha and beta API
31147
- # and only if the group's `listManagedInstancesResults` field is set to `
31148
- # PAGINATED`.
31201
+ # The `pageToken` query parameter is supported only if the group's `
31202
+ # listManagedInstancesResults` field is set to `PAGINATED`.
31149
31203
  # @param [String] project
31150
31204
  # Project ID for this request.
31151
31205
  # @param [String] region
@@ -48334,8 +48388,8 @@ module Google
48334
48388
 
48335
48389
  # Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-
48336
48390
  # side support for SSL features. This affects connections between clients and
48337
- # the SSL proxy load balancer. They do not affect the connection between the
48338
- # load balancer and the backends.
48391
+ # the load balancer. They do not affect the connection between the load balancer
48392
+ # and the backends.
48339
48393
  # @param [String] project
48340
48394
  # Project ID for this request.
48341
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.85.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-12 00:00:00.000000000 Z
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.85.0
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: []