Autogenerated update (2019-02-06)
Update: - accesscontextmanager_v1beta - bigtableadmin_v2 - cloudsearch_v1 - discovery_v1 - docs_v1 - testing_v1
This commit is contained in:
parent
6fea5f0a32
commit
06127c2cba
|
@ -11524,6 +11524,77 @@
|
|||
"/bigquerydatatransfer:v1/fields": fields
|
||||
"/bigquerydatatransfer:v1/key": key
|
||||
"/bigquerydatatransfer:v1/quotaUser": quota_user
|
||||
"/bigtableadmin:v1/Cluster": cluster
|
||||
"/bigtableadmin:v1/Cluster/defaultStorageType": default_storage_type
|
||||
"/bigtableadmin:v1/Cluster/location": location
|
||||
"/bigtableadmin:v1/Cluster/name": name
|
||||
"/bigtableadmin:v1/Cluster/serveNodes": serve_nodes
|
||||
"/bigtableadmin:v1/Cluster/state": state
|
||||
"/bigtableadmin:v1/CreateClusterMetadata": create_cluster_metadata
|
||||
"/bigtableadmin:v1/CreateClusterMetadata/finishTime": finish_time
|
||||
"/bigtableadmin:v1/CreateClusterMetadata/originalRequest": original_request
|
||||
"/bigtableadmin:v1/CreateClusterMetadata/requestTime": request_time
|
||||
"/bigtableadmin:v1/CreateClusterMetadata/tables": tables
|
||||
"/bigtableadmin:v1/CreateClusterMetadata/tables/table": table
|
||||
"/bigtableadmin:v1/CreateClusterRequest": create_cluster_request
|
||||
"/bigtableadmin:v1/CreateClusterRequest/cluster": cluster
|
||||
"/bigtableadmin:v1/CreateClusterRequest/clusterId": cluster_id
|
||||
"/bigtableadmin:v1/CreateClusterRequest/parent": parent
|
||||
"/bigtableadmin:v1/CreateInstanceMetadata": create_instance_metadata
|
||||
"/bigtableadmin:v1/CreateInstanceMetadata/finishTime": finish_time
|
||||
"/bigtableadmin:v1/CreateInstanceMetadata/originalRequest": original_request
|
||||
"/bigtableadmin:v1/CreateInstanceMetadata/requestTime": request_time
|
||||
"/bigtableadmin:v1/CreateInstanceRequest": create_instance_request
|
||||
"/bigtableadmin:v1/CreateInstanceRequest/clusters": clusters
|
||||
"/bigtableadmin:v1/CreateInstanceRequest/clusters/cluster": cluster
|
||||
"/bigtableadmin:v1/CreateInstanceRequest/instance": instance
|
||||
"/bigtableadmin:v1/CreateInstanceRequest/instanceId": instance_id
|
||||
"/bigtableadmin:v1/CreateInstanceRequest/parent": parent
|
||||
"/bigtableadmin:v1/Instance": instance
|
||||
"/bigtableadmin:v1/Instance/displayName": display_name
|
||||
"/bigtableadmin:v1/Instance/labels": labels
|
||||
"/bigtableadmin:v1/Instance/labels/label": label
|
||||
"/bigtableadmin:v1/Instance/name": name
|
||||
"/bigtableadmin:v1/Instance/state": state
|
||||
"/bigtableadmin:v1/Instance/type": type
|
||||
"/bigtableadmin:v1/ListLocationsResponse": list_locations_response
|
||||
"/bigtableadmin:v1/ListLocationsResponse/locations": locations
|
||||
"/bigtableadmin:v1/ListLocationsResponse/locations/location": location
|
||||
"/bigtableadmin:v1/ListLocationsResponse/nextPageToken": next_page_token
|
||||
"/bigtableadmin:v1/Location": location
|
||||
"/bigtableadmin:v1/Location/displayName": display_name
|
||||
"/bigtableadmin:v1/Location/labels": labels
|
||||
"/bigtableadmin:v1/Location/labels/label": label
|
||||
"/bigtableadmin:v1/Location/locationId": location_id
|
||||
"/bigtableadmin:v1/Location/metadata": metadata
|
||||
"/bigtableadmin:v1/Location/metadata/metadatum": metadatum
|
||||
"/bigtableadmin:v1/Location/name": name
|
||||
"/bigtableadmin:v1/PartialUpdateInstanceRequest": partial_update_instance_request
|
||||
"/bigtableadmin:v1/PartialUpdateInstanceRequest/instance": instance
|
||||
"/bigtableadmin:v1/PartialUpdateInstanceRequest/updateMask": update_mask
|
||||
"/bigtableadmin:v1/TableProgress": table_progress
|
||||
"/bigtableadmin:v1/TableProgress/estimatedCopiedBytes": estimated_copied_bytes
|
||||
"/bigtableadmin:v1/TableProgress/estimatedSizeBytes": estimated_size_bytes
|
||||
"/bigtableadmin:v1/TableProgress/state": state
|
||||
"/bigtableadmin:v1/UpdateAppProfileMetadata": update_app_profile_metadata
|
||||
"/bigtableadmin:v1/UpdateClusterMetadata": update_cluster_metadata
|
||||
"/bigtableadmin:v1/UpdateClusterMetadata/finishTime": finish_time
|
||||
"/bigtableadmin:v1/UpdateClusterMetadata/originalRequest": original_request
|
||||
"/bigtableadmin:v1/UpdateClusterMetadata/requestTime": request_time
|
||||
"/bigtableadmin:v1/UpdateInstanceMetadata": update_instance_metadata
|
||||
"/bigtableadmin:v1/UpdateInstanceMetadata/finishTime": finish_time
|
||||
"/bigtableadmin:v1/UpdateInstanceMetadata/originalRequest": original_request
|
||||
"/bigtableadmin:v1/UpdateInstanceMetadata/requestTime": request_time
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.get": get_project_location
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.get/name": name
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.list": list_project_locations
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.list/filter": filter
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.list/name": name
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.list/pageSize": page_size
|
||||
"/bigtableadmin:v1/bigtableadmin.projects.locations.list/pageToken": page_token
|
||||
"/bigtableadmin:v1/fields": fields
|
||||
"/bigtableadmin:v1/key": key
|
||||
"/bigtableadmin:v1/quotaUser": quota_user
|
||||
"/bigtableadmin:v2/AppProfile": app_profile
|
||||
"/bigtableadmin:v2/AppProfile/description": description
|
||||
"/bigtableadmin:v2/AppProfile/etag": etag
|
||||
|
@ -98400,6 +98471,7 @@
|
|||
"/testing:v1/RoboStartingIntent": robo_starting_intent
|
||||
"/testing:v1/RoboStartingIntent/launcherActivity": launcher_activity
|
||||
"/testing:v1/RoboStartingIntent/startActivity": start_activity
|
||||
"/testing:v1/RoboStartingIntent/timeout": timeout
|
||||
"/testing:v1/StartActivityIntent": start_activity_intent
|
||||
"/testing:v1/StartActivityIntent/action": action
|
||||
"/testing:v1/StartActivityIntent/categories": categories
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/access-context-manager/docs/reference/rest/
|
||||
module AccesscontextmanagerV1beta
|
||||
VERSION = 'V1beta'
|
||||
REVISION = '20190121'
|
||||
REVISION = '20190204'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -186,14 +186,12 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :ip_subnetworks
|
||||
|
||||
# The signed-in user originating the request must be a part of one of the
|
||||
# provided members.
|
||||
# The request must be made by one of the provided user or service
|
||||
# accounts. Groups are not supported.
|
||||
# Syntax:
|
||||
# `user:`emailid``
|
||||
# `group:`emailid``
|
||||
# `serviceAccount:`emailid``
|
||||
# If not specified, a request may come from any user (logged in/not logged
|
||||
# in, not present in any groups, etc.).
|
||||
# If not specified, a request may come from any user.
|
||||
# Corresponds to the JSON property `members`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :members
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
# 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/bigtableadmin_v1/service.rb'
|
||||
require 'google/apis/bigtableadmin_v1/classes.rb'
|
||||
require 'google/apis/bigtableadmin_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Bigtable Admin API
|
||||
#
|
||||
#
|
||||
#
|
||||
# @see https://cloud.google.com/bigtable/
|
||||
module BigtableadminV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190115'
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,510 @@
|
|||
# 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 BigtableadminV1
|
||||
|
||||
# A resizable group of nodes in a particular cloud location, capable
|
||||
# of serving all Tables in the parent
|
||||
# Instance.
|
||||
class Cluster
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# (`CreationOnly`)
|
||||
# The type of storage used by this cluster to serve its
|
||||
# parent instance's tables, unless explicitly overridden.
|
||||
# Corresponds to the JSON property `defaultStorageType`
|
||||
# @return [String]
|
||||
attr_accessor :default_storage_type
|
||||
|
||||
# (`CreationOnly`)
|
||||
# The location where this cluster's nodes and storage reside. For best
|
||||
# performance, clients should be located as close as possible to this
|
||||
# cluster. Currently only zones are supported, so values should be of the
|
||||
# form `projects/<project>/locations/<zone>`.
|
||||
# Corresponds to the JSON property `location`
|
||||
# @return [String]
|
||||
attr_accessor :location
|
||||
|
||||
# (`OutputOnly`)
|
||||
# The unique name of the cluster. Values are of the form
|
||||
# `projects/<project>/instances/<instance>/clusters/a-z*`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The number of nodes allocated to this cluster. More nodes enable higher
|
||||
# throughput and more consistent performance.
|
||||
# Corresponds to the JSON property `serveNodes`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :serve_nodes
|
||||
|
||||
# (`OutputOnly`)
|
||||
# The current state of the cluster.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@default_storage_type = args[:default_storage_type] if args.key?(:default_storage_type)
|
||||
@location = args[:location] if args.key?(:location)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@serve_nodes = args[:serve_nodes] if args.key?(:serve_nodes)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata for the Operation returned by CreateCluster.
|
||||
class CreateClusterMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time at which the operation failed or was completed successfully.
|
||||
# Corresponds to the JSON property `finishTime`
|
||||
# @return [String]
|
||||
attr_accessor :finish_time
|
||||
|
||||
# Request message for BigtableInstanceAdmin.CreateCluster.
|
||||
# Corresponds to the JSON property `originalRequest`
|
||||
# @return [Google::Apis::BigtableadminV1::CreateClusterRequest]
|
||||
attr_accessor :original_request
|
||||
|
||||
# The time at which the original request was received.
|
||||
# Corresponds to the JSON property `requestTime`
|
||||
# @return [String]
|
||||
attr_accessor :request_time
|
||||
|
||||
# Keys: the full `name` of each table that existed in the instance when
|
||||
# CreateCluster was first called, i.e.
|
||||
# `projects/<project>/instances/<instance>/tables/<table>`. Any table added
|
||||
# to the instance by a later API call will be created in the new cluster by
|
||||
# that API call, not this one.
|
||||
# Values: information on how much of a table's data has been copied to the
|
||||
# newly-created cluster so far.
|
||||
# Corresponds to the JSON property `tables`
|
||||
# @return [Hash<String,Google::Apis::BigtableadminV1::TableProgress>]
|
||||
attr_accessor :tables
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||
@original_request = args[:original_request] if args.key?(:original_request)
|
||||
@request_time = args[:request_time] if args.key?(:request_time)
|
||||
@tables = args[:tables] if args.key?(:tables)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for BigtableInstanceAdmin.CreateCluster.
|
||||
class CreateClusterRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A resizable group of nodes in a particular cloud location, capable
|
||||
# of serving all Tables in the parent
|
||||
# Instance.
|
||||
# Corresponds to the JSON property `cluster`
|
||||
# @return [Google::Apis::BigtableadminV1::Cluster]
|
||||
attr_accessor :cluster
|
||||
|
||||
# The ID to be used when referring to the new cluster within its instance,
|
||||
# e.g., just `mycluster` rather than
|
||||
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
||||
# Corresponds to the JSON property `clusterId`
|
||||
# @return [String]
|
||||
attr_accessor :cluster_id
|
||||
|
||||
# The unique name of the instance in which to create the new cluster.
|
||||
# Values are of the form
|
||||
# `projects/<project>/instances/<instance>`.
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@cluster = args[:cluster] if args.key?(:cluster)
|
||||
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
||||
@parent = args[:parent] if args.key?(:parent)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata for the Operation returned by CreateInstance.
|
||||
class CreateInstanceMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time at which the operation failed or was completed successfully.
|
||||
# Corresponds to the JSON property `finishTime`
|
||||
# @return [String]
|
||||
attr_accessor :finish_time
|
||||
|
||||
# Request message for BigtableInstanceAdmin.CreateInstance.
|
||||
# Corresponds to the JSON property `originalRequest`
|
||||
# @return [Google::Apis::BigtableadminV1::CreateInstanceRequest]
|
||||
attr_accessor :original_request
|
||||
|
||||
# The time at which the original request was received.
|
||||
# Corresponds to the JSON property `requestTime`
|
||||
# @return [String]
|
||||
attr_accessor :request_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||
@original_request = args[:original_request] if args.key?(:original_request)
|
||||
@request_time = args[:request_time] if args.key?(:request_time)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for BigtableInstanceAdmin.CreateInstance.
|
||||
class CreateInstanceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The clusters to be created within the instance, mapped by desired
|
||||
# cluster ID, e.g., just `mycluster` rather than
|
||||
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
||||
# Fields marked `OutputOnly` must be left blank.
|
||||
# Currently, at most two clusters can be specified.
|
||||
# Corresponds to the JSON property `clusters`
|
||||
# @return [Hash<String,Google::Apis::BigtableadminV1::Cluster>]
|
||||
attr_accessor :clusters
|
||||
|
||||
# A collection of Bigtable Tables and
|
||||
# the resources that serve them.
|
||||
# All tables in an instance are served from all
|
||||
# Clusters in the instance.
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [Google::Apis::BigtableadminV1::Instance]
|
||||
attr_accessor :instance
|
||||
|
||||
# The ID to be used when referring to the new instance within its project,
|
||||
# e.g., just `myinstance` rather than
|
||||
# `projects/myproject/instances/myinstance`.
|
||||
# Corresponds to the JSON property `instanceId`
|
||||
# @return [String]
|
||||
attr_accessor :instance_id
|
||||
|
||||
# The unique name of the project in which to create the new instance.
|
||||
# Values are of the form `projects/<project>`.
|
||||
# Corresponds to the JSON property `parent`
|
||||
# @return [String]
|
||||
attr_accessor :parent
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@clusters = args[:clusters] if args.key?(:clusters)
|
||||
@instance = args[:instance] if args.key?(:instance)
|
||||
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
||||
@parent = args[:parent] if args.key?(:parent)
|
||||
end
|
||||
end
|
||||
|
||||
# A collection of Bigtable Tables and
|
||||
# the resources that serve them.
|
||||
# All tables in an instance are served from all
|
||||
# Clusters in the instance.
|
||||
class Instance
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The descriptive name for this instance as it appears in UIs.
|
||||
# Can be changed at any time, but should be kept globally unique
|
||||
# to avoid confusion.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Labels are a flexible and lightweight mechanism for organizing cloud
|
||||
# resources into groups that reflect a customer's organizational needs and
|
||||
# deployment strategies. They can be used to filter resources and aggregate
|
||||
# metrics.
|
||||
# * Label keys must be between 1 and 63 characters long and must conform to
|
||||
# the regular expression: `\p`Ll`\p`Lo``0,62``.
|
||||
# * Label values must be between 0 and 63 characters long and must conform to
|
||||
# the regular expression: `[\p`Ll`\p`Lo`\p`N`_-]`0,63``.
|
||||
# * No more than 64 labels can be associated with a given resource.
|
||||
# * Keys and values must both be under 128 bytes.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# (`OutputOnly`)
|
||||
# The unique name of the instance. Values are of the form
|
||||
# `projects/<project>/instances/a-z+[a-z0-9]`.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# (`OutputOnly`)
|
||||
# The current state of the instance.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
# The type of the instance. Defaults to `PRODUCTION`.
|
||||
# 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)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Locations.ListLocations.
|
||||
class ListLocationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A list of locations that matches the specified filter in the request.
|
||||
# Corresponds to the JSON property `locations`
|
||||
# @return [Array<Google::Apis::BigtableadminV1::Location>]
|
||||
attr_accessor :locations
|
||||
|
||||
# The standard List next-page token.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@locations = args[:locations] if args.key?(:locations)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# A resource that represents Google Cloud Platform location.
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The friendly name for this location, typically a nearby city name.
|
||||
# For example, "Tokyo".
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# Cross-service attributes for the location. For example
|
||||
# `"cloud.googleapis.com/region": "us-east1"`
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# The canonical id for this location. For example: `"us-east1"`.
|
||||
# Corresponds to the JSON property `locationId`
|
||||
# @return [String]
|
||||
attr_accessor :location_id
|
||||
|
||||
# Service-specific metadata. For example the available capacity at the given
|
||||
# location.
|
||||
# Corresponds to the JSON property `metadata`
|
||||
# @return [Hash<String,Object>]
|
||||
attr_accessor :metadata
|
||||
|
||||
# Resource name for the location, which may vary between implementations.
|
||||
# For example: `"projects/example-project/locations/us-east1"`
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@location_id = args[:location_id] if args.key?(:location_id)
|
||||
@metadata = args[:metadata] if args.key?(:metadata)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
||||
class PartialUpdateInstanceRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# A collection of Bigtable Tables and
|
||||
# the resources that serve them.
|
||||
# All tables in an instance are served from all
|
||||
# Clusters in the instance.
|
||||
# Corresponds to the JSON property `instance`
|
||||
# @return [Google::Apis::BigtableadminV1::Instance]
|
||||
attr_accessor :instance
|
||||
|
||||
# The subset of Instance fields which should be replaced.
|
||||
# Must be explicitly set.
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@instance = args[:instance] if args.key?(:instance)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
|
||||
# Progress info for copying a table's data to the new cluster.
|
||||
class TableProgress
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Estimate of the number of bytes copied so far for this table.
|
||||
# This will eventually reach 'estimated_size_bytes' unless the table copy
|
||||
# is CANCELLED.
|
||||
# Corresponds to the JSON property `estimatedCopiedBytes`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :estimated_copied_bytes
|
||||
|
||||
# Estimate of the size of the table to be copied.
|
||||
# Corresponds to the JSON property `estimatedSizeBytes`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :estimated_size_bytes
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@estimated_copied_bytes = args[:estimated_copied_bytes] if args.key?(:estimated_copied_bytes)
|
||||
@estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata for the Operation returned by UpdateAppProfile.
|
||||
class UpdateAppProfileMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata for the Operation returned by UpdateCluster.
|
||||
class UpdateClusterMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time at which the operation failed or was completed successfully.
|
||||
# Corresponds to the JSON property `finishTime`
|
||||
# @return [String]
|
||||
attr_accessor :finish_time
|
||||
|
||||
# A resizable group of nodes in a particular cloud location, capable
|
||||
# of serving all Tables in the parent
|
||||
# Instance.
|
||||
# Corresponds to the JSON property `originalRequest`
|
||||
# @return [Google::Apis::BigtableadminV1::Cluster]
|
||||
attr_accessor :original_request
|
||||
|
||||
# The time at which the original request was received.
|
||||
# Corresponds to the JSON property `requestTime`
|
||||
# @return [String]
|
||||
attr_accessor :request_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||
@original_request = args[:original_request] if args.key?(:original_request)
|
||||
@request_time = args[:request_time] if args.key?(:request_time)
|
||||
end
|
||||
end
|
||||
|
||||
# The metadata for the Operation returned by UpdateInstance.
|
||||
class UpdateInstanceMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The time at which the operation failed or was completed successfully.
|
||||
# Corresponds to the JSON property `finishTime`
|
||||
# @return [String]
|
||||
attr_accessor :finish_time
|
||||
|
||||
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
||||
# Corresponds to the JSON property `originalRequest`
|
||||
# @return [Google::Apis::BigtableadminV1::PartialUpdateInstanceRequest]
|
||||
attr_accessor :original_request
|
||||
|
||||
# The time at which the original request was received.
|
||||
# Corresponds to the JSON property `requestTime`
|
||||
# @return [String]
|
||||
attr_accessor :request_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
||||
@original_request = args[:original_request] if args.key?(:original_request)
|
||||
@request_time = args[:request_time] if args.key?(:request_time)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,234 @@
|
|||
# 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 BigtableadminV1
|
||||
|
||||
class Cluster
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateClusterMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateClusterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateInstanceMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateInstanceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Instance
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class PartialUpdateInstanceRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TableProgress
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateAppProfileMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateClusterMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateInstanceMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Cluster
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :default_storage_type, as: 'defaultStorageType'
|
||||
property :location, as: 'location'
|
||||
property :name, as: 'name'
|
||||
property :serve_nodes, as: 'serveNodes'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateClusterMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::CreateClusterRequest, decorator: Google::Apis::BigtableadminV1::CreateClusterRequest::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
hash :tables, as: 'tables', class: Google::Apis::BigtableadminV1::TableProgress, decorator: Google::Apis::BigtableadminV1::TableProgress::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CreateClusterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV1::Cluster, decorator: Google::Apis::BigtableadminV1::Cluster::Representation
|
||||
|
||||
property :cluster_id, as: 'clusterId'
|
||||
property :parent, as: 'parent'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateInstanceMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::CreateInstanceRequest, decorator: Google::Apis::BigtableadminV1::CreateInstanceRequest::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateInstanceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :clusters, as: 'clusters', class: Google::Apis::BigtableadminV1::Cluster, decorator: Google::Apis::BigtableadminV1::Cluster::Representation
|
||||
|
||||
property :instance, as: 'instance', class: Google::Apis::BigtableadminV1::Instance, decorator: Google::Apis::BigtableadminV1::Instance::Representation
|
||||
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :parent, as: 'parent'
|
||||
end
|
||||
end
|
||||
|
||||
class Instance
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :state, as: 'state'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :locations, as: 'locations', class: Google::Apis::BigtableadminV1::Location, decorator: Google::Apis::BigtableadminV1::Location::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
hash :labels, as: 'labels'
|
||||
property :location_id, as: 'locationId'
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class PartialUpdateInstanceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance, as: 'instance', class: Google::Apis::BigtableadminV1::Instance, decorator: Google::Apis::BigtableadminV1::Instance::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class TableProgress
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :estimated_copied_bytes, :numeric_string => true, as: 'estimatedCopiedBytes'
|
||||
property :estimated_size_bytes, :numeric_string => true, as: 'estimatedSizeBytes'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateAppProfileMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateClusterMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::Cluster, decorator: Google::Apis::BigtableadminV1::Cluster::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateInstanceMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV1::PartialUpdateInstanceRequest, decorator: Google::Apis::BigtableadminV1::PartialUpdateInstanceRequest::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,128 @@
|
|||
# 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 BigtableadminV1
|
||||
# Cloud Bigtable Admin API
|
||||
#
|
||||
#
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/bigtableadmin_v1'
|
||||
#
|
||||
# Bigtableadmin = Google::Apis::BigtableadminV1 # Alias the module
|
||||
# service = Bigtableadmin::BigtableAdminService.new
|
||||
#
|
||||
# @see https://cloud.google.com/bigtable/
|
||||
class BigtableAdminService < 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://bigtableadmin.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Gets information about a location.
|
||||
# @param [String] name
|
||||
# Resource name for the location.
|
||||
# @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::BigtableadminV1::Location] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigtableadminV1::Location]
|
||||
#
|
||||
# @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_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::BigtableadminV1::Location::Representation
|
||||
command.response_class = Google::Apis::BigtableadminV1::Location
|
||||
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 information about the supported locations for this service.
|
||||
# @param [String] name
|
||||
# The resource that owns the locations collection, if applicable.
|
||||
# @param [String] filter
|
||||
# The standard list filter.
|
||||
# @param [Fixnum] page_size
|
||||
# The standard list page size.
|
||||
# @param [String] page_token
|
||||
# The standard list page token.
|
||||
# @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::BigtableadminV1::ListLocationsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::BigtableadminV1::ListLocationsResponse]
|
||||
#
|
||||
# @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_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
||||
command.response_representation = Google::Apis::BigtableadminV1::ListLocationsResponse::Representation
|
||||
command.response_class = Google::Apis::BigtableadminV1::ListLocationsResponse
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['filter'] = filter unless filter.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
|
||||
|
||||
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
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigtable/
|
||||
module BigtableadminV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190106'
|
||||
REVISION = '20190115'
|
||||
|
||||
# Administer your Cloud Bigtable tables and clusters
|
||||
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
||||
|
|
|
@ -1505,7 +1505,7 @@ module Google
|
|||
# The granularity (i.e. `MILLIS`) at which timestamps are stored in
|
||||
# this table. Timestamps not matching the granularity will be rejected.
|
||||
# If unspecified at creation time, the value will be set to `MILLIS`.
|
||||
# Views: `SCHEMA_VIEW`, `FULL`
|
||||
# Views: `SCHEMA_VIEW`, `FULL`.
|
||||
# Corresponds to the JSON property `granularity`
|
||||
# @return [String]
|
||||
attr_accessor :granularity
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://gsuite.google.com/products/cloud-search/
|
||||
module CloudsearchV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190108'
|
||||
REVISION = '20190205'
|
||||
|
||||
# Index and serve your organization's data with Cloud Search
|
||||
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
||||
|
|
|
@ -207,7 +207,7 @@ module Google
|
|||
# source. The value must be unique across all data sources. The value must
|
||||
# only contain alphanumeric characters (a-zA-Z0-9). The value cannot start
|
||||
# with 'google' and cannot be one of the following: mail, gmail, docs, drive,
|
||||
# groups, sites, calendar, hangouts, gplus, keep.
|
||||
# groups, sites, calendar, hangouts, gplus, keep, people, teams.
|
||||
# Its maximum length is 32 characters.
|
||||
# Corresponds to the JSON property `shortName`
|
||||
# @return [String]
|
||||
|
|
|
@ -18,7 +18,7 @@ require 'google/apis/discovery_v1/representations.rb'
|
|||
|
||||
module Google
|
||||
module Apis
|
||||
# APIs Discovery Service
|
||||
# API Discovery Service
|
||||
#
|
||||
# Provides information about other Google APIs, such as what APIs are available,
|
||||
# the resource, and method details for each API.
|
||||
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/discovery/
|
||||
module DiscoveryV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180813'
|
||||
REVISION = '20190129'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|||
module Google
|
||||
module Apis
|
||||
module DiscoveryV1
|
||||
# APIs Discovery Service
|
||||
# API Discovery Service
|
||||
#
|
||||
# Provides information about other Google APIs, such as what APIs are available,
|
||||
# the resource, and method details for each API.
|
||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
|||
module Apis
|
||||
# Google Docs API
|
||||
#
|
||||
# An API for creating and editing Google Docs documents.
|
||||
# Reads and writes Google Docs documents.
|
||||
#
|
||||
# @see https://developers.google.com/docs/
|
||||
module DocsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190125'
|
||||
REVISION = '20190129'
|
||||
|
||||
# View and manage your Google Docs documents
|
||||
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
||||
|
|
|
@ -190,7 +190,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The contents of the body.
|
||||
# The indices for the body's content begin at zero.
|
||||
# The indexes for the body's content begin at zero.
|
||||
# Corresponds to the JSON property `content`
|
||||
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
||||
attr_accessor :content
|
||||
|
@ -1417,7 +1417,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The contents of the footer.
|
||||
# The indices for a footer's content begin at zero.
|
||||
# The indexes for a footer's content begin at zero.
|
||||
# Corresponds to the JSON property `content`
|
||||
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
||||
attr_accessor :content
|
||||
|
@ -1443,7 +1443,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The contents of the footnote.
|
||||
# The indices for a footnote's content begin at zero.
|
||||
# The indexes for a footnote's content begin at zero.
|
||||
# Corresponds to the JSON property `content`
|
||||
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
||||
attr_accessor :content
|
||||
|
@ -1539,7 +1539,7 @@ module Google
|
|||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The contents of the header.
|
||||
# The indices for a header's content begin at zero.
|
||||
# The indexes for a header's content begin at zero.
|
||||
# Corresponds to the JSON property `content`
|
||||
# @return [Array<Google::Apis::DocsV1::StructuralElement>]
|
||||
attr_accessor :content
|
||||
|
@ -2255,7 +2255,7 @@ module Google
|
|||
# ID.
|
||||
# Named ranges allow developers to associate parts of a document with an
|
||||
# arbitrary user-defined label so their contents can be programmatically read
|
||||
# or edited at a later time. A document may contain multiple named ranges with
|
||||
# or edited at a later time. A document can contain multiple named ranges with
|
||||
# the same name, but every named range has a unique ID.
|
||||
# A named range is created with a single Range,
|
||||
# and content inserted inside a named range generally expands that range.
|
||||
|
@ -2887,8 +2887,8 @@ module Google
|
|||
# The zero-base end index of this paragraph element, exclusive, in Unicode
|
||||
# code units of the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `endIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_index
|
||||
|
@ -2928,8 +2928,8 @@ module Google
|
|||
# The zero-based start index of this paragraph element, in Unicode code
|
||||
# units of the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `startIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_index
|
||||
|
@ -3977,8 +3977,8 @@ module Google
|
|||
# The zero-based end index of this structural element, exclusive, in Unicode
|
||||
# code units of the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `endIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_index
|
||||
|
@ -4003,8 +4003,8 @@ module Google
|
|||
# The zero-based start index of this structural element, in Unicode code
|
||||
# units of the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `startIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_index
|
||||
|
@ -4460,8 +4460,8 @@ module Google
|
|||
# The zero-based end index of this cell, exclusive, in Unicode code units of
|
||||
# the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `endIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_index
|
||||
|
@ -4469,8 +4469,8 @@ module Google
|
|||
# The zero-based start index of this cell, in Unicode code units of the
|
||||
# UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `startIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_index
|
||||
|
@ -4835,8 +4835,8 @@ module Google
|
|||
# The zero-based end index of this row, exclusive, in Unicode code units of
|
||||
# the UTF-16 encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `endIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :end_index
|
||||
|
@ -4844,8 +4844,8 @@ module Google
|
|||
# The zero-based start index of this row, in Unicode code units of the UTF-16
|
||||
# encoding.
|
||||
# Unicode code units of the UTF-16 encoding means that surrogate pairs
|
||||
# consume two indices. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indices.
|
||||
# consume two indexes. For example, the "GRINNING FACE" emoji would be
|
||||
# represented as "\uD83D\uDE00" and would consume two indexes.
|
||||
# Corresponds to the JSON property `startIndex`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :start_index
|
||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
|||
module DocsV1
|
||||
# Google Docs API
|
||||
#
|
||||
# An API for creating and editing Google Docs documents.
|
||||
# Reads and writes Google Docs documents.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/docs_v1'
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://developers.google.com/cloud-test-lab/
|
||||
module TestingV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190129'
|
||||
REVISION = '20190205'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1698,6 +1698,11 @@ module Google
|
|||
# @return [Google::Apis::TestingV1::StartActivityIntent]
|
||||
attr_accessor :start_activity
|
||||
|
||||
# Timeout in seconds for each intent.
|
||||
# Corresponds to the JSON property `timeout`
|
||||
# @return [String]
|
||||
attr_accessor :timeout
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1706,6 +1711,7 @@ module Google
|
|||
def update!(**args)
|
||||
@launcher_activity = args[:launcher_activity] if args.key?(:launcher_activity)
|
||||
@start_activity = args[:start_activity] if args.key?(:start_activity)
|
||||
@timeout = args[:timeout] if args.key?(:timeout)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -861,6 +861,7 @@ module Google
|
|||
|
||||
property :start_activity, as: 'startActivity', class: Google::Apis::TestingV1::StartActivityIntent, decorator: Google::Apis::TestingV1::StartActivityIntent::Representation
|
||||
|
||||
property :timeout, as: 'timeout'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue