google-apis-compute_beta 0.111.0 → 0.113.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.113.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -520,6 +520,12 @@ module Google
|
|
520
520
|
include Google::Apis::Core::JsonObjectSupport
|
521
521
|
end
|
522
522
|
|
523
|
+
class BackendServiceHaPolicy
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
523
529
|
class BackendServiceHttpCookie
|
524
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
531
|
|
@@ -1258,6 +1264,12 @@ module Google
|
|
1258
1264
|
include Google::Apis::Core::JsonObjectSupport
|
1259
1265
|
end
|
1260
1266
|
|
1267
|
+
class FirewallParams
|
1268
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1269
|
+
|
1270
|
+
include Google::Apis::Core::JsonObjectSupport
|
1271
|
+
end
|
1272
|
+
|
1261
1273
|
class FirewallPoliciesListAssociationsResponse
|
1262
1274
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
1275
|
|
@@ -1588,6 +1600,12 @@ module Google
|
|
1588
1600
|
include Google::Apis::Core::JsonObjectSupport
|
1589
1601
|
end
|
1590
1602
|
|
1603
|
+
class GrpctlsHealthCheck
|
1604
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
|
+
|
1606
|
+
include Google::Apis::Core::JsonObjectSupport
|
1607
|
+
end
|
1608
|
+
|
1591
1609
|
class GlobalAddressesMoveRequest
|
1592
1610
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1593
1611
|
|
@@ -3724,6 +3742,12 @@ module Google
|
|
3724
3742
|
include Google::Apis::Core::JsonObjectSupport
|
3725
3743
|
end
|
3726
3744
|
|
3745
|
+
class NetworkParams
|
3746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3747
|
+
|
3748
|
+
include Google::Apis::Core::JsonObjectSupport
|
3749
|
+
end
|
3750
|
+
|
3727
3751
|
class NetworkPeering
|
3728
3752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3729
3753
|
|
@@ -5248,6 +5272,12 @@ module Google
|
|
5248
5272
|
include Google::Apis::Core::JsonObjectSupport
|
5249
5273
|
end
|
5250
5274
|
|
5275
|
+
class RouteParams
|
5276
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5277
|
+
|
5278
|
+
include Google::Apis::Core::JsonObjectSupport
|
5279
|
+
end
|
5280
|
+
|
5251
5281
|
class RoutePolicy
|
5252
5282
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5253
5283
|
|
@@ -6454,6 +6484,12 @@ module Google
|
|
6454
6484
|
include Google::Apis::Core::JsonObjectSupport
|
6455
6485
|
end
|
6456
6486
|
|
6487
|
+
class SubnetworkParams
|
6488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6489
|
+
|
6490
|
+
include Google::Apis::Core::JsonObjectSupport
|
6491
|
+
end
|
6492
|
+
|
6457
6493
|
class SubnetworkSecondaryRange
|
6458
6494
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
6459
6495
|
|
@@ -8366,6 +8402,8 @@ module Google
|
|
8366
8402
|
property :failover_policy, as: 'failoverPolicy', class: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceFailoverPolicy::Representation
|
8367
8403
|
|
8368
8404
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
8405
|
+
property :ha_policy, as: 'haPolicy', class: Google::Apis::ComputeBeta::BackendServiceHaPolicy, decorator: Google::Apis::ComputeBeta::BackendServiceHaPolicy::Representation
|
8406
|
+
|
8369
8407
|
collection :health_checks, as: 'healthChecks'
|
8370
8408
|
property :iap, as: 'iap', class: Google::Apis::ComputeBeta::BackendServiceIap, decorator: Google::Apis::ComputeBeta::BackendServiceIap::Representation
|
8371
8409
|
|
@@ -8531,6 +8569,13 @@ module Google
|
|
8531
8569
|
end
|
8532
8570
|
end
|
8533
8571
|
|
8572
|
+
class BackendServiceHaPolicy
|
8573
|
+
# @private
|
8574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8575
|
+
property :fast_ip_move, as: 'fastIPMove'
|
8576
|
+
end
|
8577
|
+
end
|
8578
|
+
|
8534
8579
|
class BackendServiceHttpCookie
|
8535
8580
|
# @private
|
8536
8581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9125,7 +9170,6 @@ module Google
|
|
9125
9170
|
property :kind, as: 'kind'
|
9126
9171
|
property :name, as: 'name'
|
9127
9172
|
property :self_link, as: 'selfLink'
|
9128
|
-
property :self_link_with_id, as: 'selfLinkWithId'
|
9129
9173
|
end
|
9130
9174
|
end
|
9131
9175
|
|
@@ -9786,6 +9830,8 @@ module Google
|
|
9786
9830
|
|
9787
9831
|
property :name, as: 'name'
|
9788
9832
|
property :network, as: 'network'
|
9833
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::FirewallParams, decorator: Google::Apis::ComputeBeta::FirewallParams::Representation
|
9834
|
+
|
9789
9835
|
property :priority, as: 'priority'
|
9790
9836
|
property :self_link, as: 'selfLink'
|
9791
9837
|
collection :source_ranges, as: 'sourceRanges'
|
@@ -9852,6 +9898,13 @@ module Google
|
|
9852
9898
|
end
|
9853
9899
|
end
|
9854
9900
|
|
9901
|
+
class FirewallParams
|
9902
|
+
# @private
|
9903
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9904
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
9905
|
+
end
|
9906
|
+
end
|
9907
|
+
|
9855
9908
|
class FirewallPoliciesListAssociationsResponse
|
9856
9909
|
# @private
|
9857
9910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9921,6 +9974,7 @@ module Google
|
|
9921
9974
|
property :display_name, as: 'displayName'
|
9922
9975
|
property :firewall_policy_id, as: 'firewallPolicyId'
|
9923
9976
|
property :name, as: 'name'
|
9977
|
+
property :priority, as: 'priority'
|
9924
9978
|
property :short_name, as: 'shortName'
|
9925
9979
|
end
|
9926
9980
|
end
|
@@ -10510,6 +10564,15 @@ module Google
|
|
10510
10564
|
end
|
10511
10565
|
end
|
10512
10566
|
|
10567
|
+
class GrpctlsHealthCheck
|
10568
|
+
# @private
|
10569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10570
|
+
property :grpc_service_name, as: 'grpcServiceName'
|
10571
|
+
property :port, as: 'port'
|
10572
|
+
property :port_specification, as: 'portSpecification'
|
10573
|
+
end
|
10574
|
+
end
|
10575
|
+
|
10513
10576
|
class GlobalAddressesMoveRequest
|
10514
10577
|
# @private
|
10515
10578
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10659,6 +10722,8 @@ module Google
|
|
10659
10722
|
property :description, as: 'description'
|
10660
10723
|
property :grpc_health_check, as: 'grpcHealthCheck', class: Google::Apis::ComputeBeta::GrpcHealthCheck, decorator: Google::Apis::ComputeBeta::GrpcHealthCheck::Representation
|
10661
10724
|
|
10725
|
+
property :grpc_tls_health_check, as: 'grpcTlsHealthCheck', class: Google::Apis::ComputeBeta::GrpctlsHealthCheck, decorator: Google::Apis::ComputeBeta::GrpctlsHealthCheck::Representation
|
10726
|
+
|
10662
10727
|
property :healthy_threshold, as: 'healthyThreshold'
|
10663
10728
|
property :http2_health_check, as: 'http2HealthCheck', class: Google::Apis::ComputeBeta::Http2HealthCheck, decorator: Google::Apis::ComputeBeta::Http2HealthCheck::Representation
|
10664
10729
|
|
@@ -11710,6 +11775,8 @@ module Google
|
|
11710
11775
|
property :creation_timestamp, as: 'creationTimestamp'
|
11711
11776
|
property :description, as: 'description'
|
11712
11777
|
property :id, :numeric_string => true, as: 'id'
|
11778
|
+
collection :instances, as: 'instances', class: Google::Apis::ComputeBeta::PerInstanceConfig, decorator: Google::Apis::ComputeBeta::PerInstanceConfig::Representation
|
11779
|
+
|
11713
11780
|
property :kind, as: 'kind'
|
11714
11781
|
property :name, as: 'name'
|
11715
11782
|
property :region, as: 'region'
|
@@ -13563,6 +13630,8 @@ module Google
|
|
13563
13630
|
property :instance_properties, as: 'instanceProperties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation
|
13564
13631
|
|
13565
13632
|
property :kind, as: 'kind'
|
13633
|
+
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
13634
|
+
hash :labels, as: 'labels'
|
13566
13635
|
property :machine_image_encryption_key, as: 'machineImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
13567
13636
|
|
13568
13637
|
property :name, as: 'name'
|
@@ -13980,6 +14049,8 @@ module Google
|
|
13980
14049
|
property :name, as: 'name'
|
13981
14050
|
property :network_firewall_policy_enforcement_order, as: 'networkFirewallPolicyEnforcementOrder'
|
13982
14051
|
property :network_profile, as: 'networkProfile'
|
14052
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::NetworkParams, decorator: Google::Apis::ComputeBeta::NetworkParams::Representation
|
14053
|
+
|
13983
14054
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeBeta::NetworkPeering, decorator: Google::Apis::ComputeBeta::NetworkPeering::Representation
|
13984
14055
|
|
13985
14056
|
property :routing_config, as: 'routingConfig', class: Google::Apis::ComputeBeta::NetworkRoutingConfig, decorator: Google::Apis::ComputeBeta::NetworkRoutingConfig::Representation
|
@@ -14556,6 +14627,13 @@ module Google
|
|
14556
14627
|
end
|
14557
14628
|
end
|
14558
14629
|
|
14630
|
+
class NetworkParams
|
14631
|
+
# @private
|
14632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14633
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
14634
|
+
end
|
14635
|
+
end
|
14636
|
+
|
14559
14637
|
class NetworkPeering
|
14560
14638
|
# @private
|
14561
14639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14615,10 +14693,14 @@ module Google
|
|
14615
14693
|
property :allow_class_d_firewalls, as: 'allowClassDFirewalls'
|
14616
14694
|
property :allow_cloud_nat, as: 'allowCloudNat'
|
14617
14695
|
property :allow_cloud_router, as: 'allowCloudRouter'
|
14696
|
+
property :allow_default_nic_attachment, as: 'allowDefaultNicAttachment'
|
14618
14697
|
property :allow_external_ip_access, as: 'allowExternalIpAccess'
|
14619
14698
|
property :allow_interconnect, as: 'allowInterconnect'
|
14699
|
+
property :allow_ip_forwarding, as: 'allowIpForwarding'
|
14620
14700
|
property :allow_load_balancing, as: 'allowLoadBalancing'
|
14621
14701
|
property :allow_multi_nic_in_same_network, as: 'allowMultiNicInSameNetwork'
|
14702
|
+
property :allow_ncc, as: 'allowNcc'
|
14703
|
+
property :allow_network_migration, as: 'allowNetworkMigration'
|
14622
14704
|
property :allow_packet_mirroring, as: 'allowPacketMirroring'
|
14623
14705
|
property :allow_private_google_access, as: 'allowPrivateGoogleAccess'
|
14624
14706
|
property :allow_psc, as: 'allowPsc'
|
@@ -14630,6 +14712,8 @@ module Google
|
|
14630
14712
|
collection :interface_types, as: 'interfaceTypes'
|
14631
14713
|
collection :subnet_purposes, as: 'subnetPurposes'
|
14632
14714
|
collection :subnet_stack_types, as: 'subnetStackTypes'
|
14715
|
+
collection :subnetwork_purposes, as: 'subnetworkPurposes'
|
14716
|
+
collection :subnetwork_stack_types, as: 'subnetworkStackTypes'
|
14633
14717
|
property :unicast, as: 'unicast'
|
14634
14718
|
end
|
14635
14719
|
end
|
@@ -16675,6 +16759,7 @@ module Google
|
|
16675
16759
|
property :description, as: 'description'
|
16676
16760
|
property :id, :numeric_string => true, as: 'id'
|
16677
16761
|
property :kind, as: 'kind'
|
16762
|
+
collection :linked_commitments, as: 'linkedCommitments'
|
16678
16763
|
property :name, as: 'name'
|
16679
16764
|
property :reservation_mode, as: 'reservationMode'
|
16680
16765
|
property :reservation_sharing_policy, as: 'reservationSharingPolicy', class: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy, decorator: Google::Apis::ComputeBeta::AllocationReservationSharingPolicy::Representation
|
@@ -17133,6 +17218,7 @@ module Google
|
|
17133
17218
|
property :chain_name, as: 'chainName'
|
17134
17219
|
property :guest_flush, as: 'guestFlush'
|
17135
17220
|
hash :labels, as: 'labels'
|
17221
|
+
property :region, as: 'region'
|
17136
17222
|
collection :storage_locations, as: 'storageLocations'
|
17137
17223
|
end
|
17138
17224
|
end
|
@@ -17239,6 +17325,8 @@ module Google
|
|
17239
17325
|
property :next_hop_origin, as: 'nextHopOrigin'
|
17240
17326
|
property :next_hop_peering, as: 'nextHopPeering'
|
17241
17327
|
property :next_hop_vpn_tunnel, as: 'nextHopVpnTunnel'
|
17328
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::RouteParams, decorator: Google::Apis::ComputeBeta::RouteParams::Representation
|
17329
|
+
|
17242
17330
|
property :priority, as: 'priority'
|
17243
17331
|
property :route_status, as: 'routeStatus'
|
17244
17332
|
property :route_type, as: 'routeType'
|
@@ -17307,6 +17395,13 @@ module Google
|
|
17307
17395
|
end
|
17308
17396
|
end
|
17309
17397
|
|
17398
|
+
class RouteParams
|
17399
|
+
# @private
|
17400
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
17401
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
17402
|
+
end
|
17403
|
+
end
|
17404
|
+
|
17310
17405
|
class RoutePolicy
|
17311
17406
|
# @private
|
17312
17407
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -19541,6 +19636,8 @@ module Google
|
|
19541
19636
|
|
19542
19637
|
property :name, as: 'name'
|
19543
19638
|
property :network, as: 'network'
|
19639
|
+
property :params, as: 'params', class: Google::Apis::ComputeBeta::SubnetworkParams, decorator: Google::Apis::ComputeBeta::SubnetworkParams::Representation
|
19640
|
+
|
19544
19641
|
property :private_ip_google_access, as: 'privateIpGoogleAccess'
|
19545
19642
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
19546
19643
|
property :purpose, as: 'purpose'
|
@@ -19632,6 +19729,13 @@ module Google
|
|
19632
19729
|
end
|
19633
19730
|
end
|
19634
19731
|
|
19732
|
+
class SubnetworkParams
|
19733
|
+
# @private
|
19734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
19735
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
19736
|
+
end
|
19737
|
+
end
|
19738
|
+
|
19635
19739
|
class SubnetworkSecondaryRange
|
19636
19740
|
# @private
|
19637
19741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20636,6 +20740,7 @@ module Google
|
|
20636
20740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
20637
20741
|
property :can_reschedule, as: 'canReschedule'
|
20638
20742
|
property :latest_window_start_time, as: 'latestWindowStartTime'
|
20743
|
+
property :maintenance_on_shutdown, as: 'maintenanceOnShutdown'
|
20639
20744
|
property :maintenance_status, as: 'maintenanceStatus'
|
20640
20745
|
property :type, as: 'type'
|
20641
20746
|
property :window_end_time, as: 'windowEndTime'
|
@@ -21313,7 +21418,6 @@ module Google
|
|
21313
21418
|
property :kind, as: 'kind'
|
21314
21419
|
property :name, as: 'name'
|
21315
21420
|
property :self_link, as: 'selfLink'
|
21316
|
-
property :self_link_with_id, as: 'selfLinkWithId'
|
21317
21421
|
property :topology, as: 'topology', class: Google::Apis::ComputeBeta::WireGroupTopology, decorator: Google::Apis::ComputeBeta::WireGroupTopology::Representation
|
21318
21422
|
|
21319
21423
|
property :wire_group_properties, as: 'wireGroupProperties', class: Google::Apis::ComputeBeta::WireGroupProperties, decorator: Google::Apis::ComputeBeta::WireGroupProperties::Representation
|
@@ -19788,6 +19788,46 @@ module Google
|
|
19788
19788
|
execute_or_queue_command(command, &block)
|
19789
19789
|
end
|
19790
19790
|
|
19791
|
+
# Sets the labels on a machine image. To learn more about labels, read the
|
19792
|
+
# Labeling Resources documentation.
|
19793
|
+
# @param [String] project
|
19794
|
+
# Project ID for this request.
|
19795
|
+
# @param [String] resource
|
19796
|
+
# Name or id of the resource for this request.
|
19797
|
+
# @param [Google::Apis::ComputeBeta::GlobalSetLabelsRequest] global_set_labels_request_object
|
19798
|
+
# @param [String] fields
|
19799
|
+
# Selector specifying which fields to include in a partial response.
|
19800
|
+
# @param [String] quota_user
|
19801
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
19802
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
19803
|
+
# @param [String] user_ip
|
19804
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
19805
|
+
# @param [Google::Apis::RequestOptions] options
|
19806
|
+
# Request-specific options
|
19807
|
+
#
|
19808
|
+
# @yield [result, err] Result & error if block supplied
|
19809
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
19810
|
+
# @yieldparam err [StandardError] error object if request failed
|
19811
|
+
#
|
19812
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
19813
|
+
#
|
19814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
19815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
19816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
19817
|
+
def set_machine_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
19818
|
+
command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setLabels', options)
|
19819
|
+
command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation
|
19820
|
+
command.request_object = global_set_labels_request_object
|
19821
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
19822
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
19823
|
+
command.params['project'] = project unless project.nil?
|
19824
|
+
command.params['resource'] = resource unless resource.nil?
|
19825
|
+
command.query['fields'] = fields unless fields.nil?
|
19826
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
19827
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
19828
|
+
execute_or_queue_command(command, &block)
|
19829
|
+
end
|
19830
|
+
|
19791
19831
|
# Returns permissions that a caller has on the specified resource.
|
19792
19832
|
# @param [String] project
|
19793
19833
|
# Project ID for this request.
|
@@ -34957,6 +34997,10 @@ module Google
|
|
34957
34997
|
# @param [String] firewall_policy
|
34958
34998
|
# Name of the firewall policy to update.
|
34959
34999
|
# @param [Google::Apis::ComputeBeta::FirewallPolicyAssociation] firewall_policy_association_object
|
35000
|
+
# @param [String] associated_policy_to_be_replaced
|
35001
|
+
# Name of the firewall policy associated with the target network to swap
|
35002
|
+
# association with. This field is mutually exclusive with '
|
35003
|
+
# replace_existing_association'.
|
34960
35004
|
# @param [Boolean] replace_existing_association
|
34961
35005
|
# Indicates whether or not to replace it if an association already exists. This
|
34962
35006
|
# is false by default, in which case an error will be returned if an association
|
@@ -34990,7 +35034,7 @@ module Google
|
|
34990
35034
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34991
35035
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34992
35036
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34993
|
-
def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35037
|
+
def add_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, associated_policy_to_be_replaced: nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34994
35038
|
command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation', options)
|
34995
35039
|
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyAssociation::Representation
|
34996
35040
|
command.request_object = firewall_policy_association_object
|
@@ -34999,6 +35043,7 @@ module Google
|
|
34999
35043
|
command.params['project'] = project unless project.nil?
|
35000
35044
|
command.params['region'] = region unless region.nil?
|
35001
35045
|
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
35046
|
+
command.query['associatedPolicyToBeReplaced'] = associated_policy_to_be_replaced unless associated_policy_to_be_replaced.nil?
|
35002
35047
|
command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
|
35003
35048
|
command.query['requestId'] = request_id unless request_id.nil?
|
35004
35049
|
command.query['fields'] = fields unless fields.nil?
|
@@ -35574,6 +35619,59 @@ module Google
|
|
35574
35619
|
execute_or_queue_command(command, &block)
|
35575
35620
|
end
|
35576
35621
|
|
35622
|
+
# Updates an association for the specified network firewall policy.
|
35623
|
+
# @param [String] project
|
35624
|
+
# Project ID for this request.
|
35625
|
+
# @param [String] region
|
35626
|
+
# Name of the region scoping this request.
|
35627
|
+
# @param [String] firewall_policy
|
35628
|
+
# Name of the firewall policy to update.
|
35629
|
+
# @param [Google::Apis::ComputeBeta::FirewallPolicyAssociation] firewall_policy_association_object
|
35630
|
+
# @param [String] request_id
|
35631
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
35632
|
+
# that if you must retry your request, the server will know to ignore the
|
35633
|
+
# request if it has already been completed. For example, consider a situation
|
35634
|
+
# where you make an initial request and the request times out. If you make the
|
35635
|
+
# request again with the same request ID, the server can check if original
|
35636
|
+
# operation with the same request ID was received, and if so, will ignore the
|
35637
|
+
# second request. This prevents clients from accidentally creating duplicate
|
35638
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
35639
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
35640
|
+
# @param [String] fields
|
35641
|
+
# Selector specifying which fields to include in a partial response.
|
35642
|
+
# @param [String] quota_user
|
35643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
35644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
35645
|
+
# @param [String] user_ip
|
35646
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
35647
|
+
# @param [Google::Apis::RequestOptions] options
|
35648
|
+
# Request-specific options
|
35649
|
+
#
|
35650
|
+
# @yield [result, err] Result & error if block supplied
|
35651
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
35652
|
+
# @yieldparam err [StandardError] error object if request failed
|
35653
|
+
#
|
35654
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
35655
|
+
#
|
35656
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
35657
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
35658
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
35659
|
+
def patch_region_network_firewall_policy_association(project, region, firewall_policy, firewall_policy_association_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
35660
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation', options)
|
35661
|
+
command.request_representation = Google::Apis::ComputeBeta::FirewallPolicyAssociation::Representation
|
35662
|
+
command.request_object = firewall_policy_association_object
|
35663
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
35664
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
35665
|
+
command.params['project'] = project unless project.nil?
|
35666
|
+
command.params['region'] = region unless region.nil?
|
35667
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
35668
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
35669
|
+
command.query['fields'] = fields unless fields.nil?
|
35670
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
35671
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
35672
|
+
execute_or_queue_command(command, &block)
|
35673
|
+
end
|
35674
|
+
|
35577
35675
|
# Patches a rule of the specified priority.
|
35578
35676
|
# @param [String] project
|
35579
35677
|
# Project ID for this request.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.113.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_beta/v0.113.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|