Autogenerated update (2018-02-10)
Update: - bigquery_v2 - servicemanagement_v1 - serviceuser_v1
This commit is contained in:
parent
5dce0cff59
commit
e59225cfcc
|
@ -9305,7 +9305,10 @@
|
|||
"/bigquery:v2/ExplainQueryStage/computeMsMax": compute_ms_max
|
||||
"/bigquery:v2/ExplainQueryStage/computeRatioAvg": compute_ratio_avg
|
||||
"/bigquery:v2/ExplainQueryStage/computeRatioMax": compute_ratio_max
|
||||
"/bigquery:v2/ExplainQueryStage/endMs": end_ms
|
||||
"/bigquery:v2/ExplainQueryStage/id": id
|
||||
"/bigquery:v2/ExplainQueryStage/inputStages": input_stages
|
||||
"/bigquery:v2/ExplainQueryStage/inputStages/input_stage": input_stage
|
||||
"/bigquery:v2/ExplainQueryStage/name": name
|
||||
"/bigquery:v2/ExplainQueryStage/parallelInputs": parallel_inputs
|
||||
"/bigquery:v2/ExplainQueryStage/readMsAvg": read_ms_avg
|
||||
|
@ -9316,6 +9319,7 @@
|
|||
"/bigquery:v2/ExplainQueryStage/recordsWritten": records_written
|
||||
"/bigquery:v2/ExplainQueryStage/shuffleOutputBytes": shuffle_output_bytes
|
||||
"/bigquery:v2/ExplainQueryStage/shuffleOutputBytesSpilled": shuffle_output_bytes_spilled
|
||||
"/bigquery:v2/ExplainQueryStage/startMs": start_ms
|
||||
"/bigquery:v2/ExplainQueryStage/status": status
|
||||
"/bigquery:v2/ExplainQueryStage/steps": steps
|
||||
"/bigquery:v2/ExplainQueryStage/steps/step": step
|
||||
|
@ -9678,6 +9682,7 @@
|
|||
"/bigquery:v2/TimePartitioning": time_partitioning
|
||||
"/bigquery:v2/TimePartitioning/expirationMs": expiration_ms
|
||||
"/bigquery:v2/TimePartitioning/field": field
|
||||
"/bigquery:v2/TimePartitioning/requirePartitionFilter": require_partition_filter
|
||||
"/bigquery:v2/TimePartitioning/type": type
|
||||
"/bigquery:v2/UserDefinedFunctionResource": user_defined_function_resource
|
||||
"/bigquery:v2/UserDefinedFunctionResource/inlineCode": inline_code
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180127'
|
||||
REVISION = '20180205'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -650,11 +650,21 @@ module Google
|
|||
# @return [Float]
|
||||
attr_accessor :compute_ratio_max
|
||||
|
||||
# Stage end time in milliseconds.
|
||||
# Corresponds to the JSON property `endMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_ms
|
||||
|
||||
# Unique ID for stage within plan.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :id
|
||||
|
||||
# IDs for stages that are inputs to this stage.
|
||||
# Corresponds to the JSON property `inputStages`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :input_stages
|
||||
|
||||
# Human-readable name for stage.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
|
@ -705,6 +715,11 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :shuffle_output_bytes_spilled
|
||||
|
||||
# Stage start time in milliseconds.
|
||||
# Corresponds to the JSON property `startMs`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_ms
|
||||
|
||||
# Current status for the stage.
|
||||
# Corresponds to the JSON property `status`
|
||||
# @return [String]
|
||||
|
@ -767,7 +782,9 @@ module Google
|
|||
@compute_ms_max = args[:compute_ms_max] if args.key?(:compute_ms_max)
|
||||
@compute_ratio_avg = args[:compute_ratio_avg] if args.key?(:compute_ratio_avg)
|
||||
@compute_ratio_max = args[:compute_ratio_max] if args.key?(:compute_ratio_max)
|
||||
@end_ms = args[:end_ms] if args.key?(:end_ms)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@input_stages = args[:input_stages] if args.key?(:input_stages)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@parallel_inputs = args[:parallel_inputs] if args.key?(:parallel_inputs)
|
||||
@read_ms_avg = args[:read_ms_avg] if args.key?(:read_ms_avg)
|
||||
|
@ -778,6 +795,7 @@ module Google
|
|||
@records_written = args[:records_written] if args.key?(:records_written)
|
||||
@shuffle_output_bytes = args[:shuffle_output_bytes] if args.key?(:shuffle_output_bytes)
|
||||
@shuffle_output_bytes_spilled = args[:shuffle_output_bytes_spilled] if args.key?(:shuffle_output_bytes_spilled)
|
||||
@start_ms = args[:start_ms] if args.key?(:start_ms)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@steps = args[:steps] if args.key?(:steps)
|
||||
@wait_ms_avg = args[:wait_ms_avg] if args.key?(:wait_ms_avg)
|
||||
|
@ -1449,8 +1467,8 @@ module Google
|
|||
|
||||
# [Optional] The format of the data files. For CSV files, specify "CSV". For
|
||||
# datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON,
|
||||
# specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". The default value
|
||||
# is CSV.
|
||||
# specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". For parquet,
|
||||
# specify "PARQUET". For orc, specify "ORC". The default value is CSV.
|
||||
# Corresponds to the JSON property `sourceFormat`
|
||||
# @return [String]
|
||||
attr_accessor :source_format
|
||||
|
@ -2042,7 +2060,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :statement_type
|
||||
|
||||
# [Output-only] Describes a timeline of job execution.
|
||||
# [Output-only] [Experimental] Describes a timeline of job execution.
|
||||
# Corresponds to the JSON property `timeline`
|
||||
# @return [Array<Google::Apis::BigqueryV2::QueryTimelineSample>]
|
||||
attr_accessor :timeline
|
||||
|
@ -3350,6 +3368,13 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
# [Experimental] [Optional] If set to true, queries over this table require a
|
||||
# partition filter that can be used for partition elimination to be specified.
|
||||
# Corresponds to the JSON property `requirePartitionFilter`
|
||||
# @return [Boolean]
|
||||
attr_accessor :require_partition_filter
|
||||
alias_method :require_partition_filter?, :require_partition_filter
|
||||
|
||||
# [Required] The only type supported is DAY, which will generate one partition
|
||||
# per day.
|
||||
# Corresponds to the JSON property `type`
|
||||
|
@ -3364,6 +3389,7 @@ module Google
|
|||
def update!(**args)
|
||||
@expiration_ms = args[:expiration_ms] if args.key?(:expiration_ms)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@require_partition_filter = args[:require_partition_filter] if args.key?(:require_partition_filter)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -519,7 +519,9 @@ module Google
|
|||
property :compute_ms_max, :numeric_string => true, as: 'computeMsMax'
|
||||
property :compute_ratio_avg, as: 'computeRatioAvg'
|
||||
property :compute_ratio_max, as: 'computeRatioMax'
|
||||
property :end_ms, :numeric_string => true, as: 'endMs'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
collection :input_stages, as: 'inputStages'
|
||||
property :name, as: 'name'
|
||||
property :parallel_inputs, :numeric_string => true, as: 'parallelInputs'
|
||||
property :read_ms_avg, :numeric_string => true, as: 'readMsAvg'
|
||||
|
@ -530,6 +532,7 @@ module Google
|
|||
property :records_written, :numeric_string => true, as: 'recordsWritten'
|
||||
property :shuffle_output_bytes, :numeric_string => true, as: 'shuffleOutputBytes'
|
||||
property :shuffle_output_bytes_spilled, :numeric_string => true, as: 'shuffleOutputBytesSpilled'
|
||||
property :start_ms, :numeric_string => true, as: 'startMs'
|
||||
property :status, as: 'status'
|
||||
collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation
|
||||
|
||||
|
@ -1169,6 +1172,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :expiration_ms, :numeric_string => true, as: 'expirationMs'
|
||||
property :field, as: 'field'
|
||||
property :require_partition_filter, as: 'requirePartitionFilter'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180112'
|
||||
REVISION = '20180202'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -123,6 +123,123 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Specifies the audit configuration for a service.
|
||||
# The configuration determines which permission types are logged, and what
|
||||
# identities, if any, are exempted from logging.
|
||||
# An AuditConfig must have one or more AuditLogConfigs.
|
||||
# If there are AuditConfigs for both `allServices` and a specific service,
|
||||
# the union of the two AuditConfigs is used for that service: the log_types
|
||||
# specified in each AuditConfig are enabled, and the exempted_members in each
|
||||
# AuditLogConfig are exempted.
|
||||
# Example Policy with multiple AuditConfigs:
|
||||
# `
|
||||
# "audit_configs": [
|
||||
# `
|
||||
# "service": "allServices"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "ADMIN_READ",
|
||||
# `
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "service": "fooservice.googleapis.com"
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# "exempted_members": [
|
||||
# "user:bar@gmail.com"
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
||||
# logging. It also exempts foo@gmail.com from DATA_READ logging, and
|
||||
# bar@gmail.com from DATA_WRITE logging.
|
||||
class AuditConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The configuration for logging of each type of permission.
|
||||
# Next ID: 4
|
||||
# Corresponds to the JSON property `auditLogConfigs`
|
||||
# @return [Array<Google::Apis::ServicemanagementV1::AuditLogConfig>]
|
||||
attr_accessor :audit_log_configs
|
||||
|
||||
# Specifies a service that will be enabled for audit logging.
|
||||
# For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
|
||||
# `allServices` is a special value that covers all services.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
|
||||
@service = args[:service] if args.key?(:service)
|
||||
end
|
||||
end
|
||||
|
||||
# Provides the configuration for logging a type of permissions.
|
||||
# Example:
|
||||
# `
|
||||
# "audit_log_configs": [
|
||||
# `
|
||||
# "log_type": "DATA_READ",
|
||||
# "exempted_members": [
|
||||
# "user:foo@gmail.com"
|
||||
# ]
|
||||
# `,
|
||||
# `
|
||||
# "log_type": "DATA_WRITE",
|
||||
# `
|
||||
# ]
|
||||
# `
|
||||
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
||||
# foo@gmail.com from DATA_READ logging.
|
||||
class AuditLogConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies the identities that do not cause logging for this type of
|
||||
# permission.
|
||||
# Follows the same format of Binding.members.
|
||||
# Corresponds to the JSON property `exemptedMembers`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :exempted_members
|
||||
|
||||
# The log type that this config enables.
|
||||
# Corresponds to the JSON property `logType`
|
||||
# @return [String]
|
||||
attr_accessor :log_type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
||||
@log_type = args[:log_type] if args.key?(:log_type)
|
||||
end
|
||||
end
|
||||
|
||||
# Configuration for an anthentication provider, including support for
|
||||
# [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-
|
||||
# token-32).
|
||||
|
@ -1441,71 +1558,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# The metadata associated with a long running operation resource.
|
||||
class FlowOperationMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The state of the operation with respect to cancellation.
|
||||
# Corresponds to the JSON property `cancelState`
|
||||
# @return [String]
|
||||
attr_accessor :cancel_state
|
||||
|
||||
# Deadline for the flow to complete, to prevent orphaned Operations.
|
||||
# If the flow has not completed by this time, it may be terminated by
|
||||
# the engine, or force-failed by Operation lookup.
|
||||
# Note that this is not a hard deadline after which the Flow will
|
||||
# definitely be failed, rather it is a deadline after which it is reasonable
|
||||
# to suspect a problem and other parts of the system may kill operation
|
||||
# to ensure we don't have orphans.
|
||||
# see also: go/prevent-orphaned-operations
|
||||
# Corresponds to the JSON property `deadline`
|
||||
# @return [String]
|
||||
attr_accessor :deadline
|
||||
|
||||
# The name of the top-level flow corresponding to this operation.
|
||||
# Must be equal to the "name" field for a FlowName enum.
|
||||
# Corresponds to the JSON property `flowName`
|
||||
# @return [String]
|
||||
attr_accessor :flow_name
|
||||
|
||||
# Operation type which is a flow type and subtype info as that is missing in
|
||||
# our datastore otherwise. This maps to the ordinal value of the enum:
|
||||
# jcg/api/tenant/operations/OperationNamespace.java
|
||||
# Corresponds to the JSON property `operationType`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :operation_type
|
||||
|
||||
# The full name of the resources that this flow is directly associated with.
|
||||
# Corresponds to the JSON property `resourceNames`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :resource_names
|
||||
|
||||
# The start time of the operation.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `surface`
|
||||
# @return [String]
|
||||
attr_accessor :surface
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cancel_state = args[:cancel_state] if args.key?(:cancel_state)
|
||||
@deadline = args[:deadline] if args.key?(:deadline)
|
||||
@flow_name = args[:flow_name] if args.key?(:flow_name)
|
||||
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
||||
@resource_names = args[:resource_names] if args.key?(:resource_names)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
@surface = args[:surface] if args.key?(:surface)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for GenerateConfigReport method.
|
||||
class GenerateConfigReportRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -2462,13 +2514,12 @@ module Google
|
|||
# * `Gi` gibi (2**30)
|
||||
# * `Ti` tebi (2**40)
|
||||
# **Grammar**
|
||||
# The grammar includes the dimensionless unit `1`, such as `1/s`.
|
||||
# The grammar also includes these connectors:
|
||||
# * `/` division (as an infix operator, e.g. `1/s`).
|
||||
# * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
||||
# The grammar for a unit is as follows:
|
||||
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
||||
# Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
# | Annotation
|
||||
# | "1"
|
||||
# ;
|
||||
|
@ -2479,6 +2530,9 @@ module Google
|
|||
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
|
||||
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
||||
# containing '`' or '`'.
|
||||
# * `1` represents dimensionless value 1, such as in `1/s`.
|
||||
# * `%` represents dimensionless value 1/100, and annotates values giving
|
||||
# a percentage.
|
||||
# Corresponds to the JSON property `unit`
|
||||
# @return [String]
|
||||
attr_accessor :unit
|
||||
|
@ -3060,6 +3114,11 @@ module Google
|
|||
class Policy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Specifies cloud audit logging configuration for this policy.
|
||||
# Corresponds to the JSON property `auditConfigs`
|
||||
# @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
|
||||
attr_accessor :audit_configs
|
||||
|
||||
# Associates a list of `members` to a `role`.
|
||||
# `bindings` with no members will result in an error.
|
||||
# Corresponds to the JSON property `bindings`
|
||||
|
@ -3091,6 +3150,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
||||
@bindings = args[:bindings] if args.key?(:bindings)
|
||||
@etag = args[:etag] if args.key?(:etag)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
|
|
|
@ -34,6 +34,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuthProvider
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -238,12 +250,6 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class FlowOperationMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GenerateConfigReportRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -580,6 +586,23 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::ServicemanagementV1::AuditLogConfig, decorator: Google::Apis::ServicemanagementV1::AuditLogConfig::Representation
|
||||
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
||||
class AuthProvider
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -896,19 +919,6 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class FlowOperationMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cancel_state, as: 'cancelState'
|
||||
property :deadline, as: 'deadline'
|
||||
property :flow_name, as: 'flowName'
|
||||
property :operation_type, as: 'operationType'
|
||||
collection :resource_names, as: 'resourceNames'
|
||||
property :start_time, as: 'startTime'
|
||||
property :surface, as: 'surface'
|
||||
end
|
||||
end
|
||||
|
||||
class GenerateConfigReportRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -1199,6 +1209,8 @@ module Google
|
|||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::ServicemanagementV1::AuditConfig, decorator: Google::Apis::ServicemanagementV1::AuditConfig::Representation
|
||||
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::ServicemanagementV1::Binding, decorator: Google::Apis::ServicemanagementV1::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServiceuserV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180112'
|
||||
REVISION = '20180202'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1860,13 +1860,12 @@ module Google
|
|||
# * `Gi` gibi (2**30)
|
||||
# * `Ti` tebi (2**40)
|
||||
# **Grammar**
|
||||
# The grammar includes the dimensionless unit `1`, such as `1/s`.
|
||||
# The grammar also includes these connectors:
|
||||
# * `/` division (as an infix operator, e.g. `1/s`).
|
||||
# * `.` multiplication (as an infix operator, e.g. `GBy.d`)
|
||||
# The grammar for a unit is as follows:
|
||||
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
||||
# Component = [ PREFIX ] UNIT [ Annotation ]
|
||||
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
||||
# | Annotation
|
||||
# | "1"
|
||||
# ;
|
||||
|
@ -1877,6 +1876,9 @@ module Google
|
|||
# ``requests`/s == 1/s`, `By`transmitted`/s == By/s`.
|
||||
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
||||
# containing '`' or '`'.
|
||||
# * `1` represents dimensionless value 1, such as in `1/s`.
|
||||
# * `%` represents dimensionless value 1/100, and annotates values giving
|
||||
# a percentage.
|
||||
# Corresponds to the JSON property `unit`
|
||||
# @return [String]
|
||||
attr_accessor :unit
|
||||
|
|
Loading…
Reference in New Issue