Autogenerated update (2020-06-23)

Update:
- apigee_v1
- container_v1
- dlp_v2
- run_v1
- run_v1alpha1
- run_v1beta1
- securitycenter_v1
- securitycenter_v1p1beta1
- sheets_v4
This commit is contained in:
Google APIs 2020-06-23 00:38:12 +00:00
parent 4a4babb8f0
commit 16c24bd5d6
18 changed files with 321 additions and 91 deletions

View File

@ -31,7 +31,7 @@ module Google
# @see https://cloud.google.com/apigee-api-management/ # @see https://cloud.google.com/apigee-api-management/
module ApigeeV1 module ApigeeV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200604' REVISION = '20200618'
# 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'

View File

@ -791,17 +791,17 @@ module Google
class GoogleCloudApigeeV1AsyncQuery class GoogleCloudApigeeV1AsyncQuery
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# Creation time of the query # Creation time of the query.
# Corresponds to the JSON property `created` # Corresponds to the JSON property `created`
# @return [String] # @return [String]
attr_accessor :created attr_accessor :created
# Error is set when query fails # Error is set when query fails.
# Corresponds to the JSON property `error` # Corresponds to the JSON property `error`
# @return [String] # @return [String]
attr_accessor :error attr_accessor :error
# ExecutionTime is available only after the query is completed # ExecutionTime is available only after the query is completed.
# Corresponds to the JSON property `executionTime` # Corresponds to the JSON property `executionTime`
# @return [String] # @return [String]
attr_accessor :execution_time attr_accessor :execution_time
@ -811,8 +811,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# Contains information like metrics, dimenstions etc # Contains information like metrics, dimenstions etc of the AsyncQuery.
# of the AsyncQuery
# Corresponds to the JSON property `queryParams` # Corresponds to the JSON property `queryParams`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetadata]
attr_accessor :query_params attr_accessor :query_params
@ -822,22 +821,22 @@ module Google
# @return [String] # @return [String]
attr_accessor :report_definition_id attr_accessor :report_definition_id
# Result is available only after the query is completed # Result is available only after the query is completed.
# Corresponds to the JSON property `result` # Corresponds to the JSON property `result`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQueryResult]
attr_accessor :result attr_accessor :result
# ResultFileSize is available only after the query is completed # ResultFileSize is available only after the query is completed.
# Corresponds to the JSON property `resultFileSize` # Corresponds to the JSON property `resultFileSize`
# @return [String] # @return [String]
attr_accessor :result_file_size attr_accessor :result_file_size
# ResultRows is available only after the query is completed # ResultRows is available only after the query is completed.
# Corresponds to the JSON property `resultRows` # Corresponds to the JSON property `resultRows`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :result_rows attr_accessor :result_rows
# Self link of the query # Self link of the query.
# Example: # Example:
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f- # `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
# 318d0cb961bd` # 318d0cb961bd`
@ -845,13 +844,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :self attr_accessor :self
# Query state could be "enqueued", "running", "completed", # Query state could be "enqueued", "running", "completed", "failed".
# "failed"
# Corresponds to the JSON property `state` # Corresponds to the JSON property `state`
# @return [String] # @return [String]
attr_accessor :state attr_accessor :state
# Last updated timestamp for the query # Last updated timestamp for the query.
# Corresponds to the JSON property `updated` # Corresponds to the JSON property `updated`
# @return [String] # @return [String]
attr_accessor :updated attr_accessor :updated
@ -886,7 +884,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :expires attr_accessor :expires
# Self link of the query results # Self link of the query results.
# Example: # Example:
# `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f- # `/organizations/myorg/environments/myenv/queries/9cfc0d85-0f30-46d6-ae6f-
# 318d0cb961bd/result` # 318d0cb961bd/result`
@ -1341,6 +1339,32 @@ module Google
end end
end end
# A DataCollector and its configuration.
class GoogleCloudApigeeV1DataCollectorConfig
include Google::Apis::Core::Hashable
# The name of the data collector. Must be of the form
# 'organizations/`org`/datacollectors/`dc`'.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# The data type this DataCollector accepts.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@type = args[:type] if args.key?(:type)
end
end
# #
class GoogleCloudApigeeV1DebugMask class GoogleCloudApigeeV1DebugMask
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -1890,16 +1914,16 @@ module Google
end end
end end
# This message type encapsulates a metric grouped by dimension # This message type encapsulates a metric grouped by dimension.
class GoogleCloudApigeeV1DimensionMetric class GoogleCloudApigeeV1DimensionMetric
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# This field contains a list of metrics # This field contains a list of metrics.
# Corresponds to the JSON property `metrics` # Corresponds to the JSON property `metrics`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
attr_accessor :metrics attr_accessor :metrics
# This field contains the name of the dimension # This field contains the name of the dimension.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
@ -2008,6 +2032,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :create_time attr_accessor :create_time
# The list of Data Collectors used by deployments in the environment.
# Corresponds to the JSON property `dataCollectors`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig>]
attr_accessor :data_collectors
# Debug mask that applies to all deployments in the environment. # Debug mask that applies to all deployments in the environment.
# Corresponds to the JSON property `debugMask` # Corresponds to the JSON property `debugMask`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask]
@ -2092,6 +2121,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@create_time = args[:create_time] if args.key?(:create_time) @create_time = args[:create_time] if args.key?(:create_time)
@data_collectors = args[:data_collectors] if args.key?(:data_collectors)
@debug_mask = args[:debug_mask] if args.key?(:debug_mask) @debug_mask = args[:debug_mask] if args.key?(:debug_mask)
@deployments = args[:deployments] if args.key?(:deployments) @deployments = args[:deployments] if args.key?(:deployments)
@feature_flags = args[:feature_flags] if args.key?(:feature_flags) @feature_flags = args[:feature_flags] if args.key?(:feature_flags)
@ -2166,7 +2196,7 @@ module Google
alias_method :continue_on_error?, :continue_on_error alias_method :continue_on_error?, :continue_on_error
# The name of the flow hook. Must be of the form # The name of the flow hook. Must be of the form
# 'organizations/`org`/environments/`env`/flowhooks/`point`''. # 'organizations/`org`/environments/`env`/flowhooks/`point`'.
# Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, # Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
# and PostTargetFlowHook # and PostTargetFlowHook
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
@ -2367,11 +2397,11 @@ module Google
end end
end end
# The response for ListAsyncQueries # The response for ListAsyncQueries.
class GoogleCloudApigeeV1ListAsyncQueriesResponse class GoogleCloudApigeeV1ListAsyncQueriesResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# The asynchronous queries belong to requested organization and environment # The asynchronous queries belong to requested resource name.
# Corresponds to the JSON property `queries` # Corresponds to the JSON property `queries`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1AsyncQuery>]
attr_accessor :queries attr_accessor :queries
@ -2566,11 +2596,11 @@ module Google
end end
end end
# This message type encapsulates additional information about query execution # This message type encapsulates additional information about query execution.
class GoogleCloudApigeeV1Metadata class GoogleCloudApigeeV1Metadata
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# List of error messages as strings # List of error messages as strings.
# Corresponds to the JSON property `errors` # Corresponds to the JSON property `errors`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :errors attr_accessor :errors
@ -2599,8 +2629,8 @@ module Google
end end
end end
# This message type encapsulates the metric data point # This message type encapsulates the metric data point.
# Example # Example:
# ` # `
# "name": "sum(message_count)", # "name": "sum(message_count)",
# "values" : [ ` # "values" : [ `
@ -2620,13 +2650,13 @@ module Google
class GoogleCloudApigeeV1Metric class GoogleCloudApigeeV1Metric
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# This field contains the metric name # This field contains the metric name.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# List of metric values # List of metric values.
# Possible value format # Possible value format:
# "values":["39.0"] or # "values":["39.0"] or
# "values":[ ` "value": "39.0", "timestamp": 1232434354` ] # "values":[ ` "value": "39.0", "timestamp": 1232434354` ]
# Corresponds to the JSON property `values` # Corresponds to the JSON property `values`
@ -2679,7 +2709,7 @@ module Google
class GoogleCloudApigeeV1OptimizedStats class GoogleCloudApigeeV1OptimizedStats
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# This message type encapsulates a response format for Js Optimized Scenario # This message type encapsulates a response format for Js Optimized Scenario.
# Corresponds to the JSON property `Response` # Corresponds to the JSON property `Response`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsResponse]
attr_accessor :response attr_accessor :response
@ -2694,7 +2724,37 @@ module Google
end end
end end
# # This message type encapsulates a data node as represented below:
# `
# "identifier": `
# "names": [
# "apiproxy"
# ],
# "values": [
# "sirjee"
# ]
# `,
# "metric": [
# `
# "env": "prod",
# "name": "sum(message_count)",
# "values": [
# 36.0
# ]
# `
# ]
# `
# OR
# `
# "env": "prod",
# "name": "sum(message_count)",
# "values": [
# 36.0
# ]
# `
# Depending on whether a dimension is present in the query or not
# the data node type can be a simple metric value or dimension identifier
# with list of metrics.
class GoogleCloudApigeeV1OptimizedStatsNode class GoogleCloudApigeeV1OptimizedStatsNode
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2713,7 +2773,7 @@ module Google
end end
end end
# This message type encapsulates a response format for Js Optimized Scenario # This message type encapsulates a response format for Js Optimized Scenario.
class GoogleCloudApigeeV1OptimizedStatsResponse class GoogleCloudApigeeV1OptimizedStatsResponse
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
@ -2723,7 +2783,7 @@ module Google
# @return [Array<Fixnum>] # @return [Array<Fixnum>]
attr_accessor :time_unit attr_accessor :time_unit
# This message type encapsulates additional information about query execution # This message type encapsulates additional information about query execution.
# Corresponds to the JSON property `metaData` # Corresponds to the JSON property `metaData`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
attr_accessor :meta_data attr_accessor :meta_data
@ -2735,7 +2795,37 @@ module Google
attr_accessor :result_truncated attr_accessor :result_truncated
alias_method :result_truncated?, :result_truncated alias_method :result_truncated?, :result_truncated
# This field contains a stats results # This message type encapsulates a data node as represented below:
# `
# "identifier": `
# "names": [
# "apiproxy"
# ],
# "values": [
# "sirjee"
# ]
# `,
# "metric": [
# `
# "env": "prod",
# "name": "sum(message_count)",
# "values": [
# 36.0
# ]
# `
# ]
# `
# OR
# `
# "env": "prod",
# "name": "sum(message_count)",
# "values": [
# 36.0
# ]
# `
# Depending on whether a dimension is present in the query or not
# the data node type can be a simple metric value or dimension identifier
# with list of metrics.
# Corresponds to the JSON property `stats` # Corresponds to the JSON property `stats`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1OptimizedStatsNode]
attr_accessor :stats attr_accessor :stats
@ -3073,7 +3163,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :csv_delimiter attr_accessor :csv_delimiter
# A list of dimensions # A list of dimensions.
# https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions # https://docs.apigee.com/api-platform/analytics/analytics-reference#dimensions
# Corresponds to the JSON property `dimensions` # Corresponds to the JSON property `dimensions`
# @return [Array<String>] # @return [Array<String>]
@ -3109,7 +3199,7 @@ module Google
# @return [Fixnum] # @return [Fixnum]
attr_accessor :limit attr_accessor :limit
# A list of Metrics # A list of Metrics.
# Corresponds to the JSON property `metrics` # Corresponds to the JSON property `metrics`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetric>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryMetric>]
attr_accessor :metrics attr_accessor :metrics
@ -3227,17 +3317,17 @@ module Google
# @return [String] # @return [String]
attr_accessor :alias attr_accessor :alias
# Aggregation function: avg, min, max, or sum # Aggregation function: avg, min, max, or sum.
# Corresponds to the JSON property `function` # Corresponds to the JSON property `function`
# @return [String] # @return [String]
attr_accessor :function attr_accessor :function
# Required. Metric name # Required. Metric name.
# Corresponds to the JSON property `name` # Corresponds to the JSON property `name`
# @return [String] # @return [String]
attr_accessor :name attr_accessor :name
# One of `+`, `-`, `/`, `%`, `*` # One of `+`, `-`, `/`, `%`, `*`.
# Corresponds to the JSON property `operator` # Corresponds to the JSON property `operator`
# @return [String] # @return [String]
attr_accessor :operator attr_accessor :operator
@ -3808,16 +3898,16 @@ module Google
end end
end end
# This message type encapsulates a stats response # This message type encapsulates a stats response.
class GoogleCloudApigeeV1Stats class GoogleCloudApigeeV1Stats
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# # This field contains a list of query results on environment level.
# Corresponds to the JSON property `environments` # Corresponds to the JSON property `environments`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1StatsEnvironmentStats>]
attr_accessor :environments attr_accessor :environments
# This message type encapsulates additional information about query execution # This message type encapsulates additional information about query execution.
# Corresponds to the JSON property `metaData` # Corresponds to the JSON property `metaData`
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata] # @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metadata]
attr_accessor :meta_data attr_accessor :meta_data
@ -3833,7 +3923,7 @@ module Google
end end
end end
# This message type encapsulates the environment wrapper # This message type encapsulates the environment wrapper:
# "environments": [ # "environments": [
# ` # `
# "metrics": [ # "metrics": [
@ -3850,7 +3940,7 @@ module Google
class GoogleCloudApigeeV1StatsEnvironmentStats class GoogleCloudApigeeV1StatsEnvironmentStats
include Google::Apis::Core::Hashable include Google::Apis::Core::Hashable
# This field contains the list of metrics grouped under dimensions # This field contains the list of metrics grouped under dimensions.
# Corresponds to the JSON property `dimensions` # Corresponds to the JSON property `dimensions`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DimensionMetric>]
attr_accessor :dimensions attr_accessor :dimensions
@ -3893,7 +3983,7 @@ module Google
# "name": "prod" # "name": "prod"
# ` # `
# ] # ]
# This field contains the list of metric values # This field contains the list of metric values.
# Corresponds to the JSON property `metrics` # Corresponds to the JSON property `metrics`
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>] # @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Metric>]
attr_accessor :metrics attr_accessor :metrics

View File

@ -160,6 +160,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class GoogleCloudApigeeV1DataCollectorConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class GoogleCloudApigeeV1DebugMask class GoogleCloudApigeeV1DebugMask
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -954,6 +960,14 @@ module Google
end end
end end
class GoogleCloudApigeeV1DataCollectorConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :name, as: 'name'
property :type, as: 'type'
end
end
class GoogleCloudApigeeV1DebugMask class GoogleCloudApigeeV1DebugMask
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
@ -1114,6 +1128,8 @@ module Google
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :create_time, as: 'createTime' property :create_time, as: 'createTime'
collection :data_collectors, as: 'dataCollectors', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollectorConfig::Representation
property :debug_mask, as: 'debugMask', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation property :debug_mask, as: 'debugMask', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DebugMask::Representation
collection :deployments, as: 'deployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig::Representation collection :deployments, as: 'deployments', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentConfig::Representation

View File

@ -3947,8 +3947,8 @@ module Google
# is not possible with protocol buffer and since this parameter is # is not possible with protocol buffer and since this parameter is
# predominantly used by Edge UI, we are introducing a separate api. # predominantly used by Edge UI, we are introducing a separate api.
# @param [String] name # @param [String] name
# Required. The organization and environment name for which the interactive # Required. The resource name for which the interactive query will be executed.
# query will be executed. Must be of the form # Must be of the form
# `organizations/`organization_id`/environments/`environment_id/stats/` # `organizations/`organization_id`/environments/`environment_id/stats/`
# dimensions`` # dimensions``
# Dimensions let you view metrics in meaningful groupings. E.g. apiproxy, # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@ -3956,27 +3956,27 @@ module Google
# shown below # shown below
# `organizations/`org`/environments/`env`/stats/apiproxy,request_verb` # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
# @param [String] accuracy # @param [String] accuracy
# Legacy field. not used anymore # Legacy field: not used anymore.
# @param [String] agg_table # @param [String] agg_table
# If customers want to query custom aggregate tables, then this parameter # If customers want to query custom aggregate tables, then this parameter
# can be used to specify the table name. If this parameter is skipped, then # can be used to specify the table name. If this parameter is skipped, then
# Edge Query will try to retrieve the data from fact tables which will be # Edge Query will try to retrieve the data from fact tables which will be
# expensive. # expensive.
# @param [String] filter # @param [String] filter
# Enables drill-down on specific dimension values # Enables drill-down on specific dimension values.
# @param [String] limit # @param [String] limit
# This parameter is used to limit the number of result items. # This parameter is used to limit the number of result items.
# Default and the max value is 14400 # Default and the max value is 14400.
# @param [String] offset # @param [String] offset
# Use offset with limit to enable pagination of results. For example, # Use offset with limit to enable pagination of results. For example,
# to display results 11-20, set limit to '10' and offset to '10'. # to display results 11-20, set limit to '10' and offset to '10'.
# @param [Boolean] realtime # @param [Boolean] realtime
# Legacy field: not used anymore # Legacy field: not used anymore.
# @param [String] select # @param [String] select
# Required. The select parameter contains a comma separated list of metrics # Required. The select parameter contains a comma separated list of metrics.
# E.g. sum(message_count),sum(error_count) # E.g. sum(message_count),sum(error_count)
# @param [Boolean] sonar # @param [Boolean] sonar
# This parameter routes the query to api monitoring service for last hour # This parameter routes the query to api monitoring service for last hour.
# @param [String] sort # @param [String] sort
# This parameter specifies if the sort order should be ascending or # This parameter specifies if the sort order should be ascending or
# descending Supported values are DESC and ASC. # descending Supported values are DESC and ASC.
@ -3995,7 +3995,7 @@ module Google
# Lists timestamps in ascending order if set to true. Recommend setting # Lists timestamps in ascending order if set to true. Recommend setting
# this value to true if you are using sortby with sort=DESC. # this value to true if you are using sortby with sort=DESC.
# @param [String] tzo # @param [String] tzo
# This parameters contains the timezone offset value # This parameters contains the timezone offset value.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -4043,7 +4043,7 @@ module Google
# an ID that refer to the query. In addition to the HTTP status 201, the # an ID that refer to the query. In addition to the HTTP status 201, the
# `state` of "enqueued" means that the request succeeded. # `state` of "enqueued" means that the request succeeded.
# @param [String] parent # @param [String] parent
# Required. The parent organization and environment names. # Required. The parent resource name.
# Must be of the form `organizations/`org`/environments/`env``. # Must be of the form `organizations/`org`/environments/`env``.
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object # @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1Query] google_cloud_apigee_v1_query_object
# @param [String] fields # @param [String] fields
@ -4146,7 +4146,7 @@ module Google
# Return a list of Asynchronous Queries # Return a list of Asynchronous Queries
# @param [String] parent # @param [String] parent
# Required. The parent organization and environment names. # Required. The parent resource name.
# Must be of the form `organizations/`org`/environments/`env``. # Must be of the form `organizations/`org`/environments/`env``.
# @param [String] dataset # @param [String] dataset
# Filter response list by dataset. # Filter response list by dataset.
@ -4156,12 +4156,11 @@ module Google
# created after this date time. # created after this date time.
# Time must be in ISO date-time format like '2011-12-03T10:15:30Z'. # Time must be in ISO date-time format like '2011-12-03T10:15:30Z'.
# @param [String] incl_queries_without_report # @param [String] incl_queries_without_report
# Flag to include asynchronous queries that don't have a report # Flag to include asynchronous queries that don't have a report denifition.
# denifition.
# @param [String] status # @param [String] status
# Filter response list by asynchronous query status # Filter response list by asynchronous query status.
# @param [String] submitted_by # @param [String] submitted_by
# Filter response list by user who submitted queries # Filter response list by user who submitted queries.
# @param [String] to # @param [String] to
# Filter response list by returning asynchronous queries that # Filter response list by returning asynchronous queries that
# created before this date time. # created before this date time.
@ -4687,8 +4686,8 @@ module Google
# optional in which case the metrics are computed on the entire data # optional in which case the metrics are computed on the entire data
# for the given timerange. # for the given timerange.
# @param [String] name # @param [String] name
# Required. The organization and environment name for which the interactive # Required. The resource name for which the interactive query will be executed.
# query will be executed. Must be of the form # Must be of the form
# `organizations/`organization_id`/environments/`environment_id/stats/` # `organizations/`organization_id`/environments/`environment_id/stats/`
# dimensions`` # dimensions``
# Dimensions let you view metrics in meaningful groupings. E.g. apiproxy, # Dimensions let you view metrics in meaningful groupings. E.g. apiproxy,
@ -4696,8 +4695,8 @@ module Google
# shown below # shown below
# `organizations/`org`/environments/`env`/stats/apiproxy,request_verb` # `organizations/`org`/environments/`env`/stats/apiproxy,request_verb`
# @param [String] accuracy # @param [String] accuracy
# Legacy field. not used anymore # Legacy field: not used anymore.
# This field is present to support UI calls which still use this parameter # This field is present to support UI calls which still use this parameter.
# @param [String] agg_table # @param [String] agg_table
# If customers want to query custom aggregate tables, then this parameter # If customers want to query custom aggregate tables, then this parameter
# can be used to specify the table name. If this parameter is skipped, then # can be used to specify the table name. If this parameter is skipped, then
@ -4707,17 +4706,17 @@ module Google
# Enables drill-down on specific dimension values # Enables drill-down on specific dimension values
# @param [String] limit # @param [String] limit
# This parameter is used to limit the number of result items. # This parameter is used to limit the number of result items.
# Default and the max value is 14400 # Default and the max value is 14400.
# @param [String] offset # @param [String] offset
# Use offset with limit to enable pagination of results. For example, # Use offset with limit to enable pagination of results. For example,
# to display results 11-20, set limit to '10' and offset to '10'. # to display results 11-20, set limit to '10' and offset to '10'.
# @param [Boolean] realtime # @param [Boolean] realtime
# Legacy field: not used anymore # Legacy field: not used anymore.
# @param [String] select # @param [String] select
# The select parameter contains a comma separated list of metrics # The select parameter contains a comma separated list of metrics.
# E.g. sum(message_count),sum(error_count) # E.g. sum(message_count),sum(error_count)
# @param [Boolean] sonar # @param [Boolean] sonar
# This parameter routes the query to api monitoring service for last hour # This parameter routes the query to api monitoring service for last hour.
# @param [String] sort # @param [String] sort
# This parameter specifies if the sort order should be ascending or # This parameter specifies if the sort order should be ascending or
# descending Supported values are DESC and ASC. # descending Supported values are DESC and ASC.
@ -4736,7 +4735,7 @@ module Google
# Lists timestamps in ascending order if set to true. Recommend setting # Lists timestamps in ascending order if set to true. Recommend setting
# this value to true if you are using sortby with sort=DESC. # this value to true if you are using sortby with sort=DESC.
# @param [String] tzo # @param [String] tzo
# This parameters contains the timezone offset value # This parameters contains the timezone offset value.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1 module ContainerV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200519' REVISION = '20200603'
# 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'

View File

@ -58,6 +58,11 @@ module Google
# @return [Google::Apis::ContainerV1::CloudRunConfig] # @return [Google::Apis::ContainerV1::CloudRunConfig]
attr_accessor :cloud_run_config attr_accessor :cloud_run_config
# Configuration for NodeLocal DNSCache
# Corresponds to the JSON property `dnsCacheConfig`
# @return [Google::Apis::ContainerV1::DnsCacheConfig]
attr_accessor :dns_cache_config
# Configuration options for the horizontal pod autoscaling feature, which # Configuration options for the horizontal pod autoscaling feature, which
# increases or decreases the number of replica pods a replication controller # increases or decreases the number of replica pods a replication controller
# has based on the resource usage of the existing pods. # has based on the resource usage of the existing pods.
@ -90,6 +95,7 @@ module Google
# Update properties of this object # Update properties of this object
def update!(**args) def update!(**args)
@cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config) @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config)
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
@ -419,7 +425,7 @@ module Google
# [Output only] Deprecated, use # [Output only] Deprecated, use
# [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/ # [NodePools.version](https://cloud.google.com/kubernetes-engine/docs/reference/
# rest/v1/projects.zones.clusters.nodePools) # rest/v1/projects.locations.clusters.nodePools)
# instead. The current version of the node software components. If they are # instead. The current version of the node software components. If they are
# currently at multiple versions because they're in the process of being # currently at multiple versions because they're in the process of being
# upgraded, this reflects the minimum version of all nodes. # upgraded, this reflects the minimum version of all nodes.
@ -1217,6 +1223,26 @@ module Google
end end
end end
# Configuration for NodeLocal DNSCache
class DnsCacheConfig
include Google::Apis::Core::Hashable
# Whether NodeLocal DNSCache is enabled for this cluster.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@enabled = args[:enabled] if args.key?(:enabled)
end
end
# A generic empty message that you can re-use to avoid defining duplicated # A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request # empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance: # or the response type of an API method. For instance:
@ -2974,12 +3000,12 @@ module Google
# @return [Array<String>] # @return [Array<String>]
attr_accessor :valid_image_types attr_accessor :valid_image_types
# List of valid master versions. # List of valid master versions, in descending order.
# Corresponds to the JSON property `validMasterVersions` # Corresponds to the JSON property `validMasterVersions`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :valid_master_versions attr_accessor :valid_master_versions
# List of valid node upgrade target versions. # List of valid node upgrade target versions, in descending order.
# Corresponds to the JSON property `validNodeVersions` # Corresponds to the JSON property `validNodeVersions`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :valid_node_versions attr_accessor :valid_node_versions

View File

@ -142,6 +142,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class DnsCacheConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -545,6 +551,8 @@ module Google
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation
property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1::CloudRunConfig, decorator: Google::Apis::ContainerV1::CloudRunConfig::Representation property :cloud_run_config, as: 'cloudRunConfig', class: Google::Apis::ContainerV1::CloudRunConfig, decorator: Google::Apis::ContainerV1::CloudRunConfig::Representation
property :dns_cache_config, as: 'dnsCacheConfig', class: Google::Apis::ContainerV1::DnsCacheConfig, decorator: Google::Apis::ContainerV1::DnsCacheConfig::Representation
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
@ -810,6 +818,13 @@ module Google
end end
end end
class DnsCacheConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :enabled, as: 'enabled'
end
end
class Empty class Empty
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/dlp/docs/ # @see https://cloud.google.com/dlp/docs/
module DlpV2 module DlpV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20200606' REVISION = '20200620'
# 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'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1 module RunV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200609' REVISION = '20200616'
# 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'

View File

@ -2449,9 +2449,7 @@ module Google
# @return [String] # @return [String]
attr_accessor :service_account_name attr_accessor :service_account_name
# TimeoutSeconds holds the max duration the instance is allowed for #
# responding to a request.
# Not currently used by Cloud Run.
# Corresponds to the JSON property `timeoutSeconds` # Corresponds to the JSON property `timeoutSeconds`
# @return [Fixnum] # @return [Fixnum]
attr_accessor :timeout_seconds attr_accessor :timeout_seconds

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1alpha1 module RunV1alpha1
VERSION = 'V1alpha1' VERSION = 'V1alpha1'
REVISION = '20200609' REVISION = '20200616'
# 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'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/run/ # @see https://cloud.google.com/run/
module RunV1beta1 module RunV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200609' REVISION = '20200616'
# 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'

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1 module SecuritycenterV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20200612' REVISION = '20200619'
# 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'

View File

@ -181,8 +181,7 @@ module Google
# is "UNUSED", which will be the state_change set for all assets present at # is "UNUSED", which will be the state_change set for all assets present at
# read_time. # read_time.
# @param [String] field_mask # @param [String] field_mask
# Optional. A field mask to specify the ListAssetsResult fields to be listed in # A field mask to specify the ListAssetsResult fields to be listed in the
# the
# response. # response.
# An empty field mask will list all fields. # An empty field mask will list all fields.
# @param [String] filter # @param [String] filter
@ -529,7 +528,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates a notification config. # Updates a notification config. The following update
# fields are allowed: description, pubsub_topic, streaming_config.filter
# @param [String] name # @param [String] name
# The relative resource name of this notification config. See: # The relative resource name of this notification config. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name # https://cloud.google.com/apis/design/resource_names#relative_resource_name
@ -1082,8 +1082,7 @@ module Google
# is "UNUSED", which will be the state_change set for all findings present at # is "UNUSED", which will be the state_change set for all findings present at
# read_time. # read_time.
# @param [String] field_mask # @param [String] field_mask
# Optional. A field mask to specify the Finding fields to be listed in the # A field mask to specify the Finding fields to be listed in the response.
# response.
# An empty field mask will list all fields. # An empty field mask will list all fields.
# @param [String] filter # @param [String] filter
# Expression that defines the filter to apply across findings. # Expression that defines the filter to apply across findings.

View File

@ -26,7 +26,7 @@ module Google
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview # @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
module SecuritycenterV1p1beta1 module SecuritycenterV1p1beta1
VERSION = 'V1p1beta1' VERSION = 'V1p1beta1'
REVISION = '20200612' REVISION = '20200619'
# 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'

View File

@ -181,7 +181,6 @@ module Google
# is "UNUSED", which will be the state_change set for all assets present at # is "UNUSED", which will be the state_change set for all assets present at
# read_time. # read_time.
# @param [String] field_mask # @param [String] field_mask
# Optional.
# A field mask to specify the ListAssetsResult fields to be listed in the # A field mask to specify the ListAssetsResult fields to be listed in the
# response. # response.
# An empty field mask will list all fields. # An empty field mask will list all fields.
@ -530,7 +529,8 @@ module Google
execute_or_queue_command(command, &block) execute_or_queue_command(command, &block)
end end
# Updates a notification config. # Updates a notification config. The following update
# fields are allowed: description, pubsub_topic, streaming_config.filter
# @param [String] name # @param [String] name
# The relative resource name of this notification config. See: # The relative resource name of this notification config. See:
# https://cloud.google.com/apis/design/resource_names#relative_resource_name # https://cloud.google.com/apis/design/resource_names#relative_resource_name
@ -976,8 +976,6 @@ module Google
# @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] google_cloud_securitycenter_v1p1beta1_finding_object # @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] google_cloud_securitycenter_v1p1beta1_finding_object
# @param [String] finding_id # @param [String] finding_id
# Required. Unique identifier provided by the client within the parent scope. # Required. Unique identifier provided by the client within the parent scope.
# It must be alphanumeric and less than or equal to 32 characters and
# greater than 0 characters in length.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -1083,7 +1081,6 @@ module Google
# is "UNUSED", which will be the state_change set for all findings present at # is "UNUSED", which will be the state_change set for all findings present at
# read_time. # read_time.
# @param [String] field_mask # @param [String] field_mask
# Optional.
# A field mask to specify the Finding fields to be listed in the response. # A field mask to specify the Finding fields to be listed in the response.
# An empty field mask will list all fields. # An empty field mask will list all fields.
# @param [String] filter # @param [String] filter

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/sheets/ # @see https://developers.google.com/sheets/
module SheetsV4 module SheetsV4
VERSION = 'V4' VERSION = 'V4'
REVISION = '20200508' REVISION = '20200616'
# See, edit, create, and delete all of your Google Drive files # See, edit, create, and delete all of your Google Drive files
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'

View File

@ -655,6 +655,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -767,6 +770,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -879,6 +885,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -991,6 +1000,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -1135,6 +1147,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -1252,6 +1267,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -1468,6 +1486,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -2322,6 +2343,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -2499,6 +2523,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -2885,6 +2912,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -3193,6 +3223,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -3513,6 +3546,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -3664,6 +3700,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -5223,6 +5262,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -5335,6 +5377,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -6084,6 +6129,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -6307,6 +6355,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -6838,6 +6889,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -6960,6 +7014,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -8810,6 +8867,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -8987,6 +9047,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -9221,6 +9284,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -9338,6 +9404,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -9685,6 +9754,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -10004,6 +10076,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -10116,6 +10191,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -10228,6 +10306,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -10340,6 +10421,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -10483,6 +10567,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...
@ -11570,6 +11657,9 @@ module Google
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB, # that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color # DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
# space. # space.
# Note: when color equality needs to be decided, implementations, unless
# documented otherwise, will treat two colors to be equal if all their red,
# green, blue and alpha values each differ by at most 1e-5.
# Example (Java): # Example (Java):
# import com.google.type.Color; # import com.google.type.Color;
# // ... # // ...