google-apis-compute_beta 0.74.0 → 0.75.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6671af79866b27a743649a1d5611555940735a929bd6883362b936c2169453
|
4
|
+
data.tar.gz: 4d5c88ec2b29d7a62b4a9a3509e8ef3714e2574dff71fc08204791a912c80072
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1c87825981297e8af354bbc884178ebc7079e629e062347f365707e42f6b7e7895d0cd5b6512f01ed581ec9c57b2b940a04ad66cb4d97d9426e9f3c73b9c7f
|
7
|
+
data.tar.gz: 7b1c3b681b81e5ddcb14df798f877957d49cfdb2296586760bd016210ac1020735c3f8bbd14c35cf2797663c5ecfeafb65d621265629b74ae123795e60baf4f9
|
data/CHANGELOG.md
CHANGED
@@ -2912,7 +2912,7 @@ module Google
|
|
2912
2912
|
# @return [String]
|
2913
2913
|
attr_accessor :creation_timestamp
|
2914
2914
|
|
2915
|
-
# Headers that the
|
2915
|
+
# Headers that the Application Load Balancer should add to proxied responses.
|
2916
2916
|
# Corresponds to the JSON property `customResponseHeaders`
|
2917
2917
|
# @return [Array<String>]
|
2918
2918
|
attr_accessor :custom_response_headers
|
@@ -15857,11 +15857,9 @@ module Google
|
|
15857
15857
|
# @return [String]
|
15858
15858
|
attr_accessor :replacement_method
|
15859
15859
|
|
15860
|
-
# The type of update process. You can specify either PROACTIVE so that the
|
15861
|
-
#
|
15862
|
-
#
|
15863
|
-
# proactively executed but the update will be performed as part of other actions
|
15864
|
-
# (for example, resizes or recreateInstances calls).
|
15860
|
+
# The type of update process. You can specify either PROACTIVE so that the MIG
|
15861
|
+
# automatically updates VMs to the latest configurations or OPPORTUNISTIC so
|
15862
|
+
# that you can select the VMs that you want to update.
|
15865
15863
|
# Corresponds to the JSON property `type`
|
15866
15864
|
# @return [String]
|
15867
15865
|
attr_accessor :type
|
@@ -29678,6 +29676,13 @@ module Google
|
|
29678
29676
|
# @return [String]
|
29679
29677
|
attr_accessor :kind
|
29680
29678
|
|
29679
|
+
# [Output Only] The Cloud Armor Managed Protection (CAMP) tier for this project.
|
29680
|
+
# It can be one of the following values: CA_STANDARD, CAMP_PLUS_MONTHLY. If this
|
29681
|
+
# field is not specified, it is assumed to be CA_STANDARD.
|
29682
|
+
# Corresponds to the JSON property `managedProtectionTier`
|
29683
|
+
# @return [String]
|
29684
|
+
attr_accessor :managed_protection_tier
|
29685
|
+
|
29681
29686
|
# The project ID. For example: my-example-project. Use the project ID to make
|
29682
29687
|
# requests to Compute Engine.
|
29683
29688
|
# Corresponds to the JSON property `name`
|
@@ -29726,6 +29731,7 @@ module Google
|
|
29726
29731
|
@enabled_features = args[:enabled_features] if args.key?(:enabled_features)
|
29727
29732
|
@id = args[:id] if args.key?(:id)
|
29728
29733
|
@kind = args[:kind] if args.key?(:kind)
|
29734
|
+
@managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
|
29729
29735
|
@name = args[:name] if args.key?(:name)
|
29730
29736
|
@quotas = args[:quotas] if args.key?(:quotas)
|
29731
29737
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -29850,6 +29856,25 @@ module Google
|
|
29850
29856
|
end
|
29851
29857
|
end
|
29852
29858
|
|
29859
|
+
#
|
29860
|
+
class ProjectsSetManagedProtectionTierRequest
|
29861
|
+
include Google::Apis::Core::Hashable
|
29862
|
+
|
29863
|
+
# Managed protection tier to be set.
|
29864
|
+
# Corresponds to the JSON property `managedProtectionTier`
|
29865
|
+
# @return [String]
|
29866
|
+
attr_accessor :managed_protection_tier
|
29867
|
+
|
29868
|
+
def initialize(**args)
|
29869
|
+
update!(**args)
|
29870
|
+
end
|
29871
|
+
|
29872
|
+
# Update properties of this object
|
29873
|
+
def update!(**args)
|
29874
|
+
@managed_protection_tier = args[:managed_protection_tier] if args.key?(:managed_protection_tier)
|
29875
|
+
end
|
29876
|
+
end
|
29877
|
+
|
29853
29878
|
# A public advertised prefix represents an aggregated IP prefix or netblock
|
29854
29879
|
# which customers bring to cloud. The IP prefix is a single unit of route
|
29855
29880
|
# advertisement and is announced globally to the internet.
|
@@ -30685,6 +30710,12 @@ module Google
|
|
30685
30710
|
# @return [Hash<String,String>]
|
30686
30711
|
attr_accessor :dimensions
|
30687
30712
|
|
30713
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
30714
|
+
# type or metric.
|
30715
|
+
# Corresponds to the JSON property `futureLimit`
|
30716
|
+
# @return [Float]
|
30717
|
+
attr_accessor :future_limit
|
30718
|
+
|
30688
30719
|
# Current effective quota limit. The limit's unit depends on the quota type or
|
30689
30720
|
# metric.
|
30690
30721
|
# Corresponds to the JSON property `limit`
|
@@ -30701,6 +30732,11 @@ module Google
|
|
30701
30732
|
# @return [String]
|
30702
30733
|
attr_accessor :metric_name
|
30703
30734
|
|
30735
|
+
# Rollout status of the future quota limit.
|
30736
|
+
# Corresponds to the JSON property `rolloutStatus`
|
30737
|
+
# @return [String]
|
30738
|
+
attr_accessor :rollout_status
|
30739
|
+
|
30704
30740
|
def initialize(**args)
|
30705
30741
|
update!(**args)
|
30706
30742
|
end
|
@@ -30708,9 +30744,11 @@ module Google
|
|
30708
30744
|
# Update properties of this object
|
30709
30745
|
def update!(**args)
|
30710
30746
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
30747
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
30711
30748
|
@limit = args[:limit] if args.key?(:limit)
|
30712
30749
|
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
30713
30750
|
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
30751
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
30714
30752
|
end
|
30715
30753
|
end
|
30716
30754
|
|
@@ -36294,6 +36332,14 @@ module Google
|
|
36294
36332
|
# @return [String]
|
36295
36333
|
attr_accessor :instance_termination_action
|
36296
36334
|
|
36335
|
+
# A Duration represents a fixed-length span of time represented as a count of
|
36336
|
+
# seconds and fractions of seconds at nanosecond resolution. It is independent
|
36337
|
+
# of any calendar and concepts like "day" or "month". Range is approximately 10,
|
36338
|
+
# 000 years.
|
36339
|
+
# Corresponds to the JSON property `localSsdRecoveryTimeout`
|
36340
|
+
# @return [Google::Apis::ComputeBeta::Duration]
|
36341
|
+
attr_accessor :local_ssd_recovery_timeout
|
36342
|
+
|
36297
36343
|
# An opaque location hint used to place the instance close to other resources.
|
36298
36344
|
# This field is for use by internal tools that use the public API.
|
36299
36345
|
# Corresponds to the JSON property `locationHint`
|
@@ -36370,6 +36416,7 @@ module Google
|
|
36370
36416
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
36371
36417
|
@host_error_timeout_seconds = args[:host_error_timeout_seconds] if args.key?(:host_error_timeout_seconds)
|
36372
36418
|
@instance_termination_action = args[:instance_termination_action] if args.key?(:instance_termination_action)
|
36419
|
+
@local_ssd_recovery_timeout = args[:local_ssd_recovery_timeout] if args.key?(:local_ssd_recovery_timeout)
|
36373
36420
|
@location_hint = args[:location_hint] if args.key?(:location_hint)
|
36374
36421
|
@maintenance_freeze_duration_hours = args[:maintenance_freeze_duration_hours] if args.key?(:maintenance_freeze_duration_hours)
|
36375
36422
|
@maintenance_interval = args[:maintenance_interval] if args.key?(:maintenance_interval)
|
@@ -38585,6 +38632,11 @@ module Google
|
|
38585
38632
|
class ServiceAttachmentConnectedEndpoint
|
38586
38633
|
include Google::Apis::Core::Hashable
|
38587
38634
|
|
38635
|
+
# The url of the consumer network.
|
38636
|
+
# Corresponds to the JSON property `consumerNetwork`
|
38637
|
+
# @return [String]
|
38638
|
+
attr_accessor :consumer_network
|
38639
|
+
|
38588
38640
|
# The url of a connected endpoint.
|
38589
38641
|
# Corresponds to the JSON property `endpoint`
|
38590
38642
|
# @return [String]
|
@@ -38606,6 +38658,7 @@ module Google
|
|
38606
38658
|
|
38607
38659
|
# Update properties of this object
|
38608
38660
|
def update!(**args)
|
38661
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
38609
38662
|
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
38610
38663
|
@psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id)
|
38611
38664
|
@status = args[:status] if args.key?(:status)
|
@@ -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.75.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 = "20230711"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3772,6 +3772,12 @@ module Google
|
|
3772
3772
|
include Google::Apis::Core::JsonObjectSupport
|
3773
3773
|
end
|
3774
3774
|
|
3775
|
+
class ProjectsSetManagedProtectionTierRequest
|
3776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3777
|
+
|
3778
|
+
include Google::Apis::Core::JsonObjectSupport
|
3779
|
+
end
|
3780
|
+
|
3775
3781
|
class PublicAdvertisedPrefix
|
3776
3782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3777
3783
|
|
@@ -13486,6 +13492,7 @@ module Google
|
|
13486
13492
|
collection :enabled_features, as: 'enabledFeatures'
|
13487
13493
|
property :id, :numeric_string => true, as: 'id'
|
13488
13494
|
property :kind, as: 'kind'
|
13495
|
+
property :managed_protection_tier, as: 'managedProtectionTier'
|
13489
13496
|
property :name, as: 'name'
|
13490
13497
|
collection :quotas, as: 'quotas', class: Google::Apis::ComputeBeta::Quota, decorator: Google::Apis::ComputeBeta::Quota::Representation
|
13491
13498
|
|
@@ -13537,6 +13544,13 @@ module Google
|
|
13537
13544
|
end
|
13538
13545
|
end
|
13539
13546
|
|
13547
|
+
class ProjectsSetManagedProtectionTierRequest
|
13548
|
+
# @private
|
13549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13550
|
+
property :managed_protection_tier, as: 'managedProtectionTier'
|
13551
|
+
end
|
13552
|
+
end
|
13553
|
+
|
13540
13554
|
class PublicAdvertisedPrefix
|
13541
13555
|
# @private
|
13542
13556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13739,9 +13753,11 @@ module Google
|
|
13739
13753
|
# @private
|
13740
13754
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13741
13755
|
hash :dimensions, as: 'dimensions'
|
13756
|
+
property :future_limit, as: 'futureLimit'
|
13742
13757
|
property :limit, as: 'limit'
|
13743
13758
|
property :limit_name, as: 'limitName'
|
13744
13759
|
property :metric_name, as: 'metricName'
|
13760
|
+
property :rollout_status, as: 'rolloutStatus'
|
13745
13761
|
end
|
13746
13762
|
end
|
13747
13763
|
|
@@ -15189,6 +15205,8 @@ module Google
|
|
15189
15205
|
property :automatic_restart, as: 'automaticRestart'
|
15190
15206
|
property :host_error_timeout_seconds, as: 'hostErrorTimeoutSeconds'
|
15191
15207
|
property :instance_termination_action, as: 'instanceTerminationAction'
|
15208
|
+
property :local_ssd_recovery_timeout, as: 'localSsdRecoveryTimeout', class: Google::Apis::ComputeBeta::Duration, decorator: Google::Apis::ComputeBeta::Duration::Representation
|
15209
|
+
|
15192
15210
|
property :location_hint, as: 'locationHint'
|
15193
15211
|
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
15194
15212
|
property :maintenance_interval, as: 'maintenanceInterval'
|
@@ -15757,6 +15775,7 @@ module Google
|
|
15757
15775
|
class ServiceAttachmentConnectedEndpoint
|
15758
15776
|
# @private
|
15759
15777
|
class Representation < Google::Apis::Core::JsonRepresentation
|
15778
|
+
property :consumer_network, as: 'consumerNetwork'
|
15760
15779
|
property :endpoint, as: 'endpoint'
|
15761
15780
|
property :psc_connection_id, :numeric_string => true, as: 'pscConnectionId'
|
15762
15781
|
property :status, as: 'status'
|
@@ -23833,6 +23833,56 @@ module Google
|
|
23833
23833
|
execute_or_queue_command(command, &block)
|
23834
23834
|
end
|
23835
23835
|
|
23836
|
+
# Sets the Cloud Armor Managed Protection (CAMP) tier of the project. To set
|
23837
|
+
# PLUS or above the billing account of the project must be subscribed to Managed
|
23838
|
+
# Protection Plus. See Subscribing to Managed Protection Plus for more
|
23839
|
+
# information.
|
23840
|
+
# @param [String] project
|
23841
|
+
# Project ID for this request.
|
23842
|
+
# @param [Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest] projects_set_managed_protection_tier_request_object
|
23843
|
+
# @param [String] request_id
|
23844
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
23845
|
+
# that if you must retry your request, the server will know to ignore the
|
23846
|
+
# request if it has already been completed. For example, consider a situation
|
23847
|
+
# where you make an initial request and the request times out. If you make the
|
23848
|
+
# request again with the same request ID, the server can check if original
|
23849
|
+
# operation with the same request ID was received, and if so, will ignore the
|
23850
|
+
# second request. This prevents clients from accidentally creating duplicate
|
23851
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
23852
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
23853
|
+
# @param [String] fields
|
23854
|
+
# Selector specifying which fields to include in a partial response.
|
23855
|
+
# @param [String] quota_user
|
23856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
23857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
23858
|
+
# @param [String] user_ip
|
23859
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
23860
|
+
# @param [Google::Apis::RequestOptions] options
|
23861
|
+
# Request-specific options
|
23862
|
+
#
|
23863
|
+
# @yield [result, err] Result & error if block supplied
|
23864
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
23865
|
+
# @yieldparam err [StandardError] error object if request failed
|
23866
|
+
#
|
23867
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
23868
|
+
#
|
23869
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
23870
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
23871
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
23872
|
+
def set_project_managed_protection_tier(project, projects_set_managed_protection_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
23873
|
+
command = make_simple_command(:post, 'projects/{project}/setManagedProtectionTier', options)
|
23874
|
+
command.request_representation = Google::Apis::ComputeBeta::ProjectsSetManagedProtectionTierRequest::Representation
|
23875
|
+
command.request_object = projects_set_managed_protection_tier_request_object
|
23876
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
23877
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
23878
|
+
command.params['project'] = project unless project.nil?
|
23879
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
23880
|
+
command.query['fields'] = fields unless fields.nil?
|
23881
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
23882
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
23883
|
+
execute_or_queue_command(command, &block)
|
23884
|
+
end
|
23885
|
+
|
23836
23886
|
# Enables the usage export feature and sets the usage export bucket where
|
23837
23887
|
# reports are stored. If you provide an empty request body using this method,
|
23838
23888
|
# the usage export feature will be disabled.
|
@@ -32238,9 +32288,9 @@ module Google
|
|
32238
32288
|
end
|
32239
32289
|
|
32240
32290
|
# Patches the specified policy with the data included in the request. To clear
|
32241
|
-
# fields in the
|
32242
|
-
# This cannot be used to be update the rules in the policy. Please
|
32243
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
32291
|
+
# fields in the policy, leave the fields empty and specify them in the
|
32292
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
32293
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
32244
32294
|
# @param [String] project
|
32245
32295
|
# Project ID for this request.
|
32246
32296
|
# @param [String] region
|
@@ -34564,6 +34614,98 @@ module Google
|
|
34564
34614
|
execute_or_queue_command(command, &block)
|
34565
34615
|
end
|
34566
34616
|
|
34617
|
+
# Retrieves the list of Zone resources under the specific region available to
|
34618
|
+
# the specified project.
|
34619
|
+
# @param [String] project
|
34620
|
+
# Project ID for this request.
|
34621
|
+
# @param [String] region
|
34622
|
+
# Region for this request.
|
34623
|
+
# @param [String] filter
|
34624
|
+
# A filter expression that filters resources listed in the response. Most
|
34625
|
+
# Compute resources support two types of filter expressions: expressions that
|
34626
|
+
# support regular expressions and expressions that follow API improvement
|
34627
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
34628
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
34629
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
34630
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
34631
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
34632
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
34633
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
34634
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
34635
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
34636
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
34637
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
34638
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
34639
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
34640
|
+
# provide each separate expression within parentheses. For example: ``` (
|
34641
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
34642
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
34643
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
34644
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
34645
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
34646
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
34647
|
+
# expression with or without quotes or against multiple parenthesized
|
34648
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
34649
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
34650
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
34651
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
34652
|
+
# match the entire field. For example, to filter for instances that do not end
|
34653
|
+
# with name "instance", you would use `name ne .*instance`.
|
34654
|
+
# @param [Fixnum] max_results
|
34655
|
+
# The maximum number of results per page that should be returned. If the number
|
34656
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
34657
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
34658
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
34659
|
+
# @param [String] order_by
|
34660
|
+
# Sorts list results by a certain order. By default, results are returned in
|
34661
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
34662
|
+
# descending order based on the creation timestamp using `orderBy="
|
34663
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
34664
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
34665
|
+
# resources like operations so that the newest operation is returned first.
|
34666
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
34667
|
+
# @param [String] page_token
|
34668
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
34669
|
+
# by a previous list request to get the next page of results.
|
34670
|
+
# @param [Boolean] return_partial_success
|
34671
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
34672
|
+
# failure. The default value is false.
|
34673
|
+
# @param [String] fields
|
34674
|
+
# Selector specifying which fields to include in a partial response.
|
34675
|
+
# @param [String] quota_user
|
34676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
34677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
34678
|
+
# @param [String] user_ip
|
34679
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
34680
|
+
# @param [Google::Apis::RequestOptions] options
|
34681
|
+
# Request-specific options
|
34682
|
+
#
|
34683
|
+
# @yield [result, err] Result & error if block supplied
|
34684
|
+
# @yieldparam result [Google::Apis::ComputeBeta::ZoneList] parsed result object
|
34685
|
+
# @yieldparam err [StandardError] error object if request failed
|
34686
|
+
#
|
34687
|
+
# @return [Google::Apis::ComputeBeta::ZoneList]
|
34688
|
+
#
|
34689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
34690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
34691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
34692
|
+
def list_region_zones(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
34693
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/zones', options)
|
34694
|
+
command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation
|
34695
|
+
command.response_class = Google::Apis::ComputeBeta::ZoneList
|
34696
|
+
command.params['project'] = project unless project.nil?
|
34697
|
+
command.params['region'] = region unless region.nil?
|
34698
|
+
command.query['filter'] = filter unless filter.nil?
|
34699
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
34700
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
34701
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
34702
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
34703
|
+
command.query['fields'] = fields unless fields.nil?
|
34704
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
34705
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
34706
|
+
execute_or_queue_command(command, &block)
|
34707
|
+
end
|
34708
|
+
|
34567
34709
|
# Returns the specified Region resource. To decrease latency for this method,
|
34568
34710
|
# you can optionally omit any unneeded information from the response by using a
|
34569
34711
|
# field mask. This practice is especially recommended for unused quota
|
@@ -37190,9 +37332,9 @@ module Google
|
|
37190
37332
|
end
|
37191
37333
|
|
37192
37334
|
# Patches the specified policy with the data included in the request. To clear
|
37193
|
-
# fields in the
|
37194
|
-
# This cannot be used to be update the rules in the policy. Please
|
37195
|
-
# rule methods like addRule, patchRule, and removeRule instead.
|
37335
|
+
# fields in the policy, leave the fields empty and specify them in the
|
37336
|
+
# updateMask. This cannot be used to be update the rules in the policy. Please
|
37337
|
+
# use the per rule methods like addRule, patchRule, and removeRule instead.
|
37196
37338
|
# @param [String] project
|
37197
37339
|
# Project ID for this request.
|
37198
37340
|
# @param [String] security_policy
|
@@ -37245,7 +37387,8 @@ module Google
|
|
37245
37387
|
execute_or_queue_command(command, &block)
|
37246
37388
|
end
|
37247
37389
|
|
37248
|
-
# Patches a rule at the specified priority.
|
37390
|
+
# Patches a rule at the specified priority. To clear fields in the rule, leave
|
37391
|
+
# the fields empty and specify them in the updateMask.
|
37249
37392
|
# @param [String] project
|
37250
37393
|
# Project ID for this request.
|
37251
37394
|
# @param [String] security_policy
|
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.75.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-07-
|
11
|
+
date: 2023-07-16 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.75.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: []
|