Autogenerated update (2019-03-29)
Update: - cloudfunctions_v1 - cloudfunctions_v1beta2 - factchecktools_v1alpha1 - redis_v1 - redis_v1beta1
This commit is contained in:
parent
37ab788a8c
commit
c82f20e74d
|
@ -88891,6 +88891,8 @@
|
||||||
"/qpxExpress:v1/quotaUser": quota_user
|
"/qpxExpress:v1/quotaUser": quota_user
|
||||||
"/qpxExpress:v1/userIp": user_ip
|
"/qpxExpress:v1/userIp": user_ip
|
||||||
"/redis:v1/Empty": empty
|
"/redis:v1/Empty": empty
|
||||||
|
"/redis:v1/FailoverInstanceRequest": failover_instance_request
|
||||||
|
"/redis:v1/FailoverInstanceRequest/dataProtectionMode": data_protection_mode
|
||||||
"/redis:v1/GoogleCloudRedisV1LocationMetadata": google_cloud_redis_v1_location_metadata
|
"/redis:v1/GoogleCloudRedisV1LocationMetadata": google_cloud_redis_v1_location_metadata
|
||||||
"/redis:v1/GoogleCloudRedisV1LocationMetadata/availableZones": available_zones
|
"/redis:v1/GoogleCloudRedisV1LocationMetadata/availableZones": available_zones
|
||||||
"/redis:v1/GoogleCloudRedisV1LocationMetadata/availableZones/available_zone": available_zone
|
"/redis:v1/GoogleCloudRedisV1LocationMetadata/availableZones/available_zone": available_zone
|
||||||
|
@ -88969,6 +88971,8 @@
|
||||||
"/redis:v1/redis.projects.locations.instances.create/parent": parent
|
"/redis:v1/redis.projects.locations.instances.create/parent": parent
|
||||||
"/redis:v1/redis.projects.locations.instances.delete": delete_project_location_instance
|
"/redis:v1/redis.projects.locations.instances.delete": delete_project_location_instance
|
||||||
"/redis:v1/redis.projects.locations.instances.delete/name": name
|
"/redis:v1/redis.projects.locations.instances.delete/name": name
|
||||||
|
"/redis:v1/redis.projects.locations.instances.failover": failover_instance
|
||||||
|
"/redis:v1/redis.projects.locations.instances.failover/name": name
|
||||||
"/redis:v1/redis.projects.locations.instances.get": get_project_location_instance
|
"/redis:v1/redis.projects.locations.instances.get": get_project_location_instance
|
||||||
"/redis:v1/redis.projects.locations.instances.get/name": name
|
"/redis:v1/redis.projects.locations.instances.get/name": name
|
||||||
"/redis:v1/redis.projects.locations.instances.list": list_project_location_instances
|
"/redis:v1/redis.projects.locations.instances.list": list_project_location_instances
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/functions
|
# @see https://cloud.google.com/functions
|
||||||
module CloudfunctionsV1
|
module CloudfunctionsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190305'
|
REVISION = '20190318'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -787,14 +787,14 @@ module Google
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
@ -1166,14 +1166,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/functions
|
# @see https://cloud.google.com/functions
|
||||||
module CloudfunctionsV1beta2
|
module CloudfunctionsV1beta2
|
||||||
VERSION = 'V1beta2'
|
VERSION = 'V1beta2'
|
||||||
REVISION = '20190214'
|
REVISION = '20190318'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -573,14 +573,14 @@ module Google
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
@ -824,14 +824,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
|
|
@ -25,10 +25,10 @@ module Google
|
||||||
# @see https://developers.google.com/fact-check/tools/api/
|
# @see https://developers.google.com/fact-check/tools/api/
|
||||||
module FactchecktoolsV1alpha1
|
module FactchecktoolsV1alpha1
|
||||||
VERSION = 'V1alpha1'
|
VERSION = 'V1alpha1'
|
||||||
REVISION = '20190325'
|
REVISION = '20190328'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View your email address
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/memorystore/docs/redis/
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
||||||
module RedisV1
|
module RedisV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190308'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -41,6 +41,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Request for Failover.
|
||||||
|
class FailoverInstanceRequest
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Available data protection modes that the user can choose. If it's
|
||||||
|
# unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
|
||||||
|
# Corresponds to the JSON property `dataProtectionMode`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :data_protection_mode
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@data_protection_mode = args[:data_protection_mode] if args.key?(:data_protection_mode)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# This location metadata represents additional configuration options for a
|
# This location metadata represents additional configuration options for a
|
||||||
# given location where a Redis instance may be created. All fields are output
|
# given location where a Redis instance may be created. All fields are output
|
||||||
# only. It is returned as content of the
|
# only. It is returned as content of the
|
||||||
|
@ -435,14 +455,14 @@ module Google
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
@ -527,14 +547,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
|
|
@ -28,6 +28,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class FailoverInstanceRequest
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudRedisV1LocationMetadata
|
class GoogleCloudRedisV1LocationMetadata
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -94,6 +100,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class FailoverInstanceRequest
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :data_protection_mode, as: 'dataProtectionMode'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudRedisV1LocationMetadata
|
class GoogleCloudRedisV1LocationMetadata
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -201,6 +201,42 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Failover the master role to current replica node against a specific
|
||||||
|
# STANDARD tier redis instance.
|
||||||
|
# @param [String] name
|
||||||
|
# Required. Redis instance resource name using the form:
|
||||||
|
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
||||||
|
# where `location_id` refers to a GCP region
|
||||||
|
# @param [Google::Apis::RedisV1::FailoverInstanceRequest] failover_instance_request_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::RedisV1::Operation] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::RedisV1::Operation]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def failover_instance(name, failover_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1/{+name}:failover', options)
|
||||||
|
command.request_representation = Google::Apis::RedisV1::FailoverInstanceRequest::Representation
|
||||||
|
command.request_object = failover_instance_request_object
|
||||||
|
command.response_representation = Google::Apis::RedisV1::Operation::Representation
|
||||||
|
command.response_class = Google::Apis::RedisV1::Operation
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Gets the details of a specific Redis instance.
|
# Gets the details of a specific Redis instance.
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
# Required. Redis instance resource name using the form:
|
# Required. Redis instance resource name using the form:
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/memorystore/docs/redis/
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
||||||
module RedisV1beta1
|
module RedisV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20190320'
|
REVISION = '20190327'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -222,8 +222,13 @@ module Google
|
||||||
# Optional. Redis configuration parameters, according to
|
# Optional. Redis configuration parameters, according to
|
||||||
# http://redis.io/topics/config. Currently, the only supported parameters
|
# http://redis.io/topics/config. Currently, the only supported parameters
|
||||||
# are:
|
# are:
|
||||||
|
# Redis 3.2 and above:
|
||||||
# * maxmemory-policy
|
# * maxmemory-policy
|
||||||
# * notify-keyspace-events
|
# * notify-keyspace-events
|
||||||
|
# Redis 4.0 and above:
|
||||||
|
# * activedefrag
|
||||||
|
# * lfu-log-factor
|
||||||
|
# * lfu-decay-time
|
||||||
# Corresponds to the JSON property `redisConfigs`
|
# Corresponds to the JSON property `redisConfigs`
|
||||||
# @return [Hash<String,String>]
|
# @return [Hash<String,String>]
|
||||||
attr_accessor :redis_configs
|
attr_accessor :redis_configs
|
||||||
|
@ -231,7 +236,9 @@ module Google
|
||||||
# Optional. The version of Redis software.
|
# Optional. The version of Redis software.
|
||||||
# If not provided, latest supported version will be used. Updating the
|
# If not provided, latest supported version will be used. Updating the
|
||||||
# version will perform an upgrade/downgrade to the new version. Currently,
|
# version will perform an upgrade/downgrade to the new version. Currently,
|
||||||
# the supported values are `REDIS_3_2` for Redis 3.2.
|
# the supported values are:
|
||||||
|
# * `REDIS_4_0` for Redis 4.0 compatibility
|
||||||
|
# * `REDIS_3_2` for Redis 3.2 compatibility
|
||||||
# Corresponds to the JSON property `redisVersion`
|
# Corresponds to the JSON property `redisVersion`
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :redis_version
|
attr_accessor :redis_version
|
||||||
|
@ -438,14 +445,14 @@ module Google
|
||||||
attr_accessor :done
|
attr_accessor :done
|
||||||
alias_method :done?, :done
|
alias_method :done?, :done
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
@ -530,14 +537,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# The `Status` type defines a logical error model that is suitable for different
|
# The `Status` type defines a logical error model that is suitable for
|
||||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
# different programming environments, including REST APIs and RPC APIs. It is
|
||||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||||
# - Simple to use and understand for most users
|
# - Simple to use and understand for most users
|
||||||
# - Flexible enough to meet unexpected needs
|
# - Flexible enough to meet unexpected needs
|
||||||
# # Overview
|
# # Overview
|
||||||
# The `Status` message contains three pieces of data: error code, error message,
|
# The `Status` message contains three pieces of data: error code, error
|
||||||
# and error details. The error code should be an enum value of
|
# message, and error details. The error code should be an enum value of
|
||||||
# google.rpc.Code, but it may accept additional error codes if needed. The
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
||||||
# error message should be a developer-facing English message that helps
|
# error message should be a developer-facing English message that helps
|
||||||
# developers *understand* and *resolve* the error. If a localized user-facing
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
||||||
|
|
Loading…
Reference in New Issue