google-apis-compute_alpha 0.41.0 → 0.42.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: 925064460ddee685eb3a57fc3a9582bf48543b2bee5eac7e50f748517137252b
|
4
|
+
data.tar.gz: f7ded44ac1372582dcc25f7e1165e7fbe6f36ee91e608c8cc509f096713ac4bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dabbfe3a0072125762daed38ced4624ace4fc3f70eb2ad606e41ecea2739dce55a597946791a579eaacffe5aaf9b6bffd9bf6cc4e1101dbb3a5777a095dd0c6
|
7
|
+
data.tar.gz: 9a08272b9262a9671003bb657bbd364f84ac109b5ad955e02f98cf6d1c7dbca2f8b0aa4bbf3e919b6c56fbf24a5b36629198615f2a26725d47b124d48e4e90de
|
data/CHANGELOG.md
CHANGED
@@ -1598,6 +1598,14 @@ module Google
|
|
1598
1598
|
# @return [Array<String>]
|
1599
1599
|
attr_accessor :replica_zones
|
1600
1600
|
|
1601
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
1602
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
1603
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
1604
|
+
# ignored (both PUT & PATCH) when empty.
|
1605
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
1606
|
+
# @return [Hash<String,String>]
|
1607
|
+
attr_accessor :resource_manager_tags
|
1608
|
+
|
1601
1609
|
# Resource policies applied to this disk for automatic snapshot creations.
|
1602
1610
|
# Specified using the full or partial URL. For instance template, specify only
|
1603
1611
|
# the resource policy name.
|
@@ -1677,6 +1685,7 @@ module Google
|
|
1677
1685
|
@on_update_action = args[:on_update_action] if args.key?(:on_update_action)
|
1678
1686
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
1679
1687
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
1688
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
1680
1689
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1681
1690
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1682
1691
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
@@ -2826,7 +2835,7 @@ module Google
|
|
2826
2835
|
# @return [Float]
|
2827
2836
|
attr_accessor :max_rate_per_instance
|
2828
2837
|
|
2829
|
-
# Optional parameter to define a target capacity for the
|
2838
|
+
# Optional parameter to define a target capacity for the UTILIZATION balancing
|
2830
2839
|
# mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization
|
2831
2840
|
# balancing mode.
|
2832
2841
|
# Corresponds to the JSON property `maxUtilization`
|
@@ -6070,6 +6079,95 @@ module Google
|
|
6070
6079
|
end
|
6071
6080
|
end
|
6072
6081
|
|
6082
|
+
# Specifies the custom error response policy that must be applied when the
|
6083
|
+
# backend service or backend bucket responds with an error.
|
6084
|
+
class CustomErrorResponsePolicy
|
6085
|
+
include Google::Apis::Core::Hashable
|
6086
|
+
|
6087
|
+
# Specifies rules for returning error responses. In a given policy, if you
|
6088
|
+
# specify rules for both a range of error codes as well as rules for specific
|
6089
|
+
# error codes then rules with specific error codes have a higher priority. For
|
6090
|
+
# example, assume that you configure a rule for 401 (Un-authorized) code, and
|
6091
|
+
# another for all 4 series error codes (4XX). If the backend service returns a
|
6092
|
+
# 401, then the rule for 401 will be applied. However if the backend service
|
6093
|
+
# returns a 403, the rule for 4xx takes effect.
|
6094
|
+
# Corresponds to the JSON property `errorResponseRules`
|
6095
|
+
# @return [Array<Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule>]
|
6096
|
+
attr_accessor :error_response_rules
|
6097
|
+
|
6098
|
+
# The full or partial URL to the BackendBucket resource that contains the custom
|
6099
|
+
# error content. Examples are: - https://www.googleapis.com/compute/v1/projects/
|
6100
|
+
# project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/
|
6101
|
+
# global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket
|
6102
|
+
# If errorService is not specified at lower levels like pathMatcher, pathRule
|
6103
|
+
# and routeRule, an errorService specified at a higher level in the UrlMap will
|
6104
|
+
# be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more
|
6105
|
+
# errorResponseRules[], it must specify errorService. If load balancer cannot
|
6106
|
+
# reach the backendBucket, a simple Not Found Error will be returned, with the
|
6107
|
+
# original response code (or overrideResponseCode if configured). errorService
|
6108
|
+
# is not supported for internal or regional HTTP/HTTPS load balancers.
|
6109
|
+
# Corresponds to the JSON property `errorService`
|
6110
|
+
# @return [String]
|
6111
|
+
attr_accessor :error_service
|
6112
|
+
|
6113
|
+
def initialize(**args)
|
6114
|
+
update!(**args)
|
6115
|
+
end
|
6116
|
+
|
6117
|
+
# Update properties of this object
|
6118
|
+
def update!(**args)
|
6119
|
+
@error_response_rules = args[:error_response_rules] if args.key?(:error_response_rules)
|
6120
|
+
@error_service = args[:error_service] if args.key?(:error_service)
|
6121
|
+
end
|
6122
|
+
end
|
6123
|
+
|
6124
|
+
# Specifies the mapping between the response code that will be returned along
|
6125
|
+
# with the custom error content and the response code returned by the backend
|
6126
|
+
# service.
|
6127
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
6128
|
+
include Google::Apis::Core::Hashable
|
6129
|
+
|
6130
|
+
# Valid values include: - A number between 400 and 599: For example 401 or 503,
|
6131
|
+
# in which case the load balancer applies the policy if the error code exactly
|
6132
|
+
# matches this value. - 5xx: Load Balancer will apply the policy if the backend
|
6133
|
+
# service responds with any response code in the range of 500 to 599. - 4xx:
|
6134
|
+
# Load Balancer will apply the policy if the backend service responds with any
|
6135
|
+
# response code in the range of 400 to 499. Values must be unique within
|
6136
|
+
# matchResponseCodes and across all errorResponseRules of
|
6137
|
+
# CustomErrorResponsePolicy.
|
6138
|
+
# Corresponds to the JSON property `matchResponseCodes`
|
6139
|
+
# @return [Array<String>]
|
6140
|
+
attr_accessor :match_response_codes
|
6141
|
+
|
6142
|
+
# The HTTP status code returned with the response containing the custom error
|
6143
|
+
# content. If overrideResponseCode is not supplied, the same response code
|
6144
|
+
# returned by the original backend bucket or backend service is returned to the
|
6145
|
+
# client.
|
6146
|
+
# Corresponds to the JSON property `overrideResponseCode`
|
6147
|
+
# @return [Fixnum]
|
6148
|
+
attr_accessor :override_response_code
|
6149
|
+
|
6150
|
+
# The full path to a file within backendBucket . For example: /errors/
|
6151
|
+
# defaultError.html path must start with a leading slash. path cannot have
|
6152
|
+
# trailing slashes. If the file is not available in backendBucket or the load
|
6153
|
+
# balancer cannot reach the BackendBucket, a simple Not Found Error is returned
|
6154
|
+
# to the client. The value must be from 1 to 1024 characters
|
6155
|
+
# Corresponds to the JSON property `path`
|
6156
|
+
# @return [String]
|
6157
|
+
attr_accessor :path
|
6158
|
+
|
6159
|
+
def initialize(**args)
|
6160
|
+
update!(**args)
|
6161
|
+
end
|
6162
|
+
|
6163
|
+
# Update properties of this object
|
6164
|
+
def update!(**args)
|
6165
|
+
@match_response_codes = args[:match_response_codes] if args.key?(:match_response_codes)
|
6166
|
+
@override_response_code = args[:override_response_code] if args.key?(:override_response_code)
|
6167
|
+
@path = args[:path] if args.key?(:path)
|
6168
|
+
end
|
6169
|
+
end
|
6170
|
+
|
6073
6171
|
#
|
6074
6172
|
class CustomerEncryptionKey
|
6075
6173
|
include Google::Apis::Core::Hashable
|
@@ -6389,6 +6487,11 @@ module Google
|
|
6389
6487
|
# @return [String]
|
6390
6488
|
attr_accessor :options
|
6391
6489
|
|
6490
|
+
# Additional disk params.
|
6491
|
+
# Corresponds to the JSON property `params`
|
6492
|
+
# @return [Google::Apis::ComputeAlpha::DiskParams]
|
6493
|
+
attr_accessor :params
|
6494
|
+
|
6392
6495
|
# Physical block size of the persistent disk, in bytes. If not present in a
|
6393
6496
|
# request, a default value is used. The currently supported size is 4096, other
|
6394
6497
|
# sizes may be added in the future. If an unsupported value is requested, the
|
@@ -6635,6 +6738,7 @@ module Google
|
|
6635
6738
|
@multi_writer = args[:multi_writer] if args.key?(:multi_writer)
|
6636
6739
|
@name = args[:name] if args.key?(:name)
|
6637
6740
|
@options = args[:options] if args.key?(:options)
|
6741
|
+
@params = args[:params] if args.key?(:params)
|
6638
6742
|
@physical_block_size_bytes = args[:physical_block_size_bytes] if args.key?(:physical_block_size_bytes)
|
6639
6743
|
@provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops)
|
6640
6744
|
@region = args[:region] if args.key?(:region)
|
@@ -7042,6 +7146,28 @@ module Google
|
|
7042
7146
|
end
|
7043
7147
|
end
|
7044
7148
|
|
7149
|
+
# Additional disk params.
|
7150
|
+
class DiskParams
|
7151
|
+
include Google::Apis::Core::Hashable
|
7152
|
+
|
7153
|
+
# Resource manager tags to be bound to the disk. Tag keys and values have the
|
7154
|
+
# same definition as resource manager tags. Keys must be in the format `tagKeys/`
|
7155
|
+
# tag_key_id``, and values are in the format `tagValues/456`. The field is
|
7156
|
+
# ignored (both PUT & PATCH) when empty.
|
7157
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
7158
|
+
# @return [Hash<String,String>]
|
7159
|
+
attr_accessor :resource_manager_tags
|
7160
|
+
|
7161
|
+
def initialize(**args)
|
7162
|
+
update!(**args)
|
7163
|
+
end
|
7164
|
+
|
7165
|
+
# Update properties of this object
|
7166
|
+
def update!(**args)
|
7167
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
7168
|
+
end
|
7169
|
+
end
|
7170
|
+
|
7045
7171
|
#
|
7046
7172
|
class DiskResourceStatus
|
7047
7173
|
include Google::Apis::Core::Hashable
|
@@ -13461,6 +13587,12 @@ module Google
|
|
13461
13587
|
class HttpRouteRule
|
13462
13588
|
include Google::Apis::Core::Hashable
|
13463
13589
|
|
13590
|
+
# Specifies the custom error response policy that must be applied when the
|
13591
|
+
# backend service or backend bucket responds with an error.
|
13592
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
13593
|
+
# @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
|
13594
|
+
attr_accessor :custom_error_response_policy
|
13595
|
+
|
13464
13596
|
# The short description conveying the intent of this routeRule. The description
|
13465
13597
|
# can have a maximum length of 1024 characters.
|
13466
13598
|
# Corresponds to the JSON property `description`
|
@@ -13550,6 +13682,7 @@ module Google
|
|
13550
13682
|
|
13551
13683
|
# Update properties of this object
|
13552
13684
|
def update!(**args)
|
13685
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
13553
13686
|
@description = args[:description] if args.key?(:description)
|
13554
13687
|
@header_action = args[:header_action] if args.key?(:header_action)
|
13555
13688
|
@http_filter_configs = args[:http_filter_configs] if args.key?(:http_filter_configs)
|
@@ -22578,7 +22711,7 @@ module Google
|
|
22578
22711
|
# @return [Google::Apis::ComputeAlpha::LocationPolicyLocationConstraints]
|
22579
22712
|
attr_accessor :constraints
|
22580
22713
|
|
22581
|
-
# Preference for a given location.
|
22714
|
+
# Preference for a given location. Set to either ALLOW or DENY.
|
22582
22715
|
# Corresponds to the JSON property `preference`
|
22583
22716
|
# @return [String]
|
22584
22717
|
attr_accessor :preference
|
@@ -29941,6 +30074,12 @@ module Google
|
|
29941
30074
|
class PathMatcher
|
29942
30075
|
include Google::Apis::Core::Hashable
|
29943
30076
|
|
30077
|
+
# Specifies the custom error response policy that must be applied when the
|
30078
|
+
# backend service or backend bucket responds with an error.
|
30079
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
30080
|
+
# @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
|
30081
|
+
attr_accessor :default_custom_error_response_policy
|
30082
|
+
|
29944
30083
|
# defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
29945
30084
|
# The load balancer performs advanced routing actions, such as URL rewrites and
|
29946
30085
|
# header transformations, before forwarding the request to the selected backend.
|
@@ -30018,6 +30157,7 @@ module Google
|
|
30018
30157
|
|
30019
30158
|
# Update properties of this object
|
30020
30159
|
def update!(**args)
|
30160
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
30021
30161
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
30022
30162
|
@default_service = args[:default_service] if args.key?(:default_service)
|
30023
30163
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -30034,6 +30174,12 @@ module Google
|
|
30034
30174
|
class PathRule
|
30035
30175
|
include Google::Apis::Core::Hashable
|
30036
30176
|
|
30177
|
+
# Specifies the custom error response policy that must be applied when the
|
30178
|
+
# backend service or backend bucket responds with an error.
|
30179
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
30180
|
+
# @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
|
30181
|
+
attr_accessor :custom_error_response_policy
|
30182
|
+
|
30037
30183
|
# The list of path patterns to match. Each must start with / and the only place
|
30038
30184
|
# a * is allowed is at the end following a /. The string fed to the path matcher
|
30039
30185
|
# does not include any text after the first ? or #, and those chars are not
|
@@ -30075,6 +30221,7 @@ module Google
|
|
30075
30221
|
|
30076
30222
|
# Update properties of this object
|
30077
30223
|
def update!(**args)
|
30224
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
30078
30225
|
@paths = args[:paths] if args.key?(:paths)
|
30079
30226
|
@route_action = args[:route_action] if args.key?(:route_action)
|
30080
30227
|
@service = args[:service] if args.key?(:service)
|
@@ -31630,6 +31777,400 @@ module Google
|
|
31630
31777
|
end
|
31631
31778
|
end
|
31632
31779
|
|
31780
|
+
# QueuedResource represents a request for future capacity. The capacity is
|
31781
|
+
# delivered in the form of other GCE resources, either Instances or Reservations.
|
31782
|
+
class QueuedResource
|
31783
|
+
include Google::Apis::Core::Hashable
|
31784
|
+
|
31785
|
+
# A transient resource used in compute.instances.bulkInsert and compute.
|
31786
|
+
# regionInstances.bulkInsert . This resource is not persisted anywhere, it is
|
31787
|
+
# used only for processing the requests.
|
31788
|
+
# Corresponds to the JSON property `bulkInsertInstanceResource`
|
31789
|
+
# @return [Google::Apis::ComputeAlpha::BulkInsertInstanceResource]
|
31790
|
+
attr_accessor :bulk_insert_instance_resource
|
31791
|
+
|
31792
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
31793
|
+
# Corresponds to the JSON property `creationTimestamp`
|
31794
|
+
# @return [String]
|
31795
|
+
attr_accessor :creation_timestamp
|
31796
|
+
|
31797
|
+
# An optional description of this resource. Provide this property when you
|
31798
|
+
# create the resource.
|
31799
|
+
# Corresponds to the JSON property `description`
|
31800
|
+
# @return [String]
|
31801
|
+
attr_accessor :description
|
31802
|
+
|
31803
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
31804
|
+
# defined by the server.
|
31805
|
+
# Corresponds to the JSON property `id`
|
31806
|
+
# @return [Fixnum]
|
31807
|
+
attr_accessor :id
|
31808
|
+
|
31809
|
+
# [Output Only] Type of the resource. Always compute#queuedResource for
|
31810
|
+
# QueuedResources.
|
31811
|
+
# Corresponds to the JSON property `kind`
|
31812
|
+
# @return [String]
|
31813
|
+
attr_accessor :kind
|
31814
|
+
|
31815
|
+
# Name of the resource. Provided by the client when the resource is created. The
|
31816
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
31817
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
31818
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
31819
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
31820
|
+
# except the last character, which cannot be a dash.
|
31821
|
+
# Corresponds to the JSON property `name`
|
31822
|
+
# @return [String]
|
31823
|
+
attr_accessor :name
|
31824
|
+
|
31825
|
+
# Queuing parameters for the requested deferred capacity.
|
31826
|
+
# Corresponds to the JSON property `queuingPolicy`
|
31827
|
+
# @return [Google::Apis::ComputeAlpha::QueuingPolicy]
|
31828
|
+
attr_accessor :queuing_policy
|
31829
|
+
|
31830
|
+
# [Output Only] URL of the region where the resource resides. Only applicable
|
31831
|
+
# for regional resources. You must specify this field as part of the HTTP
|
31832
|
+
# request URL. It is not settable as a field in the request body.
|
31833
|
+
# Corresponds to the JSON property `region`
|
31834
|
+
# @return [String]
|
31835
|
+
attr_accessor :region
|
31836
|
+
|
31837
|
+
# [Output only] Server-defined URL for the resource.
|
31838
|
+
# Corresponds to the JSON property `selfLink`
|
31839
|
+
# @return [String]
|
31840
|
+
attr_accessor :self_link
|
31841
|
+
|
31842
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
31843
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
31844
|
+
# @return [String]
|
31845
|
+
attr_accessor :self_link_with_id
|
31846
|
+
|
31847
|
+
# [Output only] High-level status of the request.
|
31848
|
+
# Corresponds to the JSON property `state`
|
31849
|
+
# @return [String]
|
31850
|
+
attr_accessor :state
|
31851
|
+
|
31852
|
+
# [Output only] Result of queuing and provisioning based on deferred capacity.
|
31853
|
+
# Corresponds to the JSON property `status`
|
31854
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourceStatus]
|
31855
|
+
attr_accessor :status
|
31856
|
+
|
31857
|
+
# [Output Only] URL of the zone where the resource resides. Only applicable for
|
31858
|
+
# zonal resources. You must specify this field as part of the HTTP request URL.
|
31859
|
+
# It is not settable as a field in the request body.
|
31860
|
+
# Corresponds to the JSON property `zone`
|
31861
|
+
# @return [String]
|
31862
|
+
attr_accessor :zone
|
31863
|
+
|
31864
|
+
def initialize(**args)
|
31865
|
+
update!(**args)
|
31866
|
+
end
|
31867
|
+
|
31868
|
+
# Update properties of this object
|
31869
|
+
def update!(**args)
|
31870
|
+
@bulk_insert_instance_resource = args[:bulk_insert_instance_resource] if args.key?(:bulk_insert_instance_resource)
|
31871
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
31872
|
+
@description = args[:description] if args.key?(:description)
|
31873
|
+
@id = args[:id] if args.key?(:id)
|
31874
|
+
@kind = args[:kind] if args.key?(:kind)
|
31875
|
+
@name = args[:name] if args.key?(:name)
|
31876
|
+
@queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
|
31877
|
+
@region = args[:region] if args.key?(:region)
|
31878
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
31879
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
31880
|
+
@state = args[:state] if args.key?(:state)
|
31881
|
+
@status = args[:status] if args.key?(:status)
|
31882
|
+
@zone = args[:zone] if args.key?(:zone)
|
31883
|
+
end
|
31884
|
+
end
|
31885
|
+
|
31886
|
+
#
|
31887
|
+
class QueuedResourceList
|
31888
|
+
include Google::Apis::Core::Hashable
|
31889
|
+
|
31890
|
+
#
|
31891
|
+
# Corresponds to the JSON property `etag`
|
31892
|
+
# @return [String]
|
31893
|
+
attr_accessor :etag
|
31894
|
+
|
31895
|
+
# Unique identifier for the resource; defined by the server.
|
31896
|
+
# Corresponds to the JSON property `id`
|
31897
|
+
# @return [String]
|
31898
|
+
attr_accessor :id
|
31899
|
+
|
31900
|
+
# A list of QueuedResource resources.
|
31901
|
+
# Corresponds to the JSON property `items`
|
31902
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResource>]
|
31903
|
+
attr_accessor :items
|
31904
|
+
|
31905
|
+
# Type of resource.
|
31906
|
+
# Corresponds to the JSON property `kind`
|
31907
|
+
# @return [String]
|
31908
|
+
attr_accessor :kind
|
31909
|
+
|
31910
|
+
# This token allows you to get the next page of results for maxResults, use the
|
31911
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
31912
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
31913
|
+
# continue paging through the results.
|
31914
|
+
# Corresponds to the JSON property `nextPageToken`
|
31915
|
+
# @return [String]
|
31916
|
+
attr_accessor :next_page_token
|
31917
|
+
|
31918
|
+
# [Output only] Server-defined URL for this resource.
|
31919
|
+
# Corresponds to the JSON property `selfLink`
|
31920
|
+
# @return [String]
|
31921
|
+
attr_accessor :self_link
|
31922
|
+
|
31923
|
+
# [Output only] Unreachable resources.
|
31924
|
+
# Corresponds to the JSON property `unreachables`
|
31925
|
+
# @return [Array<String>]
|
31926
|
+
attr_accessor :unreachables
|
31927
|
+
|
31928
|
+
# Informational warning message.
|
31929
|
+
# Corresponds to the JSON property `warning`
|
31930
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourceList::Warning]
|
31931
|
+
attr_accessor :warning
|
31932
|
+
|
31933
|
+
def initialize(**args)
|
31934
|
+
update!(**args)
|
31935
|
+
end
|
31936
|
+
|
31937
|
+
# Update properties of this object
|
31938
|
+
def update!(**args)
|
31939
|
+
@etag = args[:etag] if args.key?(:etag)
|
31940
|
+
@id = args[:id] if args.key?(:id)
|
31941
|
+
@items = args[:items] if args.key?(:items)
|
31942
|
+
@kind = args[:kind] if args.key?(:kind)
|
31943
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
31944
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
31945
|
+
@unreachables = args[:unreachables] if args.key?(:unreachables)
|
31946
|
+
@warning = args[:warning] if args.key?(:warning)
|
31947
|
+
end
|
31948
|
+
|
31949
|
+
# Informational warning message.
|
31950
|
+
class Warning
|
31951
|
+
include Google::Apis::Core::Hashable
|
31952
|
+
|
31953
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
31954
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
31955
|
+
# Corresponds to the JSON property `code`
|
31956
|
+
# @return [String]
|
31957
|
+
attr_accessor :code
|
31958
|
+
|
31959
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
31960
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
31961
|
+
# Corresponds to the JSON property `data`
|
31962
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum>]
|
31963
|
+
attr_accessor :data
|
31964
|
+
|
31965
|
+
# [Output Only] A human-readable description of the warning code.
|
31966
|
+
# Corresponds to the JSON property `message`
|
31967
|
+
# @return [String]
|
31968
|
+
attr_accessor :message
|
31969
|
+
|
31970
|
+
def initialize(**args)
|
31971
|
+
update!(**args)
|
31972
|
+
end
|
31973
|
+
|
31974
|
+
# Update properties of this object
|
31975
|
+
def update!(**args)
|
31976
|
+
@code = args[:code] if args.key?(:code)
|
31977
|
+
@data = args[:data] if args.key?(:data)
|
31978
|
+
@message = args[:message] if args.key?(:message)
|
31979
|
+
end
|
31980
|
+
|
31981
|
+
#
|
31982
|
+
class Datum
|
31983
|
+
include Google::Apis::Core::Hashable
|
31984
|
+
|
31985
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
31986
|
+
# For example, for warnings where there are no results in a list request for a
|
31987
|
+
# particular zone, this key might be scope and the key value might be the zone
|
31988
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
31989
|
+
# suggested replacement, or a warning about invalid network settings (for
|
31990
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
31991
|
+
# for IP forwarding).
|
31992
|
+
# Corresponds to the JSON property `key`
|
31993
|
+
# @return [String]
|
31994
|
+
attr_accessor :key
|
31995
|
+
|
31996
|
+
# [Output Only] A warning data value corresponding to the key.
|
31997
|
+
# Corresponds to the JSON property `value`
|
31998
|
+
# @return [String]
|
31999
|
+
attr_accessor :value
|
32000
|
+
|
32001
|
+
def initialize(**args)
|
32002
|
+
update!(**args)
|
32003
|
+
end
|
32004
|
+
|
32005
|
+
# Update properties of this object
|
32006
|
+
def update!(**args)
|
32007
|
+
@key = args[:key] if args.key?(:key)
|
32008
|
+
@value = args[:value] if args.key?(:value)
|
32009
|
+
end
|
32010
|
+
end
|
32011
|
+
end
|
32012
|
+
end
|
32013
|
+
|
32014
|
+
# [Output only] Result of queuing and provisioning based on deferred capacity.
|
32015
|
+
class QueuedResourceStatus
|
32016
|
+
include Google::Apis::Core::Hashable
|
32017
|
+
|
32018
|
+
# Additional status detail for the FAILED state.
|
32019
|
+
# Corresponds to the JSON property `failedData`
|
32020
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData]
|
32021
|
+
attr_accessor :failed_data
|
32022
|
+
|
32023
|
+
# [Output only] Fully qualified URL of the provisioning GCE operation to track
|
32024
|
+
# the provisioning along with provisioning errors. The referenced operation may
|
32025
|
+
# not exist after having been deleted or expired.
|
32026
|
+
# Corresponds to the JSON property `provisioningOperations`
|
32027
|
+
# @return [Array<String>]
|
32028
|
+
attr_accessor :provisioning_operations
|
32029
|
+
|
32030
|
+
# Queuing parameters for the requested deferred capacity.
|
32031
|
+
# Corresponds to the JSON property `queuingPolicy`
|
32032
|
+
# @return [Google::Apis::ComputeAlpha::QueuingPolicy]
|
32033
|
+
attr_accessor :queuing_policy
|
32034
|
+
|
32035
|
+
def initialize(**args)
|
32036
|
+
update!(**args)
|
32037
|
+
end
|
32038
|
+
|
32039
|
+
# Update properties of this object
|
32040
|
+
def update!(**args)
|
32041
|
+
@failed_data = args[:failed_data] if args.key?(:failed_data)
|
32042
|
+
@provisioning_operations = args[:provisioning_operations] if args.key?(:provisioning_operations)
|
32043
|
+
@queuing_policy = args[:queuing_policy] if args.key?(:queuing_policy)
|
32044
|
+
end
|
32045
|
+
end
|
32046
|
+
|
32047
|
+
# Additional status detail for the FAILED state.
|
32048
|
+
class QueuedResourceStatusFailedData
|
32049
|
+
include Google::Apis::Core::Hashable
|
32050
|
+
|
32051
|
+
# The error(s) that caused the QueuedResource to enter the FAILED state.
|
32052
|
+
# Corresponds to the JSON property `error`
|
32053
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error]
|
32054
|
+
attr_accessor :error
|
32055
|
+
|
32056
|
+
def initialize(**args)
|
32057
|
+
update!(**args)
|
32058
|
+
end
|
32059
|
+
|
32060
|
+
# Update properties of this object
|
32061
|
+
def update!(**args)
|
32062
|
+
@error = args[:error] if args.key?(:error)
|
32063
|
+
end
|
32064
|
+
|
32065
|
+
# The error(s) that caused the QueuedResource to enter the FAILED state.
|
32066
|
+
class Error
|
32067
|
+
include Google::Apis::Core::Hashable
|
32068
|
+
|
32069
|
+
# [Output Only] The array of errors encountered while processing this operation.
|
32070
|
+
# Corresponds to the JSON property `errors`
|
32071
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error>]
|
32072
|
+
attr_accessor :errors
|
32073
|
+
|
32074
|
+
def initialize(**args)
|
32075
|
+
update!(**args)
|
32076
|
+
end
|
32077
|
+
|
32078
|
+
# Update properties of this object
|
32079
|
+
def update!(**args)
|
32080
|
+
@errors = args[:errors] if args.key?(:errors)
|
32081
|
+
end
|
32082
|
+
|
32083
|
+
#
|
32084
|
+
class Error
|
32085
|
+
include Google::Apis::Core::Hashable
|
32086
|
+
|
32087
|
+
# [Output Only] The error type identifier for this error.
|
32088
|
+
# Corresponds to the JSON property `code`
|
32089
|
+
# @return [String]
|
32090
|
+
attr_accessor :code
|
32091
|
+
|
32092
|
+
# [Output Only] An optional list of messages that contain the error details.
|
32093
|
+
# There is a set of defined message types to use for providing details.The
|
32094
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
32095
|
+
# details when the error code is QUOTA_EXCEEDED.
|
32096
|
+
# Corresponds to the JSON property `errorDetails`
|
32097
|
+
# @return [Array<Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail>]
|
32098
|
+
attr_accessor :error_details
|
32099
|
+
|
32100
|
+
# [Output Only] Indicates the field in the request that caused the error. This
|
32101
|
+
# property is optional.
|
32102
|
+
# Corresponds to the JSON property `location`
|
32103
|
+
# @return [String]
|
32104
|
+
attr_accessor :location
|
32105
|
+
|
32106
|
+
# [Output Only] An optional, human-readable error message.
|
32107
|
+
# Corresponds to the JSON property `message`
|
32108
|
+
# @return [String]
|
32109
|
+
attr_accessor :message
|
32110
|
+
|
32111
|
+
def initialize(**args)
|
32112
|
+
update!(**args)
|
32113
|
+
end
|
32114
|
+
|
32115
|
+
# Update properties of this object
|
32116
|
+
def update!(**args)
|
32117
|
+
@code = args[:code] if args.key?(:code)
|
32118
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
32119
|
+
@location = args[:location] if args.key?(:location)
|
32120
|
+
@message = args[:message] if args.key?(:message)
|
32121
|
+
end
|
32122
|
+
|
32123
|
+
#
|
32124
|
+
class ErrorDetail
|
32125
|
+
include Google::Apis::Core::Hashable
|
32126
|
+
|
32127
|
+
# Describes the cause of the error with structured details. Example of an error
|
32128
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
32129
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
32130
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
32131
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
32132
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
32133
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
32134
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
32135
|
+
# Corresponds to the JSON property `errorInfo`
|
32136
|
+
# @return [Google::Apis::ComputeAlpha::ErrorInfo]
|
32137
|
+
attr_accessor :error_info
|
32138
|
+
|
32139
|
+
# Provides links to documentation or for performing an out of band action. For
|
32140
|
+
# example, if a quota check failed with an error indicating the calling project
|
32141
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
32142
|
+
# to the right place in the developer console to flip the bit.
|
32143
|
+
# Corresponds to the JSON property `help`
|
32144
|
+
# @return [Google::Apis::ComputeAlpha::Help]
|
32145
|
+
attr_accessor :help
|
32146
|
+
|
32147
|
+
# Provides a localized error message that is safe to return to the user which
|
32148
|
+
# can be attached to an RPC error.
|
32149
|
+
# Corresponds to the JSON property `localizedMessage`
|
32150
|
+
# @return [Google::Apis::ComputeAlpha::LocalizedMessage]
|
32151
|
+
attr_accessor :localized_message
|
32152
|
+
|
32153
|
+
# Additional details for quota exceeded error for resource quota.
|
32154
|
+
# Corresponds to the JSON property `quotaInfo`
|
32155
|
+
# @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
|
32156
|
+
attr_accessor :quota_info
|
32157
|
+
|
32158
|
+
def initialize(**args)
|
32159
|
+
update!(**args)
|
32160
|
+
end
|
32161
|
+
|
32162
|
+
# Update properties of this object
|
32163
|
+
def update!(**args)
|
32164
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
32165
|
+
@help = args[:help] if args.key?(:help)
|
32166
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
32167
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
32168
|
+
end
|
32169
|
+
end
|
32170
|
+
end
|
32171
|
+
end
|
32172
|
+
end
|
32173
|
+
|
31633
32174
|
# Queuing parameters for the requested deferred capacity.
|
31634
32175
|
class QueuingPolicy
|
31635
32176
|
include Google::Apis::Core::Hashable
|
@@ -46606,6 +47147,12 @@ module Google
|
|
46606
47147
|
# @return [String]
|
46607
47148
|
attr_accessor :creation_timestamp
|
46608
47149
|
|
47150
|
+
# Specifies the custom error response policy that must be applied when the
|
47151
|
+
# backend service or backend bucket responds with an error.
|
47152
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
47153
|
+
# @return [Google::Apis::ComputeAlpha::CustomErrorResponsePolicy]
|
47154
|
+
attr_accessor :default_custom_error_response_policy
|
47155
|
+
|
46609
47156
|
# defaultRouteAction takes effect when none of the hostRules match. The load
|
46610
47157
|
# balancer performs advanced routing actions, such as URL rewrites and header
|
46611
47158
|
# transformations, before forwarding the request to the selected backend. If
|
@@ -46719,6 +47266,7 @@ module Google
|
|
46719
47266
|
# Update properties of this object
|
46720
47267
|
def update!(**args)
|
46721
47268
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
47269
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
46722
47270
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
46723
47271
|
@default_service = args[:default_service] if args.key?(:default_service)
|
46724
47272
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220705"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -694,6 +694,18 @@ module Google
|
|
694
694
|
include Google::Apis::Core::JsonObjectSupport
|
695
695
|
end
|
696
696
|
|
697
|
+
class CustomErrorResponsePolicy
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
|
+
|
700
|
+
include Google::Apis::Core::JsonObjectSupport
|
701
|
+
end
|
702
|
+
|
703
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
704
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
|
+
|
706
|
+
include Google::Apis::Core::JsonObjectSupport
|
707
|
+
end
|
708
|
+
|
697
709
|
class CustomerEncryptionKey
|
698
710
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
699
711
|
|
@@ -778,6 +790,12 @@ module Google
|
|
778
790
|
include Google::Apis::Core::JsonObjectSupport
|
779
791
|
end
|
780
792
|
|
793
|
+
class DiskParams
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
781
799
|
class DiskResourceStatus
|
782
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
801
|
|
@@ -4018,6 +4036,60 @@ module Google
|
|
4018
4036
|
include Google::Apis::Core::JsonObjectSupport
|
4019
4037
|
end
|
4020
4038
|
|
4039
|
+
class QueuedResource
|
4040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4041
|
+
|
4042
|
+
include Google::Apis::Core::JsonObjectSupport
|
4043
|
+
end
|
4044
|
+
|
4045
|
+
class QueuedResourceList
|
4046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4047
|
+
|
4048
|
+
class Warning
|
4049
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4050
|
+
|
4051
|
+
class Datum
|
4052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4053
|
+
|
4054
|
+
include Google::Apis::Core::JsonObjectSupport
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
include Google::Apis::Core::JsonObjectSupport
|
4058
|
+
end
|
4059
|
+
|
4060
|
+
include Google::Apis::Core::JsonObjectSupport
|
4061
|
+
end
|
4062
|
+
|
4063
|
+
class QueuedResourceStatus
|
4064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4065
|
+
|
4066
|
+
include Google::Apis::Core::JsonObjectSupport
|
4067
|
+
end
|
4068
|
+
|
4069
|
+
class QueuedResourceStatusFailedData
|
4070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4071
|
+
|
4072
|
+
class Error
|
4073
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4074
|
+
|
4075
|
+
class Error
|
4076
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4077
|
+
|
4078
|
+
class ErrorDetail
|
4079
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4080
|
+
|
4081
|
+
include Google::Apis::Core::JsonObjectSupport
|
4082
|
+
end
|
4083
|
+
|
4084
|
+
include Google::Apis::Core::JsonObjectSupport
|
4085
|
+
end
|
4086
|
+
|
4087
|
+
include Google::Apis::Core::JsonObjectSupport
|
4088
|
+
end
|
4089
|
+
|
4090
|
+
include Google::Apis::Core::JsonObjectSupport
|
4091
|
+
end
|
4092
|
+
|
4021
4093
|
class QueuingPolicy
|
4022
4094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4023
4095
|
|
@@ -6906,6 +6978,7 @@ module Google
|
|
6906
6978
|
property :on_update_action, as: 'onUpdateAction'
|
6907
6979
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
6908
6980
|
collection :replica_zones, as: 'replicaZones'
|
6981
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
6909
6982
|
collection :resource_policies, as: 'resourcePolicies'
|
6910
6983
|
property :source_image, as: 'sourceImage'
|
6911
6984
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
@@ -7902,6 +7975,24 @@ module Google
|
|
7902
7975
|
end
|
7903
7976
|
end
|
7904
7977
|
|
7978
|
+
class CustomErrorResponsePolicy
|
7979
|
+
# @private
|
7980
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7981
|
+
collection :error_response_rules, as: 'errorResponseRules', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicyCustomErrorResponseRule::Representation
|
7982
|
+
|
7983
|
+
property :error_service, as: 'errorService'
|
7984
|
+
end
|
7985
|
+
end
|
7986
|
+
|
7987
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
7988
|
+
# @private
|
7989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7990
|
+
collection :match_response_codes, as: 'matchResponseCodes'
|
7991
|
+
property :override_response_code, as: 'overrideResponseCode'
|
7992
|
+
property :path, as: 'path'
|
7993
|
+
end
|
7994
|
+
end
|
7995
|
+
|
7905
7996
|
class CustomerEncryptionKey
|
7906
7997
|
# @private
|
7907
7998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7964,6 +8055,8 @@ module Google
|
|
7964
8055
|
property :multi_writer, as: 'multiWriter'
|
7965
8056
|
property :name, as: 'name'
|
7966
8057
|
property :options, as: 'options'
|
8058
|
+
property :params, as: 'params', class: Google::Apis::ComputeAlpha::DiskParams, decorator: Google::Apis::ComputeAlpha::DiskParams::Representation
|
8059
|
+
|
7967
8060
|
property :physical_block_size_bytes, :numeric_string => true, as: 'physicalBlockSizeBytes'
|
7968
8061
|
property :provisioned_iops, :numeric_string => true, as: 'provisionedIops'
|
7969
8062
|
property :region, as: 'region'
|
@@ -8098,6 +8191,13 @@ module Google
|
|
8098
8191
|
end
|
8099
8192
|
end
|
8100
8193
|
|
8194
|
+
class DiskParams
|
8195
|
+
# @private
|
8196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8197
|
+
hash :resource_manager_tags, as: 'resourceManagerTags'
|
8198
|
+
end
|
8199
|
+
end
|
8200
|
+
|
8101
8201
|
class DiskResourceStatus
|
8102
8202
|
# @private
|
8103
8203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9642,6 +9742,8 @@ module Google
|
|
9642
9742
|
class HttpRouteRule
|
9643
9743
|
# @private
|
9644
9744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9745
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
|
9746
|
+
|
9645
9747
|
property :description, as: 'description'
|
9646
9748
|
property :header_action, as: 'headerAction', class: Google::Apis::ComputeAlpha::HttpHeaderAction, decorator: Google::Apis::ComputeAlpha::HttpHeaderAction::Representation
|
9647
9749
|
|
@@ -13801,6 +13903,8 @@ module Google
|
|
13801
13903
|
class PathMatcher
|
13802
13904
|
# @private
|
13803
13905
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13906
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
|
13907
|
+
|
13804
13908
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
13805
13909
|
|
13806
13910
|
property :default_service, as: 'defaultService'
|
@@ -13820,6 +13924,8 @@ module Google
|
|
13820
13924
|
class PathRule
|
13821
13925
|
# @private
|
13822
13926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13927
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
|
13928
|
+
|
13823
13929
|
collection :paths, as: 'paths'
|
13824
13930
|
property :route_action, as: 'routeAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
13825
13931
|
|
@@ -14210,6 +14316,114 @@ module Google
|
|
14210
14316
|
end
|
14211
14317
|
end
|
14212
14318
|
|
14319
|
+
class QueuedResource
|
14320
|
+
# @private
|
14321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14322
|
+
property :bulk_insert_instance_resource, as: 'bulkInsertInstanceResource', class: Google::Apis::ComputeAlpha::BulkInsertInstanceResource, decorator: Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation
|
14323
|
+
|
14324
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
14325
|
+
property :description, as: 'description'
|
14326
|
+
property :id, :numeric_string => true, as: 'id'
|
14327
|
+
property :kind, as: 'kind'
|
14328
|
+
property :name, as: 'name'
|
14329
|
+
property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
|
14330
|
+
|
14331
|
+
property :region, as: 'region'
|
14332
|
+
property :self_link, as: 'selfLink'
|
14333
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
14334
|
+
property :state, as: 'state'
|
14335
|
+
property :status, as: 'status', class: Google::Apis::ComputeAlpha::QueuedResourceStatus, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatus::Representation
|
14336
|
+
|
14337
|
+
property :zone, as: 'zone'
|
14338
|
+
end
|
14339
|
+
end
|
14340
|
+
|
14341
|
+
class QueuedResourceList
|
14342
|
+
# @private
|
14343
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14344
|
+
property :etag, as: 'etag'
|
14345
|
+
property :id, as: 'id'
|
14346
|
+
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::QueuedResource, decorator: Google::Apis::ComputeAlpha::QueuedResource::Representation
|
14347
|
+
|
14348
|
+
property :kind, as: 'kind'
|
14349
|
+
property :next_page_token, as: 'nextPageToken'
|
14350
|
+
property :self_link, as: 'selfLink'
|
14351
|
+
collection :unreachables, as: 'unreachables'
|
14352
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::QueuedResourceList::Warning, decorator: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Representation
|
14353
|
+
|
14354
|
+
end
|
14355
|
+
|
14356
|
+
class Warning
|
14357
|
+
# @private
|
14358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14359
|
+
property :code, as: 'code'
|
14360
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::QueuedResourceList::Warning::Datum::Representation
|
14361
|
+
|
14362
|
+
property :message, as: 'message'
|
14363
|
+
end
|
14364
|
+
|
14365
|
+
class Datum
|
14366
|
+
# @private
|
14367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14368
|
+
property :key, as: 'key'
|
14369
|
+
property :value, as: 'value'
|
14370
|
+
end
|
14371
|
+
end
|
14372
|
+
end
|
14373
|
+
end
|
14374
|
+
|
14375
|
+
class QueuedResourceStatus
|
14376
|
+
# @private
|
14377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14378
|
+
property :failed_data, as: 'failedData', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Representation
|
14379
|
+
|
14380
|
+
collection :provisioning_operations, as: 'provisioningOperations'
|
14381
|
+
property :queuing_policy, as: 'queuingPolicy', class: Google::Apis::ComputeAlpha::QueuingPolicy, decorator: Google::Apis::ComputeAlpha::QueuingPolicy::Representation
|
14382
|
+
|
14383
|
+
end
|
14384
|
+
end
|
14385
|
+
|
14386
|
+
class QueuedResourceStatusFailedData
|
14387
|
+
# @private
|
14388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14389
|
+
property :error, as: 'error', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Representation
|
14390
|
+
|
14391
|
+
end
|
14392
|
+
|
14393
|
+
class Error
|
14394
|
+
# @private
|
14395
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14396
|
+
collection :errors, as: 'errors', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::Representation
|
14397
|
+
|
14398
|
+
end
|
14399
|
+
|
14400
|
+
class Error
|
14401
|
+
# @private
|
14402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14403
|
+
property :code, as: 'code'
|
14404
|
+
collection :error_details, as: 'errorDetails', class: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail, decorator: Google::Apis::ComputeAlpha::QueuedResourceStatusFailedData::Error::Error::ErrorDetail::Representation
|
14405
|
+
|
14406
|
+
property :location, as: 'location'
|
14407
|
+
property :message, as: 'message'
|
14408
|
+
end
|
14409
|
+
|
14410
|
+
class ErrorDetail
|
14411
|
+
# @private
|
14412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14413
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::ComputeAlpha::ErrorInfo, decorator: Google::Apis::ComputeAlpha::ErrorInfo::Representation
|
14414
|
+
|
14415
|
+
property :help, as: 'help', class: Google::Apis::ComputeAlpha::Help, decorator: Google::Apis::ComputeAlpha::Help::Representation
|
14416
|
+
|
14417
|
+
property :localized_message, as: 'localizedMessage', class: Google::Apis::ComputeAlpha::LocalizedMessage, decorator: Google::Apis::ComputeAlpha::LocalizedMessage::Representation
|
14418
|
+
|
14419
|
+
property :quota_info, as: 'quotaInfo', class: Google::Apis::ComputeAlpha::QuotaExceededInfo, decorator: Google::Apis::ComputeAlpha::QuotaExceededInfo::Representation
|
14420
|
+
|
14421
|
+
end
|
14422
|
+
end
|
14423
|
+
end
|
14424
|
+
end
|
14425
|
+
end
|
14426
|
+
|
14213
14427
|
class QueuingPolicy
|
14214
14428
|
# @private
|
14215
14429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18017,6 +18231,8 @@ module Google
|
|
18017
18231
|
# @private
|
18018
18232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
18019
18233
|
property :creation_timestamp, as: 'creationTimestamp'
|
18234
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeAlpha::CustomErrorResponsePolicy::Representation
|
18235
|
+
|
18020
18236
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeAlpha::HttpRouteAction, decorator: Google::Apis::ComputeAlpha::HttpRouteAction::Representation
|
18021
18237
|
|
18022
18238
|
property :default_service, as: 'defaultService'
|
@@ -13255,6 +13255,7 @@ module Google
|
|
13255
13255
|
end
|
13256
13256
|
|
13257
13257
|
# Creates multiple instances. Count specifies the number of instances to create.
|
13258
|
+
# For more information, see About bulk creation of VMs.
|
13258
13259
|
# @param [String] project
|
13259
13260
|
# Project ID for this request.
|
13260
13261
|
# @param [String] zone
|
@@ -46632,6 +46633,289 @@ module Google
|
|
46632
46633
|
execute_or_queue_command(command, &block)
|
46633
46634
|
end
|
46634
46635
|
|
46636
|
+
# Cancels a QueuedResource. Only a resource in ACCEPTED state may be cancelled.
|
46637
|
+
# @param [String] project
|
46638
|
+
# Project ID for this request.
|
46639
|
+
# @param [String] zone
|
46640
|
+
# Name of the zone for this request.
|
46641
|
+
# @param [String] queued_resource
|
46642
|
+
# Name of the QueuedResource to cancel.
|
46643
|
+
# @param [String] request_id
|
46644
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
46645
|
+
# that if you must retry your request, the server will know to ignore the
|
46646
|
+
# request if it has already been completed. For example, consider a situation
|
46647
|
+
# where you make an initial request and the request times out. If you make the
|
46648
|
+
# request again with the same request ID, the server can check if original
|
46649
|
+
# operation with the same request ID was received, and if so, will ignore the
|
46650
|
+
# second request. This prevents clients from accidentally creating duplicate
|
46651
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
46652
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
46653
|
+
# @param [String] fields
|
46654
|
+
# Selector specifying which fields to include in a partial response.
|
46655
|
+
# @param [String] quota_user
|
46656
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
46657
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46658
|
+
# @param [String] user_ip
|
46659
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
46660
|
+
# @param [Google::Apis::RequestOptions] options
|
46661
|
+
# Request-specific options
|
46662
|
+
#
|
46663
|
+
# @yield [result, err] Result & error if block supplied
|
46664
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
46665
|
+
# @yieldparam err [StandardError] error object if request failed
|
46666
|
+
#
|
46667
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
46668
|
+
#
|
46669
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
46670
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
46671
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
46672
|
+
def cancel_zone_queued_resource(project, zone, queued_resource, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
46673
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/queuedResources/{queuedResource}/cancel', options)
|
46674
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
46675
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
46676
|
+
command.params['project'] = project unless project.nil?
|
46677
|
+
command.params['zone'] = zone unless zone.nil?
|
46678
|
+
command.params['queuedResource'] = queued_resource unless queued_resource.nil?
|
46679
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
46680
|
+
command.query['fields'] = fields unless fields.nil?
|
46681
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
46682
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
46683
|
+
execute_or_queue_command(command, &block)
|
46684
|
+
end
|
46685
|
+
|
46686
|
+
# Deletes a QueuedResource. For a QueuedResource in ACCEPTED state, call cancel
|
46687
|
+
# on the resource before deleting, to make sure no VMs have been provisioned and
|
46688
|
+
# may require cleaning up. For a QueuedResource in PROVISIONING state the
|
46689
|
+
# request to delete is registered for execution following the provisioning.
|
46690
|
+
# @param [String] project
|
46691
|
+
# Project ID for this request.
|
46692
|
+
# @param [String] zone
|
46693
|
+
# Name of the zone for this request.
|
46694
|
+
# @param [String] queued_resource
|
46695
|
+
# Name of the QueuedResource to delete.
|
46696
|
+
# @param [String] request_id
|
46697
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
46698
|
+
# that if you must retry your request, the server will know to ignore the
|
46699
|
+
# request if it has already been completed. For example, consider a situation
|
46700
|
+
# where you make an initial request and the request times out. If you make the
|
46701
|
+
# request again with the same request ID, the server can check if original
|
46702
|
+
# operation with the same request ID was received, and if so, will ignore the
|
46703
|
+
# second request. This prevents clients from accidentally creating duplicate
|
46704
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
46705
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
46706
|
+
# @param [String] fields
|
46707
|
+
# Selector specifying which fields to include in a partial response.
|
46708
|
+
# @param [String] quota_user
|
46709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
46710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46711
|
+
# @param [String] user_ip
|
46712
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
46713
|
+
# @param [Google::Apis::RequestOptions] options
|
46714
|
+
# Request-specific options
|
46715
|
+
#
|
46716
|
+
# @yield [result, err] Result & error if block supplied
|
46717
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
46718
|
+
# @yieldparam err [StandardError] error object if request failed
|
46719
|
+
#
|
46720
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
46721
|
+
#
|
46722
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
46723
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
46724
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
46725
|
+
def delete_zone_queued_resource(project, zone, queued_resource, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
46726
|
+
command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/queuedResources/{queuedResource}', options)
|
46727
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
46728
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
46729
|
+
command.params['project'] = project unless project.nil?
|
46730
|
+
command.params['zone'] = zone unless zone.nil?
|
46731
|
+
command.params['queuedResource'] = queued_resource unless queued_resource.nil?
|
46732
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
46733
|
+
command.query['fields'] = fields unless fields.nil?
|
46734
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
46735
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
46736
|
+
execute_or_queue_command(command, &block)
|
46737
|
+
end
|
46738
|
+
|
46739
|
+
# Returns the specified QueuedResource resource.
|
46740
|
+
# @param [String] project
|
46741
|
+
# Project ID for this request.
|
46742
|
+
# @param [String] zone
|
46743
|
+
# Name of the zone for this request.
|
46744
|
+
# @param [String] queued_resource
|
46745
|
+
# Name of the QueuedResource resource to return.
|
46746
|
+
# @param [String] fields
|
46747
|
+
# Selector specifying which fields to include in a partial response.
|
46748
|
+
# @param [String] quota_user
|
46749
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
46750
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46751
|
+
# @param [String] user_ip
|
46752
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
46753
|
+
# @param [Google::Apis::RequestOptions] options
|
46754
|
+
# Request-specific options
|
46755
|
+
#
|
46756
|
+
# @yield [result, err] Result & error if block supplied
|
46757
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::QueuedResource] parsed result object
|
46758
|
+
# @yieldparam err [StandardError] error object if request failed
|
46759
|
+
#
|
46760
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResource]
|
46761
|
+
#
|
46762
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
46763
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
46764
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
46765
|
+
def get_zone_queued_resource(project, zone, queued_resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
46766
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/queuedResources/{queuedResource}', options)
|
46767
|
+
command.response_representation = Google::Apis::ComputeAlpha::QueuedResource::Representation
|
46768
|
+
command.response_class = Google::Apis::ComputeAlpha::QueuedResource
|
46769
|
+
command.params['project'] = project unless project.nil?
|
46770
|
+
command.params['zone'] = zone unless zone.nil?
|
46771
|
+
command.params['queuedResource'] = queued_resource unless queued_resource.nil?
|
46772
|
+
command.query['fields'] = fields unless fields.nil?
|
46773
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
46774
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
46775
|
+
execute_or_queue_command(command, &block)
|
46776
|
+
end
|
46777
|
+
|
46778
|
+
# Creates a QueuedResource.
|
46779
|
+
# @param [String] project
|
46780
|
+
# Project ID for this request.
|
46781
|
+
# @param [String] zone
|
46782
|
+
# Name of the zone for this request.
|
46783
|
+
# @param [Google::Apis::ComputeAlpha::QueuedResource] queued_resource_object
|
46784
|
+
# @param [String] request_id
|
46785
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
46786
|
+
# that if you must retry your request, the server will know to ignore the
|
46787
|
+
# request if it has already been completed. For example, consider a situation
|
46788
|
+
# where you make an initial request and the request times out. If you make the
|
46789
|
+
# request again with the same request ID, the server can check if original
|
46790
|
+
# operation with the same request ID was received, and if so, will ignore the
|
46791
|
+
# second request. This prevents clients from accidentally creating duplicate
|
46792
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
46793
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
46794
|
+
# @param [String] fields
|
46795
|
+
# Selector specifying which fields to include in a partial response.
|
46796
|
+
# @param [String] quota_user
|
46797
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
46798
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46799
|
+
# @param [String] user_ip
|
46800
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
46801
|
+
# @param [Google::Apis::RequestOptions] options
|
46802
|
+
# Request-specific options
|
46803
|
+
#
|
46804
|
+
# @yield [result, err] Result & error if block supplied
|
46805
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
46806
|
+
# @yieldparam err [StandardError] error object if request failed
|
46807
|
+
#
|
46808
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
46809
|
+
#
|
46810
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
46811
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
46812
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
46813
|
+
def insert_zone_queued_resource(project, zone, queued_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
46814
|
+
command = make_simple_command(:post, 'projects/{project}/zones/{zone}/queuedResources', options)
|
46815
|
+
command.request_representation = Google::Apis::ComputeAlpha::QueuedResource::Representation
|
46816
|
+
command.request_object = queued_resource_object
|
46817
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
46818
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
46819
|
+
command.params['project'] = project unless project.nil?
|
46820
|
+
command.params['zone'] = zone unless zone.nil?
|
46821
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
46822
|
+
command.query['fields'] = fields unless fields.nil?
|
46823
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
46824
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
46825
|
+
execute_or_queue_command(command, &block)
|
46826
|
+
end
|
46827
|
+
|
46828
|
+
# Retrieves the list of QueuedResource resources.
|
46829
|
+
# @param [String] project
|
46830
|
+
# Project ID for this request.
|
46831
|
+
# @param [String] zone
|
46832
|
+
# Name of the zone for this request.
|
46833
|
+
# @param [String] filter
|
46834
|
+
# A filter expression that filters resources listed in the response. Most
|
46835
|
+
# Compute resources support two types of filter expressions: expressions that
|
46836
|
+
# support regular expressions and expressions that follow API improvement
|
46837
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
46838
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
46839
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
46840
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
46841
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
46842
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
46843
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
46844
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
46845
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
46846
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
46847
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
46848
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
46849
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
46850
|
+
# provide each separate expression within parentheses. For example: ``` (
|
46851
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
46852
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
46853
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
46854
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
46855
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
46856
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
46857
|
+
# expression with or without quotes or against multiple parenthesized
|
46858
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
46859
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
46860
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
46861
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
46862
|
+
# match the entire field. For example, to filter for instances that do not end
|
46863
|
+
# with name "instance", you would use `name ne .*instance`.
|
46864
|
+
# @param [Fixnum] max_results
|
46865
|
+
# The maximum number of results per page that should be returned. If the number
|
46866
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
46867
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
46868
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
46869
|
+
# @param [String] order_by
|
46870
|
+
# Sorts list results by a certain order. By default, results are returned in
|
46871
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
46872
|
+
# descending order based on the creation timestamp using `orderBy="
|
46873
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
46874
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
46875
|
+
# resources like operations so that the newest operation is returned first.
|
46876
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
46877
|
+
# @param [String] page_token
|
46878
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
46879
|
+
# by a previous list request to get the next page of results.
|
46880
|
+
# @param [Boolean] return_partial_success
|
46881
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
46882
|
+
# failure. The default value is false.
|
46883
|
+
# @param [String] fields
|
46884
|
+
# Selector specifying which fields to include in a partial response.
|
46885
|
+
# @param [String] quota_user
|
46886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
46887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
46888
|
+
# @param [String] user_ip
|
46889
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
46890
|
+
# @param [Google::Apis::RequestOptions] options
|
46891
|
+
# Request-specific options
|
46892
|
+
#
|
46893
|
+
# @yield [result, err] Result & error if block supplied
|
46894
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::QueuedResourceList] parsed result object
|
46895
|
+
# @yieldparam err [StandardError] error object if request failed
|
46896
|
+
#
|
46897
|
+
# @return [Google::Apis::ComputeAlpha::QueuedResourceList]
|
46898
|
+
#
|
46899
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
46900
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
46901
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
46902
|
+
def list_zone_queued_resources(project, zone, 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)
|
46903
|
+
command = make_simple_command(:get, 'projects/{project}/zones/{zone}/queuedResources', options)
|
46904
|
+
command.response_representation = Google::Apis::ComputeAlpha::QueuedResourceList::Representation
|
46905
|
+
command.response_class = Google::Apis::ComputeAlpha::QueuedResourceList
|
46906
|
+
command.params['project'] = project unless project.nil?
|
46907
|
+
command.params['zone'] = zone unless zone.nil?
|
46908
|
+
command.query['filter'] = filter unless filter.nil?
|
46909
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
46910
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
46911
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
46912
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
46913
|
+
command.query['fields'] = fields unless fields.nil?
|
46914
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
46915
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
46916
|
+
execute_or_queue_command(command, &block)
|
46917
|
+
end
|
46918
|
+
|
46635
46919
|
# Returns the specified Zone resource. Gets a list of available zones by making
|
46636
46920
|
# a list() request.
|
46637
46921
|
# @param [String] project
|
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.
|
4
|
+
version: 0.42.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: 2022-07-
|
11
|
+
date: 2022-07-18 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-compute_alpha/v0.42.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: []
|