google-apis-compute_v1 0.134.0 → 0.136.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 ComputeV1
18
18
  # Version of the google-apis-compute_v1 gem
19
- GEM_VERSION = "0.134.0"
19
+ GEM_VERSION = "0.136.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251019"
25
+ REVISION = "20251202"
26
26
  end
27
27
  end
28
28
  end
@@ -742,6 +742,24 @@ module Google
742
742
  include Google::Apis::Core::JsonObjectSupport
743
743
  end
744
744
 
745
+ class CalendarModeAdviceRequest
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class CalendarModeAdviceResponse
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
757
+ class CalendarModeRecommendation
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
745
763
  class CircuitBreakers
746
764
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
765
 
@@ -1324,6 +1342,12 @@ module Google
1324
1342
  include Google::Apis::Core::JsonObjectSupport
1325
1343
  end
1326
1344
 
1345
+ class FlexibleTimeRange
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1327
1351
  class ForwardingRule
1328
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1329
1353
 
@@ -1504,6 +1528,60 @@ module Google
1504
1528
  include Google::Apis::Core::JsonObjectSupport
1505
1529
  end
1506
1530
 
1531
+ class FutureResourcesRecommendation
1532
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1533
+
1534
+ include Google::Apis::Core::JsonObjectSupport
1535
+ end
1536
+
1537
+ class FutureResourcesRecommendationOtherLocation
1538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1539
+
1540
+ include Google::Apis::Core::JsonObjectSupport
1541
+ end
1542
+
1543
+ class FutureResourcesSpec
1544
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1545
+
1546
+ include Google::Apis::Core::JsonObjectSupport
1547
+ end
1548
+
1549
+ class FutureResourcesSpecAggregateResources
1550
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1551
+
1552
+ include Google::Apis::Core::JsonObjectSupport
1553
+ end
1554
+
1555
+ class FutureResourcesSpecLocalSsdPartition
1556
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1557
+
1558
+ include Google::Apis::Core::JsonObjectSupport
1559
+ end
1560
+
1561
+ class FutureResourcesSpecLocationPolicy
1562
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1563
+
1564
+ include Google::Apis::Core::JsonObjectSupport
1565
+ end
1566
+
1567
+ class FutureResourcesSpecLocationPolicyLocation
1568
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1569
+
1570
+ include Google::Apis::Core::JsonObjectSupport
1571
+ end
1572
+
1573
+ class FutureResourcesSpecSpecificSkuResources
1574
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1575
+
1576
+ include Google::Apis::Core::JsonObjectSupport
1577
+ end
1578
+
1579
+ class FutureResourcesSpecTargetResources
1580
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1581
+
1582
+ include Google::Apis::Core::JsonObjectSupport
1583
+ end
1584
+
1507
1585
  class GrpcHealthCheck
1508
1586
  class Representation < Google::Apis::Core::JsonRepresentation; end
1509
1587
 
@@ -7854,6 +7932,7 @@ module Google
7854
7932
  property :creation_timestamp, as: 'creationTimestamp'
7855
7933
  property :description, as: 'description'
7856
7934
  property :id, :numeric_string => true, as: 'id'
7935
+ property :ip_collection, as: 'ipCollection'
7857
7936
  property :ip_version, as: 'ipVersion'
7858
7937
  property :ipv6_endpoint_type, as: 'ipv6EndpointType'
7859
7938
  property :kind, as: 'kind'
@@ -9055,6 +9134,30 @@ module Google
9055
9134
  end
9056
9135
  end
9057
9136
 
9137
+ class CalendarModeAdviceRequest
9138
+ # @private
9139
+ class Representation < Google::Apis::Core::JsonRepresentation
9140
+ hash :future_resources_specs, as: 'futureResourcesSpecs', class: Google::Apis::ComputeV1::FutureResourcesSpec, decorator: Google::Apis::ComputeV1::FutureResourcesSpec::Representation
9141
+
9142
+ end
9143
+ end
9144
+
9145
+ class CalendarModeAdviceResponse
9146
+ # @private
9147
+ class Representation < Google::Apis::Core::JsonRepresentation
9148
+ collection :recommendations, as: 'recommendations', class: Google::Apis::ComputeV1::CalendarModeRecommendation, decorator: Google::Apis::ComputeV1::CalendarModeRecommendation::Representation
9149
+
9150
+ end
9151
+ end
9152
+
9153
+ class CalendarModeRecommendation
9154
+ # @private
9155
+ class Representation < Google::Apis::Core::JsonRepresentation
9156
+ hash :recommendations_per_spec, as: 'recommendationsPerSpec', class: Google::Apis::ComputeV1::FutureResourcesRecommendation, decorator: Google::Apis::ComputeV1::FutureResourcesRecommendation::Representation
9157
+
9158
+ end
9159
+ end
9160
+
9058
9161
  class CircuitBreakers
9059
9162
  # @private
9060
9163
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10144,6 +10247,16 @@ module Google
10144
10247
  end
10145
10248
  end
10146
10249
 
10250
+ class FlexibleTimeRange
10251
+ # @private
10252
+ class Representation < Google::Apis::Core::JsonRepresentation
10253
+ property :max_duration, as: 'maxDuration'
10254
+ property :min_duration, as: 'minDuration'
10255
+ property :start_time_not_earlier_than, as: 'startTimeNotEarlierThan'
10256
+ property :start_time_not_later_than, as: 'startTimeNotLaterThan'
10257
+ end
10258
+ end
10259
+
10147
10260
  class ForwardingRule
10148
10261
  # @private
10149
10262
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10520,6 +10633,92 @@ module Google
10520
10633
  end
10521
10634
  end
10522
10635
 
10636
+ class FutureResourcesRecommendation
10637
+ # @private
10638
+ class Representation < Google::Apis::Core::JsonRepresentation
10639
+ property :end_time, as: 'endTime'
10640
+ property :location, as: 'location'
10641
+ hash :other_locations, as: 'otherLocations', class: Google::Apis::ComputeV1::FutureResourcesRecommendationOtherLocation, decorator: Google::Apis::ComputeV1::FutureResourcesRecommendationOtherLocation::Representation
10642
+
10643
+ property :recommendation_id, as: 'recommendationId'
10644
+ property :recommendation_type, as: 'recommendationType'
10645
+ property :start_time, as: 'startTime'
10646
+ end
10647
+ end
10648
+
10649
+ class FutureResourcesRecommendationOtherLocation
10650
+ # @private
10651
+ class Representation < Google::Apis::Core::JsonRepresentation
10652
+ property :details, as: 'details'
10653
+ property :status, as: 'status'
10654
+ end
10655
+ end
10656
+
10657
+ class FutureResourcesSpec
10658
+ # @private
10659
+ class Representation < Google::Apis::Core::JsonRepresentation
10660
+ property :deployment_type, as: 'deploymentType'
10661
+ property :location_policy, as: 'locationPolicy', class: Google::Apis::ComputeV1::FutureResourcesSpecLocationPolicy, decorator: Google::Apis::ComputeV1::FutureResourcesSpecLocationPolicy::Representation
10662
+
10663
+ property :target_resources, as: 'targetResources', class: Google::Apis::ComputeV1::FutureResourcesSpecTargetResources, decorator: Google::Apis::ComputeV1::FutureResourcesSpecTargetResources::Representation
10664
+
10665
+ property :time_range_spec, as: 'timeRangeSpec', class: Google::Apis::ComputeV1::FlexibleTimeRange, decorator: Google::Apis::ComputeV1::FlexibleTimeRange::Representation
10666
+
10667
+ end
10668
+ end
10669
+
10670
+ class FutureResourcesSpecAggregateResources
10671
+ # @private
10672
+ class Representation < Google::Apis::Core::JsonRepresentation
10673
+ property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
10674
+ property :vm_family, as: 'vmFamily'
10675
+ property :workload_type, as: 'workloadType'
10676
+ end
10677
+ end
10678
+
10679
+ class FutureResourcesSpecLocalSsdPartition
10680
+ # @private
10681
+ class Representation < Google::Apis::Core::JsonRepresentation
10682
+ property :disk_interface, as: 'diskInterface'
10683
+ property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
10684
+ end
10685
+ end
10686
+
10687
+ class FutureResourcesSpecLocationPolicy
10688
+ # @private
10689
+ class Representation < Google::Apis::Core::JsonRepresentation
10690
+ hash :locations, as: 'locations', class: Google::Apis::ComputeV1::FutureResourcesSpecLocationPolicyLocation, decorator: Google::Apis::ComputeV1::FutureResourcesSpecLocationPolicyLocation::Representation
10691
+
10692
+ end
10693
+ end
10694
+
10695
+ class FutureResourcesSpecLocationPolicyLocation
10696
+ # @private
10697
+ class Representation < Google::Apis::Core::JsonRepresentation
10698
+ property :preference, as: 'preference'
10699
+ end
10700
+ end
10701
+
10702
+ class FutureResourcesSpecSpecificSkuResources
10703
+ # @private
10704
+ class Representation < Google::Apis::Core::JsonRepresentation
10705
+ property :instance_count, :numeric_string => true, as: 'instanceCount'
10706
+ collection :local_ssd_partitions, as: 'localSsdPartitions', class: Google::Apis::ComputeV1::FutureResourcesSpecLocalSsdPartition, decorator: Google::Apis::ComputeV1::FutureResourcesSpecLocalSsdPartition::Representation
10707
+
10708
+ property :machine_type, as: 'machineType'
10709
+ end
10710
+ end
10711
+
10712
+ class FutureResourcesSpecTargetResources
10713
+ # @private
10714
+ class Representation < Google::Apis::Core::JsonRepresentation
10715
+ property :aggregate_resources, as: 'aggregateResources', class: Google::Apis::ComputeV1::FutureResourcesSpecAggregateResources, decorator: Google::Apis::ComputeV1::FutureResourcesSpecAggregateResources::Representation
10716
+
10717
+ property :specific_sku_resources, as: 'specificSkuResources', class: Google::Apis::ComputeV1::FutureResourcesSpecSpecificSkuResources, decorator: Google::Apis::ComputeV1::FutureResourcesSpecSpecificSkuResources::Representation
10718
+
10719
+ end
10720
+ end
10721
+
10523
10722
  class GrpcHealthCheck
10524
10723
  # @private
10525
10724
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -12873,6 +13072,10 @@ module Google
12873
13072
  property :admin_enabled, as: 'adminEnabled'
12874
13073
  property :attachment_group, as: 'attachmentGroup'
12875
13074
  property :bandwidth, as: 'bandwidth'
13075
+ property :candidate_cloud_router_ip_address, as: 'candidateCloudRouterIpAddress'
13076
+ property :candidate_cloud_router_ipv6_address, as: 'candidateCloudRouterIpv6Address'
13077
+ property :candidate_customer_router_ip_address, as: 'candidateCustomerRouterIpAddress'
13078
+ property :candidate_customer_router_ipv6_address, as: 'candidateCustomerRouterIpv6Address'
12876
13079
  collection :candidate_ipv6_subnets, as: 'candidateIpv6Subnets'
12877
13080
  collection :candidate_subnets, as: 'candidateSubnets'
12878
13081
  property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
@@ -16360,6 +16563,7 @@ module Google
16360
16563
  property :byoip_api_version, as: 'byoipApiVersion'
16361
16564
  property :creation_timestamp, as: 'creationTimestamp'
16362
16565
  property :description, as: 'description'
16566
+ property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation'
16363
16567
  property :fingerprint, :base64 => true, as: 'fingerprint'
16364
16568
  property :id, :numeric_string => true, as: 'id'
16365
16569
  property :ip_cidr_range, as: 'ipCidrRange'
@@ -16448,6 +16652,7 @@ module Google
16448
16652
  property :allocatable_prefix_length, as: 'allocatablePrefixLength'
16449
16653
  property :delegatee_project, as: 'delegateeProject'
16450
16654
  property :description, as: 'description'
16655
+ property :enable_enhanced_ipv4_allocation, as: 'enableEnhancedIpv4Allocation'
16451
16656
  property :ip_cidr_range, as: 'ipCidrRange'
16452
16657
  property :ipv6_access_type, as: 'ipv6AccessType'
16453
16658
  property :is_address, as: 'isAddress'
@@ -17757,6 +17962,7 @@ module Google
17757
17962
  property :next_hop_ilb, as: 'nextHopIlb'
17758
17963
  property :next_hop_instance, as: 'nextHopInstance'
17759
17964
  property :next_hop_inter_region_cost, as: 'nextHopInterRegionCost'
17965
+ property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
17760
17966
  property :next_hop_ip, as: 'nextHopIp'
17761
17967
  property :next_hop_med, as: 'nextHopMed'
17762
17968
  property :next_hop_network, as: 'nextHopNetwork'
@@ -18526,6 +18732,7 @@ module Google
18526
18732
  property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
18527
18733
  hash :labels, as: 'labels'
18528
18734
  property :name, as: 'name'
18735
+ property :parent, as: 'parent'
18529
18736
  property :recaptcha_options_config, as: 'recaptchaOptionsConfig', class: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig, decorator: Google::Apis::ComputeV1::SecurityPolicyRecaptchaOptionsConfig::Representation
18530
18737
 
18531
18738
  property :region, as: 'region'
@@ -18589,6 +18796,7 @@ module Google
18589
18796
 
18590
18797
  property :json_parsing, as: 'jsonParsing'
18591
18798
  property :log_level, as: 'logLevel'
18799
+ property :request_body_inspection_size, as: 'requestBodyInspectionSize'
18592
18800
  collection :user_ip_request_headers, as: 'userIpRequestHeaders'
18593
18801
  end
18594
18802
  end
@@ -19896,6 +20104,7 @@ module Google
19896
20104
  class Subnetwork
19897
20105
  # @private
19898
20106
  class Representation < Google::Apis::Core::JsonRepresentation
20107
+ property :allow_subnet_cidr_routes_overlap, as: 'allowSubnetCidrRoutesOverlap'
19899
20108
  property :creation_timestamp, as: 'creationTimestamp'
19900
20109
  property :description, as: 'description'
19901
20110
  property :enable_flow_logs, as: 'enableFlowLogs'
@@ -885,6 +885,48 @@ module Google
885
885
  execute_or_queue_command(command, &block)
886
886
  end
887
887
 
888
+ # Advise how, where and when to create the requested amount of instances
889
+ # with specified accelerators, within the specified time and location limits.
890
+ # The method recommends creating future reservations for the requested
891
+ # resources.
892
+ # @param [String] project
893
+ # Project ID for this request.
894
+ # @param [String] region
895
+ # Name of the region for this request.
896
+ # @param [Google::Apis::ComputeV1::CalendarModeAdviceRequest] calendar_mode_advice_request_object
897
+ # @param [String] fields
898
+ # Selector specifying which fields to include in a partial response.
899
+ # @param [String] quota_user
900
+ # Available to use for quota purposes for server-side applications. Can be any
901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
902
+ # @param [String] user_ip
903
+ # Legacy name for parameter that has been superseded by `quotaUser`.
904
+ # @param [Google::Apis::RequestOptions] options
905
+ # Request-specific options
906
+ #
907
+ # @yield [result, err] Result & error if block supplied
908
+ # @yieldparam result [Google::Apis::ComputeV1::CalendarModeAdviceResponse] parsed result object
909
+ # @yieldparam err [StandardError] error object if request failed
910
+ #
911
+ # @return [Google::Apis::ComputeV1::CalendarModeAdviceResponse]
912
+ #
913
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
914
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
915
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
916
+ def calendar_mode_advice(project, region, calendar_mode_advice_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
917
+ command = make_simple_command(:post, 'projects/{project}/regions/{region}/advice/calendarMode', options)
918
+ command.request_representation = Google::Apis::ComputeV1::CalendarModeAdviceRequest::Representation
919
+ command.request_object = calendar_mode_advice_request_object
920
+ command.response_representation = Google::Apis::ComputeV1::CalendarModeAdviceResponse::Representation
921
+ command.response_class = Google::Apis::ComputeV1::CalendarModeAdviceResponse
922
+ command.params['project'] = project unless project.nil?
923
+ command.params['region'] = region unless region.nil?
924
+ command.query['fields'] = fields unless fields.nil?
925
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
926
+ command.query['userIp'] = user_ip unless user_ip.nil?
927
+ execute_or_queue_command(command, &block)
928
+ end
929
+
888
930
  # Retrieves an aggregated list of autoscalers.
889
931
  # To prevent failure, it is recommended that you set the
890
932
  # `returnPartialSuccess` parameter to `true`.
@@ -27373,8 +27415,10 @@ module Google
27373
27415
  # This has billing implications. Projects in the hierarchy with effective
27374
27416
  # hierarchical security policies will be automatically enrolled into Cloud
27375
27417
  # Armor Enterprise if not already enrolled.
27376
- # Use of this API to modify firewall policies is deprecated. Use
27377
- # firewallPolicies.addAssociation instead if possible.
27418
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
27419
+ # versions of this API were used to modify firewall policies. This usage is
27420
+ # now disabled for most organizations. Use firewallPolicies.addAssociation
27421
+ # instead.
27378
27422
  # @param [String] security_policy
27379
27423
  # Name of the security policy to update.
27380
27424
  # @param [Google::Apis::ComputeV1::SecurityPolicyAssociation] security_policy_association_object
@@ -27429,6 +27473,9 @@ module Google
27429
27473
  end
27430
27474
 
27431
27475
  # Inserts a rule into a security policy.
27476
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
27477
+ # versions of this API were used to modify firewall policies. This usage is
27478
+ # now disabled for most organizations. Use firewallPolicies.addRule instead.
27432
27479
  # @param [String] security_policy
27433
27480
  # Name of the security policy to update.
27434
27481
  # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
@@ -27478,8 +27525,10 @@ module Google
27478
27525
  end
27479
27526
 
27480
27527
  # Copies rules to the specified security policy.
27481
- # Use of this API to modify firewall policies is deprecated. Use
27482
- # firewallPolicies.copyRules instead.
27528
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
27529
+ # versions of this API were used to modify firewall policies. This usage is
27530
+ # now disabled for most organizations. Use firewallPolicies.cloneRules
27531
+ # instead.
27483
27532
  # @param [String] security_policy
27484
27533
  # Name of the security policy to update.
27485
27534
  # @param [String] request_id
@@ -27529,8 +27578,9 @@ module Google
27529
27578
  end
27530
27579
 
27531
27580
  # Deletes the specified policy.
27532
- # Use of this API to remove firewall policies is deprecated. Use
27533
- # firewallPolicies.delete instead.
27581
+ # Use this API to remove Cloud Armor policies. Previously, alpha and beta
27582
+ # versions of this API were used to remove firewall policies. This usage is
27583
+ # now disabled for most organizations. Use firewallPolicies.delete instead.
27534
27584
  # @param [String] security_policy
27535
27585
  # Name of the security policy to delete.
27536
27586
  # @param [String] request_id
@@ -27577,8 +27627,9 @@ module Google
27577
27627
  end
27578
27628
 
27579
27629
  # List all of the ordered rules present in a single specified policy.
27580
- # Use of this API to read firewall policies is deprecated. Use
27581
- # firewallPolicies.get instead.
27630
+ # Use this API to read Cloud Armor policies. Previously, alpha and beta
27631
+ # versions of this API were used to read firewall policies. This usage is now
27632
+ # disabled for most organizations. Use firewallPolicies.get instead.
27582
27633
  # @param [String] security_policy
27583
27634
  # Name of the security policy to get.
27584
27635
  # @param [String] fields
@@ -27612,8 +27663,10 @@ module Google
27612
27663
  end
27613
27664
 
27614
27665
  # Gets an association with the specified name.
27615
- # Use of this API to read firewall policies is deprecated. Use
27616
- # firewallPolicies.getAssociation instead if possible.
27666
+ # Use this API to read Cloud Armor policies. Previously, alpha and beta
27667
+ # versions of this API were used to read firewall policies. This usage is
27668
+ # now disabled for most organizations. Use firewallPolicies.getAssociation
27669
+ # instead.
27617
27670
  # @param [String] security_policy
27618
27671
  # Name of the security policy to which the queried rule belongs.
27619
27672
  # @param [String] name
@@ -27650,8 +27703,9 @@ module Google
27650
27703
  end
27651
27704
 
27652
27705
  # Gets a rule at the specified priority.
27653
- # Use of this API to read firewall policies is deprecated. Use
27654
- # firewallPolicies.getRule instead.
27706
+ # Use this API to read Cloud Armor policies. Previously, alpha and beta
27707
+ # versions of this API were used to read firewall policies. This usage is now
27708
+ # disabled for most organizations. Use firewallPolicies.getRule instead.
27655
27709
  # @param [String] security_policy
27656
27710
  # Name of the security policy to which the queried rule belongs.
27657
27711
  # @param [Fixnum] priority
@@ -27689,8 +27743,9 @@ module Google
27689
27743
 
27690
27744
  # Creates a new policy in the specified organization using the data included
27691
27745
  # in the request.
27692
- # Use of this API to insert firewall policies is deprecated. Use
27693
- # firewallPolicies.insert instead.
27746
+ # Use this API to add Cloud Armor policies. Previously, alpha and beta
27747
+ # versions of this API were used to add firewall policies. This usage is now
27748
+ # disabled for most organizations. Use firewallPolicies.insert instead.
27694
27749
  # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
27695
27750
  # @param [String] parent_id
27696
27751
  # Parent ID for this request. The ID can be either be "folders/[FOLDER_ID]"
@@ -27743,8 +27798,9 @@ module Google
27743
27798
 
27744
27799
  # List all the policies that have been configured for the specified
27745
27800
  # organization.
27746
- # Use of this API to read firewall policies is deprecated. Use
27747
- # firewallPolicies.list instead.
27801
+ # Use this API to read Cloud Armor policies. Previously, alpha and beta
27802
+ # versions of this API were used to read firewall policies. This usage is now
27803
+ # disabled for most organizations. Use firewallPolicies.list instead.
27748
27804
  # @param [String] filter
27749
27805
  # A filter expression that filters resources listed in the response. Most
27750
27806
  # Compute resources support two types of filter expressions:
@@ -27859,8 +27915,10 @@ module Google
27859
27915
  end
27860
27916
 
27861
27917
  # Lists associations of a specified target, i.e., organization or folder.
27862
- # Use of this API to read firewall policies is deprecated. Use
27863
- # firewallPolicies.listAssociations instead if possible.
27918
+ # Use this API to read Cloud Armor policies. Previously, alpha and beta
27919
+ # versions of this API were used to read firewall policies. This usage is
27920
+ # now disabled for most organizations. Use firewallPolicies.listAssociations
27921
+ # instead.
27864
27922
  # @param [String] target_resource
27865
27923
  # The target resource to list associations. It is an organization, or a
27866
27924
  # folder.
@@ -28010,8 +28068,9 @@ module Google
28010
28068
  end
28011
28069
 
28012
28070
  # Moves the specified security policy.
28013
- # Use of this API to modify firewall policies is deprecated. Use
28014
- # firewallPolicies.move instead.
28071
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
28072
+ # versions of this API were used to modify firewall policies. This usage is
28073
+ # now disabled for most organizations. Use firewallPolicies.move instead.
28015
28074
  # @param [String] security_policy
28016
28075
  # Name of the security policy to update.
28017
28076
  # @param [String] parent_id
@@ -28061,8 +28120,9 @@ module Google
28061
28120
  end
28062
28121
 
28063
28122
  # Patches the specified policy with the data included in the request.
28064
- # Use of this API to modify firewall policies is deprecated. Use
28065
- # firewallPolicies.patch instead.
28123
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
28124
+ # versions of this API were used to modify firewall policies. This usage is
28125
+ # now disabled for most organizations. Use firewallPolicies.patch instead.
28066
28126
  # @param [String] security_policy
28067
28127
  # Name of the security policy to update.
28068
28128
  # @param [Google::Apis::ComputeV1::SecurityPolicy] security_policy_object
@@ -28112,8 +28172,10 @@ module Google
28112
28172
  end
28113
28173
 
28114
28174
  # Patches a rule at the specified priority.
28115
- # Use of this API to modify firewall policies is deprecated. Use
28116
- # firewallPolicies.patchRule instead.
28175
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
28176
+ # versions of this API were used to modify firewall policies. This usage is
28177
+ # now disabled for most organizations. Use firewallPolicies.patchRule
28178
+ # instead.
28117
28179
  # @param [String] security_policy
28118
28180
  # Name of the security policy to update.
28119
28181
  # @param [Google::Apis::ComputeV1::SecurityPolicyRule] security_policy_rule_object
@@ -28166,8 +28228,10 @@ module Google
28166
28228
  end
28167
28229
 
28168
28230
  # Removes an association for the specified security policy.
28169
- # Use of this API to modify firewall policies is deprecated. Use
28170
- # firewallPolicies.removeAssociation instead if possible.
28231
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
28232
+ # versions of this API were used to modify firewall policies. This usage is
28233
+ # now disabled for most organizations. Use firewallPolicies.removeAssociation
28234
+ # instead.
28171
28235
  # @param [String] security_policy
28172
28236
  # Name of the security policy to update.
28173
28237
  # @param [String] name
@@ -28217,6 +28281,10 @@ module Google
28217
28281
  end
28218
28282
 
28219
28283
  # Deletes a rule at the specified priority.
28284
+ # Use this API to modify Cloud Armor policies. Previously, alpha and beta
28285
+ # versions of this API were used to modify firewall policies. This usage is
28286
+ # now disabled for most organizations. Use firewallPolicies.removeRule
28287
+ # instead.
28220
28288
  # @param [String] security_policy
28221
28289
  # Name of the security policy to update.
28222
28290
  # @param [Fixnum] priority
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-compute_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.134.0
4
+ version: 0.136.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.134.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-compute_v1/v0.136.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-compute_v1
62
62
  rdoc_options: []
63
63
  require_paths: