Autogenerated update (2019-08-09)
Update: - cloudsearch_v1 - file_v1 - file_v1beta1 - servicecontrol_v1 - servicemanagement_v1
This commit is contained in:
parent
ea20d1fd3f
commit
f0be159525
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-search/docs/guides/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190613'
|
||||
REVISION = '20190802'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -4167,15 +4167,6 @@ module Google
|
|||
class SourceCrowdingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Use a field to control results crowding. For example, if you want to
|
||||
# control overly similar results from Gmail topics, use `thread_id`.
|
||||
# For similar pages from Google Sites, you can use `webspace_id`.
|
||||
# When matching query results contain the same field value in
|
||||
# `GenericMetadata`, crowding limits are set on those records.
|
||||
# Corresponds to the JSON property `field`
|
||||
# @return [String]
|
||||
attr_accessor :field
|
||||
|
||||
# Maximum number of results allowed from a source.
|
||||
# No limits will be set on results if this value is less than or equal to 0.
|
||||
# Corresponds to the JSON property `numResults`
|
||||
|
@ -4188,23 +4179,14 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :num_suggestions
|
||||
|
||||
# Control results by content source. This option limits the total number
|
||||
# of results from a given source and ignores field-based crowding control.
|
||||
# Corresponds to the JSON property `source`
|
||||
# @return [Boolean]
|
||||
attr_accessor :source
|
||||
alias_method :source?, :source
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@field = args[:field] if args.key?(:field)
|
||||
@num_results = args[:num_results] if args.key?(:num_results)
|
||||
@num_suggestions = args[:num_suggestions] if args.key?(:num_suggestions)
|
||||
@source = args[:source] if args.key?(:source)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -2067,10 +2067,8 @@ module Google
|
|||
class SourceCrowdingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :field, as: 'field'
|
||||
property :num_results, as: 'numResults'
|
||||
property :num_suggestions, as: 'numSuggestions'
|
||||
property :source, as: 'source'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -713,9 +713,9 @@ module Google
|
|||
end
|
||||
|
||||
# Creates an upload session for uploading item content. For items smaller
|
||||
# than 100 KiB, it's easier to embed the content
|
||||
# than 100 KB, it's easier to embed the content
|
||||
# inline within
|
||||
# update.
|
||||
# an index request.
|
||||
# @param [String] name
|
||||
# Name of the Item to start a resumable upload.
|
||||
# Format: datasources/`source_id`/items/`item_id`.
|
||||
|
@ -751,13 +751,21 @@ module Google
|
|||
|
||||
# Uploads media for indexing.
|
||||
# The upload endpoint supports direct and resumable upload protocols and
|
||||
# is intended for large items that can not be inlined during index requests. To
|
||||
# index large content:
|
||||
# 1. Call upload to begin
|
||||
# a session and get the item reference.
|
||||
# 1. Upload the content using the item reference's resource name.
|
||||
# 1. Call index with the item
|
||||
# reference as the content.
|
||||
# is intended for large items that can not be
|
||||
# [inlined during index requests](https://developers.google.com/cloud-search/
|
||||
# docs/reference/rest/v1/indexing.datasources.items#itemcontent).
|
||||
# To index large content:
|
||||
# 1. Call
|
||||
# indexing.datasources.items.upload
|
||||
# with the resource name to begin an upload session and retrieve the
|
||||
# UploadItemRef.
|
||||
# 1. Call media.upload to upload the content using the same resource name from
|
||||
# step 1.
|
||||
# 1. Call indexing.datasources.items.index
|
||||
# to index the item. Populate the
|
||||
# [ItemContent](/cloud-search/docs/reference/rest/v1/indexing.datasources.
|
||||
# items#ItemContent)
|
||||
# with the UploadItemRef from step 1.
|
||||
# For additional information, see
|
||||
# [Create a content connector using the REST API](https://developers.google.com/
|
||||
# cloud-search/docs/guides/content-connector#rest).
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/filestore/
|
||||
module FileV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190627'
|
||||
REVISION = '20190805'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -152,12 +152,22 @@ module Google
|
|||
# "seconds": 1535406431,
|
||||
# `,
|
||||
# `
|
||||
# `
|
||||
# `,
|
||||
# "consumer_defined_name": "my-sql-instance1",
|
||||
# `
|
||||
# ```
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# consumer_defined_name is the name that is set by the consumer. On the other
|
||||
# hand Name field represents system-assigned id of an instance so consumers
|
||||
# are not necessarily aware of it.
|
||||
# consumer_defined_name is used for notification/UI purposes for consumer to
|
||||
# recognize their instances.
|
||||
# Corresponds to the JSON property `consumerDefinedName`
|
||||
# @return [String]
|
||||
attr_accessor :consumer_defined_name
|
||||
|
||||
# Output only. Timestamp when the resource was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
|
@ -249,6 +259,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
||||
|
|
|
@ -165,6 +165,7 @@ module Google
|
|||
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consumer_defined_name, as: 'consumerDefinedName'
|
||||
property :create_time, as: 'createTime'
|
||||
hash :labels, as: 'labels'
|
||||
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/filestore/
|
||||
module FileV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190627'
|
||||
REVISION = '20190805'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -152,12 +152,22 @@ module Google
|
|||
# "seconds": 1535406431,
|
||||
# `,
|
||||
# `
|
||||
# `
|
||||
# `,
|
||||
# "consumer_defined_name": "my-sql-instance1",
|
||||
# `
|
||||
# ```
|
||||
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# consumer_defined_name is the name that is set by the consumer. On the other
|
||||
# hand Name field represents system-assigned id of an instance so consumers
|
||||
# are not necessarily aware of it.
|
||||
# consumer_defined_name is used for notification/UI purposes for consumer to
|
||||
# recognize their instances.
|
||||
# Corresponds to the JSON property `consumerDefinedName`
|
||||
# @return [String]
|
||||
attr_accessor :consumer_defined_name
|
||||
|
||||
# Output only. Timestamp when the resource was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
|
@ -249,6 +259,7 @@ module Google
|
|||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@consumer_defined_name = args[:consumer_defined_name] if args.key?(:consumer_defined_name)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
|
||||
|
|
|
@ -165,6 +165,7 @@ module Google
|
|||
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consumer_defined_name, as: 'consumerDefinedName'
|
||||
property :create_time, as: 'createTime'
|
||||
hash :labels, as: 'labels'
|
||||
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-control/
|
||||
module ServicecontrolV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190618'
|
||||
REVISION = '20190804'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1084,6 +1084,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :severity
|
||||
|
||||
# Additional information about the source code location that produced the log
|
||||
# entry.
|
||||
# Corresponds to the JSON property `sourceLocation`
|
||||
# @return [Google::Apis::ServicecontrolV1::LogEntrySourceLocation]
|
||||
attr_accessor :source_location
|
||||
|
||||
# The log entry payload, represented as a structure that
|
||||
# is expressed as a JSON object.
|
||||
# Corresponds to the JSON property `structPayload`
|
||||
|
@ -1122,6 +1128,7 @@ module Google
|
|||
@operation = args[:operation] if args.key?(:operation)
|
||||
@proto_payload = args[:proto_payload] if args.key?(:proto_payload)
|
||||
@severity = args[:severity] if args.key?(:severity)
|
||||
@source_location = args[:source_location] if args.key?(:source_location)
|
||||
@struct_payload = args[:struct_payload] if args.key?(:struct_payload)
|
||||
@text_payload = args[:text_payload] if args.key?(:text_payload)
|
||||
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
||||
|
@ -1172,6 +1179,45 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Additional information about the source code location that produced the log
|
||||
# entry.
|
||||
class LogEntrySourceLocation
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. Source file name. Depending on the runtime environment, this
|
||||
# might be a simple name or a fully-qualified name.
|
||||
# Corresponds to the JSON property `file`
|
||||
# @return [String]
|
||||
attr_accessor :file
|
||||
|
||||
# Optional. Human-readable name of the function or method being invoked, with
|
||||
# optional context such as the class or package name. This information may be
|
||||
# used in contexts such as the logs viewer, where a file and line number are
|
||||
# less meaningful. The format can vary by language. For example:
|
||||
# `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
||||
# (Python).
|
||||
# Corresponds to the JSON property `function`
|
||||
# @return [String]
|
||||
attr_accessor :function
|
||||
|
||||
# Optional. Line within the source file. 1-based; 0 indicates no line number
|
||||
# available.
|
||||
# Corresponds to the JSON property `line`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :line
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@file = args[:file] if args.key?(:file)
|
||||
@function = args[:function] if args.key?(:function)
|
||||
@line = args[:line] if args.key?(:line)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a single metric value.
|
||||
class MetricValue
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -1458,8 +1504,8 @@ module Google
|
|||
|
||||
# This message defines attributes for a node that handles a network request.
|
||||
# The node can be either a service or an application that sends, forwards,
|
||||
# or receives the request. Service peers should fill in the `service`,
|
||||
# `principal`, and `labels` as appropriate.
|
||||
# or receives the request. Service peers should fill in
|
||||
# `principal` and `labels` as appropriate.
|
||||
class Peer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -1492,12 +1538,6 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :region_code
|
||||
|
||||
# The canonical service name of the peer.
|
||||
# NOTE: different systems may have different service naming schemes.
|
||||
# Corresponds to the JSON property `service`
|
||||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1509,7 +1549,6 @@ module Google
|
|||
@port = args[:port] if args.key?(:port)
|
||||
@principal = args[:principal] if args.key?(:principal)
|
||||
@region_code = args[:region_code] if args.key?(:region_code)
|
||||
@service = args[:service] if args.key?(:service)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1848,11 +1887,6 @@ module Google
|
|||
# @return [Google::Apis::ServicecontrolV1::Auth]
|
||||
attr_accessor :auth
|
||||
|
||||
# The HTTP URL fragment. No URL decoding is performed.
|
||||
# Corresponds to the JSON property `fragment`
|
||||
# @return [String]
|
||||
attr_accessor :fragment
|
||||
|
||||
# The HTTP request headers. If multiple headers share the same key, they
|
||||
# must be merged according to the HTTP spec. All header keys must be
|
||||
# lowercased, because HTTP header keys are case-insensitive.
|
||||
|
@ -1926,7 +1960,6 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@auth = args[:auth] if args.key?(:auth)
|
||||
@fragment = args[:fragment] if args.key?(:fragment)
|
||||
@headers = args[:headers] if args.key?(:headers)
|
||||
@host = args[:host] if args.key?(:host)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
|
@ -1985,8 +2018,8 @@ module Google
|
|||
|
||||
# This message defines attributes for a node that handles a network request.
|
||||
# The node can be either a service or an application that sends, forwards,
|
||||
# or receives the request. Service peers should fill in the `service`,
|
||||
# `principal`, and `labels` as appropriate.
|
||||
# or receives the request. Service peers should fill in
|
||||
# `principal` and `labels` as appropriate.
|
||||
# Corresponds to the JSON property `destinationAttributes`
|
||||
# @return [Google::Apis::ServicecontrolV1::Peer]
|
||||
attr_accessor :destination_attributes
|
||||
|
@ -2045,8 +2078,9 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :service
|
||||
|
||||
# The type of the resource. The scheme is platform-specific because
|
||||
# The type of the resource. The syntax is platform-specific because
|
||||
# different platforms define their resources differently.
|
||||
# For Google APIs, the type format must be "`service`/`kind`".
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
|
|
@ -148,6 +148,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class LogEntrySourceLocation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MetricValue
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -513,6 +519,8 @@ module Google
|
|||
|
||||
hash :proto_payload, as: 'protoPayload'
|
||||
property :severity, as: 'severity'
|
||||
property :source_location, as: 'sourceLocation', class: Google::Apis::ServicecontrolV1::LogEntrySourceLocation, decorator: Google::Apis::ServicecontrolV1::LogEntrySourceLocation::Representation
|
||||
|
||||
hash :struct_payload, as: 'structPayload'
|
||||
property :text_payload, as: 'textPayload'
|
||||
property :timestamp, as: 'timestamp'
|
||||
|
@ -530,6 +538,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class LogEntrySourceLocation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :file, as: 'file'
|
||||
property :function, as: 'function'
|
||||
property :line, :numeric_string => true, as: 'line'
|
||||
end
|
||||
end
|
||||
|
||||
class MetricValue
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -596,7 +613,6 @@ module Google
|
|||
property :port, :numeric_string => true, as: 'port'
|
||||
property :principal, as: 'principal'
|
||||
property :region_code, as: 'regionCode'
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -683,7 +699,6 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auth, as: 'auth', class: Google::Apis::ServicecontrolV1::Auth, decorator: Google::Apis::ServicecontrolV1::Auth::Representation
|
||||
|
||||
property :fragment, as: 'fragment'
|
||||
hash :headers, as: 'headers'
|
||||
property :host, as: 'host'
|
||||
property :id, as: 'id'
|
||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
|||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190730'
|
||||
REVISION = '20190805'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1659,7 +1659,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The policy format version to be returned.
|
||||
# Acceptable values are 0 and 1.
|
||||
# Acceptable values are 0, 1, and 3.
|
||||
# If the value is 0, or the field is omitted, policy format version 1 will be
|
||||
# returned.
|
||||
# Corresponds to the JSON property `requestedPolicyVersion`
|
||||
|
|
Loading…
Reference in New Issue