google-apis-compute_beta 0.59.0 → 0.61.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: 693e4355e2509b4276c63f8f2b1f19cc45ae4762922aa73595ee6411af0bf869
|
|
4
|
+
data.tar.gz: 3f12d92cc49f9b73cab89717757b5a985c1aa28e93929842af6ccd26e11139ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 228946dfe4edd9cc93a197aa7c01c441f5f6b0f0a42a0c9368ee13a32599cf4490cd58a244b5897226ee32b17719d625995295239b5a631edd470d1dddc6524e
|
|
7
|
+
data.tar.gz: f6b1e4be3a4c208e7c803a71787ef82b3f939aacc5cc3a048765ee5844c40fb0adca6d553b6d3c9161e1224432c343ec76461294e17b96da66faa274293bea9c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-compute_beta
|
|
2
2
|
|
|
3
|
+
### v0.61.0 (2023-02-19)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20230210
|
|
6
|
+
* Regenerated using generator version 0.12.0
|
|
7
|
+
|
|
8
|
+
### v0.60.0 (2023-02-12)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20230201
|
|
11
|
+
|
|
3
12
|
### v0.59.0 (2023-01-29)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20230119
|
|
@@ -512,8 +512,9 @@ module Google
|
|
|
512
512
|
|
|
513
513
|
# The first IPv6 address of the external IPv6 range associated with this
|
|
514
514
|
# instance, prefix length is stored in externalIpv6PrefixLength in
|
|
515
|
-
# ipv6AccessConfig.
|
|
516
|
-
#
|
|
515
|
+
# ipv6AccessConfig. To use a static external IP address, it must be unused and
|
|
516
|
+
# in the same region as the instance's zone. If not specified, GCP will
|
|
517
|
+
# automatically assign an external IPv6 address from the instance's subnetwork.
|
|
517
518
|
# Corresponds to the JSON property `externalIpv6`
|
|
518
519
|
# @return [String]
|
|
519
520
|
attr_accessor :external_ipv6
|
|
@@ -4811,22 +4812,22 @@ module Google
|
|
|
4811
4812
|
# kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-
|
|
4812
4813
|
# project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:`emailid``: An
|
|
4813
4814
|
# email address that represents a Google group. For example, `admins@example.com`
|
|
4814
|
-
# . * `
|
|
4815
|
-
#
|
|
4816
|
-
#
|
|
4817
|
-
#
|
|
4818
|
-
# the
|
|
4819
|
-
#
|
|
4820
|
-
#
|
|
4815
|
+
# . * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
4816
|
+
# users of that domain. For example, `google.com` or `example.com`. * `deleted:
|
|
4817
|
+
# user:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
|
|
4818
|
+
# representing a user that has been recently deleted. For example, `alice@
|
|
4819
|
+
# example.com?uid=123456789012345678901`. If the user is recovered, this value
|
|
4820
|
+
# reverts to `user:`emailid`` and the recovered user retains the role in the
|
|
4821
|
+
# binding. * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address
|
|
4822
|
+
# (plus unique identifier) representing a service account that has been recently
|
|
4823
|
+
# deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
|
|
4821
4824
|
# 123456789012345678901`. If the service account is undeleted, this value
|
|
4822
4825
|
# reverts to `serviceAccount:`emailid`` and the undeleted service account
|
|
4823
4826
|
# retains the role in the binding. * `deleted:group:`emailid`?uid=`uniqueid``:
|
|
4824
4827
|
# An email address (plus unique identifier) representing a Google group that has
|
|
4825
4828
|
# been recently deleted. For example, `admins@example.com?uid=
|
|
4826
4829
|
# 123456789012345678901`. If the group is recovered, this value reverts to `
|
|
4827
|
-
# group:`emailid`` and the recovered group retains the role in the binding.
|
|
4828
|
-
# domain:`domain``: The G Suite domain (primary) that represents all the users
|
|
4829
|
-
# of that domain. For example, `google.com` or `example.com`.
|
|
4830
|
+
# group:`emailid`` and the recovered group retains the role in the binding.
|
|
4830
4831
|
# Corresponds to the JSON property `members`
|
|
4831
4832
|
# @return [Array<String>]
|
|
4832
4833
|
attr_accessor :members
|
|
@@ -5861,6 +5862,95 @@ module Google
|
|
|
5861
5862
|
end
|
|
5862
5863
|
end
|
|
5863
5864
|
|
|
5865
|
+
# Specifies the custom error response policy that must be applied when the
|
|
5866
|
+
# backend service or backend bucket responds with an error.
|
|
5867
|
+
class CustomErrorResponsePolicy
|
|
5868
|
+
include Google::Apis::Core::Hashable
|
|
5869
|
+
|
|
5870
|
+
# Specifies rules for returning error responses. In a given policy, if you
|
|
5871
|
+
# specify rules for both a range of error codes as well as rules for specific
|
|
5872
|
+
# error codes then rules with specific error codes have a higher priority. For
|
|
5873
|
+
# example, assume that you configure a rule for 401 (Un-authorized) code, and
|
|
5874
|
+
# another for all 4 series error codes (4XX). If the backend service returns a
|
|
5875
|
+
# 401, then the rule for 401 will be applied. However if the backend service
|
|
5876
|
+
# returns a 403, the rule for 4xx takes effect.
|
|
5877
|
+
# Corresponds to the JSON property `errorResponseRules`
|
|
5878
|
+
# @return [Array<Google::Apis::ComputeBeta::CustomErrorResponsePolicyCustomErrorResponseRule>]
|
|
5879
|
+
attr_accessor :error_response_rules
|
|
5880
|
+
|
|
5881
|
+
# The full or partial URL to the BackendBucket resource that contains the custom
|
|
5882
|
+
# error content. Examples are: - https://www.googleapis.com/compute/v1/projects/
|
|
5883
|
+
# project/global/backendBuckets/myBackendBucket - compute/v1/projects/project/
|
|
5884
|
+
# global/backendBuckets/myBackendBucket - global/backendBuckets/myBackendBucket
|
|
5885
|
+
# If errorService is not specified at lower levels like pathMatcher, pathRule
|
|
5886
|
+
# and routeRule, an errorService specified at a higher level in the UrlMap will
|
|
5887
|
+
# be used. If UrlMap.defaultCustomErrorResponsePolicy contains one or more
|
|
5888
|
+
# errorResponseRules[], it must specify errorService. If load balancer cannot
|
|
5889
|
+
# reach the backendBucket, a simple Not Found Error will be returned, with the
|
|
5890
|
+
# original response code (or overrideResponseCode if configured). errorService
|
|
5891
|
+
# is not supported for internal or regional HTTP/HTTPS load balancers.
|
|
5892
|
+
# Corresponds to the JSON property `errorService`
|
|
5893
|
+
# @return [String]
|
|
5894
|
+
attr_accessor :error_service
|
|
5895
|
+
|
|
5896
|
+
def initialize(**args)
|
|
5897
|
+
update!(**args)
|
|
5898
|
+
end
|
|
5899
|
+
|
|
5900
|
+
# Update properties of this object
|
|
5901
|
+
def update!(**args)
|
|
5902
|
+
@error_response_rules = args[:error_response_rules] if args.key?(:error_response_rules)
|
|
5903
|
+
@error_service = args[:error_service] if args.key?(:error_service)
|
|
5904
|
+
end
|
|
5905
|
+
end
|
|
5906
|
+
|
|
5907
|
+
# Specifies the mapping between the response code that will be returned along
|
|
5908
|
+
# with the custom error content and the response code returned by the backend
|
|
5909
|
+
# service.
|
|
5910
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
|
5911
|
+
include Google::Apis::Core::Hashable
|
|
5912
|
+
|
|
5913
|
+
# Valid values include: - A number between 400 and 599: For example 401 or 503,
|
|
5914
|
+
# in which case the load balancer applies the policy if the error code exactly
|
|
5915
|
+
# matches this value. - 5xx: Load Balancer will apply the policy if the backend
|
|
5916
|
+
# service responds with any response code in the range of 500 to 599. - 4xx:
|
|
5917
|
+
# Load Balancer will apply the policy if the backend service responds with any
|
|
5918
|
+
# response code in the range of 400 to 499. Values must be unique within
|
|
5919
|
+
# matchResponseCodes and across all errorResponseRules of
|
|
5920
|
+
# CustomErrorResponsePolicy.
|
|
5921
|
+
# Corresponds to the JSON property `matchResponseCodes`
|
|
5922
|
+
# @return [Array<String>]
|
|
5923
|
+
attr_accessor :match_response_codes
|
|
5924
|
+
|
|
5925
|
+
# The HTTP status code returned with the response containing the custom error
|
|
5926
|
+
# content. If overrideResponseCode is not supplied, the same response code
|
|
5927
|
+
# returned by the original backend bucket or backend service is returned to the
|
|
5928
|
+
# client.
|
|
5929
|
+
# Corresponds to the JSON property `overrideResponseCode`
|
|
5930
|
+
# @return [Fixnum]
|
|
5931
|
+
attr_accessor :override_response_code
|
|
5932
|
+
|
|
5933
|
+
# The full path to a file within backendBucket . For example: /errors/
|
|
5934
|
+
# defaultError.html path must start with a leading slash. path cannot have
|
|
5935
|
+
# trailing slashes. If the file is not available in backendBucket or the load
|
|
5936
|
+
# balancer cannot reach the BackendBucket, a simple Not Found Error is returned
|
|
5937
|
+
# to the client. The value must be from 1 to 1024 characters
|
|
5938
|
+
# Corresponds to the JSON property `path`
|
|
5939
|
+
# @return [String]
|
|
5940
|
+
attr_accessor :path
|
|
5941
|
+
|
|
5942
|
+
def initialize(**args)
|
|
5943
|
+
update!(**args)
|
|
5944
|
+
end
|
|
5945
|
+
|
|
5946
|
+
# Update properties of this object
|
|
5947
|
+
def update!(**args)
|
|
5948
|
+
@match_response_codes = args[:match_response_codes] if args.key?(:match_response_codes)
|
|
5949
|
+
@override_response_code = args[:override_response_code] if args.key?(:override_response_code)
|
|
5950
|
+
@path = args[:path] if args.key?(:path)
|
|
5951
|
+
end
|
|
5952
|
+
end
|
|
5953
|
+
|
|
5864
5954
|
#
|
|
5865
5955
|
class CustomerEncryptionKey
|
|
5866
5956
|
include Google::Apis::Core::Hashable
|
|
@@ -12210,6 +12300,12 @@ module Google
|
|
|
12210
12300
|
class HttpRouteRule
|
|
12211
12301
|
include Google::Apis::Core::Hashable
|
|
12212
12302
|
|
|
12303
|
+
# Specifies the custom error response policy that must be applied when the
|
|
12304
|
+
# backend service or backend bucket responds with an error.
|
|
12305
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
|
12306
|
+
# @return [Google::Apis::ComputeBeta::CustomErrorResponsePolicy]
|
|
12307
|
+
attr_accessor :custom_error_response_policy
|
|
12308
|
+
|
|
12213
12309
|
# The short description conveying the intent of this routeRule. The description
|
|
12214
12310
|
# can have a maximum length of 1024 characters.
|
|
12215
12311
|
# Corresponds to the JSON property `description`
|
|
@@ -12299,6 +12395,7 @@ module Google
|
|
|
12299
12395
|
|
|
12300
12396
|
# Update properties of this object
|
|
12301
12397
|
def update!(**args)
|
|
12398
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
|
12302
12399
|
@description = args[:description] if args.key?(:description)
|
|
12303
12400
|
@header_action = args[:header_action] if args.key?(:header_action)
|
|
12304
12401
|
@http_filter_configs = args[:http_filter_configs] if args.key?(:http_filter_configs)
|
|
@@ -12673,10 +12770,13 @@ module Google
|
|
|
12673
12770
|
# @return [Fixnum]
|
|
12674
12771
|
attr_accessor :disk_size_gb
|
|
12675
12772
|
|
|
12676
|
-
# The name of the image family to which this image belongs.
|
|
12677
|
-
#
|
|
12678
|
-
#
|
|
12679
|
-
# image family
|
|
12773
|
+
# The name of the image family to which this image belongs. The image family
|
|
12774
|
+
# name can be from a publicly managed image family provided by Compute Engine,
|
|
12775
|
+
# or from a custom image family you create. For example, centos-stream-9 is a
|
|
12776
|
+
# publicly available image family. For more information, see Image family best
|
|
12777
|
+
# practices. When creating disks, you can specify an image family instead of a
|
|
12778
|
+
# specific image name. The image family always returns its latest image that is
|
|
12779
|
+
# not deprecated. The name of the image family must comply with RFC1035.
|
|
12680
12780
|
# Corresponds to the JSON property `family`
|
|
12681
12781
|
# @return [String]
|
|
12682
12782
|
attr_accessor :family
|
|
@@ -16540,6 +16640,12 @@ module Google
|
|
|
16540
16640
|
# @return [Google::Apis::ComputeBeta::InstanceProperties]
|
|
16541
16641
|
attr_accessor :properties
|
|
16542
16642
|
|
|
16643
|
+
# [Output Only] URL of the region where the instance template resides. Only
|
|
16644
|
+
# applicable for regional resources.
|
|
16645
|
+
# Corresponds to the JSON property `region`
|
|
16646
|
+
# @return [String]
|
|
16647
|
+
attr_accessor :region
|
|
16648
|
+
|
|
16543
16649
|
# [Output Only] The URL for this instance template. The server defines this URL.
|
|
16544
16650
|
# Corresponds to the JSON property `selfLink`
|
|
16545
16651
|
# @return [String]
|
|
@@ -16571,12 +16677,130 @@ module Google
|
|
|
16571
16677
|
@kind = args[:kind] if args.key?(:kind)
|
|
16572
16678
|
@name = args[:name] if args.key?(:name)
|
|
16573
16679
|
@properties = args[:properties] if args.key?(:properties)
|
|
16680
|
+
@region = args[:region] if args.key?(:region)
|
|
16574
16681
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
16575
16682
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
|
16576
16683
|
@source_instance_params = args[:source_instance_params] if args.key?(:source_instance_params)
|
|
16577
16684
|
end
|
|
16578
16685
|
end
|
|
16579
16686
|
|
|
16687
|
+
# Contains a list of InstanceTemplatesScopedList.
|
|
16688
|
+
class InstanceTemplateAggregatedList
|
|
16689
|
+
include Google::Apis::Core::Hashable
|
|
16690
|
+
|
|
16691
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
|
16692
|
+
# Corresponds to the JSON property `id`
|
|
16693
|
+
# @return [String]
|
|
16694
|
+
attr_accessor :id
|
|
16695
|
+
|
|
16696
|
+
# A list of InstanceTemplatesScopedList resources.
|
|
16697
|
+
# Corresponds to the JSON property `items`
|
|
16698
|
+
# @return [Hash<String,Google::Apis::ComputeBeta::InstanceTemplatesScopedList>]
|
|
16699
|
+
attr_accessor :items
|
|
16700
|
+
|
|
16701
|
+
# Type of resource.
|
|
16702
|
+
# Corresponds to the JSON property `kind`
|
|
16703
|
+
# @return [String]
|
|
16704
|
+
attr_accessor :kind
|
|
16705
|
+
|
|
16706
|
+
# [Output Only] This token allows you to get the next page of results for list
|
|
16707
|
+
# requests. If the number of results is larger than maxResults, use the
|
|
16708
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
|
16709
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
|
16710
|
+
# continue paging through the results.
|
|
16711
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
16712
|
+
# @return [String]
|
|
16713
|
+
attr_accessor :next_page_token
|
|
16714
|
+
|
|
16715
|
+
# [Output Only] Server-defined URL for this resource.
|
|
16716
|
+
# Corresponds to the JSON property `selfLink`
|
|
16717
|
+
# @return [String]
|
|
16718
|
+
attr_accessor :self_link
|
|
16719
|
+
|
|
16720
|
+
# [Output Only] Informational warning message.
|
|
16721
|
+
# Corresponds to the JSON property `warning`
|
|
16722
|
+
# @return [Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning]
|
|
16723
|
+
attr_accessor :warning
|
|
16724
|
+
|
|
16725
|
+
def initialize(**args)
|
|
16726
|
+
update!(**args)
|
|
16727
|
+
end
|
|
16728
|
+
|
|
16729
|
+
# Update properties of this object
|
|
16730
|
+
def update!(**args)
|
|
16731
|
+
@id = args[:id] if args.key?(:id)
|
|
16732
|
+
@items = args[:items] if args.key?(:items)
|
|
16733
|
+
@kind = args[:kind] if args.key?(:kind)
|
|
16734
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
16735
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
|
16736
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
16737
|
+
end
|
|
16738
|
+
|
|
16739
|
+
# [Output Only] Informational warning message.
|
|
16740
|
+
class Warning
|
|
16741
|
+
include Google::Apis::Core::Hashable
|
|
16742
|
+
|
|
16743
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
16744
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
16745
|
+
# Corresponds to the JSON property `code`
|
|
16746
|
+
# @return [String]
|
|
16747
|
+
attr_accessor :code
|
|
16748
|
+
|
|
16749
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
|
16750
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
16751
|
+
# Corresponds to the JSON property `data`
|
|
16752
|
+
# @return [Array<Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning::Datum>]
|
|
16753
|
+
attr_accessor :data
|
|
16754
|
+
|
|
16755
|
+
# [Output Only] A human-readable description of the warning code.
|
|
16756
|
+
# Corresponds to the JSON property `message`
|
|
16757
|
+
# @return [String]
|
|
16758
|
+
attr_accessor :message
|
|
16759
|
+
|
|
16760
|
+
def initialize(**args)
|
|
16761
|
+
update!(**args)
|
|
16762
|
+
end
|
|
16763
|
+
|
|
16764
|
+
# Update properties of this object
|
|
16765
|
+
def update!(**args)
|
|
16766
|
+
@code = args[:code] if args.key?(:code)
|
|
16767
|
+
@data = args[:data] if args.key?(:data)
|
|
16768
|
+
@message = args[:message] if args.key?(:message)
|
|
16769
|
+
end
|
|
16770
|
+
|
|
16771
|
+
#
|
|
16772
|
+
class Datum
|
|
16773
|
+
include Google::Apis::Core::Hashable
|
|
16774
|
+
|
|
16775
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
16776
|
+
# For example, for warnings where there are no results in a list request for a
|
|
16777
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
16778
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
16779
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
16780
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
16781
|
+
# for IP forwarding).
|
|
16782
|
+
# Corresponds to the JSON property `key`
|
|
16783
|
+
# @return [String]
|
|
16784
|
+
attr_accessor :key
|
|
16785
|
+
|
|
16786
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
16787
|
+
# Corresponds to the JSON property `value`
|
|
16788
|
+
# @return [String]
|
|
16789
|
+
attr_accessor :value
|
|
16790
|
+
|
|
16791
|
+
def initialize(**args)
|
|
16792
|
+
update!(**args)
|
|
16793
|
+
end
|
|
16794
|
+
|
|
16795
|
+
# Update properties of this object
|
|
16796
|
+
def update!(**args)
|
|
16797
|
+
@key = args[:key] if args.key?(:key)
|
|
16798
|
+
@value = args[:value] if args.key?(:value)
|
|
16799
|
+
end
|
|
16800
|
+
end
|
|
16801
|
+
end
|
|
16802
|
+
end
|
|
16803
|
+
|
|
16580
16804
|
# A list of instance templates.
|
|
16581
16805
|
class InstanceTemplateList
|
|
16582
16806
|
include Google::Apis::Core::Hashable
|
|
@@ -16695,6 +16919,98 @@ module Google
|
|
|
16695
16919
|
end
|
|
16696
16920
|
end
|
|
16697
16921
|
|
|
16922
|
+
#
|
|
16923
|
+
class InstanceTemplatesScopedList
|
|
16924
|
+
include Google::Apis::Core::Hashable
|
|
16925
|
+
|
|
16926
|
+
# [Output Only] A list of instance templates that are contained within the
|
|
16927
|
+
# specified project and zone.
|
|
16928
|
+
# Corresponds to the JSON property `instanceTemplates`
|
|
16929
|
+
# @return [Array<Google::Apis::ComputeBeta::InstanceTemplate>]
|
|
16930
|
+
attr_accessor :instance_templates
|
|
16931
|
+
|
|
16932
|
+
# [Output Only] An informational warning that replaces the list of instance
|
|
16933
|
+
# templates when the list is empty.
|
|
16934
|
+
# Corresponds to the JSON property `warning`
|
|
16935
|
+
# @return [Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning]
|
|
16936
|
+
attr_accessor :warning
|
|
16937
|
+
|
|
16938
|
+
def initialize(**args)
|
|
16939
|
+
update!(**args)
|
|
16940
|
+
end
|
|
16941
|
+
|
|
16942
|
+
# Update properties of this object
|
|
16943
|
+
def update!(**args)
|
|
16944
|
+
@instance_templates = args[:instance_templates] if args.key?(:instance_templates)
|
|
16945
|
+
@warning = args[:warning] if args.key?(:warning)
|
|
16946
|
+
end
|
|
16947
|
+
|
|
16948
|
+
# [Output Only] An informational warning that replaces the list of instance
|
|
16949
|
+
# templates when the list is empty.
|
|
16950
|
+
class Warning
|
|
16951
|
+
include Google::Apis::Core::Hashable
|
|
16952
|
+
|
|
16953
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
|
16954
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
|
16955
|
+
# Corresponds to the JSON property `code`
|
|
16956
|
+
# @return [String]
|
|
16957
|
+
attr_accessor :code
|
|
16958
|
+
|
|
16959
|
+
# [Output Only] Metadata about this warning in key: value format. For example: "
|
|
16960
|
+
# data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
|
16961
|
+
# Corresponds to the JSON property `data`
|
|
16962
|
+
# @return [Array<Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning::Datum>]
|
|
16963
|
+
attr_accessor :data
|
|
16964
|
+
|
|
16965
|
+
# [Output Only] A human-readable description of the warning code.
|
|
16966
|
+
# Corresponds to the JSON property `message`
|
|
16967
|
+
# @return [String]
|
|
16968
|
+
attr_accessor :message
|
|
16969
|
+
|
|
16970
|
+
def initialize(**args)
|
|
16971
|
+
update!(**args)
|
|
16972
|
+
end
|
|
16973
|
+
|
|
16974
|
+
# Update properties of this object
|
|
16975
|
+
def update!(**args)
|
|
16976
|
+
@code = args[:code] if args.key?(:code)
|
|
16977
|
+
@data = args[:data] if args.key?(:data)
|
|
16978
|
+
@message = args[:message] if args.key?(:message)
|
|
16979
|
+
end
|
|
16980
|
+
|
|
16981
|
+
#
|
|
16982
|
+
class Datum
|
|
16983
|
+
include Google::Apis::Core::Hashable
|
|
16984
|
+
|
|
16985
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
|
16986
|
+
# For example, for warnings where there are no results in a list request for a
|
|
16987
|
+
# particular zone, this key might be scope and the key value might be the zone
|
|
16988
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
|
16989
|
+
# suggested replacement, or a warning about invalid network settings (for
|
|
16990
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
|
16991
|
+
# for IP forwarding).
|
|
16992
|
+
# Corresponds to the JSON property `key`
|
|
16993
|
+
# @return [String]
|
|
16994
|
+
attr_accessor :key
|
|
16995
|
+
|
|
16996
|
+
# [Output Only] A warning data value corresponding to the key.
|
|
16997
|
+
# Corresponds to the JSON property `value`
|
|
16998
|
+
# @return [String]
|
|
16999
|
+
attr_accessor :value
|
|
17000
|
+
|
|
17001
|
+
def initialize(**args)
|
|
17002
|
+
update!(**args)
|
|
17003
|
+
end
|
|
17004
|
+
|
|
17005
|
+
# Update properties of this object
|
|
17006
|
+
def update!(**args)
|
|
17007
|
+
@key = args[:key] if args.key?(:key)
|
|
17008
|
+
@value = args[:value] if args.key?(:value)
|
|
17009
|
+
end
|
|
17010
|
+
end
|
|
17011
|
+
end
|
|
17012
|
+
end
|
|
17013
|
+
|
|
16698
17014
|
#
|
|
16699
17015
|
class InstanceWithNamedPorts
|
|
16700
17016
|
include Google::Apis::Core::Hashable
|
|
@@ -22702,7 +23018,10 @@ module Google
|
|
|
22702
23018
|
# @return [String]
|
|
22703
23019
|
attr_accessor :ipv6_access_type
|
|
22704
23020
|
|
|
22705
|
-
# An IPv6 internal network address for this network interface.
|
|
23021
|
+
# An IPv6 internal network address for this network interface. To use a static
|
|
23022
|
+
# internal IP address, it must be unused and in the same region as the instance'
|
|
23023
|
+
# s zone. If not specified, GCP will automatically assign an internal IPv6
|
|
23024
|
+
# address from the instance's subnetwork.
|
|
22706
23025
|
# Corresponds to the JSON property `ipv6Address`
|
|
22707
23026
|
# @return [String]
|
|
22708
23027
|
attr_accessor :ipv6_address
|
|
@@ -26767,6 +27086,12 @@ module Google
|
|
|
26767
27086
|
class PathMatcher
|
|
26768
27087
|
include Google::Apis::Core::Hashable
|
|
26769
27088
|
|
|
27089
|
+
# Specifies the custom error response policy that must be applied when the
|
|
27090
|
+
# backend service or backend bucket responds with an error.
|
|
27091
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
|
27092
|
+
# @return [Google::Apis::ComputeBeta::CustomErrorResponsePolicy]
|
|
27093
|
+
attr_accessor :default_custom_error_response_policy
|
|
27094
|
+
|
|
26770
27095
|
# defaultRouteAction takes effect when none of the pathRules or routeRules match.
|
|
26771
27096
|
# The load balancer performs advanced routing actions, such as URL rewrites and
|
|
26772
27097
|
# header transformations, before forwarding the request to the selected backend.
|
|
@@ -26845,6 +27170,7 @@ module Google
|
|
|
26845
27170
|
|
|
26846
27171
|
# Update properties of this object
|
|
26847
27172
|
def update!(**args)
|
|
27173
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
|
26848
27174
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
|
26849
27175
|
@default_service = args[:default_service] if args.key?(:default_service)
|
|
26850
27176
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
|
@@ -26861,6 +27187,12 @@ module Google
|
|
|
26861
27187
|
class PathRule
|
|
26862
27188
|
include Google::Apis::Core::Hashable
|
|
26863
27189
|
|
|
27190
|
+
# Specifies the custom error response policy that must be applied when the
|
|
27191
|
+
# backend service or backend bucket responds with an error.
|
|
27192
|
+
# Corresponds to the JSON property `customErrorResponsePolicy`
|
|
27193
|
+
# @return [Google::Apis::ComputeBeta::CustomErrorResponsePolicy]
|
|
27194
|
+
attr_accessor :custom_error_response_policy
|
|
27195
|
+
|
|
26864
27196
|
# The list of path patterns to match. Each must start with / and the only place
|
|
26865
27197
|
# a * is allowed is at the end following a /. The string fed to the path matcher
|
|
26866
27198
|
# does not include any text after the first ? or #, and those chars are not
|
|
@@ -26903,6 +27235,7 @@ module Google
|
|
|
26903
27235
|
|
|
26904
27236
|
# Update properties of this object
|
|
26905
27237
|
def update!(**args)
|
|
27238
|
+
@custom_error_response_policy = args[:custom_error_response_policy] if args.key?(:custom_error_response_policy)
|
|
26906
27239
|
@paths = args[:paths] if args.key?(:paths)
|
|
26907
27240
|
@route_action = args[:route_action] if args.key?(:route_action)
|
|
26908
27241
|
@service = args[:service] if args.key?(:service)
|
|
@@ -30901,6 +31234,11 @@ module Google
|
|
|
30901
31234
|
# @return [String]
|
|
30902
31235
|
attr_accessor :collocation
|
|
30903
31236
|
|
|
31237
|
+
# Specifies the number of max logical switches.
|
|
31238
|
+
# Corresponds to the JSON property `maxDistance`
|
|
31239
|
+
# @return [Fixnum]
|
|
31240
|
+
attr_accessor :max_distance
|
|
31241
|
+
|
|
30904
31242
|
# Number of VMs in this placement group. Google does not recommend that you use
|
|
30905
31243
|
# this field unless you use a compact policy and you want your policy to work
|
|
30906
31244
|
# only if it contains this exact number of VMs.
|
|
@@ -30916,6 +31254,7 @@ module Google
|
|
|
30916
31254
|
def update!(**args)
|
|
30917
31255
|
@availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count)
|
|
30918
31256
|
@collocation = args[:collocation] if args.key?(:collocation)
|
|
31257
|
+
@max_distance = args[:max_distance] if args.key?(:max_distance)
|
|
30919
31258
|
@vm_count = args[:vm_count] if args.key?(:vm_count)
|
|
30920
31259
|
end
|
|
30921
31260
|
end
|
|
@@ -34240,7 +34579,11 @@ module Google
|
|
|
34240
34579
|
# CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be
|
|
34241
34580
|
# configured to filter HTTP requests targeting services managed by Traffic
|
|
34242
34581
|
# Director in a service mesh. They filter requests before the request is served
|
|
34243
|
-
# from the application.
|
|
34582
|
+
# from the application. - CLOUD_ARMOR_NETWORK: Cloud Armor network policies can
|
|
34583
|
+
# be configured to filter packets targeting network load balancing resources
|
|
34584
|
+
# such as backend services, target pools, target instances, and instances with
|
|
34585
|
+
# external IPs. They filter requests before the request is served from the
|
|
34586
|
+
# application. This field can be set only at resource creation time.
|
|
34244
34587
|
# Corresponds to the JSON property `type`
|
|
34245
34588
|
# @return [String]
|
|
34246
34589
|
attr_accessor :type
|
|
@@ -42449,6 +42792,12 @@ module Google
|
|
|
42449
42792
|
# @return [String]
|
|
42450
42793
|
attr_accessor :creation_timestamp
|
|
42451
42794
|
|
|
42795
|
+
# Specifies the custom error response policy that must be applied when the
|
|
42796
|
+
# backend service or backend bucket responds with an error.
|
|
42797
|
+
# Corresponds to the JSON property `defaultCustomErrorResponsePolicy`
|
|
42798
|
+
# @return [Google::Apis::ComputeBeta::CustomErrorResponsePolicy]
|
|
42799
|
+
attr_accessor :default_custom_error_response_policy
|
|
42800
|
+
|
|
42452
42801
|
# defaultRouteAction takes effect when none of the hostRules match. The load
|
|
42453
42802
|
# balancer performs advanced routing actions, such as URL rewrites and header
|
|
42454
42803
|
# transformations, before forwarding the request to the selected backend. If
|
|
@@ -42562,6 +42911,7 @@ module Google
|
|
|
42562
42911
|
# Update properties of this object
|
|
42563
42912
|
def update!(**args)
|
|
42564
42913
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
|
42914
|
+
@default_custom_error_response_policy = args[:default_custom_error_response_policy] if args.key?(:default_custom_error_response_policy)
|
|
42565
42915
|
@default_route_action = args[:default_route_action] if args.key?(:default_route_action)
|
|
42566
42916
|
@default_service = args[:default_service] if args.key?(:default_service)
|
|
42567
42917
|
@default_url_redirect = args[:default_url_redirect] if args.key?(:default_url_redirect)
|
|
@@ -43747,7 +44097,7 @@ module Google
|
|
|
43747
44097
|
# request to modify or update labels. You must always provide an up-to-date
|
|
43748
44098
|
# fingerprint hash in order to update or change labels, otherwise the request
|
|
43749
44099
|
# will fail with error 412 conditionNotMet. To see the latest fingerprint, make
|
|
43750
|
-
# a get() request to retrieve
|
|
44100
|
+
# a get() request to retrieve a VpnGateway.
|
|
43751
44101
|
# Corresponds to the JSON property `labelFingerprint`
|
|
43752
44102
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
43753
44103
|
# @return [String]
|
|
@@ -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.61.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.12.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20230210"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -682,6 +682,18 @@ module Google
|
|
|
682
682
|
include Google::Apis::Core::JsonObjectSupport
|
|
683
683
|
end
|
|
684
684
|
|
|
685
|
+
class CustomErrorResponsePolicy
|
|
686
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
|
+
|
|
688
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
689
|
+
end
|
|
690
|
+
|
|
691
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
|
692
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
693
|
+
|
|
694
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
695
|
+
end
|
|
696
|
+
|
|
685
697
|
class CustomerEncryptionKey
|
|
686
698
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
687
699
|
|
|
@@ -1966,6 +1978,24 @@ module Google
|
|
|
1966
1978
|
include Google::Apis::Core::JsonObjectSupport
|
|
1967
1979
|
end
|
|
1968
1980
|
|
|
1981
|
+
class InstanceTemplateAggregatedList
|
|
1982
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1983
|
+
|
|
1984
|
+
class Warning
|
|
1985
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1986
|
+
|
|
1987
|
+
class Datum
|
|
1988
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1989
|
+
|
|
1990
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1997
|
+
end
|
|
1998
|
+
|
|
1969
1999
|
class InstanceTemplateList
|
|
1970
2000
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1971
2001
|
|
|
@@ -1984,6 +2014,24 @@ module Google
|
|
|
1984
2014
|
include Google::Apis::Core::JsonObjectSupport
|
|
1985
2015
|
end
|
|
1986
2016
|
|
|
2017
|
+
class InstanceTemplatesScopedList
|
|
2018
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2019
|
+
|
|
2020
|
+
class Warning
|
|
2021
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2022
|
+
|
|
2023
|
+
class Datum
|
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2025
|
+
|
|
2026
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2027
|
+
end
|
|
2028
|
+
|
|
2029
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2033
|
+
end
|
|
2034
|
+
|
|
1987
2035
|
class InstanceWithNamedPorts
|
|
1988
2036
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1989
2037
|
|
|
@@ -7278,6 +7326,24 @@ module Google
|
|
|
7278
7326
|
end
|
|
7279
7327
|
end
|
|
7280
7328
|
|
|
7329
|
+
class CustomErrorResponsePolicy
|
|
7330
|
+
# @private
|
|
7331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7332
|
+
collection :error_response_rules, as: 'errorResponseRules', class: Google::Apis::ComputeBeta::CustomErrorResponsePolicyCustomErrorResponseRule, decorator: Google::Apis::ComputeBeta::CustomErrorResponsePolicyCustomErrorResponseRule::Representation
|
|
7333
|
+
|
|
7334
|
+
property :error_service, as: 'errorService'
|
|
7335
|
+
end
|
|
7336
|
+
end
|
|
7337
|
+
|
|
7338
|
+
class CustomErrorResponsePolicyCustomErrorResponseRule
|
|
7339
|
+
# @private
|
|
7340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7341
|
+
collection :match_response_codes, as: 'matchResponseCodes'
|
|
7342
|
+
property :override_response_code, as: 'overrideResponseCode'
|
|
7343
|
+
property :path, as: 'path'
|
|
7344
|
+
end
|
|
7345
|
+
end
|
|
7346
|
+
|
|
7281
7347
|
class CustomerEncryptionKey
|
|
7282
7348
|
# @private
|
|
7283
7349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8716,6 +8782,8 @@ module Google
|
|
|
8716
8782
|
class HttpRouteRule
|
|
8717
8783
|
# @private
|
|
8718
8784
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8785
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeBeta::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeBeta::CustomErrorResponsePolicy::Representation
|
|
8786
|
+
|
|
8719
8787
|
property :description, as: 'description'
|
|
8720
8788
|
property :header_action, as: 'headerAction', class: Google::Apis::ComputeBeta::HttpHeaderAction, decorator: Google::Apis::ComputeBeta::HttpHeaderAction::Representation
|
|
8721
8789
|
|
|
@@ -9787,6 +9855,7 @@ module Google
|
|
|
9787
9855
|
property :name, as: 'name'
|
|
9788
9856
|
property :properties, as: 'properties', class: Google::Apis::ComputeBeta::InstanceProperties, decorator: Google::Apis::ComputeBeta::InstanceProperties::Representation
|
|
9789
9857
|
|
|
9858
|
+
property :region, as: 'region'
|
|
9790
9859
|
property :self_link, as: 'selfLink'
|
|
9791
9860
|
property :source_instance, as: 'sourceInstance'
|
|
9792
9861
|
property :source_instance_params, as: 'sourceInstanceParams', class: Google::Apis::ComputeBeta::SourceInstanceParams, decorator: Google::Apis::ComputeBeta::SourceInstanceParams::Representation
|
|
@@ -9794,6 +9863,38 @@ module Google
|
|
|
9794
9863
|
end
|
|
9795
9864
|
end
|
|
9796
9865
|
|
|
9866
|
+
class InstanceTemplateAggregatedList
|
|
9867
|
+
# @private
|
|
9868
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9869
|
+
property :id, as: 'id'
|
|
9870
|
+
hash :items, as: 'items', class: Google::Apis::ComputeBeta::InstanceTemplatesScopedList, decorator: Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Representation
|
|
9871
|
+
|
|
9872
|
+
property :kind, as: 'kind'
|
|
9873
|
+
property :next_page_token, as: 'nextPageToken'
|
|
9874
|
+
property :self_link, as: 'selfLink'
|
|
9875
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning::Representation
|
|
9876
|
+
|
|
9877
|
+
end
|
|
9878
|
+
|
|
9879
|
+
class Warning
|
|
9880
|
+
# @private
|
|
9881
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9882
|
+
property :code, as: 'code'
|
|
9883
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Warning::Datum::Representation
|
|
9884
|
+
|
|
9885
|
+
property :message, as: 'message'
|
|
9886
|
+
end
|
|
9887
|
+
|
|
9888
|
+
class Datum
|
|
9889
|
+
# @private
|
|
9890
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9891
|
+
property :key, as: 'key'
|
|
9892
|
+
property :value, as: 'value'
|
|
9893
|
+
end
|
|
9894
|
+
end
|
|
9895
|
+
end
|
|
9896
|
+
end
|
|
9897
|
+
|
|
9797
9898
|
class InstanceTemplateList
|
|
9798
9899
|
# @private
|
|
9799
9900
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9826,6 +9927,34 @@ module Google
|
|
|
9826
9927
|
end
|
|
9827
9928
|
end
|
|
9828
9929
|
|
|
9930
|
+
class InstanceTemplatesScopedList
|
|
9931
|
+
# @private
|
|
9932
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9933
|
+
collection :instance_templates, as: 'instanceTemplates', class: Google::Apis::ComputeBeta::InstanceTemplate, decorator: Google::Apis::ComputeBeta::InstanceTemplate::Representation
|
|
9934
|
+
|
|
9935
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning, decorator: Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning::Representation
|
|
9936
|
+
|
|
9937
|
+
end
|
|
9938
|
+
|
|
9939
|
+
class Warning
|
|
9940
|
+
# @private
|
|
9941
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9942
|
+
property :code, as: 'code'
|
|
9943
|
+
collection :data, as: 'data', class: Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::InstanceTemplatesScopedList::Warning::Datum::Representation
|
|
9944
|
+
|
|
9945
|
+
property :message, as: 'message'
|
|
9946
|
+
end
|
|
9947
|
+
|
|
9948
|
+
class Datum
|
|
9949
|
+
# @private
|
|
9950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9951
|
+
property :key, as: 'key'
|
|
9952
|
+
property :value, as: 'value'
|
|
9953
|
+
end
|
|
9954
|
+
end
|
|
9955
|
+
end
|
|
9956
|
+
end
|
|
9957
|
+
|
|
9829
9958
|
class InstanceWithNamedPorts
|
|
9830
9959
|
# @private
|
|
9831
9960
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12393,6 +12522,8 @@ module Google
|
|
|
12393
12522
|
class PathMatcher
|
|
12394
12523
|
# @private
|
|
12395
12524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12525
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeBeta::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeBeta::CustomErrorResponsePolicy::Representation
|
|
12526
|
+
|
|
12396
12527
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeBeta::HttpRouteAction, decorator: Google::Apis::ComputeBeta::HttpRouteAction::Representation
|
|
12397
12528
|
|
|
12398
12529
|
property :default_service, as: 'defaultService'
|
|
@@ -12412,6 +12543,8 @@ module Google
|
|
|
12412
12543
|
class PathRule
|
|
12413
12544
|
# @private
|
|
12414
12545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12546
|
+
property :custom_error_response_policy, as: 'customErrorResponsePolicy', class: Google::Apis::ComputeBeta::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeBeta::CustomErrorResponsePolicy::Representation
|
|
12547
|
+
|
|
12415
12548
|
collection :paths, as: 'paths'
|
|
12416
12549
|
property :route_action, as: 'routeAction', class: Google::Apis::ComputeBeta::HttpRouteAction, decorator: Google::Apis::ComputeBeta::HttpRouteAction::Representation
|
|
12417
12550
|
|
|
@@ -13481,6 +13614,7 @@ module Google
|
|
|
13481
13614
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13482
13615
|
property :availability_domain_count, as: 'availabilityDomainCount'
|
|
13483
13616
|
property :collocation, as: 'collocation'
|
|
13617
|
+
property :max_distance, as: 'maxDistance'
|
|
13484
13618
|
property :vm_count, as: 'vmCount'
|
|
13485
13619
|
end
|
|
13486
13620
|
end
|
|
@@ -16357,6 +16491,8 @@ module Google
|
|
|
16357
16491
|
# @private
|
|
16358
16492
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
16359
16493
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
16494
|
+
property :default_custom_error_response_policy, as: 'defaultCustomErrorResponsePolicy', class: Google::Apis::ComputeBeta::CustomErrorResponsePolicy, decorator: Google::Apis::ComputeBeta::CustomErrorResponsePolicy::Representation
|
|
16495
|
+
|
|
16360
16496
|
property :default_route_action, as: 'defaultRouteAction', class: Google::Apis::ComputeBeta::HttpRouteAction, decorator: Google::Apis::ComputeBeta::HttpRouteAction::Representation
|
|
16361
16497
|
|
|
16362
16498
|
property :default_service, as: 'defaultService'
|
|
@@ -8810,8 +8810,11 @@ module Google
|
|
|
8810
8810
|
end
|
|
8811
8811
|
|
|
8812
8812
|
# Returns the latest image that is part of an image family and is not deprecated.
|
|
8813
|
+
# For more information on image families, see Public image families
|
|
8814
|
+
# documentation.
|
|
8813
8815
|
# @param [String] project
|
|
8814
|
-
#
|
|
8816
|
+
# The image project that the image belongs to. For example, to get a CentOS
|
|
8817
|
+
# image, specify centos-cloud as the image project.
|
|
8815
8818
|
# @param [String] family
|
|
8816
8819
|
# Name of the image family to search for.
|
|
8817
8820
|
# @param [String] fields
|
|
@@ -11382,6 +11385,103 @@ module Google
|
|
|
11382
11385
|
execute_or_queue_command(command, &block)
|
|
11383
11386
|
end
|
|
11384
11387
|
|
|
11388
|
+
# Retrieves the list of all InstanceTemplates resources, regional and global,
|
|
11389
|
+
# available to the specified project.
|
|
11390
|
+
# @param [String] project
|
|
11391
|
+
# Name of the project scoping this request.
|
|
11392
|
+
# @param [String] filter
|
|
11393
|
+
# A filter expression that filters resources listed in the response. Most
|
|
11394
|
+
# Compute resources support two types of filter expressions: expressions that
|
|
11395
|
+
# support regular expressions and expressions that follow API improvement
|
|
11396
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
|
11397
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
|
11398
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
|
11399
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
|
11400
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
|
11401
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
|
11402
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
|
11403
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
|
11404
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
|
11405
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
|
11406
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
|
11407
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
|
11408
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
|
11409
|
+
# provide each separate expression within parentheses. For example: ``` (
|
|
11410
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
|
11411
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
|
11412
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
|
11413
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
11414
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
|
11415
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
|
11416
|
+
# expression with or without quotes or against multiple parenthesized
|
|
11417
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
|
11418
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
|
11419
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
|
11420
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
|
11421
|
+
# match the entire field. For example, to filter for instances that do not end
|
|
11422
|
+
# with name "instance", you would use `name ne .*instance`.
|
|
11423
|
+
# @param [Boolean] include_all_scopes
|
|
11424
|
+
# Indicates whether every visible scope for each scope type (zone, region,
|
|
11425
|
+
# global) should be included in the response. For new resource types added after
|
|
11426
|
+
# this field, the flag has no effect as new resource types will always include
|
|
11427
|
+
# every visible scope for each scope type in response. For resource types which
|
|
11428
|
+
# predate this field, if this flag is omitted or false, only scopes of the scope
|
|
11429
|
+
# types where the resource type is expected to be found will be included.
|
|
11430
|
+
# @param [Fixnum] max_results
|
|
11431
|
+
# The maximum number of results per page that should be returned. If the number
|
|
11432
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
11433
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
11434
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
11435
|
+
# @param [String] order_by
|
|
11436
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
11437
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
11438
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
11439
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
11440
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
11441
|
+
# resources like operations so that the newest operation is returned first.
|
|
11442
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
11443
|
+
# @param [String] page_token
|
|
11444
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
11445
|
+
# by a previous list request to get the next page of results.
|
|
11446
|
+
# @param [Boolean] return_partial_success
|
|
11447
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
11448
|
+
# failure. The default value is false.
|
|
11449
|
+
# @param [String] fields
|
|
11450
|
+
# Selector specifying which fields to include in a partial response.
|
|
11451
|
+
# @param [String] quota_user
|
|
11452
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11453
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11454
|
+
# @param [String] user_ip
|
|
11455
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
11456
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11457
|
+
# Request-specific options
|
|
11458
|
+
#
|
|
11459
|
+
# @yield [result, err] Result & error if block supplied
|
|
11460
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceTemplateAggregatedList] parsed result object
|
|
11461
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11462
|
+
#
|
|
11463
|
+
# @return [Google::Apis::ComputeBeta::InstanceTemplateAggregatedList]
|
|
11464
|
+
#
|
|
11465
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11466
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11467
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11468
|
+
def aggregated_instance_template_list(project, filter: nil, include_all_scopes: 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)
|
|
11469
|
+
command = make_simple_command(:get, 'projects/{project}/aggregated/instanceTemplates', options)
|
|
11470
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateAggregatedList::Representation
|
|
11471
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceTemplateAggregatedList
|
|
11472
|
+
command.params['project'] = project unless project.nil?
|
|
11473
|
+
command.query['filter'] = filter unless filter.nil?
|
|
11474
|
+
command.query['includeAllScopes'] = include_all_scopes unless include_all_scopes.nil?
|
|
11475
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
11476
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
11477
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
11478
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
11479
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11481
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
11482
|
+
execute_or_queue_command(command, &block)
|
|
11483
|
+
end
|
|
11484
|
+
|
|
11385
11485
|
# Deletes the specified instance template. Deleting an instance template is
|
|
11386
11486
|
# permanent and cannot be undone. It is not possible to delete templates that
|
|
11387
11487
|
# are already in use by a managed instance group.
|
|
@@ -27762,6 +27862,240 @@ module Google
|
|
|
27762
27862
|
execute_or_queue_command(command, &block)
|
|
27763
27863
|
end
|
|
27764
27864
|
|
|
27865
|
+
# Deletes the specified instance template. Deleting an instance template is
|
|
27866
|
+
# permanent and cannot be undone.
|
|
27867
|
+
# @param [String] project
|
|
27868
|
+
# Project ID for this request.
|
|
27869
|
+
# @param [String] region
|
|
27870
|
+
# The name of the region for this request.
|
|
27871
|
+
# @param [String] instance_template
|
|
27872
|
+
# The name of the instance template to delete.
|
|
27873
|
+
# @param [String] request_id
|
|
27874
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
27875
|
+
# that if you must retry your request, the server will know to ignore the
|
|
27876
|
+
# request if it has already been completed. For example, consider a situation
|
|
27877
|
+
# where you make an initial request and the request times out. If you make the
|
|
27878
|
+
# request again with the same request ID, the server can check if original
|
|
27879
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
27880
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
27881
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
27882
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
27883
|
+
# @param [String] fields
|
|
27884
|
+
# Selector specifying which fields to include in a partial response.
|
|
27885
|
+
# @param [String] quota_user
|
|
27886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
27887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
27888
|
+
# @param [String] user_ip
|
|
27889
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
27890
|
+
# @param [Google::Apis::RequestOptions] options
|
|
27891
|
+
# Request-specific options
|
|
27892
|
+
#
|
|
27893
|
+
# @yield [result, err] Result & error if block supplied
|
|
27894
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
27895
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
27896
|
+
#
|
|
27897
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
27898
|
+
#
|
|
27899
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
27900
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
27901
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
27902
|
+
def delete_region_instance_template(project, region, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
27903
|
+
command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}', options)
|
|
27904
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
27905
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
27906
|
+
command.params['project'] = project unless project.nil?
|
|
27907
|
+
command.params['region'] = region unless region.nil?
|
|
27908
|
+
command.params['instanceTemplate'] = instance_template unless instance_template.nil?
|
|
27909
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
27910
|
+
command.query['fields'] = fields unless fields.nil?
|
|
27911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
27912
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
27913
|
+
execute_or_queue_command(command, &block)
|
|
27914
|
+
end
|
|
27915
|
+
|
|
27916
|
+
# Returns the specified instance template. Gets a list of available instance
|
|
27917
|
+
# templates by making a list() request.
|
|
27918
|
+
# @param [String] project
|
|
27919
|
+
# Project ID for this request.
|
|
27920
|
+
# @param [String] region
|
|
27921
|
+
# The name of the region for this request.
|
|
27922
|
+
# @param [String] instance_template
|
|
27923
|
+
# The name of the instance template.
|
|
27924
|
+
# @param [String] fields
|
|
27925
|
+
# Selector specifying which fields to include in a partial response.
|
|
27926
|
+
# @param [String] quota_user
|
|
27927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
27928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
27929
|
+
# @param [String] user_ip
|
|
27930
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
27931
|
+
# @param [Google::Apis::RequestOptions] options
|
|
27932
|
+
# Request-specific options
|
|
27933
|
+
#
|
|
27934
|
+
# @yield [result, err] Result & error if block supplied
|
|
27935
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceTemplate] parsed result object
|
|
27936
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
27937
|
+
#
|
|
27938
|
+
# @return [Google::Apis::ComputeBeta::InstanceTemplate]
|
|
27939
|
+
#
|
|
27940
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
27941
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
27942
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
27943
|
+
def get_region_instance_template(project, region, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
27944
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceTemplates/{instanceTemplate}', options)
|
|
27945
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation
|
|
27946
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceTemplate
|
|
27947
|
+
command.params['project'] = project unless project.nil?
|
|
27948
|
+
command.params['region'] = region unless region.nil?
|
|
27949
|
+
command.params['instanceTemplate'] = instance_template unless instance_template.nil?
|
|
27950
|
+
command.query['fields'] = fields unless fields.nil?
|
|
27951
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
27952
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
27953
|
+
execute_or_queue_command(command, &block)
|
|
27954
|
+
end
|
|
27955
|
+
|
|
27956
|
+
# Creates an instance template in the specified project and region using the
|
|
27957
|
+
# global instance template whose URL is included in the request.
|
|
27958
|
+
# @param [String] project
|
|
27959
|
+
# Project ID for this request.
|
|
27960
|
+
# @param [String] region
|
|
27961
|
+
# The name of the region for this request.
|
|
27962
|
+
# @param [Google::Apis::ComputeBeta::InstanceTemplate] instance_template_object
|
|
27963
|
+
# @param [String] request_id
|
|
27964
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
27965
|
+
# that if you must retry your request, the server will know to ignore the
|
|
27966
|
+
# request if it has already been completed. For example, consider a situation
|
|
27967
|
+
# where you make an initial request and the request times out. If you make the
|
|
27968
|
+
# request again with the same request ID, the server can check if original
|
|
27969
|
+
# operation with the same request ID was received, and if so, will ignore the
|
|
27970
|
+
# second request. This prevents clients from accidentally creating duplicate
|
|
27971
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
|
27972
|
+
# UUID is not supported ( 00000000-0000-0000-0000-000000000000).
|
|
27973
|
+
# @param [String] fields
|
|
27974
|
+
# Selector specifying which fields to include in a partial response.
|
|
27975
|
+
# @param [String] quota_user
|
|
27976
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
27977
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
27978
|
+
# @param [String] user_ip
|
|
27979
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
27980
|
+
# @param [Google::Apis::RequestOptions] options
|
|
27981
|
+
# Request-specific options
|
|
27982
|
+
#
|
|
27983
|
+
# @yield [result, err] Result & error if block supplied
|
|
27984
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
|
27985
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
27986
|
+
#
|
|
27987
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
|
27988
|
+
#
|
|
27989
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
27990
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
27991
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
27992
|
+
def insert_region_instance_template(project, region, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
27993
|
+
command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceTemplates', options)
|
|
27994
|
+
command.request_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation
|
|
27995
|
+
command.request_object = instance_template_object
|
|
27996
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
|
27997
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
|
27998
|
+
command.params['project'] = project unless project.nil?
|
|
27999
|
+
command.params['region'] = region unless region.nil?
|
|
28000
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
28001
|
+
command.query['fields'] = fields unless fields.nil?
|
|
28002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
28003
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
28004
|
+
execute_or_queue_command(command, &block)
|
|
28005
|
+
end
|
|
28006
|
+
|
|
28007
|
+
# Retrieves a list of instance templates that are contained within the specified
|
|
28008
|
+
# project and region.
|
|
28009
|
+
# @param [String] project
|
|
28010
|
+
# Project ID for this request.
|
|
28011
|
+
# @param [String] region
|
|
28012
|
+
# The name of the regions for this request.
|
|
28013
|
+
# @param [String] filter
|
|
28014
|
+
# A filter expression that filters resources listed in the response. Most
|
|
28015
|
+
# Compute resources support two types of filter expressions: expressions that
|
|
28016
|
+
# support regular expressions and expressions that follow API improvement
|
|
28017
|
+
# proposal AIP-160. If you want to use AIP-160, your expression must specify the
|
|
28018
|
+
# field name, an operator, and the value that you want to use for filtering. The
|
|
28019
|
+
# value must be a string, a number, or a boolean. The operator must be either `=`
|
|
28020
|
+
# , `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute
|
|
28021
|
+
# Engine instances, you can exclude instances named `example-instance` by
|
|
28022
|
+
# specifying `name != example-instance`. The `:` operator can be used with
|
|
28023
|
+
# string fields to match substrings. For non-string fields it is equivalent to
|
|
28024
|
+
# the `=` operator. The `:*` comparison can be used to test whether a key has
|
|
28025
|
+
# been defined. For example, to find all objects with `owner` label use: ```
|
|
28026
|
+
# labels.owner:* ``` You can also filter nested fields. For example, you could
|
|
28027
|
+
# specify `scheduling.automaticRestart = false` to include instances only if
|
|
28028
|
+
# they are not scheduled for automatic restarts. You can use filtering on nested
|
|
28029
|
+
# fields to filter based on resource labels. To filter on multiple expressions,
|
|
28030
|
+
# provide each separate expression within parentheses. For example: ``` (
|
|
28031
|
+
# scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By
|
|
28032
|
+
# default, each expression is an `AND` expression. However, you can include `AND`
|
|
28033
|
+
# and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel
|
|
28034
|
+
# Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
|
28035
|
+
# automaticRestart = true) ``` If you want to use a regular expression, use the `
|
|
28036
|
+
# eq` (equal) or `ne` (not equal) operator against a single un-parenthesized
|
|
28037
|
+
# expression with or without quotes or against multiple parenthesized
|
|
28038
|
+
# expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single
|
|
28039
|
+
# quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq
|
|
28040
|
+
# literal) (fieldname2 ne "literal")` The literal value is interpreted as a
|
|
28041
|
+
# regular expression using Google RE2 library syntax. The literal value must
|
|
28042
|
+
# match the entire field. For example, to filter for instances that do not end
|
|
28043
|
+
# with name "instance", you would use `name ne .*instance`.
|
|
28044
|
+
# @param [Fixnum] max_results
|
|
28045
|
+
# The maximum number of results per page that should be returned. If the number
|
|
28046
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
28047
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
28048
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
28049
|
+
# @param [String] order_by
|
|
28050
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
28051
|
+
# alphanumerical order based on the resource name. You can also sort results in
|
|
28052
|
+
# descending order based on the creation timestamp using `orderBy="
|
|
28053
|
+
# creationTimestamp desc"`. This sorts results based on the `creationTimestamp`
|
|
28054
|
+
# field in reverse chronological order (newest result first). Use this to sort
|
|
28055
|
+
# resources like operations so that the newest operation is returned first.
|
|
28056
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
28057
|
+
# @param [String] page_token
|
|
28058
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
28059
|
+
# by a previous list request to get the next page of results.
|
|
28060
|
+
# @param [Boolean] return_partial_success
|
|
28061
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
28062
|
+
# failure. The default value is false.
|
|
28063
|
+
# @param [String] fields
|
|
28064
|
+
# Selector specifying which fields to include in a partial response.
|
|
28065
|
+
# @param [String] quota_user
|
|
28066
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
28067
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
28068
|
+
# @param [String] user_ip
|
|
28069
|
+
# Legacy name for parameter that has been superseded by `quotaUser`.
|
|
28070
|
+
# @param [Google::Apis::RequestOptions] options
|
|
28071
|
+
# Request-specific options
|
|
28072
|
+
#
|
|
28073
|
+
# @yield [result, err] Result & error if block supplied
|
|
28074
|
+
# @yieldparam result [Google::Apis::ComputeBeta::InstanceTemplateList] parsed result object
|
|
28075
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
28076
|
+
#
|
|
28077
|
+
# @return [Google::Apis::ComputeBeta::InstanceTemplateList]
|
|
28078
|
+
#
|
|
28079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
28080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
28081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
28082
|
+
def list_region_instance_templates(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)
|
|
28083
|
+
command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceTemplates', options)
|
|
28084
|
+
command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateList::Representation
|
|
28085
|
+
command.response_class = Google::Apis::ComputeBeta::InstanceTemplateList
|
|
28086
|
+
command.params['project'] = project unless project.nil?
|
|
28087
|
+
command.params['region'] = region unless region.nil?
|
|
28088
|
+
command.query['filter'] = filter unless filter.nil?
|
|
28089
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
28090
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
28091
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
28092
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
28093
|
+
command.query['fields'] = fields unless fields.nil?
|
|
28094
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
28095
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
28096
|
+
execute_or_queue_command(command, &block)
|
|
28097
|
+
end
|
|
28098
|
+
|
|
27765
28099
|
# Creates multiple instances in a given region. Count specifies the number of
|
|
27766
28100
|
# instances to create.
|
|
27767
28101
|
# @param [String] project
|
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.61.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.11.0
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 2.a
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.11.0
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 2.a
|
|
@@ -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.61.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: []
|