Autogenerated update (2020-02-19)
Update: - adexchangebuyer2_v2beta1 - alertcenter_v1beta1 - billingbudgets_v1beta1 - datacatalog_v1beta1 - docs_v1 - firebase_v1beta1 - indexing_v3 - serviceconsumermanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - slides_v1 - tagmanager_v1 - tagmanager_v2 - testing_v1 - toolresults_v1
This commit is contained in:
parent
2163e83ac4
commit
fd69a301d2
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
||||||
module Adexchangebuyer2V2beta1
|
module Adexchangebuyer2V2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20200212'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# Manage your Ad Exchange buyer account configuration
|
# Manage your Ad Exchange buyer account configuration
|
||||||
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/admin-sdk/alertcenter/
|
# @see https://developers.google.com/admin-sdk/alertcenter/
|
||||||
module AlertcenterV1beta1
|
module AlertcenterV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200208'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# See and delete your domain's G Suite alerts, and send alert feedback
|
# See and delete your domain's G Suite alerts, and send alert feedback
|
||||||
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
|
||||||
|
|
|
@ -782,6 +782,70 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A Drive file
|
||||||
|
class DriveFile
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Abuse type of the file.
|
||||||
|
# Corresponds to the JSON property `abuseType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :abuse_type
|
||||||
|
|
||||||
|
# The ID of the file.
|
||||||
|
# Corresponds to the JSON property `id`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :id
|
||||||
|
|
||||||
|
# The name of the file.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# The number of recent downloads of the file. This is available for the
|
||||||
|
# following alert types:
|
||||||
|
# *Drive malware sharing detected
|
||||||
|
# Corresponds to the JSON property `numRecentDownload`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :num_recent_download
|
||||||
|
|
||||||
|
# The email address of the file owner.
|
||||||
|
# Corresponds to the JSON property `owner`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :owner
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@abuse_type = args[:abuse_type] if args.key?(:abuse_type)
|
||||||
|
@id = args[:id] if args.key?(:id)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@num_recent_download = args[:num_recent_download] if args.key?(:num_recent_download)
|
||||||
|
@owner = args[:owner] if args.key?(:owner)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Alerts for suspicious Drive files or activities.
|
||||||
|
class DriveFileWarning
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# List of files in the alert.
|
||||||
|
# Corresponds to the JSON property `files`
|
||||||
|
# @return [Array<Google::Apis::AlertcenterV1beta1::DriveFile>]
|
||||||
|
attr_accessor :files
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@files = args[:files] if args.key?(:files)
|
||||||
|
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:
|
||||||
|
|
|
@ -142,6 +142,18 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DriveFile
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class DriveFileWarning
|
||||||
|
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
|
||||||
|
|
||||||
|
@ -490,6 +502,25 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class DriveFile
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :abuse_type, as: 'abuseType'
|
||||||
|
property :id, as: 'id'
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :num_recent_download, :numeric_string => true, as: 'numRecentDownload'
|
||||||
|
property :owner, as: 'owner'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class DriveFileWarning
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
collection :files, as: 'files', class: Google::Apis::AlertcenterV1beta1::DriveFile, decorator: Google::Apis::AlertcenterV1beta1::DriveFile::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class Empty
|
class Empty
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
|
# @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
|
||||||
module BillingbudgetsV1beta1
|
module BillingbudgetsV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20191118'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/cloudtrace_v2beta1/service.rb'
|
||||||
|
require 'google/apis/cloudtrace_v2beta1/classes.rb'
|
||||||
|
require 'google/apis/cloudtrace_v2beta1/representations.rb'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
# Stackdriver Trace API
|
||||||
|
#
|
||||||
|
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||||
|
# collected for all App Engine applications by default. Trace data from other
|
||||||
|
# applications can be provided using this API. This library is used to interact
|
||||||
|
# with the Trace API directly. If you are looking to instrument your application
|
||||||
|
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||||
|
#
|
||||||
|
# @see https://cloud.google.com/trace
|
||||||
|
module CloudtraceV2beta1
|
||||||
|
VERSION = 'V2beta1'
|
||||||
|
REVISION = '20200212'
|
||||||
|
|
||||||
|
# View and manage your data across Google Cloud Platform services
|
||||||
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
||||||
|
# Write Trace data for a project or application
|
||||||
|
AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append'
|
||||||
|
|
||||||
|
# Read Trace data for a project or application
|
||||||
|
AUTH_TRACE_READONLY = 'https://www.googleapis.com/auth/trace.readonly'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,144 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'date'
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module CloudtraceV2beta1
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# or the response type of an API method. For instance:
|
||||||
|
# service Foo `
|
||||||
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
||||||
|
# `
|
||||||
|
# The JSON representation for `Empty` is empty JSON object ````.
|
||||||
|
class Empty
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Result returned from `ListTraceSinks`.
|
||||||
|
class ListTraceSinksResponse
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# If there might be more results than appear in this response, then
|
||||||
|
# `nextPageToken` is included. To get the next set of results, call the same
|
||||||
|
# method again using the value of `nextPageToken` as `pageToken`.
|
||||||
|
# Corresponds to the JSON property `nextPageToken`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :next_page_token
|
||||||
|
|
||||||
|
# A list of sinks.
|
||||||
|
# Corresponds to the JSON property `sinks`
|
||||||
|
# @return [Array<Google::Apis::CloudtraceV2beta1::TraceSink>]
|
||||||
|
attr_accessor :sinks
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||||
|
@sinks = args[:sinks] if args.key?(:sinks)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# OutputConfig contains a destination for writing trace data.
|
||||||
|
class OutputConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The destination for writing trace data. Currently only BigQuery is
|
||||||
|
# supported. E.g.:
|
||||||
|
# "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
||||||
|
# Corresponds to the JSON property `destination`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :destination
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@destination = args[:destination] if args.key?(:destination)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Describes a sink used to export traces to a BigQuery dataset. The sink must
|
||||||
|
# be created within a project.
|
||||||
|
class TraceSink
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Required. The canonical sink resource name, unique within the project. Must be
|
||||||
|
# of the
|
||||||
|
# form:
|
||||||
|
# project/[PROJECT_NUMBER]/traceSinks/[SINK_ID].
|
||||||
|
# E.g.:
|
||||||
|
# `"projects/12345/traceSinks/my-project-trace-sink"`.
|
||||||
|
# Sink identifiers are limited to 256 characters and can include only the
|
||||||
|
# following characters: upper and lower-case alphanumeric characters,
|
||||||
|
# underscores, hyphens, and periods.
|
||||||
|
# Corresponds to the JSON property `name`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :name
|
||||||
|
|
||||||
|
# OutputConfig contains a destination for writing trace data.
|
||||||
|
# Corresponds to the JSON property `outputConfig`
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::OutputConfig]
|
||||||
|
attr_accessor :output_config
|
||||||
|
|
||||||
|
# Output only. A service account name for exporting the data. This field is
|
||||||
|
# set by sinks.create and sinks.update. The service account will need to be
|
||||||
|
# granted write access to the destination specified in the output
|
||||||
|
# configuration, see [Granting access for a
|
||||||
|
# resource](/iam/docs/granting-roles-to-service-accounts#
|
||||||
|
# granting_access_to_a_service_account_for_a_resource).
|
||||||
|
# To create tables and write data this account will need the dataEditor role.
|
||||||
|
# Read more about roles in the [BigQuery
|
||||||
|
# documentation](https://cloud.google.com/bigquery/docs/access-control#
|
||||||
|
# permissions_and_roles).
|
||||||
|
# E.g.:
|
||||||
|
# "service-00000001@00000002.iam.gserviceaccount.com"
|
||||||
|
# Corresponds to the JSON property `writerIdentity`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :writer_identity
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@name = args[:name] if args.key?(:name)
|
||||||
|
@output_config = args[:output_config] if args.key?(:output_config)
|
||||||
|
@writer_identity = args[:writer_identity] if args.key?(:writer_identity)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,82 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'date'
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module CloudtraceV2beta1
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListTraceSinksResponse
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class OutputConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class TraceSink
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
|
class Empty
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class ListTraceSinksResponse
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :next_page_token, as: 'nextPageToken'
|
||||||
|
collection :sinks, as: 'sinks', class: Google::Apis::CloudtraceV2beta1::TraceSink, decorator: Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class OutputConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :destination, as: 'destination'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
class TraceSink
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :name, as: 'name'
|
||||||
|
property :output_config, as: 'outputConfig', class: Google::Apis::CloudtraceV2beta1::OutputConfig, decorator: Google::Apis::CloudtraceV2beta1::OutputConfig::Representation
|
||||||
|
|
||||||
|
property :writer_identity, as: 'writerIdentity'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,258 @@
|
||||||
|
# Copyright 2015 Google Inc.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
require 'google/apis/core/base_service'
|
||||||
|
require 'google/apis/core/json_representation'
|
||||||
|
require 'google/apis/core/hashable'
|
||||||
|
require 'google/apis/errors'
|
||||||
|
|
||||||
|
module Google
|
||||||
|
module Apis
|
||||||
|
module CloudtraceV2beta1
|
||||||
|
# Stackdriver Trace API
|
||||||
|
#
|
||||||
|
# Sends application trace data to Stackdriver Trace for viewing. Trace data is
|
||||||
|
# collected for all App Engine applications by default. Trace data from other
|
||||||
|
# applications can be provided using this API. This library is used to interact
|
||||||
|
# with the Trace API directly. If you are looking to instrument your application
|
||||||
|
# for Stackdriver Trace, we recommend using OpenCensus.
|
||||||
|
#
|
||||||
|
# @example
|
||||||
|
# require 'google/apis/cloudtrace_v2beta1'
|
||||||
|
#
|
||||||
|
# Cloudtrace = Google::Apis::CloudtraceV2beta1 # Alias the module
|
||||||
|
# service = Cloudtrace::CloudTraceService.new
|
||||||
|
#
|
||||||
|
# @see https://cloud.google.com/trace
|
||||||
|
class CloudTraceService < Google::Apis::Core::BaseService
|
||||||
|
# @return [String]
|
||||||
|
# API key. Your API key identifies your project and provides you with API access,
|
||||||
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||||
|
attr_accessor :key
|
||||||
|
|
||||||
|
# @return [String]
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
attr_accessor :quota_user
|
||||||
|
|
||||||
|
def initialize
|
||||||
|
super('https://cloudtrace.googleapis.com/', '')
|
||||||
|
@batch_path = 'batch'
|
||||||
|
end
|
||||||
|
|
||||||
|
# Creates a sink that exports trace spans to a destination. The
|
||||||
|
# export of newly-ingested traces begins immediately, unless the sink's
|
||||||
|
# `writer_identity` is not permitted to write to the destination. A sink can
|
||||||
|
# export traces only from the resource owning the sink (the 'parent').
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The resource in which to create the sink (currently only project
|
||||||
|
# sinks are supported):
|
||||||
|
# "projects/[PROJECT_ID]"
|
||||||
|
# Examples: `"projects/my-trace-project"`, `"projects/123456789"`.
|
||||||
|
# @param [Google::Apis::CloudtraceV2beta1::TraceSink] trace_sink_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtraceV2beta1::TraceSink] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::TraceSink]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def create_project_trace_sink(parent, trace_sink_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v2beta1/{+parent}/traceSinks', options)
|
||||||
|
command.request_representation = Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
command.request_object = trace_sink_object
|
||||||
|
command.response_representation = Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtraceV2beta1::TraceSink
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes a sink.
|
||||||
|
# @param [String] name
|
||||||
|
# Required. The full resource name of the sink to delete, including the
|
||||||
|
# parent resource and the sink identifier:
|
||||||
|
# "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]"
|
||||||
|
# Example: `"projects/12345/traceSinks/my-sink-id"`.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtraceV2beta1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::Empty]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_project_trace_sink(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudtraceV2beta1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtraceV2beta1::Empty
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Get a trace sink by name under the parent resource (GCP project).
|
||||||
|
# @param [String] name
|
||||||
|
# Required. The resource name of the sink:
|
||||||
|
# "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]"
|
||||||
|
# Example: `"projects/12345/traceSinks/my-sink-id"`.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtraceV2beta1::TraceSink] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::TraceSink]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def get_project_trace_sink(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtraceV2beta1::TraceSink
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# List all sinks for the parent resource (GCP project).
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The parent resource whose sinks are to be listed (currently only
|
||||||
|
# project parent resources are supported):
|
||||||
|
# "projects/[PROJECT_ID]"
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# Optional. The maximum number of results to return from this request.
|
||||||
|
# Non-positive values are ignored. The presence of `nextPageToken` in the
|
||||||
|
# response indicates that more results might be available.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Optional. If present, then retrieve the next batch of results from the
|
||||||
|
# preceding call to this method. `pageToken` must be the value of
|
||||||
|
# `nextPageToken` from the previous response. The values of other method
|
||||||
|
# parameters should be identical to those in the previous call.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_project_trace_sinks(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v2beta1/{+parent}/traceSinks', options)
|
||||||
|
command.response_representation = Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates a sink. This method updates fields in the existing sink according
|
||||||
|
# to the provided update mask. The sink's name cannot be changed nor any
|
||||||
|
# output-only fields (e.g. the writer_identity).
|
||||||
|
# @param [String] name
|
||||||
|
# Required. The full resource name of the sink to update, including the
|
||||||
|
# parent resource and the sink identifier:
|
||||||
|
# "projects/[PROJECT_NUMBER]/traceSinks/[SINK_ID]"
|
||||||
|
# Example: `"projects/12345/traceSinks/my-sink-id"`.
|
||||||
|
# @param [Google::Apis::CloudtraceV2beta1::TraceSink] trace_sink_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# Required. Field mask that specifies the fields in `trace_sink` that are to
|
||||||
|
# be updated. A sink field is overwritten if, and only if, it is
|
||||||
|
# in the update mask. `name` and `writer_identity` fields cannot be updated.
|
||||||
|
# An empty updateMask is considered an error.
|
||||||
|
# For a detailed `FieldMask` definition, see
|
||||||
|
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
||||||
|
# fieldmask
|
||||||
|
# Example: `updateMask=output_config`.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::CloudtraceV2beta1::TraceSink] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::CloudtraceV2beta1::TraceSink]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def patch_project_trace_sink(name, trace_sink_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
command.request_object = trace_sink_object
|
||||||
|
command.response_representation = Google::Apis::CloudtraceV2beta1::TraceSink::Representation
|
||||||
|
command.response_class = Google::Apis::CloudtraceV2beta1::TraceSink
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
protected
|
||||||
|
|
||||||
|
def apply_command_defaults(command)
|
||||||
|
command.query['key'] = key unless key.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/data-catalog/docs/
|
# @see https://cloud.google.com/data-catalog/docs/
|
||||||
module DatacatalogV1beta1
|
module DatacatalogV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200206'
|
REVISION = '20200211'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -351,9 +351,10 @@ module Google
|
||||||
|
|
||||||
# Entry Metadata.
|
# Entry Metadata.
|
||||||
# A Data Catalog Entry resource represents another resource in Google
|
# A Data Catalog Entry resource represents another resource in Google
|
||||||
# Cloud Platform, such as a BigQuery dataset or a Cloud Pub/Sub topic.
|
# Cloud Platform (such as a BigQuery dataset or a Cloud Pub/Sub topic), or
|
||||||
# Clients can use the `linked_resource` field in the Entry resource to refer to
|
# outside of Google Cloud Platform. Clients can use the `linked_resource` field
|
||||||
# the original resource ID of the source system.
|
# in the Entry resource to refer to the original resource ID of the source
|
||||||
|
# system.
|
||||||
# An Entry resource contains resource details, such as its schema. An Entry can
|
# An Entry resource contains resource details, such as its schema. An Entry can
|
||||||
# also be used to attach flexible metadata, such as a
|
# also be used to attach flexible metadata, such as a
|
||||||
# Tag.
|
# Tag.
|
||||||
|
|
|
@ -139,12 +139,11 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Creates an EntryGroup.
|
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
|
||||||
# the `parent` parameter (see [Data Catalog Resource Project]
|
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
|
||||||
# A maximum of 10,000 entry groups may be created per organization across all
|
# A maximum of 10,000 entry groups may be created per organization across all
|
||||||
# locations.
|
# locations.
|
||||||
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
||||||
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the project this entry group is in. Example:
|
# Required. The name of the project this entry group is in. Example:
|
||||||
# * projects/`project_id`/locations/`location`
|
# * projects/`project_id`/locations/`location`
|
||||||
|
@ -186,7 +185,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
# Deletes an EntryGroup. Only entry groups that do not contain entries can be
|
||||||
# deleted. The user should enable the Data Catalog API in the project
|
# deleted. Users should enable the Data Catalog API in the project
|
||||||
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -484,7 +483,7 @@ module Google
|
||||||
|
|
||||||
# Creates an entry. Only entries of 'FILESET' type or user-specified type can
|
# Creates an entry. Only entries of 'FILESET' type or user-specified type can
|
||||||
# be created.
|
# be created.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `parent` parameter (see [Data Catalog Resource Project]
|
# the `parent` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# A maximum of 100,000 entries may be created per entry group.
|
# A maximum of 100,000 entries may be created per entry group.
|
||||||
|
@ -529,7 +528,7 @@ module Google
|
||||||
# Deletes an existing entry. Only entries created through
|
# Deletes an existing entry. Only entries created through
|
||||||
# CreateEntry
|
# CreateEntry
|
||||||
# method can be deleted.
|
# method can be deleted.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `name` parameter (see [Data Catalog Resource Project]
|
# the `name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -568,10 +567,6 @@ module Google
|
||||||
# Required. The name of the entry. Example:
|
# Required. The name of the entry. Example:
|
||||||
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
||||||
# entries/`entry_id`
|
# entries/`entry_id`
|
||||||
# Entry groups are logical groupings of entries. Currently, users cannot
|
|
||||||
# create/modify entry groups. They are created by Data Catalog; they include
|
|
||||||
# `@bigquery` for all BigQuery entries, and `@pubsub` for all Cloud Pub/Sub
|
|
||||||
# entries.
|
|
||||||
# @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
|
||||||
|
@ -694,7 +689,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates an existing entry.
|
# Updates an existing entry.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
# the `entry.name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -716,6 +711,14 @@ module Google
|
||||||
# * `description`
|
# * `description`
|
||||||
# * `gcs_fileset_spec`
|
# * `gcs_fileset_spec`
|
||||||
# * `gcs_fileset_spec.file_patterns`
|
# * `gcs_fileset_spec.file_patterns`
|
||||||
|
# * For entries with `user_specified_type`
|
||||||
|
# * `schema`
|
||||||
|
# * `display_name`
|
||||||
|
# * `description`
|
||||||
|
# * user_specified_type
|
||||||
|
# * user_specified_system
|
||||||
|
# * linked_resource
|
||||||
|
# * source_system_timestamps
|
||||||
# @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
|
||||||
|
@ -873,7 +876,13 @@ module Google
|
||||||
# Lists the tags on an Entry.
|
# Lists the tags on an Entry.
|
||||||
# @param [String] parent
|
# @param [String] parent
|
||||||
# Required. The name of the Data Catalog resource to list the tags of. The
|
# Required. The name of the Data Catalog resource to list the tags of. The
|
||||||
# resource could be an Entry.
|
# resource
|
||||||
|
# could be an Entry or an
|
||||||
|
# EntryGroup.
|
||||||
|
# Examples:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
||||||
|
# entries/`entry_id`
|
||||||
# @param [Fixnum] page_size
|
# @param [Fixnum] page_size
|
||||||
# The maximum number of tags to return. Default is 10. Max limit is 1000.
|
# The maximum number of tags to return. Default is 10. Max limit is 1000.
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
|
@ -949,6 +958,170 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Creates a tag on an Entry.
|
||||||
|
# Note: The project identified by the `parent` parameter for the
|
||||||
|
# [tag](/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.
|
||||||
|
# entries.tags/create#path-parameters)
|
||||||
|
# and the
|
||||||
|
# [tag
|
||||||
|
# template](/data-catalog/docs/reference/rest/v1beta1/projects.locations.
|
||||||
|
# tagTemplates/create#path-parameters)
|
||||||
|
# used to create the tag must be from the same organization.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The name of the resource to attach this tag to. Tags can be attached
|
||||||
|
# to
|
||||||
|
# Entries. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
||||||
|
# entries/`entry_id`
|
||||||
|
# Note that this Tag and its child resources may not actually be stored in
|
||||||
|
# the location in this name.
|
||||||
|
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def create_project_location_entry_group_tag(parent, google_cloud_datacatalog_v1beta1_tag_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:post, 'v1beta1/{+parent}/tags', options)
|
||||||
|
command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
|
||||||
|
command.request_object = google_cloud_datacatalog_v1beta1_tag_object
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Deletes a tag.
|
||||||
|
# @param [String] name
|
||||||
|
# Required. The name of the tag to delete. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
||||||
|
# entries/`entry_id`/tags/`tag_id`
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::Empty] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::Empty]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def delete_project_location_entry_group_tag(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::Empty::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::Empty
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Lists the tags on an Entry.
|
||||||
|
# @param [String] parent
|
||||||
|
# Required. The name of the Data Catalog resource to list the tags of. The
|
||||||
|
# resource
|
||||||
|
# could be an Entry or an
|
||||||
|
# EntryGroup.
|
||||||
|
# Examples:
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`
|
||||||
|
# * projects/`project_id`/locations/`location`/entryGroups/`entry_group_id`/
|
||||||
|
# entries/`entry_id`
|
||||||
|
# @param [Fixnum] page_size
|
||||||
|
# The maximum number of tags to return. Default is 10. Max limit is 1000.
|
||||||
|
# @param [String] page_token
|
||||||
|
# Token that specifies which page is requested. If empty, the first page is
|
||||||
|
# returned.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def list_project_location_entry_group_tags(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:get, 'v1beta1/{+parent}/tags', options)
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1ListTagsResponse
|
||||||
|
command.params['parent'] = parent unless parent.nil?
|
||||||
|
command.query['pageSize'] = page_size unless page_size.nil?
|
||||||
|
command.query['pageToken'] = page_token unless page_token.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Updates an existing tag.
|
||||||
|
# @param [String] name
|
||||||
|
# The resource name of the tag in URL format. Example:
|
||||||
|
# * projects/`project_id`/locations/`location`/entrygroups/`entry_group_id`/
|
||||||
|
# entries/`entry_id`/tags/`tag_id`
|
||||||
|
# where `tag_id` is a system-generated identifier.
|
||||||
|
# Note that this Tag may not actually be stored in the location in this name.
|
||||||
|
# @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] google_cloud_datacatalog_v1beta1_tag_object
|
||||||
|
# @param [String] update_mask
|
||||||
|
# The fields to update on the Tag. If absent or empty, all modifiable fields
|
||||||
|
# are updated. Currently the only modifiable field is the field `fields`.
|
||||||
|
# @param [String] fields
|
||||||
|
# Selector specifying which fields to include in a partial response.
|
||||||
|
# @param [String] quota_user
|
||||||
|
# Available to use for quota purposes for server-side applications. Can be any
|
||||||
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||||
|
# @param [Google::Apis::RequestOptions] options
|
||||||
|
# Request-specific options
|
||||||
|
#
|
||||||
|
# @yield [result, err] Result & error if block supplied
|
||||||
|
# @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag] parsed result object
|
||||||
|
# @yieldparam err [StandardError] error object if request failed
|
||||||
|
#
|
||||||
|
# @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag]
|
||||||
|
#
|
||||||
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||||
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||||
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||||
|
def patch_project_location_entry_group_tag(name, google_cloud_datacatalog_v1beta1_tag_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||||
|
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
||||||
|
command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
|
||||||
|
command.request_object = google_cloud_datacatalog_v1beta1_tag_object
|
||||||
|
command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag::Representation
|
||||||
|
command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1Tag
|
||||||
|
command.params['name'] = name unless name.nil?
|
||||||
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
||||||
|
command.query['fields'] = fields unless fields.nil?
|
||||||
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||||
|
execute_or_queue_command(command, &block)
|
||||||
|
end
|
||||||
|
|
||||||
# Creates a tag template. The user should enable the Data Catalog API in
|
# Creates a tag template. The user should enable the Data Catalog API in
|
||||||
# the project identified by the `parent` parameter (see [Data Catalog
|
# the project identified by the `parent` parameter (see [Data Catalog
|
||||||
# Resource Project](/data-catalog/docs/concepts/resource-project) for more
|
# Resource Project](/data-catalog/docs/concepts/resource-project) for more
|
||||||
|
@ -993,7 +1166,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a tag template and all tags using the template.
|
# Deletes a tag template and all tags using the template.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `name` parameter (see [Data Catalog Resource Project]
|
# the `name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -1113,7 +1286,7 @@ module Google
|
||||||
# Updates a tag template. This method cannot be used to update the fields of
|
# Updates a tag template. This method cannot be used to update the fields of
|
||||||
# a template. The tag template fields are represented as separate resources
|
# a template. The tag template fields are represented as separate resources
|
||||||
# and should be updated using their own create/update/delete methods.
|
# and should be updated using their own create/update/delete methods.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `tag_template.name` parameter (see [Data Catalog Resource Project]
|
# the `tag_template.name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -1298,7 +1471,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deletes a field in a tag template and all uses of that field.
|
# Deletes a field in a tag template and all uses of that field.
|
||||||
# The user should enable the Data Catalog API in the project identified by
|
# Users should enable the Data Catalog API in the project identified by
|
||||||
# the `name` parameter (see [Data Catalog Resource Project]
|
# the `name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
@ -1338,7 +1511,7 @@ module Google
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates a field in a tag template. This method cannot be used to update the
|
# Updates a field in a tag template. This method cannot be used to update the
|
||||||
# field type. The user should enable the Data Catalog API in the project
|
# field type. Users should enable the Data Catalog API in the project
|
||||||
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
# identified by the `name` parameter (see [Data Catalog Resource Project]
|
||||||
# (/data-catalog/docs/concepts/resource-project) for more information).
|
# (/data-catalog/docs/concepts/resource-project) for more information).
|
||||||
# @param [String] name
|
# @param [String] name
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/docs/
|
# @see https://developers.google.com/docs/
|
||||||
module DocsV1
|
module DocsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200207'
|
REVISION = '20200213'
|
||||||
|
|
||||||
# View and manage your Google Docs documents
|
# View and manage your Google Docs documents
|
||||||
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://firebase.google.com
|
# @see https://firebase.google.com
|
||||||
module FirebaseV1beta1
|
module FirebaseV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200212'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/search/apis/indexing-api/
|
# @see https://developers.google.com/search/apis/indexing-api/
|
||||||
module IndexingV3
|
module IndexingV3
|
||||||
VERSION = 'V3'
|
VERSION = 'V3'
|
||||||
REVISION = '20181012'
|
REVISION = '20200214'
|
||||||
|
|
||||||
# Submit data to Google for indexing
|
# Submit data to Google for indexing
|
||||||
AUTH_INDEXING = 'https://www.googleapis.com/auth/indexing'
|
AUTH_INDEXING = 'https://www.googleapis.com/auth/indexing'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
||||||
module ServiceconsumermanagementV1
|
module ServiceconsumermanagementV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200214'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||||
module ServicenetworkingV1
|
module ServicenetworkingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200214'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -58,6 +58,14 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :ip_prefix_length
|
attr_accessor :ip_prefix_length
|
||||||
|
|
||||||
|
# Optional. The private IPv6 google access type for the VMs in this subnet.
|
||||||
|
# For information about the access types that can be set using this field,
|
||||||
|
# see [subnetwork](/compute/docs/reference/rest/v1/subnetworks)
|
||||||
|
# in the Compute API documentation.
|
||||||
|
# Corresponds to the JSON property `privateIpv6GoogleAccess`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :private_ipv6_google_access
|
||||||
|
|
||||||
# Required. The name of a [region](/compute/docs/regions-zones)
|
# Required. The name of a [region](/compute/docs/regions-zones)
|
||||||
# for the subnet, such `europe-west1`.
|
# for the subnet, such `europe-west1`.
|
||||||
# Corresponds to the JSON property `region`
|
# Corresponds to the JSON property `region`
|
||||||
|
@ -96,6 +104,7 @@ module Google
|
||||||
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
||||||
@description = args[:description] if args.key?(:description)
|
@description = args[:description] if args.key?(:description)
|
||||||
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
||||||
|
@private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access)
|
||||||
@region = args[:region] if args.key?(:region)
|
@region = args[:region] if args.key?(:region)
|
||||||
@requested_address = args[:requested_address] if args.key?(:requested_address)
|
@requested_address = args[:requested_address] if args.key?(:requested_address)
|
||||||
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
||||||
|
@ -2879,6 +2888,15 @@ module Google
|
||||||
# @return [Fixnum]
|
# @return [Fixnum]
|
||||||
attr_accessor :ip_prefix_length
|
attr_accessor :ip_prefix_length
|
||||||
|
|
||||||
|
# Optional. DO NOT USE - Under development.
|
||||||
|
# The size of the desired secondary ranges for the subnet. Use usual CIDR
|
||||||
|
# range notation. For example, '30' to find unused x.x.x.x/30 CIDR range. The
|
||||||
|
# goal is to determine that the allocated ranges have enough free space for
|
||||||
|
# all the requested secondary ranges.
|
||||||
|
# Corresponds to the JSON property `secondaryRangeIpPrefixLengths`
|
||||||
|
# @return [Array<Fixnum>]
|
||||||
|
attr_accessor :secondary_range_ip_prefix_lengths
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -2886,6 +2904,7 @@ module Google
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
@ip_prefix_length = args[:ip_prefix_length] if args.key?(:ip_prefix_length)
|
||||||
|
@secondary_range_ip_prefix_lengths = args[:secondary_range_ip_prefix_lengths] if args.key?(:secondary_range_ip_prefix_lengths)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -437,6 +437,7 @@ module Google
|
||||||
property :consumer_network, as: 'consumerNetwork'
|
property :consumer_network, as: 'consumerNetwork'
|
||||||
property :description, as: 'description'
|
property :description, as: 'description'
|
||||||
property :ip_prefix_length, as: 'ipPrefixLength'
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
||||||
|
property :private_ipv6_google_access, as: 'privateIpv6GoogleAccess'
|
||||||
property :region, as: 'region'
|
property :region, as: 'region'
|
||||||
property :requested_address, as: 'requestedAddress'
|
property :requested_address, as: 'requestedAddress'
|
||||||
property :subnetwork, as: 'subnetwork'
|
property :subnetwork, as: 'subnetwork'
|
||||||
|
@ -967,6 +968,7 @@ module Google
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
property :ip_prefix_length, as: 'ipPrefixLength'
|
property :ip_prefix_length, as: 'ipPrefixLength'
|
||||||
|
collection :secondary_range_ip_prefix_lengths, as: 'secondaryRangeIpPrefixLengths'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
||||||
module ServicenetworkingV1beta
|
module ServicenetworkingV1beta
|
||||||
VERSION = 'V1beta'
|
VERSION = 'V1beta'
|
||||||
REVISION = '20200214'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-usage/
|
# @see https://cloud.google.com/service-usage/
|
||||||
module ServiceusageV1
|
module ServiceusageV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200214'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -27,7 +27,7 @@ module Google
|
||||||
# @see https://cloud.google.com/service-usage/
|
# @see https://cloud.google.com/service-usage/
|
||||||
module ServiceusageV1beta1
|
module ServiceusageV1beta1
|
||||||
VERSION = 'V1beta1'
|
VERSION = 'V1beta1'
|
||||||
REVISION = '20200214'
|
REVISION = '20200215'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/slides/
|
# @see https://developers.google.com/slides/
|
||||||
module SlidesV1
|
module SlidesV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190826'
|
REVISION = '20200214'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/tag-manager
|
# @see https://developers.google.com/tag-manager
|
||||||
module TagmanagerV1
|
module TagmanagerV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200210'
|
REVISION = '20200213'
|
||||||
|
|
||||||
# Delete your Google Tag Manager containers
|
# Delete your Google Tag Manager containers
|
||||||
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/tag-manager
|
# @see https://developers.google.com/tag-manager
|
||||||
module TagmanagerV2
|
module TagmanagerV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20200210'
|
REVISION = '20200213'
|
||||||
|
|
||||||
# Delete your Google Tag Manager containers
|
# Delete your Google Tag Manager containers
|
||||||
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://developers.google.com/cloud-test-lab/
|
# @see https://developers.google.com/cloud-test-lab/
|
||||||
module TestingV1
|
module TestingV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20191203'
|
REVISION = '20200211'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1903,6 +1903,26 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
class SystraceSetup
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Systrace duration in seconds.
|
||||||
|
# Should be between 1 and 30 seconds. 0 disables systrace.
|
||||||
|
# Corresponds to the JSON property `durationSeconds`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :duration_seconds
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@duration_seconds = args[:duration_seconds] if args.key?(:duration_seconds)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Additional details about the progress of the running test.
|
# Additional details about the progress of the running test.
|
||||||
class TestDetails
|
class TestDetails
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -2182,6 +2202,14 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :network_profile
|
attr_accessor :network_profile
|
||||||
|
|
||||||
|
# Systrace configuration for the run.
|
||||||
|
# If set a systrace will be taken, starting on test start and lasting for the
|
||||||
|
# configured duration. The systrace file thus obtained is put in the results
|
||||||
|
# bucket together with the other artifacts from the run.
|
||||||
|
# Corresponds to the JSON property `systrace`
|
||||||
|
# @return [Google::Apis::TestingV1::SystraceSetup]
|
||||||
|
attr_accessor :systrace
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -2194,6 +2222,7 @@ module Google
|
||||||
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
||||||
@files_to_push = args[:files_to_push] if args.key?(:files_to_push)
|
@files_to_push = args[:files_to_push] if args.key?(:files_to_push)
|
||||||
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
||||||
|
@systrace = args[:systrace] if args.key?(:systrace)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -340,6 +340,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SystraceSetup
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class TestDetails
|
class TestDetails
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -955,6 +961,13 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class SystraceSetup
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :duration_seconds, as: 'durationSeconds'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class TestDetails
|
class TestDetails
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -1034,6 +1047,8 @@ module Google
|
||||||
collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation
|
collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation
|
||||||
|
|
||||||
property :network_profile, as: 'networkProfile'
|
property :network_profile, as: 'networkProfile'
|
||||||
|
property :systrace, as: 'systrace', class: Google::Apis::TestingV1::SystraceSetup, decorator: Google::Apis::TestingV1::SystraceSetup::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://firebase.google.com/docs/test-lab/
|
# @see https://firebase.google.com/docs/test-lab/
|
||||||
module ToolresultsV1
|
module ToolresultsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20200212'
|
REVISION = '20200217'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue