google-apis-compute_alpha 0.127.0 → 0.129.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.
|
@@ -7835,6 +7835,247 @@ module Google
|
|
|
7835
7835
|
end
|
|
7836
7836
|
end
|
|
7837
7837
|
|
|
7838
|
+
# Message containing CachePolicy configuration for URL Map's Route Action.
|
|
7839
|
+
class CachePolicy
|
|
7840
|
+
include Google::Apis::Core::Hashable
|
|
7841
|
+
|
|
7842
|
+
# Bypass the cache when the specified request headers are matched by name,
|
|
7843
|
+
# e.g. Pragma or Authorization headers. Values are case-insensitive. Up to 5
|
|
7844
|
+
# header names can be specified. The cache is bypassed for all
|
|
7845
|
+
# cachePolicy.cacheMode settings.
|
|
7846
|
+
# Corresponds to the JSON property `cacheBypassRequestHeaderNames`
|
|
7847
|
+
# @return [Array<String>]
|
|
7848
|
+
attr_accessor :cache_bypass_request_header_names
|
|
7849
|
+
|
|
7850
|
+
# Message containing what to include in the cache key for a request for Cache
|
|
7851
|
+
# Policy defined on Route Action.
|
|
7852
|
+
# Corresponds to the JSON property `cacheKeyPolicy`
|
|
7853
|
+
# @return [Google::Apis::ComputeAlpha::CachePolicyCacheKeyPolicy]
|
|
7854
|
+
attr_accessor :cache_key_policy
|
|
7855
|
+
|
|
7856
|
+
# Specifies the cache setting for all responses from this route.
|
|
7857
|
+
# If not specified, the default value is CACHE_ALL_STATIC.
|
|
7858
|
+
# Corresponds to the JSON property `cacheMode`
|
|
7859
|
+
# @return [String]
|
|
7860
|
+
attr_accessor :cache_mode
|
|
7861
|
+
|
|
7862
|
+
# A Duration represents a fixed-length span of time represented
|
|
7863
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
7864
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
7865
|
+
# or "month". Range is approximately 10,000 years.
|
|
7866
|
+
# Corresponds to the JSON property `clientTtl`
|
|
7867
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
7868
|
+
attr_accessor :client_ttl
|
|
7869
|
+
|
|
7870
|
+
# A Duration represents a fixed-length span of time represented
|
|
7871
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
7872
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
7873
|
+
# or "month". Range is approximately 10,000 years.
|
|
7874
|
+
# Corresponds to the JSON property `defaultTtl`
|
|
7875
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
7876
|
+
attr_accessor :default_ttl
|
|
7877
|
+
|
|
7878
|
+
# A Duration represents a fixed-length span of time represented
|
|
7879
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
7880
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
7881
|
+
# or "month". Range is approximately 10,000 years.
|
|
7882
|
+
# Corresponds to the JSON property `maxTtl`
|
|
7883
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
7884
|
+
attr_accessor :max_ttl
|
|
7885
|
+
|
|
7886
|
+
# Negative caching allows per-status code TTLs to be set, in order
|
|
7887
|
+
# to apply fine-grained caching for common errors or redirects.
|
|
7888
|
+
# This can reduce the load on your origin and improve end-user
|
|
7889
|
+
# experience by reducing response latency.
|
|
7890
|
+
# When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS,
|
|
7891
|
+
# negative caching applies to responses with the specified response code
|
|
7892
|
+
# that lack any Cache-Control, Expires, or Pragma: no-cache directives.
|
|
7893
|
+
# When the cache mode is set to FORCE_CACHE_ALL, negative caching applies
|
|
7894
|
+
# to all responses with the specified response code, and override any
|
|
7895
|
+
# caching headers.
|
|
7896
|
+
# By default, Cloud CDN will apply the following default TTLs to these
|
|
7897
|
+
# status codes:
|
|
7898
|
+
# HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m
|
|
7899
|
+
# HTTP 404 (Not Found), 410 (Gone),
|
|
7900
|
+
# 451 (Unavailable For Legal Reasons): 120s
|
|
7901
|
+
# HTTP 405 (Method Not Found), 501 (Not Implemented): 60s.
|
|
7902
|
+
# These defaults can be overridden in negative_caching_policy.
|
|
7903
|
+
# Corresponds to the JSON property `negativeCaching`
|
|
7904
|
+
# @return [Boolean]
|
|
7905
|
+
attr_accessor :negative_caching
|
|
7906
|
+
alias_method :negative_caching?, :negative_caching
|
|
7907
|
+
|
|
7908
|
+
# Sets a cache TTL for the specified HTTP status code.
|
|
7909
|
+
# negative_caching must be enabled to configure negative_caching_policy.
|
|
7910
|
+
# Omitting the policy and leaving negative_caching enabled will use
|
|
7911
|
+
# Cloud CDN's default cache TTLs.
|
|
7912
|
+
# Note that when specifying an explicit negative_caching_policy, you
|
|
7913
|
+
# should take care to specify a cache TTL for all response codes
|
|
7914
|
+
# that you wish to cache. Cloud CDN will not apply any default
|
|
7915
|
+
# negative caching when a policy exists.
|
|
7916
|
+
# Corresponds to the JSON property `negativeCachingPolicy`
|
|
7917
|
+
# @return [Array<Google::Apis::ComputeAlpha::CachePolicyNegativeCachingPolicy>]
|
|
7918
|
+
attr_accessor :negative_caching_policy
|
|
7919
|
+
|
|
7920
|
+
# If true then Cloud CDN will combine multiple concurrent cache fill
|
|
7921
|
+
# requests into a small number of requests to the origin.
|
|
7922
|
+
# Corresponds to the JSON property `requestCoalescing`
|
|
7923
|
+
# @return [Boolean]
|
|
7924
|
+
attr_accessor :request_coalescing
|
|
7925
|
+
alias_method :request_coalescing?, :request_coalescing
|
|
7926
|
+
|
|
7927
|
+
# A Duration represents a fixed-length span of time represented
|
|
7928
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
7929
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
7930
|
+
# or "month". Range is approximately 10,000 years.
|
|
7931
|
+
# Corresponds to the JSON property `serveWhileStale`
|
|
7932
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
7933
|
+
attr_accessor :serve_while_stale
|
|
7934
|
+
|
|
7935
|
+
def initialize(**args)
|
|
7936
|
+
update!(**args)
|
|
7937
|
+
end
|
|
7938
|
+
|
|
7939
|
+
# Update properties of this object
|
|
7940
|
+
def update!(**args)
|
|
7941
|
+
@cache_bypass_request_header_names = args[:cache_bypass_request_header_names] if args.key?(:cache_bypass_request_header_names)
|
|
7942
|
+
@cache_key_policy = args[:cache_key_policy] if args.key?(:cache_key_policy)
|
|
7943
|
+
@cache_mode = args[:cache_mode] if args.key?(:cache_mode)
|
|
7944
|
+
@client_ttl = args[:client_ttl] if args.key?(:client_ttl)
|
|
7945
|
+
@default_ttl = args[:default_ttl] if args.key?(:default_ttl)
|
|
7946
|
+
@max_ttl = args[:max_ttl] if args.key?(:max_ttl)
|
|
7947
|
+
@negative_caching = args[:negative_caching] if args.key?(:negative_caching)
|
|
7948
|
+
@negative_caching_policy = args[:negative_caching_policy] if args.key?(:negative_caching_policy)
|
|
7949
|
+
@request_coalescing = args[:request_coalescing] if args.key?(:request_coalescing)
|
|
7950
|
+
@serve_while_stale = args[:serve_while_stale] if args.key?(:serve_while_stale)
|
|
7951
|
+
end
|
|
7952
|
+
end
|
|
7953
|
+
|
|
7954
|
+
# Message containing what to include in the cache key for a request for Cache
|
|
7955
|
+
# Policy defined on Route Action.
|
|
7956
|
+
class CachePolicyCacheKeyPolicy
|
|
7957
|
+
include Google::Apis::Core::Hashable
|
|
7958
|
+
|
|
7959
|
+
# Names of query string parameters to exclude in cache keys. All other
|
|
7960
|
+
# parameters will be included. Either specify excluded_query_parameters or
|
|
7961
|
+
# included_query_parameters, not both. '&' and '=' will be percent encoded
|
|
7962
|
+
# and not treated as delimiters.
|
|
7963
|
+
# Note: This field applies to routes that use backend services. Attempting
|
|
7964
|
+
# to set it on a route that points exclusively to Backend Buckets will
|
|
7965
|
+
# result in a configuration error. For routes that point to a Backend
|
|
7966
|
+
# Bucket, use includedQueryParameters to define which parameters should
|
|
7967
|
+
# be a part of the cache key.
|
|
7968
|
+
# Corresponds to the JSON property `excludedQueryParameters`
|
|
7969
|
+
# @return [Array<String>]
|
|
7970
|
+
attr_accessor :excluded_query_parameters
|
|
7971
|
+
|
|
7972
|
+
# If true, requests to different hosts will be cached separately.
|
|
7973
|
+
# Note: This setting is only applicable to routes that use a Backend
|
|
7974
|
+
# Service. It does not affect requests served by a Backend Bucket, as the
|
|
7975
|
+
# host is never included in a Backend Bucket's cache key. Attempting to set
|
|
7976
|
+
# it on a route that points exclusively to Backend Buckets will result in a
|
|
7977
|
+
# configuration error.
|
|
7978
|
+
# Corresponds to the JSON property `includeHost`
|
|
7979
|
+
# @return [Boolean]
|
|
7980
|
+
attr_accessor :include_host
|
|
7981
|
+
alias_method :include_host?, :include_host
|
|
7982
|
+
|
|
7983
|
+
# If true, http and https requests will be cached separately.
|
|
7984
|
+
# Note: This setting is only applicable to routes that use a Backend
|
|
7985
|
+
# Service. It does not affect requests served by a Backend Bucket, as the
|
|
7986
|
+
# protocol is never included in a Backend Bucket's cache key. Attempting to
|
|
7987
|
+
# set on a route that points exclusively to Backend Buckets will result in
|
|
7988
|
+
# a configuration error.
|
|
7989
|
+
# Corresponds to the JSON property `includeProtocol`
|
|
7990
|
+
# @return [Boolean]
|
|
7991
|
+
attr_accessor :include_protocol
|
|
7992
|
+
alias_method :include_protocol?, :include_protocol
|
|
7993
|
+
|
|
7994
|
+
# If true, include query string parameters in the cache key according to
|
|
7995
|
+
# included_query_parameters and excluded_query_parameters. If neither is
|
|
7996
|
+
# set, the entire query string will be included. If false, the query string
|
|
7997
|
+
# will be excluded from the cache key entirely.
|
|
7998
|
+
# Note: This field applies to routes that use backend services. Attempting
|
|
7999
|
+
# to set it on a route that points exclusively to Backend Buckets will
|
|
8000
|
+
# result in a configuration error. For routes that point to a Backend
|
|
8001
|
+
# Bucket, use includedQueryParameters to define which parameters should
|
|
8002
|
+
# be a part of the cache key.
|
|
8003
|
+
# Corresponds to the JSON property `includeQueryString`
|
|
8004
|
+
# @return [Boolean]
|
|
8005
|
+
attr_accessor :include_query_string
|
|
8006
|
+
alias_method :include_query_string?, :include_query_string
|
|
8007
|
+
|
|
8008
|
+
# Allows HTTP cookies (by name) to be used in the cache key.
|
|
8009
|
+
# The name=value pair will be used in the cache key Cloud CDN generates.
|
|
8010
|
+
# Note: This setting is only applicable to routes that use a Backend
|
|
8011
|
+
# Service. It does not affect requests served by a Backend Bucket.
|
|
8012
|
+
# Attempting to set it on a route that points exclusively to Backend
|
|
8013
|
+
# Buckets will result in a configuration error. Up to 5 cookie names can be
|
|
8014
|
+
# specified.
|
|
8015
|
+
# Corresponds to the JSON property `includedCookieNames`
|
|
8016
|
+
# @return [Array<String>]
|
|
8017
|
+
attr_accessor :included_cookie_names
|
|
8018
|
+
|
|
8019
|
+
# Allows HTTP request headers (by name) to be used in the cache key.
|
|
8020
|
+
# Corresponds to the JSON property `includedHeaderNames`
|
|
8021
|
+
# @return [Array<String>]
|
|
8022
|
+
attr_accessor :included_header_names
|
|
8023
|
+
|
|
8024
|
+
# Names of query string parameters to include in cache keys. All other
|
|
8025
|
+
# parameters will be excluded. Either specify included_query_parameters or
|
|
8026
|
+
# excluded_query_parameters, not both. '&' and '=' will be percent encoded
|
|
8027
|
+
# and not treated as delimiters.
|
|
8028
|
+
# Corresponds to the JSON property `includedQueryParameters`
|
|
8029
|
+
# @return [Array<String>]
|
|
8030
|
+
attr_accessor :included_query_parameters
|
|
8031
|
+
|
|
8032
|
+
def initialize(**args)
|
|
8033
|
+
update!(**args)
|
|
8034
|
+
end
|
|
8035
|
+
|
|
8036
|
+
# Update properties of this object
|
|
8037
|
+
def update!(**args)
|
|
8038
|
+
@excluded_query_parameters = args[:excluded_query_parameters] if args.key?(:excluded_query_parameters)
|
|
8039
|
+
@include_host = args[:include_host] if args.key?(:include_host)
|
|
8040
|
+
@include_protocol = args[:include_protocol] if args.key?(:include_protocol)
|
|
8041
|
+
@include_query_string = args[:include_query_string] if args.key?(:include_query_string)
|
|
8042
|
+
@included_cookie_names = args[:included_cookie_names] if args.key?(:included_cookie_names)
|
|
8043
|
+
@included_header_names = args[:included_header_names] if args.key?(:included_header_names)
|
|
8044
|
+
@included_query_parameters = args[:included_query_parameters] if args.key?(:included_query_parameters)
|
|
8045
|
+
end
|
|
8046
|
+
end
|
|
8047
|
+
|
|
8048
|
+
# Specify CDN TTLs for response error codes.
|
|
8049
|
+
class CachePolicyNegativeCachingPolicy
|
|
8050
|
+
include Google::Apis::Core::Hashable
|
|
8051
|
+
|
|
8052
|
+
# The HTTP status code to define a TTL against. Only HTTP status codes
|
|
8053
|
+
# 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 can be
|
|
8054
|
+
# specified as values, and you cannot specify a status code more than
|
|
8055
|
+
# once.
|
|
8056
|
+
# Corresponds to the JSON property `code`
|
|
8057
|
+
# @return [Fixnum]
|
|
8058
|
+
attr_accessor :code
|
|
8059
|
+
|
|
8060
|
+
# A Duration represents a fixed-length span of time represented
|
|
8061
|
+
# as a count of seconds and fractions of seconds at nanosecond
|
|
8062
|
+
# resolution. It is independent of any calendar and concepts like "day"
|
|
8063
|
+
# or "month". Range is approximately 10,000 years.
|
|
8064
|
+
# Corresponds to the JSON property `ttl`
|
|
8065
|
+
# @return [Google::Apis::ComputeAlpha::Duration]
|
|
8066
|
+
attr_accessor :ttl
|
|
8067
|
+
|
|
8068
|
+
def initialize(**args)
|
|
8069
|
+
update!(**args)
|
|
8070
|
+
end
|
|
8071
|
+
|
|
8072
|
+
# Update properties of this object
|
|
8073
|
+
def update!(**args)
|
|
8074
|
+
@code = args[:code] if args.key?(:code)
|
|
8075
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
|
8076
|
+
end
|
|
8077
|
+
end
|
|
8078
|
+
|
|
7838
8079
|
# A request to recommend the best way to consume the specified resources in the
|
|
7839
8080
|
# future.
|
|
7840
8081
|
class CalendarModeAdviceRequest
|
|
@@ -9408,6 +9649,56 @@ module Google
|
|
|
9408
9649
|
end
|
|
9409
9650
|
end
|
|
9410
9651
|
|
|
9652
|
+
# Response message for RegionCompositeHealthChecks.GetHealth
|
|
9653
|
+
class CompositeHealthChecksGetHealthResponse
|
|
9654
|
+
include Google::Apis::Core::Hashable
|
|
9655
|
+
|
|
9656
|
+
# Health sources and their corresponding health states.
|
|
9657
|
+
# Corresponds to the JSON property `healthSources`
|
|
9658
|
+
# @return [Array<Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth>]
|
|
9659
|
+
attr_accessor :health_sources
|
|
9660
|
+
|
|
9661
|
+
# Health state of the CompositeHealthCheck.
|
|
9662
|
+
# Corresponds to the JSON property `healthState`
|
|
9663
|
+
# @return [String]
|
|
9664
|
+
attr_accessor :health_state
|
|
9665
|
+
|
|
9666
|
+
def initialize(**args)
|
|
9667
|
+
update!(**args)
|
|
9668
|
+
end
|
|
9669
|
+
|
|
9670
|
+
# Update properties of this object
|
|
9671
|
+
def update!(**args)
|
|
9672
|
+
@health_sources = args[:health_sources] if args.key?(:health_sources)
|
|
9673
|
+
@health_state = args[:health_state] if args.key?(:health_state)
|
|
9674
|
+
end
|
|
9675
|
+
end
|
|
9676
|
+
|
|
9677
|
+
#
|
|
9678
|
+
class CompositeHealthChecksGetHealthResponseHealthSourceHealth
|
|
9679
|
+
include Google::Apis::Core::Hashable
|
|
9680
|
+
|
|
9681
|
+
# Health state of the associated HealthSource resource.
|
|
9682
|
+
# Corresponds to the JSON property `healthState`
|
|
9683
|
+
# @return [String]
|
|
9684
|
+
attr_accessor :health_state
|
|
9685
|
+
|
|
9686
|
+
# URL of the associated HealthSource resource.
|
|
9687
|
+
# Corresponds to the JSON property `source`
|
|
9688
|
+
# @return [String]
|
|
9689
|
+
attr_accessor :source
|
|
9690
|
+
|
|
9691
|
+
def initialize(**args)
|
|
9692
|
+
update!(**args)
|
|
9693
|
+
end
|
|
9694
|
+
|
|
9695
|
+
# Update properties of this object
|
|
9696
|
+
def update!(**args)
|
|
9697
|
+
@health_state = args[:health_state] if args.key?(:health_state)
|
|
9698
|
+
@source = args[:source] if args.key?(:source)
|
|
9699
|
+
end
|
|
9700
|
+
end
|
|
9701
|
+
|
|
9411
9702
|
#
|
|
9412
9703
|
class CompositeHealthChecksScopedList
|
|
9413
9704
|
include Google::Apis::Core::Hashable
|
|
@@ -13755,6 +14046,11 @@ module Google
|
|
|
13755
14046
|
# @return [String]
|
|
13756
14047
|
attr_accessor :region
|
|
13757
14048
|
|
|
14049
|
+
# Represents progressive rollout input parameters and current status.
|
|
14050
|
+
# Corresponds to the JSON property `rolloutOperation`
|
|
14051
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperation]
|
|
14052
|
+
attr_accessor :rollout_operation
|
|
14053
|
+
|
|
13758
14054
|
# Output only. [Output Only] Total count of all firewall policy rule tuples. A
|
|
13759
14055
|
# firewall
|
|
13760
14056
|
# policy can not exceed a set number of tuples.
|
|
@@ -13826,6 +14122,7 @@ module Google
|
|
|
13826
14122
|
@policy_source = args[:policy_source] if args.key?(:policy_source)
|
|
13827
14123
|
@policy_type = args[:policy_type] if args.key?(:policy_type)
|
|
13828
14124
|
@region = args[:region] if args.key?(:region)
|
|
14125
|
+
@rollout_operation = args[:rollout_operation] if args.key?(:rollout_operation)
|
|
13829
14126
|
@rule_tuple_count = args[:rule_tuple_count] if args.key?(:rule_tuple_count)
|
|
13830
14127
|
@rules = args[:rules] if args.key?(:rules)
|
|
13831
14128
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
@@ -14010,6 +14307,161 @@ module Google
|
|
|
14010
14307
|
end
|
|
14011
14308
|
end
|
|
14012
14309
|
|
|
14310
|
+
# Represents progressive rollout input parameters and current status.
|
|
14311
|
+
class FirewallPolicyRolloutOperation
|
|
14312
|
+
include Google::Apis::Core::Hashable
|
|
14313
|
+
|
|
14314
|
+
# Represents progressive rollout input parameters.
|
|
14315
|
+
# Corresponds to the JSON property `rolloutInput`
|
|
14316
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutInput]
|
|
14317
|
+
attr_accessor :rollout_input
|
|
14318
|
+
|
|
14319
|
+
# Represents progressive rollout current status.
|
|
14320
|
+
# Corresponds to the JSON property `rolloutStatus`
|
|
14321
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatus]
|
|
14322
|
+
attr_accessor :rollout_status
|
|
14323
|
+
|
|
14324
|
+
def initialize(**args)
|
|
14325
|
+
update!(**args)
|
|
14326
|
+
end
|
|
14327
|
+
|
|
14328
|
+
# Update properties of this object
|
|
14329
|
+
def update!(**args)
|
|
14330
|
+
@rollout_input = args[:rollout_input] if args.key?(:rollout_input)
|
|
14331
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
|
14332
|
+
end
|
|
14333
|
+
end
|
|
14334
|
+
|
|
14335
|
+
# Represents progressive rollout input parameters.
|
|
14336
|
+
class FirewallPolicyRolloutOperationRolloutInput
|
|
14337
|
+
include Google::Apis::Core::Hashable
|
|
14338
|
+
|
|
14339
|
+
# The name of the rollout plan. Ex.
|
|
14340
|
+
# organizations//locations/global/rolloutPlans/.
|
|
14341
|
+
# Corresponds to the JSON property `name`
|
|
14342
|
+
# @return [String]
|
|
14343
|
+
attr_accessor :name
|
|
14344
|
+
|
|
14345
|
+
# Predefined rollout plan.
|
|
14346
|
+
# Corresponds to the JSON property `predefinedRolloutPlan`
|
|
14347
|
+
# @return [String]
|
|
14348
|
+
attr_accessor :predefined_rollout_plan
|
|
14349
|
+
|
|
14350
|
+
# The UUID of the retry action. Only needed if this is a retry for an
|
|
14351
|
+
# existing rollout. This can be used after the user canceled a rollout
|
|
14352
|
+
# and want to retry it with no changes.
|
|
14353
|
+
# Corresponds to the JSON property `retryUuid`
|
|
14354
|
+
# @return [String]
|
|
14355
|
+
attr_accessor :retry_uuid
|
|
14356
|
+
|
|
14357
|
+
def initialize(**args)
|
|
14358
|
+
update!(**args)
|
|
14359
|
+
end
|
|
14360
|
+
|
|
14361
|
+
# Update properties of this object
|
|
14362
|
+
def update!(**args)
|
|
14363
|
+
@name = args[:name] if args.key?(:name)
|
|
14364
|
+
@predefined_rollout_plan = args[:predefined_rollout_plan] if args.key?(:predefined_rollout_plan)
|
|
14365
|
+
@retry_uuid = args[:retry_uuid] if args.key?(:retry_uuid)
|
|
14366
|
+
end
|
|
14367
|
+
end
|
|
14368
|
+
|
|
14369
|
+
# Represents progressive rollout current status.
|
|
14370
|
+
class FirewallPolicyRolloutOperationRolloutStatus
|
|
14371
|
+
include Google::Apis::Core::Hashable
|
|
14372
|
+
|
|
14373
|
+
# [Output only] The next rollout.
|
|
14374
|
+
# Corresponds to the JSON property `nextRollout`
|
|
14375
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusNextRollout]
|
|
14376
|
+
attr_accessor :next_rollout
|
|
14377
|
+
|
|
14378
|
+
# [Output only] The ongoing rollout.
|
|
14379
|
+
# Corresponds to the JSON property `ongoingRollouts`
|
|
14380
|
+
# @return [Array<Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata>]
|
|
14381
|
+
attr_accessor :ongoing_rollouts
|
|
14382
|
+
|
|
14383
|
+
# Represents the status of the progressive rollout instance, either
|
|
14384
|
+
# completed or ongoing.
|
|
14385
|
+
# Corresponds to the JSON property `previousRollout`
|
|
14386
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata]
|
|
14387
|
+
attr_accessor :previous_rollout
|
|
14388
|
+
|
|
14389
|
+
def initialize(**args)
|
|
14390
|
+
update!(**args)
|
|
14391
|
+
end
|
|
14392
|
+
|
|
14393
|
+
# Update properties of this object
|
|
14394
|
+
def update!(**args)
|
|
14395
|
+
@next_rollout = args[:next_rollout] if args.key?(:next_rollout)
|
|
14396
|
+
@ongoing_rollouts = args[:ongoing_rollouts] if args.key?(:ongoing_rollouts)
|
|
14397
|
+
@previous_rollout = args[:previous_rollout] if args.key?(:previous_rollout)
|
|
14398
|
+
end
|
|
14399
|
+
end
|
|
14400
|
+
|
|
14401
|
+
#
|
|
14402
|
+
class FirewallPolicyRolloutOperationRolloutStatusNextRollout
|
|
14403
|
+
include Google::Apis::Core::Hashable
|
|
14404
|
+
|
|
14405
|
+
# Output only. [Output only] The id of the next rollout.
|
|
14406
|
+
# Corresponds to the JSON property `rolloutId`
|
|
14407
|
+
# @return [String]
|
|
14408
|
+
attr_accessor :rollout_id
|
|
14409
|
+
|
|
14410
|
+
# The name of the rollout plan to be used by the next not yet started
|
|
14411
|
+
# rollout. This field is auto populated based on RolloutInput when a
|
|
14412
|
+
# new rollout is scheduled. This can be manually changed before the
|
|
14413
|
+
# scheduled rollout starts.
|
|
14414
|
+
# Ex.
|
|
14415
|
+
# organizations//locations/global/rolloutPlans/
|
|
14416
|
+
# Corresponds to the JSON property `rolloutPlan`
|
|
14417
|
+
# @return [String]
|
|
14418
|
+
attr_accessor :rollout_plan
|
|
14419
|
+
|
|
14420
|
+
def initialize(**args)
|
|
14421
|
+
update!(**args)
|
|
14422
|
+
end
|
|
14423
|
+
|
|
14424
|
+
# Update properties of this object
|
|
14425
|
+
def update!(**args)
|
|
14426
|
+
@rollout_id = args[:rollout_id] if args.key?(:rollout_id)
|
|
14427
|
+
@rollout_plan = args[:rollout_plan] if args.key?(:rollout_plan)
|
|
14428
|
+
end
|
|
14429
|
+
end
|
|
14430
|
+
|
|
14431
|
+
# Represents the status of the progressive rollout instance, either
|
|
14432
|
+
# completed or ongoing.
|
|
14433
|
+
class FirewallPolicyRolloutOperationRolloutStatusRolloutMetadata
|
|
14434
|
+
include Google::Apis::Core::Hashable
|
|
14435
|
+
|
|
14436
|
+
# Output only. [Output only] The name of the rollout
|
|
14437
|
+
# organizations//locations/global/rollouts/
|
|
14438
|
+
# Corresponds to the JSON property `rollout`
|
|
14439
|
+
# @return [String]
|
|
14440
|
+
attr_accessor :rollout
|
|
14441
|
+
|
|
14442
|
+
# Output only. [Output only] The name of the rollout plan used by this rollout
|
|
14443
|
+
# organizations//locations/global/rolloutPlans/
|
|
14444
|
+
# Corresponds to the JSON property `rolloutPlan`
|
|
14445
|
+
# @return [String]
|
|
14446
|
+
attr_accessor :rollout_plan
|
|
14447
|
+
|
|
14448
|
+
# Output only. [Output only] The state of the rollout.
|
|
14449
|
+
# Corresponds to the JSON property `state`
|
|
14450
|
+
# @return [String]
|
|
14451
|
+
attr_accessor :state
|
|
14452
|
+
|
|
14453
|
+
def initialize(**args)
|
|
14454
|
+
update!(**args)
|
|
14455
|
+
end
|
|
14456
|
+
|
|
14457
|
+
# Update properties of this object
|
|
14458
|
+
def update!(**args)
|
|
14459
|
+
@rollout = args[:rollout] if args.key?(:rollout)
|
|
14460
|
+
@rollout_plan = args[:rollout_plan] if args.key?(:rollout_plan)
|
|
14461
|
+
@state = args[:state] if args.key?(:state)
|
|
14462
|
+
end
|
|
14463
|
+
end
|
|
14464
|
+
|
|
14013
14465
|
# Represents a rule that describes one or more match conditions along with
|
|
14014
14466
|
# the action to be taken when traffic matches this condition (allow or deny).
|
|
14015
14467
|
class FirewallPolicyRule
|
|
@@ -14563,6 +15015,11 @@ module Google
|
|
|
14563
15015
|
# @return [String]
|
|
14564
15016
|
attr_accessor :ip_address
|
|
14565
15017
|
|
|
15018
|
+
#
|
|
15019
|
+
# Corresponds to the JSON property `IPAddresses`
|
|
15020
|
+
# @return [Array<String>]
|
|
15021
|
+
attr_accessor :ip_addresses
|
|
15022
|
+
|
|
14566
15023
|
# The IP protocol to which this rule applies.
|
|
14567
15024
|
# For protocol forwarding, valid
|
|
14568
15025
|
# options are TCP, UDP, ESP,AH, SCTP, ICMP andL3_DEFAULT.
|
|
@@ -15020,6 +15477,7 @@ module Google
|
|
|
15020
15477
|
# Update properties of this object
|
|
15021
15478
|
def update!(**args)
|
|
15022
15479
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
15480
|
+
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
|
15023
15481
|
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
|
15024
15482
|
@all_ports = args[:all_ports] if args.key?(:all_ports)
|
|
15025
15483
|
@allow_global_access = args[:allow_global_access] if args.key?(:allow_global_access)
|
|
@@ -17475,17 +17933,19 @@ module Google
|
|
|
17475
17933
|
class GlobalVmExtensionPolicyRolloutOperationRolloutInput
|
|
17476
17934
|
include Google::Apis::Core::Hashable
|
|
17477
17935
|
|
|
17478
|
-
# Optional.
|
|
17479
|
-
#
|
|
17480
|
-
#
|
|
17481
|
-
#
|
|
17482
|
-
# the
|
|
17483
|
-
#
|
|
17484
|
-
#
|
|
17485
|
-
#
|
|
17486
|
-
#
|
|
17487
|
-
#
|
|
17488
|
-
#
|
|
17936
|
+
# Optional. Specifies the behavior of the rollout if a conflict is detected in a
|
|
17937
|
+
# project during a rollout. This only applies to `insert` and `update`
|
|
17938
|
+
# methods.
|
|
17939
|
+
# A conflict occurs in the following cases:
|
|
17940
|
+
# * `insert` method: If the zonal policy already exists when the insert
|
|
17941
|
+
# happens.
|
|
17942
|
+
# * `update` method: If the zonal policy was modified by a zonal API call
|
|
17943
|
+
# outside of this rollout.
|
|
17944
|
+
# Possible values are the following:
|
|
17945
|
+
# * `""` (empty string): If a conflict occurs, the local value is not
|
|
17946
|
+
# overwritten. This is the default behavior.
|
|
17947
|
+
# * `"overwrite"`: If a conflict occurs, the local value is overwritten
|
|
17948
|
+
# with the rollout value.
|
|
17489
17949
|
# Corresponds to the JSON property `conflictBehavior`
|
|
17490
17950
|
# @return [String]
|
|
17491
17951
|
attr_accessor :conflict_behavior
|
|
@@ -17502,10 +17962,16 @@ module Google
|
|
|
17502
17962
|
# @return [String]
|
|
17503
17963
|
attr_accessor :predefined_rollout_plan
|
|
17504
17964
|
|
|
17505
|
-
# Optional. The UUID
|
|
17506
|
-
#
|
|
17507
|
-
#
|
|
17508
|
-
#
|
|
17965
|
+
# Optional. The UUID that identifies a policy rollout retry attempt for update
|
|
17966
|
+
# and
|
|
17967
|
+
# delete operations. Set this field only when retrying a rollout for an
|
|
17968
|
+
# existing extension policy.
|
|
17969
|
+
# * `update` method: Lets you retry policy rollout without changes.
|
|
17970
|
+
# An error occurs if you set retry_uuid but the policy is modified.
|
|
17971
|
+
# * `delete` method: Lets you retry policy deletion rollout if the
|
|
17972
|
+
# previous deletion rollout is not finished and the policy is in the
|
|
17973
|
+
# DELETING state. If you set this field when the policy is not in the
|
|
17974
|
+
# DELETING state, an error occurs.
|
|
17509
17975
|
# Corresponds to the JSON property `retryUuid`
|
|
17510
17976
|
# @return [String]
|
|
17511
17977
|
attr_accessor :retry_uuid
|
|
@@ -22364,6 +22830,11 @@ module Google
|
|
|
22364
22830
|
class HttpRouteAction
|
|
22365
22831
|
include Google::Apis::Core::Hashable
|
|
22366
22832
|
|
|
22833
|
+
# Message containing CachePolicy configuration for URL Map's Route Action.
|
|
22834
|
+
# Corresponds to the JSON property `cachePolicy`
|
|
22835
|
+
# @return [Google::Apis::ComputeAlpha::CachePolicy]
|
|
22836
|
+
attr_accessor :cache_policy
|
|
22837
|
+
|
|
22367
22838
|
# The specification for allowing client-side cross-origin requests. For more
|
|
22368
22839
|
# information about the W3C recommendation for cross-origin resource sharing
|
|
22369
22840
|
# (CORS), see Fetch API Living
|
|
@@ -22437,6 +22908,7 @@ module Google
|
|
|
22437
22908
|
|
|
22438
22909
|
# Update properties of this object
|
|
22439
22910
|
def update!(**args)
|
|
22911
|
+
@cache_policy = args[:cache_policy] if args.key?(:cache_policy)
|
|
22440
22912
|
@cors_policy = args[:cors_policy] if args.key?(:cors_policy)
|
|
22441
22913
|
@fault_injection_policy = args[:fault_injection_policy] if args.key?(:fault_injection_policy)
|
|
22442
22914
|
@max_stream_duration = args[:max_stream_duration] if args.key?(:max_stream_duration)
|
|
@@ -26450,6 +26922,12 @@ module Google
|
|
|
26450
26922
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAllInstancesConfig]
|
|
26451
26923
|
attr_accessor :all_instances_config
|
|
26452
26924
|
|
|
26925
|
+
# Output only. [Output Only] The accelerator topology applied to this MIG.
|
|
26926
|
+
# Currently only one accelerator topology is supported.
|
|
26927
|
+
# Corresponds to the JSON property `appliedAcceleratorTopologies`
|
|
26928
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopology>]
|
|
26929
|
+
attr_accessor :applied_accelerator_topologies
|
|
26930
|
+
|
|
26453
26931
|
# Output only. [Output Only] The URL of theAutoscaler
|
|
26454
26932
|
# that targets this instance group manager.
|
|
26455
26933
|
# Corresponds to the JSON property `autoscaler`
|
|
@@ -26462,6 +26940,14 @@ module Google
|
|
|
26462
26940
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusBulkInstanceOperation]
|
|
26463
26941
|
attr_accessor :bulk_instance_operation
|
|
26464
26942
|
|
|
26943
|
+
# The list of instance statuses and the number of instances in this managed
|
|
26944
|
+
# instance group that have the status. For more information about how to
|
|
26945
|
+
# interpret each status check the instance lifecycle documentation.
|
|
26946
|
+
# Currently only shown for TPU MIGs.
|
|
26947
|
+
# Corresponds to the JSON property `currentInstanceStatuses`
|
|
26948
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusInstanceStatusSummary]
|
|
26949
|
+
attr_accessor :current_instance_statuses
|
|
26950
|
+
|
|
26465
26951
|
# Output only. [Output Only] A bit indicating whether the managed instance group
|
|
26466
26952
|
# is in a
|
|
26467
26953
|
# stable state. A stable state means that: none of the instances in the
|
|
@@ -26494,14 +26980,198 @@ module Google
|
|
|
26494
26980
|
# Update properties of this object
|
|
26495
26981
|
def update!(**args)
|
|
26496
26982
|
@all_instances_config = args[:all_instances_config] if args.key?(:all_instances_config)
|
|
26983
|
+
@applied_accelerator_topologies = args[:applied_accelerator_topologies] if args.key?(:applied_accelerator_topologies)
|
|
26497
26984
|
@autoscaler = args[:autoscaler] if args.key?(:autoscaler)
|
|
26498
26985
|
@bulk_instance_operation = args[:bulk_instance_operation] if args.key?(:bulk_instance_operation)
|
|
26986
|
+
@current_instance_statuses = args[:current_instance_statuses] if args.key?(:current_instance_statuses)
|
|
26499
26987
|
@is_stable = args[:is_stable] if args.key?(:is_stable)
|
|
26500
26988
|
@stateful = args[:stateful] if args.key?(:stateful)
|
|
26501
26989
|
@version_target = args[:version_target] if args.key?(:version_target)
|
|
26502
26990
|
end
|
|
26503
26991
|
end
|
|
26504
26992
|
|
|
26993
|
+
#
|
|
26994
|
+
class InstanceGroupManagerStatusAcceleratorTopology
|
|
26995
|
+
include Google::Apis::Core::Hashable
|
|
26996
|
+
|
|
26997
|
+
# Output only. [Output Only] Topology in the format of: "16x16", "4x4x4", etc.
|
|
26998
|
+
# The value is the same as configured in the WorkloadPolicy.
|
|
26999
|
+
# Corresponds to the JSON property `acceleratorTopology`
|
|
27000
|
+
# @return [String]
|
|
27001
|
+
attr_accessor :accelerator_topology
|
|
27002
|
+
|
|
27003
|
+
# Output only. [Output Only] The state of the accelerator topology.
|
|
27004
|
+
# Corresponds to the JSON property `state`
|
|
27005
|
+
# @return [String]
|
|
27006
|
+
attr_accessor :state
|
|
27007
|
+
|
|
27008
|
+
# Output only. [Output Only] The result of the latest accelerator topology state
|
|
27009
|
+
# check.
|
|
27010
|
+
# Corresponds to the JSON property `stateDetails`
|
|
27011
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails]
|
|
27012
|
+
attr_accessor :state_details
|
|
27013
|
+
|
|
27014
|
+
def initialize(**args)
|
|
27015
|
+
update!(**args)
|
|
27016
|
+
end
|
|
27017
|
+
|
|
27018
|
+
# Update properties of this object
|
|
27019
|
+
def update!(**args)
|
|
27020
|
+
@accelerator_topology = args[:accelerator_topology] if args.key?(:accelerator_topology)
|
|
27021
|
+
@state = args[:state] if args.key?(:state)
|
|
27022
|
+
@state_details = args[:state_details] if args.key?(:state_details)
|
|
27023
|
+
end
|
|
27024
|
+
end
|
|
27025
|
+
|
|
27026
|
+
#
|
|
27027
|
+
class InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails
|
|
27028
|
+
include Google::Apis::Core::Hashable
|
|
27029
|
+
|
|
27030
|
+
# Output only. [Output Only] Encountered errors.
|
|
27031
|
+
# Corresponds to the JSON property `error`
|
|
27032
|
+
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error]
|
|
27033
|
+
attr_accessor :error
|
|
27034
|
+
|
|
27035
|
+
# Output only. [Output Only] Timestamp is shown only if there is an error. The
|
|
27036
|
+
# field
|
|
27037
|
+
# has // RFC3339 //
|
|
27038
|
+
# text format.
|
|
27039
|
+
# Corresponds to the JSON property `timestamp`
|
|
27040
|
+
# @return [String]
|
|
27041
|
+
attr_accessor :timestamp
|
|
27042
|
+
|
|
27043
|
+
def initialize(**args)
|
|
27044
|
+
update!(**args)
|
|
27045
|
+
end
|
|
27046
|
+
|
|
27047
|
+
# Update properties of this object
|
|
27048
|
+
def update!(**args)
|
|
27049
|
+
@error = args[:error] if args.key?(:error)
|
|
27050
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
27051
|
+
end
|
|
27052
|
+
|
|
27053
|
+
# Output only. [Output Only] Encountered errors.
|
|
27054
|
+
class Error
|
|
27055
|
+
include Google::Apis::Core::Hashable
|
|
27056
|
+
|
|
27057
|
+
# [Output Only] The array of errors encountered while processing this
|
|
27058
|
+
# operation.
|
|
27059
|
+
# Corresponds to the JSON property `errors`
|
|
27060
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error::Error>]
|
|
27061
|
+
attr_accessor :errors
|
|
27062
|
+
|
|
27063
|
+
def initialize(**args)
|
|
27064
|
+
update!(**args)
|
|
27065
|
+
end
|
|
27066
|
+
|
|
27067
|
+
# Update properties of this object
|
|
27068
|
+
def update!(**args)
|
|
27069
|
+
@errors = args[:errors] if args.key?(:errors)
|
|
27070
|
+
end
|
|
27071
|
+
|
|
27072
|
+
#
|
|
27073
|
+
class Error
|
|
27074
|
+
include Google::Apis::Core::Hashable
|
|
27075
|
+
|
|
27076
|
+
# [Output Only] The error type identifier for this error.
|
|
27077
|
+
# Corresponds to the JSON property `code`
|
|
27078
|
+
# @return [String]
|
|
27079
|
+
attr_accessor :code
|
|
27080
|
+
|
|
27081
|
+
# [Output Only] An optional list of messages that contain the error
|
|
27082
|
+
# details. There is a set of defined message types to use for providing
|
|
27083
|
+
# details.The syntax depends on the error code. For example,
|
|
27084
|
+
# QuotaExceededInfo will have details when the error code is
|
|
27085
|
+
# QUOTA_EXCEEDED.
|
|
27086
|
+
# Corresponds to the JSON property `errorDetails`
|
|
27087
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstanceGroupManagerStatusAcceleratorTopologyAcceleratorTopologyStateDetails::Error::Error::ErrorDetail>]
|
|
27088
|
+
attr_accessor :error_details
|
|
27089
|
+
|
|
27090
|
+
# [Output Only] Indicates the field in the request that caused the error.
|
|
27091
|
+
# This property is optional.
|
|
27092
|
+
# Corresponds to the JSON property `location`
|
|
27093
|
+
# @return [String]
|
|
27094
|
+
attr_accessor :location
|
|
27095
|
+
|
|
27096
|
+
# [Output Only] An optional, human-readable error message.
|
|
27097
|
+
# Corresponds to the JSON property `message`
|
|
27098
|
+
# @return [String]
|
|
27099
|
+
attr_accessor :message
|
|
27100
|
+
|
|
27101
|
+
def initialize(**args)
|
|
27102
|
+
update!(**args)
|
|
27103
|
+
end
|
|
27104
|
+
|
|
27105
|
+
# Update properties of this object
|
|
27106
|
+
def update!(**args)
|
|
27107
|
+
@code = args[:code] if args.key?(:code)
|
|
27108
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
|
27109
|
+
@location = args[:location] if args.key?(:location)
|
|
27110
|
+
@message = args[:message] if args.key?(:message)
|
|
27111
|
+
end
|
|
27112
|
+
|
|
27113
|
+
#
|
|
27114
|
+
class ErrorDetail
|
|
27115
|
+
include Google::Apis::Core::Hashable
|
|
27116
|
+
|
|
27117
|
+
# Describes the cause of the error with structured details.
|
|
27118
|
+
# Example of an error when contacting the "pubsub.googleapis.com" API when it
|
|
27119
|
+
# is not enabled:
|
|
27120
|
+
# ` "reason": "API_DISABLED"
|
|
27121
|
+
# "domain": "googleapis.com"
|
|
27122
|
+
# "metadata": `
|
|
27123
|
+
# "resource": "projects/123",
|
|
27124
|
+
# "service": "pubsub.googleapis.com"
|
|
27125
|
+
# `
|
|
27126
|
+
# `
|
|
27127
|
+
# This response indicates that the pubsub.googleapis.com API is not enabled.
|
|
27128
|
+
# Example of an error that is returned when attempting to create a Spanner
|
|
27129
|
+
# instance in a region that is out of stock:
|
|
27130
|
+
# ` "reason": "STOCKOUT"
|
|
27131
|
+
# "domain": "spanner.googleapis.com",
|
|
27132
|
+
# "metadata": `
|
|
27133
|
+
# "availableRegions": "us-central1,us-east2"
|
|
27134
|
+
# `
|
|
27135
|
+
# `
|
|
27136
|
+
# Corresponds to the JSON property `errorInfo`
|
|
27137
|
+
# @return [Google::Apis::ComputeAlpha::ErrorInfo]
|
|
27138
|
+
attr_accessor :error_info
|
|
27139
|
+
|
|
27140
|
+
# Provides links to documentation or for performing an out of band action.
|
|
27141
|
+
# For example, if a quota check failed with an error indicating the calling
|
|
27142
|
+
# project hasn't enabled the accessed service, this can contain a URL pointing
|
|
27143
|
+
# directly to the right place in the developer console to flip the bit.
|
|
27144
|
+
# Corresponds to the JSON property `help`
|
|
27145
|
+
# @return [Google::Apis::ComputeAlpha::Help]
|
|
27146
|
+
attr_accessor :help
|
|
27147
|
+
|
|
27148
|
+
# Provides a localized error message that is safe to return to the user
|
|
27149
|
+
# which can be attached to an RPC error.
|
|
27150
|
+
# Corresponds to the JSON property `localizedMessage`
|
|
27151
|
+
# @return [Google::Apis::ComputeAlpha::LocalizedMessage]
|
|
27152
|
+
attr_accessor :localized_message
|
|
27153
|
+
|
|
27154
|
+
# Additional details for quota exceeded error for resource quota.
|
|
27155
|
+
# Corresponds to the JSON property `quotaInfo`
|
|
27156
|
+
# @return [Google::Apis::ComputeAlpha::QuotaExceededInfo]
|
|
27157
|
+
attr_accessor :quota_info
|
|
27158
|
+
|
|
27159
|
+
def initialize(**args)
|
|
27160
|
+
update!(**args)
|
|
27161
|
+
end
|
|
27162
|
+
|
|
27163
|
+
# Update properties of this object
|
|
27164
|
+
def update!(**args)
|
|
27165
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
|
27166
|
+
@help = args[:help] if args.key?(:help)
|
|
27167
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
|
27168
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
|
27169
|
+
end
|
|
27170
|
+
end
|
|
27171
|
+
end
|
|
27172
|
+
end
|
|
27173
|
+
end
|
|
27174
|
+
|
|
26505
27175
|
#
|
|
26506
27176
|
class InstanceGroupManagerStatusAllInstancesConfig
|
|
26507
27177
|
include Google::Apis::Core::Hashable
|
|
@@ -26708,6 +27378,132 @@ module Google
|
|
|
26708
27378
|
end
|
|
26709
27379
|
end
|
|
26710
27380
|
|
|
27381
|
+
# The list of instance statuses and the number of instances in this managed
|
|
27382
|
+
# instance group that have the status. For more information about how to
|
|
27383
|
+
# interpret each status check the instance lifecycle documentation.
|
|
27384
|
+
# Currently only shown for TPU MIGs.
|
|
27385
|
+
class InstanceGroupManagerStatusInstanceStatusSummary
|
|
27386
|
+
include Google::Apis::Core::Hashable
|
|
27387
|
+
|
|
27388
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27389
|
+
# group
|
|
27390
|
+
# that have DEPROVISIONING status.
|
|
27391
|
+
# Corresponds to the JSON property `deprovisioning`
|
|
27392
|
+
# @return [Fixnum]
|
|
27393
|
+
attr_accessor :deprovisioning
|
|
27394
|
+
|
|
27395
|
+
# Output only. [Output Only] The number of instances that have not been created
|
|
27396
|
+
# yet or
|
|
27397
|
+
# have been deleted. Includes only instances that would be shown in the
|
|
27398
|
+
# listManagedInstances method and not all instances that have been
|
|
27399
|
+
# deleted in the lifetime of the MIG.
|
|
27400
|
+
# Does not include FlexStart instances that are waiting for the resources
|
|
27401
|
+
# availability, they are considered as 'pending'.
|
|
27402
|
+
# Corresponds to the JSON property `nonExistent`
|
|
27403
|
+
# @return [Fixnum]
|
|
27404
|
+
attr_accessor :non_existent
|
|
27405
|
+
|
|
27406
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27407
|
+
# group
|
|
27408
|
+
# that have PENDING status, that is FlexStart instances that are waiting
|
|
27409
|
+
# for resources. Instances that do not exist because of the other reasons
|
|
27410
|
+
# are counted as 'non_existent'.
|
|
27411
|
+
# Corresponds to the JSON property `pending`
|
|
27412
|
+
# @return [Fixnum]
|
|
27413
|
+
attr_accessor :pending
|
|
27414
|
+
|
|
27415
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27416
|
+
# group
|
|
27417
|
+
# that have PENDING_STOP status.
|
|
27418
|
+
# Corresponds to the JSON property `pendingStop`
|
|
27419
|
+
# @return [Fixnum]
|
|
27420
|
+
attr_accessor :pending_stop
|
|
27421
|
+
|
|
27422
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27423
|
+
# group
|
|
27424
|
+
# that have PROVISIONING status.
|
|
27425
|
+
# Corresponds to the JSON property `provisioning`
|
|
27426
|
+
# @return [Fixnum]
|
|
27427
|
+
attr_accessor :provisioning
|
|
27428
|
+
|
|
27429
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27430
|
+
# group
|
|
27431
|
+
# that have REPAIRING status.
|
|
27432
|
+
# Corresponds to the JSON property `repairing`
|
|
27433
|
+
# @return [Fixnum]
|
|
27434
|
+
attr_accessor :repairing
|
|
27435
|
+
|
|
27436
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27437
|
+
# group
|
|
27438
|
+
# that have RUNNING status.
|
|
27439
|
+
# Corresponds to the JSON property `running`
|
|
27440
|
+
# @return [Fixnum]
|
|
27441
|
+
attr_accessor :running
|
|
27442
|
+
|
|
27443
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27444
|
+
# group
|
|
27445
|
+
# that have STAGING status.
|
|
27446
|
+
# Corresponds to the JSON property `staging`
|
|
27447
|
+
# @return [Fixnum]
|
|
27448
|
+
attr_accessor :staging
|
|
27449
|
+
|
|
27450
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27451
|
+
# group
|
|
27452
|
+
# that have STOPPED status.
|
|
27453
|
+
# Corresponds to the JSON property `stopped`
|
|
27454
|
+
# @return [Fixnum]
|
|
27455
|
+
attr_accessor :stopped
|
|
27456
|
+
|
|
27457
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27458
|
+
# group
|
|
27459
|
+
# that have STOPPING status.
|
|
27460
|
+
# Corresponds to the JSON property `stopping`
|
|
27461
|
+
# @return [Fixnum]
|
|
27462
|
+
attr_accessor :stopping
|
|
27463
|
+
|
|
27464
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27465
|
+
# group
|
|
27466
|
+
# that have SUSPENDED status.
|
|
27467
|
+
# Corresponds to the JSON property `suspended`
|
|
27468
|
+
# @return [Fixnum]
|
|
27469
|
+
attr_accessor :suspended
|
|
27470
|
+
|
|
27471
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27472
|
+
# group
|
|
27473
|
+
# that have SUSPENDING status.
|
|
27474
|
+
# Corresponds to the JSON property `suspending`
|
|
27475
|
+
# @return [Fixnum]
|
|
27476
|
+
attr_accessor :suspending
|
|
27477
|
+
|
|
27478
|
+
# Output only. [Output Only] The number of instances in the managed instance
|
|
27479
|
+
# group
|
|
27480
|
+
# that have TERMINATED status.
|
|
27481
|
+
# Corresponds to the JSON property `terminated`
|
|
27482
|
+
# @return [Fixnum]
|
|
27483
|
+
attr_accessor :terminated
|
|
27484
|
+
|
|
27485
|
+
def initialize(**args)
|
|
27486
|
+
update!(**args)
|
|
27487
|
+
end
|
|
27488
|
+
|
|
27489
|
+
# Update properties of this object
|
|
27490
|
+
def update!(**args)
|
|
27491
|
+
@deprovisioning = args[:deprovisioning] if args.key?(:deprovisioning)
|
|
27492
|
+
@non_existent = args[:non_existent] if args.key?(:non_existent)
|
|
27493
|
+
@pending = args[:pending] if args.key?(:pending)
|
|
27494
|
+
@pending_stop = args[:pending_stop] if args.key?(:pending_stop)
|
|
27495
|
+
@provisioning = args[:provisioning] if args.key?(:provisioning)
|
|
27496
|
+
@repairing = args[:repairing] if args.key?(:repairing)
|
|
27497
|
+
@running = args[:running] if args.key?(:running)
|
|
27498
|
+
@staging = args[:staging] if args.key?(:staging)
|
|
27499
|
+
@stopped = args[:stopped] if args.key?(:stopped)
|
|
27500
|
+
@stopping = args[:stopping] if args.key?(:stopping)
|
|
27501
|
+
@suspended = args[:suspended] if args.key?(:suspended)
|
|
27502
|
+
@suspending = args[:suspending] if args.key?(:suspending)
|
|
27503
|
+
@terminated = args[:terminated] if args.key?(:terminated)
|
|
27504
|
+
end
|
|
27505
|
+
end
|
|
27506
|
+
|
|
26711
27507
|
#
|
|
26712
27508
|
class InstanceGroupManagerStatusStateful
|
|
26713
27509
|
include Google::Apis::Core::Hashable
|
|
@@ -36440,9 +37236,11 @@ module Google
|
|
|
36440
37236
|
# Input only. Resource manager tags to be bound to the license. Tag keys and
|
|
36441
37237
|
# values
|
|
36442
37238
|
# have the same definition as resource
|
|
36443
|
-
# manager tags. Keys
|
|
36444
|
-
#
|
|
36445
|
-
#
|
|
37239
|
+
# manager tags. Keys and values can be either in numeric format,
|
|
37240
|
+
# such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced
|
|
37241
|
+
# format such as ``org_id|project_id`/`tag_key_short_name`` and
|
|
37242
|
+
# ``tag_value_short_name``. The field is ignored (both PUT &
|
|
37243
|
+
# PATCH) when empty.
|
|
36446
37244
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
36447
37245
|
# @return [Hash<String,String>]
|
|
36448
37246
|
attr_accessor :resource_manager_tags
|
|
@@ -37419,6 +38217,18 @@ module Google
|
|
|
37419
38217
|
# @return [Array<String>]
|
|
37420
38218
|
attr_accessor :included_disks
|
|
37421
38219
|
|
|
38220
|
+
# Input only. Resource manager tags to be bound to the machine image. Tag keys
|
|
38221
|
+
# and values
|
|
38222
|
+
# have the same definition as resource
|
|
38223
|
+
# manager tags. Keys and values can be either in numeric format,
|
|
38224
|
+
# such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced
|
|
38225
|
+
# format such as ``org_id|project_id`/`tag_key_short_name`` and
|
|
38226
|
+
# ``tag_value_short_name``. The field is ignored (both PUT &
|
|
38227
|
+
# PATCH) when empty.
|
|
38228
|
+
# Corresponds to the JSON property `resourceManagerTags`
|
|
38229
|
+
# @return [Hash<String,String>]
|
|
38230
|
+
attr_accessor :resource_manager_tags
|
|
38231
|
+
|
|
37422
38232
|
def initialize(**args)
|
|
37423
38233
|
update!(**args)
|
|
37424
38234
|
end
|
|
@@ -37427,6 +38237,7 @@ module Google
|
|
|
37427
38237
|
def update!(**args)
|
|
37428
38238
|
@excluded_disks = args[:excluded_disks] if args.key?(:excluded_disks)
|
|
37429
38239
|
@included_disks = args[:included_disks] if args.key?(:included_disks)
|
|
38240
|
+
@resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
|
|
37430
38241
|
end
|
|
37431
38242
|
end
|
|
37432
38243
|
|
|
@@ -38810,8 +39621,7 @@ module Google
|
|
|
38810
39621
|
# @return [String]
|
|
38811
39622
|
attr_accessor :kind
|
|
38812
39623
|
|
|
38813
|
-
# Output only. [Output Only]
|
|
38814
|
-
# Google Compute Engine.
|
|
39624
|
+
# Output only. [Output Only] Server-defined name for the multi-MIG member.
|
|
38815
39625
|
# Corresponds to the JSON property `name`
|
|
38816
39626
|
# @return [String]
|
|
38817
39627
|
attr_accessor :name
|
|
@@ -41997,6 +42807,11 @@ module Google
|
|
|
41997
42807
|
# @return [String]
|
|
41998
42808
|
attr_accessor :kind
|
|
41999
42809
|
|
|
42810
|
+
# Output only. [Output Only] MAC address assigned to this network interface.
|
|
42811
|
+
# Corresponds to the JSON property `macAddress`
|
|
42812
|
+
# @return [String]
|
|
42813
|
+
attr_accessor :mac_address
|
|
42814
|
+
|
|
42000
42815
|
# [Output Only] The name of the network interface, which is generated by the
|
|
42001
42816
|
# server. For a VM, the network interface uses the nicN naming
|
|
42002
42817
|
# format. Where N is a value between 0 and7. The default interface value is nic0.
|
|
@@ -42118,6 +42933,7 @@ module Google
|
|
|
42118
42933
|
@ipv6_access_type = args[:ipv6_access_type] if args.key?(:ipv6_access_type)
|
|
42119
42934
|
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
|
42120
42935
|
@kind = args[:kind] if args.key?(:kind)
|
|
42936
|
+
@mac_address = args[:mac_address] if args.key?(:mac_address)
|
|
42121
42937
|
@name = args[:name] if args.key?(:name)
|
|
42122
42938
|
@network = args[:network] if args.key?(:network)
|
|
42123
42939
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
|
@@ -55770,6 +56586,11 @@ module Google
|
|
|
55770
56586
|
# @return [String]
|
|
55771
56587
|
attr_accessor :self_link_with_id
|
|
55772
56588
|
|
|
56589
|
+
# The share setting for reservations and sole tenancy node groups.
|
|
56590
|
+
# Corresponds to the JSON property `shareSettings`
|
|
56591
|
+
# @return [Google::Apis::ComputeAlpha::ShareSettings]
|
|
56592
|
+
attr_accessor :share_settings
|
|
56593
|
+
|
|
55773
56594
|
# Output only. [Output Only] State of the reservation slot.
|
|
55774
56595
|
# Corresponds to the JSON property `state`
|
|
55775
56596
|
# @return [String]
|
|
@@ -55798,6 +56619,7 @@ module Google
|
|
|
55798
56619
|
@name = args[:name] if args.key?(:name)
|
|
55799
56620
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
55800
56621
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
|
56622
|
+
@share_settings = args[:share_settings] if args.key?(:share_settings)
|
|
55801
56623
|
@state = args[:state] if args.key?(:state)
|
|
55802
56624
|
@status = args[:status] if args.key?(:status)
|
|
55803
56625
|
@zone = args[:zone] if args.key?(:zone)
|
|
@@ -69659,9 +70481,11 @@ module Google
|
|
|
69659
70481
|
# Input only. Resource manager tags to be bound to the storage pool. Tag keys
|
|
69660
70482
|
# and values
|
|
69661
70483
|
# have the same definition as resource
|
|
69662
|
-
# manager tags. Keys
|
|
69663
|
-
#
|
|
69664
|
-
#
|
|
70484
|
+
# manager tags. Keys and values can be either in numeric format,
|
|
70485
|
+
# such as `tagKeys/`tag_key_id`` and `tagValues/456` or in namespaced
|
|
70486
|
+
# format such as ``org_id|project_id`/`tag_key_short_name`` and
|
|
70487
|
+
# ``tag_value_short_name``. The field is ignored (both PUT &
|
|
70488
|
+
# PATCH) when empty.
|
|
69665
70489
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
69666
70490
|
# @return [Hash<String,String>]
|
|
69667
70491
|
attr_accessor :resource_manager_tags
|
|
@@ -70468,7 +71292,8 @@ module Google
|
|
|
70468
71292
|
# explicitly set, it will not appear in get listings. If not set
|
|
70469
71293
|
# the default behavior is determined by the org policy, if there is no org
|
|
70470
71294
|
# policy specified, then it will default to disabled. This field isn't
|
|
70471
|
-
# supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY.
|
|
71295
|
+
# supported if the subnet purpose field is set toREGIONAL_MANAGED_PROXY. It is
|
|
71296
|
+
# recommended to uselogConfig.enable field instead.
|
|
70472
71297
|
# Corresponds to the JSON property `enableFlowLogs`
|
|
70473
71298
|
# @return [Boolean]
|
|
70474
71299
|
attr_accessor :enable_flow_logs
|