Autogenerated update (2018-12-14)
Update: - cloudfunctions_v1 - cloudfunctions_v1beta2 - dataproc_v1beta2 - dlp_v2 - ml_v1 - pagespeedonline_v5 - servicemanagement_v1 - youtube_partner_v1
This commit is contained in:
1 parent
71debeb588
commit
4a6d9423c4
21 files changed
+3977
-28
No files matched your search
@@ -0,0 +1,58 @@
|
||||
# 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_v2/service.rb'
|
||||
require 'google/apis/bigtableadmin_v2/classes.rb'
|
||||
require 'google/apis/bigtableadmin_v2/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Cloud Bigtable Admin API
|
||||
#
|
||||
#
|
||||
#
|
||||
# @see https://cloud.google.com/bigtable/
|
||||
module BigtableadminV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181203'
|
||||
|
||||
# Administer your Cloud Bigtable tables and clusters
|
||||
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
||||
|
||||
# Administer your Cloud Bigtable clusters
|
||||
AUTH_BIGTABLE_ADMIN_CLUSTER = 'https://www.googleapis.com/auth/bigtable.admin.cluster'
|
||||
|
||||
# Administer your Cloud Bigtable clusters
|
||||
AUTH_BIGTABLE_ADMIN_INSTANCE = 'https://www.googleapis.com/auth/bigtable.admin.instance'
|
||||
|
||||
# Administer your Cloud Bigtable tables
|
||||
AUTH_BIGTABLE_ADMIN_TABLE = 'https://www.googleapis.com/auth/bigtable.admin.table'
|
||||
|
||||
# Administer your Cloud Bigtable tables and clusters
|
||||
AUTH_CLOUD_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/cloud-bigtable.admin'
|
||||
|
||||
# Administer your Cloud Bigtable clusters
|
||||
AUTH_CLOUD_BIGTABLE_ADMIN_CLUSTER = 'https://www.googleapis.com/auth/cloud-bigtable.admin.cluster'
|
||||
|
||||
# Administer your Cloud Bigtable tables
|
||||
AUTH_CLOUD_BIGTABLE_ADMIN_TABLE = 'https://www.googleapis.com/auth/cloud-bigtable.admin.table'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
# View your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
||||
end
|
||||
end
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,703 @@
|
||||
# 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 BigtableadminV2
|
||||
|
||||
class AppProfile
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Binding
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CheckConsistencyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CheckConsistencyResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Cluster
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClusterState
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ColumnFamily
|
||||
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 CreateTableRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DropRowRangeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Expr
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GcRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GenerateConsistencyTokenRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GenerateConsistencyTokenResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
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 Intersection
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListAppProfilesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListClustersResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListInstancesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListTablesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Modification
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ModifyColumnFamiliesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MultiClusterRoutingUseAny
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
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 Policy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SingleClusterRouting
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Split
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Table
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Union
|
||||
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 AppProfile
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :etag, as: 'etag'
|
||||
property :multi_cluster_routing_use_any, as: 'multiClusterRoutingUseAny', class: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny, decorator: Google::Apis::BigtableadminV2::MultiClusterRoutingUseAny::Representation
|
||||
|
||||
property :name, as: 'name'
|
||||
property :single_cluster_routing, as: 'singleClusterRouting', class: Google::Apis::BigtableadminV2::SingleClusterRouting, decorator: Google::Apis::BigtableadminV2::SingleClusterRouting::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AuditConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::BigtableadminV2::AuditLogConfig, decorator: Google::Apis::BigtableadminV2::AuditLogConfig::Representation
|
||||
|
||||
property :service, as: 'service'
|
||||
end
|
||||
end
|
||||
|
||||
class AuditLogConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :exempted_members, as: 'exemptedMembers'
|
||||
property :log_type, as: 'logType'
|
||||
end
|
||||
end
|
||||
|
||||
class Binding
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :condition, as: 'condition', class: Google::Apis::BigtableadminV2::Expr, decorator: Google::Apis::BigtableadminV2::Expr::Representation
|
||||
|
||||
collection :members, as: 'members'
|
||||
property :role, as: 'role'
|
||||
end
|
||||
end
|
||||
|
||||
class CheckConsistencyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consistency_token, as: 'consistencyToken'
|
||||
end
|
||||
end
|
||||
|
||||
class CheckConsistencyResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consistent, as: 'consistent'
|
||||
end
|
||||
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 ClusterState
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :replication_state, as: 'replicationState'
|
||||
end
|
||||
end
|
||||
|
||||
class ColumnFamily
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :gc_rule, as: 'gcRule', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CreateClusterMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :finish_time, as: 'finishTime'
|
||||
property :original_request, as: 'originalRequest', class: Google::Apis::BigtableadminV2::CreateClusterRequest, decorator: Google::Apis::BigtableadminV2::CreateClusterRequest::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateClusterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cluster, as: 'cluster', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::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::BigtableadminV2::CreateInstanceRequest, decorator: Google::Apis::BigtableadminV2::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::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
|
||||
|
||||
property :instance, as: 'instance', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
|
||||
|
||||
property :instance_id, as: 'instanceId'
|
||||
property :parent, as: 'parent'
|
||||
end
|
||||
end
|
||||
|
||||
class CreateTableRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :initial_splits, as: 'initialSplits', class: Google::Apis::BigtableadminV2::Split, decorator: Google::Apis::BigtableadminV2::Split::Representation
|
||||
|
||||
property :table, as: 'table', class: Google::Apis::BigtableadminV2::Table, decorator: Google::Apis::BigtableadminV2::Table::Representation
|
||||
|
||||
property :table_id, as: 'tableId'
|
||||
end
|
||||
end
|
||||
|
||||
class DropRowRangeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :delete_all_data_from_table, as: 'deleteAllDataFromTable'
|
||||
property :row_key_prefix, :base64 => true, as: 'rowKeyPrefix'
|
||||
end
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Expr
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :description, as: 'description'
|
||||
property :expression, as: 'expression'
|
||||
property :location, as: 'location'
|
||||
property :title, as: 'title'
|
||||
end
|
||||
end
|
||||
|
||||
class GcRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :intersection, as: 'intersection', class: Google::Apis::BigtableadminV2::Intersection, decorator: Google::Apis::BigtableadminV2::Intersection::Representation
|
||||
|
||||
property :max_age, as: 'maxAge'
|
||||
property :max_num_versions, as: 'maxNumVersions'
|
||||
property :union, as: 'union', class: Google::Apis::BigtableadminV2::Union, decorator: Google::Apis::BigtableadminV2::Union::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class GenerateConsistencyTokenRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class GenerateConsistencyTokenResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :consistency_token, as: 'consistencyToken'
|
||||
end
|
||||
end
|
||||
|
||||
class GetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
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 Intersection
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListAppProfilesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :app_profiles, as: 'appProfiles', class: Google::Apis::BigtableadminV2::AppProfile, decorator: Google::Apis::BigtableadminV2::AppProfile::Representation
|
||||
|
||||
collection :failed_locations, as: 'failedLocations'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListClustersResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :clusters, as: 'clusters', class: Google::Apis::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::Cluster::Representation
|
||||
|
||||
collection :failed_locations, as: 'failedLocations'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListInstancesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :failed_locations, as: 'failedLocations'
|
||||
collection :instances, as: 'instances', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :operations, as: 'operations', class: Google::Apis::BigtableadminV2::Operation, decorator: Google::Apis::BigtableadminV2::Operation::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListTablesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :tables, as: 'tables', class: Google::Apis::BigtableadminV2::Table, decorator: Google::Apis::BigtableadminV2::Table::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Modification
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create, as: 'create', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
|
||||
|
||||
property :drop, as: 'drop'
|
||||
property :id, as: 'id'
|
||||
property :update, as: 'update', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ModifyColumnFamiliesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :modifications, as: 'modifications', class: Google::Apis::BigtableadminV2::Modification, decorator: Google::Apis::BigtableadminV2::Modification::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class MultiClusterRoutingUseAny
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :done, as: 'done'
|
||||
property :error, as: 'error', class: Google::Apis::BigtableadminV2::Status, decorator: Google::Apis::BigtableadminV2::Status::Representation
|
||||
|
||||
hash :metadata, as: 'metadata'
|
||||
property :name, as: 'name'
|
||||
hash :response, as: 'response'
|
||||
end
|
||||
end
|
||||
|
||||
class PartialUpdateInstanceRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :instance, as: 'instance', class: Google::Apis::BigtableadminV2::Instance, decorator: Google::Apis::BigtableadminV2::Instance::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class Policy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :audit_configs, as: 'auditConfigs', class: Google::Apis::BigtableadminV2::AuditConfig, decorator: Google::Apis::BigtableadminV2::AuditConfig::Representation
|
||||
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::BigtableadminV2::Binding, decorator: Google::Apis::BigtableadminV2::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
|
||||
class SetIamPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :policy, as: 'policy', class: Google::Apis::BigtableadminV2::Policy, decorator: Google::Apis::BigtableadminV2::Policy::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
|
||||
class SingleClusterRouting
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :allow_transactional_writes, as: 'allowTransactionalWrites'
|
||||
property :cluster_id, as: 'clusterId'
|
||||
end
|
||||
end
|
||||
|
||||
class Split
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, :base64 => true, as: 'key'
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :details, as: 'details'
|
||||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class Table
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :cluster_states, as: 'clusterStates', class: Google::Apis::BigtableadminV2::ClusterState, decorator: Google::Apis::BigtableadminV2::ClusterState::Representation
|
||||
|
||||
hash :column_families, as: 'columnFamilies', class: Google::Apis::BigtableadminV2::ColumnFamily, decorator: Google::Apis::BigtableadminV2::ColumnFamily::Representation
|
||||
|
||||
property :granularity, as: 'granularity'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class TestIamPermissionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :permissions, as: 'permissions'
|
||||
end
|
||||
end
|
||||
|
||||
class Union
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :rules, as: 'rules', class: Google::Apis::BigtableadminV2::GcRule, decorator: Google::Apis::BigtableadminV2::GcRule::Representation
|
||||
|
||||
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::BigtableadminV2::Cluster, decorator: Google::Apis::BigtableadminV2::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::BigtableadminV2::PartialUpdateInstanceRequest, decorator: Google::Apis::BigtableadminV2::PartialUpdateInstanceRequest::Representation
|
||||
|
||||
property :request_time, as: 'requestTime'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181121'
|
||||
REVISION = '20181202'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -165,8 +165,10 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Invokes synchronously deployed function. To be used for testing, very
|
||||
# limited traffic allowed.
|
||||
# Synchronously invokes a deployed Cloud Function. To be used for testing
|
||||
# purposes as very limited traffic is allowed. For more information on
|
||||
# the actual limits refer to [API Calls](
|
||||
# https://cloud.google.com/functions/quotas#rate_limits).
|
||||
# @param [String] name
|
||||
# The name of the function to be called.
|
||||
# @param [Google::Apis::CloudfunctionsV1::CallFunctionRequest] call_function_request_object
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/functions
|
||||
module CloudfunctionsV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20181121'
|
||||
REVISION = '20181202'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -165,8 +165,10 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Invokes synchronously deployed function. To be used for testing, very
|
||||
# limited traffic allowed.
|
||||
# Synchronously invokes a deployed Cloud Function. To be used for testing
|
||||
# purposes as very limited traffic is allowed. For more information on
|
||||
# the actual limits refer to [API Calls](
|
||||
# https://cloud.google.com/functions/quotas#rate_limits).
|
||||
# @param [String] name
|
||||
# The name of the function to be called.
|
||||
# @param [Google::Apis::CloudfunctionsV1beta2::CallFunctionRequest] call_function_request_object
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/dataproc/
|
||||
module DataprocV1beta2
|
||||
VERSION = 'V1beta2'
|
||||
REVISION = '20181126'
|
||||
REVISION = '20181207'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -2717,7 +2717,7 @@ module Google
|
||||
|
||||
# Required. The template id.The id must contain only letters (a-z, A-Z), numbers
|
||||
# (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
|
||||
# or hyphen. Must consist of between 3 and 50 characters.
|
||||
# or hyphen. Must consist of between 3 and 50 characters..
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/dlp/docs/
|
||||
module DlpV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20181204'
|
||||
REVISION = '20181211'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -2302,8 +2302,13 @@ module Google
|
||||
attr_accessor :regex_file_set
|
||||
|
||||
# The Cloud Storage url of the file(s) to scan, in the format
|
||||
# `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed. Exactly
|
||||
# one of `url` or `regex_file_set` must be set.
|
||||
# `gs://<bucket>/<path>`. Trailing wildcard in the path is allowed.
|
||||
# If the url ends in a trailing slash, the bucket or directory represented
|
||||
# by the url will be scanned non-recursively (content in sub-directories
|
||||
# will not be scanned). This means that `gs://mybucket/` is equivalent to
|
||||
# `gs://mybucket/*`, and `gs://mybucket/directory/` is equivalent to
|
||||
# `gs://mybucket/directory/*`.
|
||||
# Exactly one of `url` or `regex_file_set` must be set.
|
||||
# Corresponds to the JSON property `url`
|
||||
# @return [String]
|
||||
attr_accessor :url
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180928'
|
||||
REVISION = '20181207'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -445,7 +445,7 @@ module Google
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Represents input parameters for a prediction job. Next field: 19
|
||||
# Represents input parameters for a prediction job. Next field: 20
|
||||
# Corresponds to the JSON property `predictionInput`
|
||||
# @return [Google::Apis::MlV1::GoogleCloudMlV1PredictionInput]
|
||||
attr_accessor :prediction_input
|
||||
@@ -927,7 +927,7 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Represents input parameters for a prediction job. Next field: 19
|
||||
# Represents input parameters for a prediction job. Next field: 20
|
||||
class GoogleCloudMlV1PredictionInput
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -985,8 +985,8 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# Optional. The Google Cloud ML runtime version to use for this batch
|
||||
# prediction. If not set, Google Cloud ML will pick the runtime version used
|
||||
# Optional. The Cloud ML Engine runtime version to use for this batch
|
||||
# prediction. If not set, Cloud ML Engine will pick the runtime version used
|
||||
# during the CreateVersion request for this model version, or choose the
|
||||
# latest stable version when model version information is not available
|
||||
# such as when the model is specified by uri.
|
||||
@@ -1247,7 +1247,8 @@ module Google
|
||||
|
||||
# Optional. The version of Python used in training. If not set, the default
|
||||
# version is '2.7'. Python '3.5' is available when `runtime_version` is set
|
||||
# to '1.4' and above. Python '2.7' works with all supported runtime versions.
|
||||
# to '1.4' and above. Python '2.7' works with all supported
|
||||
# <a href="/ml-engine/docs/runtime-version-list">runtime versions</a>.
|
||||
# Corresponds to the JSON property `pythonVersion`
|
||||
# @return [String]
|
||||
attr_accessor :python_version
|
||||
@@ -1259,9 +1260,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :region
|
||||
|
||||
# Optional. The Google Cloud ML runtime version to use for training. If not
|
||||
# set, Google Cloud ML will choose a stable version, which is defined in the
|
||||
# documentation of runtime version list.
|
||||
# Optional. The Cloud ML Engine runtime version to use for training. If not
|
||||
# set, Cloud ML Engine uses the default stable version, 1.0. For more
|
||||
# information, see the
|
||||
# <a href="/ml-engine/docs/runtime-version-list">runtime version list</a>
|
||||
# and
|
||||
# <a href="/ml-engine/docs/versioning">how to manage runtime versions</a>.
|
||||
# Corresponds to the JSON property `runtimeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :runtime_version
|
||||
@@ -1475,8 +1479,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :python_version
|
||||
|
||||
# Optional. The Google Cloud ML runtime version to use for this deployment.
|
||||
# If not set, Google Cloud ML will choose a version.
|
||||
# Optional. The Cloud ML Engine runtime version to use for this deployment.
|
||||
# If not set, Cloud ML Engine uses the default stable version, 1.0. For more
|
||||
# information, see the
|
||||
# [runtime version list](/ml-engine/docs/runtime-version-list) and
|
||||
# [how to manage runtime versions](/ml-engine/docs/versioning).
|
||||
# Corresponds to the JSON property `runtimeVersion`
|
||||
# @return [String]
|
||||
attr_accessor :runtime_version
|
||||
|
||||
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/speed/docs/insights/v5/get-started
|
||||
module PagespeedonlineV5
|
||||
VERSION = 'V5'
|
||||
REVISION = '20181120'
|
||||
REVISION = '20181127'
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -186,7 +186,7 @@ module Google
|
||||
|
||||
# Map of categories in the LHR.
|
||||
# Corresponds to the JSON property `categories`
|
||||
# @return [Hash<String,Google::Apis::PagespeedonlineV5::LighthouseCategoryV5>]
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseResultV5::Categories]
|
||||
attr_accessor :categories
|
||||
|
||||
# Map of category groups in the LHR.
|
||||
@@ -272,6 +272,50 @@ module Google
|
||||
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
||||
end
|
||||
|
||||
# Map of categories in the LHR.
|
||||
class Categories
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The accessibility category, containing all accessibility related audits.
|
||||
# Corresponds to the JSON property `accessibility`
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseCategoryV5]
|
||||
attr_accessor :accessibility
|
||||
|
||||
# The best practices category, containing all web best practice related audits.
|
||||
# Corresponds to the JSON property `best-practices`
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseCategoryV5]
|
||||
attr_accessor :best_practices
|
||||
|
||||
# The performance category, containing all performance related audits.
|
||||
# Corresponds to the JSON property `performance`
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseCategoryV5]
|
||||
attr_accessor :performance
|
||||
|
||||
# The Progressive-Web-App (PWA) category, containing all pwa related audits.
|
||||
# Corresponds to the JSON property `pwa`
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseCategoryV5]
|
||||
attr_accessor :pwa
|
||||
|
||||
# The Search-Engine-Optimization (SEO) category, containing all seo related
|
||||
# audits.
|
||||
# Corresponds to the JSON property `seo`
|
||||
# @return [Google::Apis::PagespeedonlineV5::LighthouseCategoryV5]
|
||||
attr_accessor :seo
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accessibility = args[:accessibility] if args.key?(:accessibility)
|
||||
@best_practices = args[:best_practices] if args.key?(:best_practices)
|
||||
@performance = args[:performance] if args.key?(:performance)
|
||||
@pwa = args[:pwa] if args.key?(:pwa)
|
||||
@seo = args[:seo] if args.key?(:seo)
|
||||
end
|
||||
end
|
||||
|
||||
# A grouping contained in a category that groups similar audits together.
|
||||
class CategoryGroup
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -43,6 +43,12 @@ module Google
|
||||
class LighthouseResultV5
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Categories
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CategoryGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -161,7 +167,7 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
hash :audits, as: 'audits', class: Google::Apis::PagespeedonlineV5::LighthouseAuditResultV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseAuditResultV5::Representation
|
||||
|
||||
hash :categories, as: 'categories', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
property :categories, as: 'categories', class: Google::Apis::PagespeedonlineV5::LighthouseResultV5::Categories, decorator: Google::Apis::PagespeedonlineV5::LighthouseResultV5::Categories::Representation
|
||||
|
||||
hash :category_groups, as: 'categoryGroups', class: Google::Apis::PagespeedonlineV5::LighthouseResultV5::CategoryGroup, decorator: Google::Apis::PagespeedonlineV5::LighthouseResultV5::CategoryGroup::Representation
|
||||
|
||||
@@ -183,6 +189,22 @@ module Google
|
||||
property :user_agent, as: 'userAgent'
|
||||
end
|
||||
|
||||
class Categories
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accessibility, as: 'accessibility', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
|
||||
property :best_practices, as: 'best-practices', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
|
||||
property :performance, as: 'performance', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
|
||||
property :pwa, as: 'pwa', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
|
||||
property :seo, as: 'seo', class: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5, decorator: Google::Apis::PagespeedonlineV5::LighthouseCategoryV5::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CategoryGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/service-management/
|
||||
module ServicemanagementV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181102'
|
||||
REVISION = '20181210'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -262,7 +262,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :audiences
|
||||
|
||||
# Redirect URL if JWT token is required but no present or is expired.
|
||||
# Redirect URL if JWT token is required but not present or is expired.
|
||||
# Implement authorizationUrl of securityDefinitions in OpenAPI spec.
|
||||
# Corresponds to the JSON property `authorizationUrl`
|
||||
# @return [String]
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/youtube/partner/
|
||||
module YoutubePartnerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20181203'
|
||||
REVISION = '20181210'
|
||||
|
||||
# View and manage your assets and associated content on YouTube
|
||||
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
||||
|
||||
Reference in new issue
Block a user