Autogenerated update (2017-09-20)
Update: - container_v1 - oslogin_v1alpha - sheets_v4 - tagmanager_v2 - videointelligence_v1beta1
This commit is contained in:
1 parent
3a1ff08fe6
commit
ea2396cb9c
18 files changed
+2161
-13
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://cloud.google.com/container-engine/
|
||||
module ContainerV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170901'
|
||||
REVISION = '20170908'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -301,6 +301,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :logging_service
|
||||
|
||||
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
|
||||
# Corresponds to the JSON property `maintenancePolicy`
|
||||
# @return [Google::Apis::ContainerV1::MaintenancePolicy]
|
||||
attr_accessor :maintenance_policy
|
||||
|
||||
# The authentication information for accessing the master endpoint.
|
||||
# Authentication can be done using HTTP basic auth or using client
|
||||
# certificates.
|
||||
@@ -437,6 +442,7 @@ module Google
|
||||
@legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac)
|
||||
@locations = args[:locations] if args.key?(:locations)
|
||||
@logging_service = args[:logging_service] if args.key?(:logging_service)
|
||||
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
||||
@master_auth = args[:master_auth] if args.key?(:master_auth)
|
||||
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
|
||||
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
||||
@@ -603,6 +609,36 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# Time window specified for daily maintenance operations.
|
||||
class DailyMaintenanceWindow
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# [Output only] Duration of the time window, automatically chosen to be
|
||||
# smallest possible in the given scenario.
|
||||
# Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
|
||||
# format "PTnHnMnS".
|
||||
# Corresponds to the JSON property `duration`
|
||||
# @return [String]
|
||||
attr_accessor :duration
|
||||
|
||||
# Time within the maintenance window to start the maintenance operations.
|
||||
# Time format should be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt)
|
||||
# format "HH:MM”, where HH : [00-23] and MM : [00-59] GMT.
|
||||
# Corresponds to the JSON property `startTime`
|
||||
# @return [String]
|
||||
attr_accessor :start_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@duration = args[:duration] if args.key?(:duration)
|
||||
@start_time = args[:start_time] if args.key?(:start_time)
|
||||
end
|
||||
end
|
||||
|
||||
# A generic empty message that you can re-use to avoid defining duplicated
|
||||
# empty messages in your APIs. A typical example is to use it as the request
|
||||
# or the response type of an API method. For instance:
|
||||
@@ -908,6 +944,44 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
|
||||
class MaintenancePolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
||||
# Corresponds to the JSON property `window`
|
||||
# @return [Google::Apis::ContainerV1::MaintenanceWindow]
|
||||
attr_accessor :window
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@window = args[:window] if args.key?(:window)
|
||||
end
|
||||
end
|
||||
|
||||
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
||||
class MaintenanceWindow
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Time window specified for daily maintenance operations.
|
||||
# Corresponds to the JSON property `dailyMaintenanceWindow`
|
||||
# @return [Google::Apis::ContainerV1::DailyMaintenanceWindow]
|
||||
attr_accessor :daily_maintenance_window
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
|
||||
end
|
||||
end
|
||||
|
||||
# The authentication information for accessing the master endpoint.
|
||||
# Authentication can be done using HTTP basic auth or using client
|
||||
# certificates.
|
||||
@@ -1578,6 +1652,25 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
|
||||
class SetMaintenancePolicyRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
|
||||
# Corresponds to the JSON property `maintenancePolicy`
|
||||
# @return [Google::Apis::ContainerV1::MaintenancePolicy]
|
||||
attr_accessor :maintenance_policy
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
||||
end
|
||||
end
|
||||
|
||||
# SetMasterAuthRequest updates the admin password of a cluster.
|
||||
class SetMasterAuthRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
@@ -88,6 +88,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DailyMaintenanceWindow
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -142,6 +148,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MaintenancePolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MaintenanceWindow
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MasterAuth
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -232,6 +250,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetMaintenancePolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetMasterAuthRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -365,6 +389,8 @@ module Google
|
||||
|
||||
collection :locations, as: 'locations'
|
||||
property :logging_service, as: 'loggingService'
|
||||
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
|
||||
|
||||
property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation
|
||||
|
||||
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
||||
@@ -429,6 +455,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class DailyMaintenanceWindow
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :duration, as: 'duration'
|
||||
property :start_time, as: 'startTime'
|
||||
end
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -506,6 +540,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class MaintenancePolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :window, as: 'window', class: Google::Apis::ContainerV1::MaintenanceWindow, decorator: Google::Apis::ContainerV1::MaintenanceWindow::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class MaintenanceWindow
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1::DailyMaintenanceWindow::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class MasterAuth
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -663,6 +713,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SetMaintenancePolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class SetMasterAuthRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -588,6 +588,48 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the maintenance policy for a cluster.
|
||||
# @param [String] project_id
|
||||
# The Google Developers Console [project ID or project
|
||||
# number](https://support.google.com/cloud/answer/6158840).
|
||||
# @param [String] zone
|
||||
# The name of the Google Compute Engine
|
||||
# [zone](/compute/docs/zones#available) in which the cluster
|
||||
# resides.
|
||||
# @param [String] cluster_id
|
||||
# The name of the cluster to update.
|
||||
# @param [Google::Apis::ContainerV1::SetMaintenancePolicyRequest] set_maintenance_policy_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ContainerV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ContainerV1::Operation]
|
||||
#
|
||||
# @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 set_cluster_maintenance_policy(project_id, zone, cluster_id, set_maintenance_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy', options)
|
||||
command.request_representation = Google::Apis::ContainerV1::SetMaintenancePolicyRequest::Representation
|
||||
command.request_object = set_maintenance_policy_request_object
|
||||
command.response_representation = Google::Apis::ContainerV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ContainerV1::Operation
|
||||
command.params['projectId'] = project_id unless project_id.nil?
|
||||
command.params['zone'] = zone unless zone.nil?
|
||||
command.params['clusterId'] = cluster_id unless cluster_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Used to set master auth materials. Currently supports :-
|
||||
# Changing the admin password of a specific cluster.
|
||||
# This can be either via password generation or explicitly set the password.
|
||||
|
||||
@@ -50,7 +50,7 @@ module Google
|
||||
|
||||
def initialize
|
||||
super('https://www.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
@batch_path = 'batch/oauth2/v2'
|
||||
end
|
||||
|
||||
#
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
||||
module OsloginV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20170811'
|
||||
REVISION = '20170918'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -172,7 +172,8 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :expiration_time_usec
|
||||
|
||||
# [Output Only] The SHA-256 fingerprint of the SSH public key.
|
||||
# The SHA-256 fingerprint of the SSH public key.
|
||||
# Output only.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
@@ -82,12 +82,12 @@ module Google
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :gecos, as: 'gecos'
|
||||
property :gid, as: 'gid'
|
||||
property :gid, :numeric_string => true, as: 'gid'
|
||||
property :home_directory, as: 'homeDirectory'
|
||||
property :primary, as: 'primary'
|
||||
property :shell, as: 'shell'
|
||||
property :system_id, as: 'systemId'
|
||||
property :uid, as: 'uid'
|
||||
property :uid, :numeric_string => true, as: 'uid'
|
||||
property :username, as: 'username'
|
||||
end
|
||||
end
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/sheets/
|
||||
module SheetsV4
|
||||
VERSION = 'V4'
|
||||
REVISION = '20170817'
|
||||
REVISION = '20170915'
|
||||
|
||||
# View and manage the files in your Google Drive
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -172,6 +172,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchClearValuesByDataFilterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchClearValuesByDataFilterResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchClearValuesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -184,6 +196,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchGetValuesByDataFilterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchGetValuesByDataFilterResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchGetValuesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -202,6 +226,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchUpdateValuesByDataFilterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchUpdateValuesByDataFilterResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BatchUpdateValuesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -346,12 +382,36 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateDeveloperMetadataRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateDeveloperMetadataResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CutPasteRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DataFilter
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DataFilterValueRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DataValidationRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -376,6 +436,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeleteDeveloperMetadataRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeleteDeveloperMetadataResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeleteDimensionRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -418,6 +490,24 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeveloperMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeveloperMetadataLocation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DeveloperMetadataLookup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class DimensionProperties
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -508,6 +598,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GetSpreadsheetByDataFilterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class GradientRule
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -574,6 +670,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MatchedDeveloperMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MatchedValueRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class MergeCellsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -700,6 +808,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchDeveloperMetadataRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchDeveloperMetadataResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SetBasicFilterRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -820,6 +940,18 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateDeveloperMetadataRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateDeveloperMetadataResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateDimensionPropertiesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -868,6 +1000,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateValuesByDataFilterResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateValuesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -1120,6 +1258,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BatchClearValuesByDataFilterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class BatchClearValuesByDataFilterResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :cleared_ranges, as: 'clearedRanges'
|
||||
property :spreadsheet_id, as: 'spreadsheetId'
|
||||
end
|
||||
end
|
||||
|
||||
class BatchClearValuesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1135,6 +1289,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BatchGetValuesByDataFilterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :date_time_render_option, as: 'dateTimeRenderOption'
|
||||
property :major_dimension, as: 'majorDimension'
|
||||
property :value_render_option, as: 'valueRenderOption'
|
||||
end
|
||||
end
|
||||
|
||||
class BatchGetValuesByDataFilterResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :spreadsheet_id, as: 'spreadsheetId'
|
||||
collection :value_ranges, as: 'valueRanges', class: Google::Apis::SheetsV4::MatchedValueRange, decorator: Google::Apis::SheetsV4::MatchedValueRange::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class BatchGetValuesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1166,6 +1340,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class BatchUpdateValuesByDataFilterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data, as: 'data', class: Google::Apis::SheetsV4::DataFilterValueRange, decorator: Google::Apis::SheetsV4::DataFilterValueRange::Representation
|
||||
|
||||
property :include_values_in_response, as: 'includeValuesInResponse'
|
||||
property :response_date_time_render_option, as: 'responseDateTimeRenderOption'
|
||||
property :response_value_render_option, as: 'responseValueRenderOption'
|
||||
property :value_input_option, as: 'valueInputOption'
|
||||
end
|
||||
end
|
||||
|
||||
class BatchUpdateValuesByDataFilterResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :responses, as: 'responses', class: Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse, decorator: Google::Apis::SheetsV4::UpdateValuesByDataFilterResponse::Representation
|
||||
|
||||
property :spreadsheet_id, as: 'spreadsheetId'
|
||||
property :total_updated_cells, as: 'totalUpdatedCells'
|
||||
property :total_updated_columns, as: 'totalUpdatedColumns'
|
||||
property :total_updated_rows, as: 'totalUpdatedRows'
|
||||
property :total_updated_sheets, as: 'totalUpdatedSheets'
|
||||
end
|
||||
end
|
||||
|
||||
class BatchUpdateValuesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1458,6 +1657,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CreateDeveloperMetadataRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CreateDeveloperMetadataResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CutPasteRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1469,6 +1684,31 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class DataFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :a1_range, as: 'a1Range'
|
||||
property :developer_metadata_lookup, as: 'developerMetadataLookup', class: Google::Apis::SheetsV4::DeveloperMetadataLookup, decorator: Google::Apis::SheetsV4::DeveloperMetadataLookup::Representation
|
||||
|
||||
property :grid_range, as: 'gridRange', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DataFilterValueRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :data_filter, as: 'dataFilter', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :major_dimension, as: 'majorDimension'
|
||||
collection :values, as: 'values', :class => Array do
|
||||
include Representable::JSON::Collection
|
||||
items
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DataValidationRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1503,6 +1743,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class DeleteDeveloperMetadataRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :data_filter, as: 'dataFilter', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DeleteDeveloperMetadataResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :deleted_developer_metadata, as: 'deletedDeveloperMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class DeleteDimensionRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1555,9 +1811,48 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class DeveloperMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :location, as: 'location', class: Google::Apis::SheetsV4::DeveloperMetadataLocation, decorator: Google::Apis::SheetsV4::DeveloperMetadataLocation::Representation
|
||||
|
||||
property :metadata_id, as: 'metadataId'
|
||||
property :metadata_key, as: 'metadataKey'
|
||||
property :metadata_value, as: 'metadataValue'
|
||||
property :visibility, as: 'visibility'
|
||||
end
|
||||
end
|
||||
|
||||
class DeveloperMetadataLocation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :dimension_range, as: 'dimensionRange', class: Google::Apis::SheetsV4::DimensionRange, decorator: Google::Apis::SheetsV4::DimensionRange::Representation
|
||||
|
||||
property :location_type, as: 'locationType'
|
||||
property :sheet_id, as: 'sheetId'
|
||||
property :spreadsheet, as: 'spreadsheet'
|
||||
end
|
||||
end
|
||||
|
||||
class DeveloperMetadataLookup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :location_matching_strategy, as: 'locationMatchingStrategy'
|
||||
property :location_type, as: 'locationType'
|
||||
property :metadata_id, as: 'metadataId'
|
||||
property :metadata_key, as: 'metadataKey'
|
||||
property :metadata_location, as: 'metadataLocation', class: Google::Apis::SheetsV4::DeveloperMetadataLocation, decorator: Google::Apis::SheetsV4::DeveloperMetadataLocation::Representation
|
||||
|
||||
property :metadata_value, as: 'metadataValue'
|
||||
property :visibility, as: 'visibility'
|
||||
end
|
||||
end
|
||||
|
||||
class DimensionProperties
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
property :hidden_by_filter, as: 'hiddenByFilter'
|
||||
property :hidden_by_user, as: 'hiddenByUser'
|
||||
property :pixel_size, as: 'pixelSize'
|
||||
@@ -1708,6 +2003,15 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class GetSpreadsheetByDataFilterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :include_grid_data, as: 'includeGridData'
|
||||
end
|
||||
end
|
||||
|
||||
class GradientRule
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -1823,6 +2127,26 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class MatchedDeveloperMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class MatchedValueRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :value_range, as: 'valueRange', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class MergeCellsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2053,12 +2377,16 @@ module Google
|
||||
|
||||
property :copy_paste, as: 'copyPaste', class: Google::Apis::SheetsV4::CopyPasteRequest, decorator: Google::Apis::SheetsV4::CopyPasteRequest::Representation
|
||||
|
||||
property :create_developer_metadata, as: 'createDeveloperMetadata', class: Google::Apis::SheetsV4::CreateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::CreateDeveloperMetadataRequest::Representation
|
||||
|
||||
property :cut_paste, as: 'cutPaste', class: Google::Apis::SheetsV4::CutPasteRequest, decorator: Google::Apis::SheetsV4::CutPasteRequest::Representation
|
||||
|
||||
property :delete_banding, as: 'deleteBanding', class: Google::Apis::SheetsV4::DeleteBandingRequest, decorator: Google::Apis::SheetsV4::DeleteBandingRequest::Representation
|
||||
|
||||
property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleRequest::Representation
|
||||
|
||||
property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataRequest::Representation
|
||||
|
||||
property :delete_dimension, as: 'deleteDimension', class: Google::Apis::SheetsV4::DeleteDimensionRequest, decorator: Google::Apis::SheetsV4::DeleteDimensionRequest::Representation
|
||||
|
||||
property :delete_embedded_object, as: 'deleteEmbeddedObject', class: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest, decorator: Google::Apis::SheetsV4::DeleteEmbeddedObjectRequest::Representation
|
||||
@@ -2113,6 +2441,8 @@ module Google
|
||||
|
||||
property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleRequest::Representation
|
||||
|
||||
property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataRequest::Representation
|
||||
|
||||
property :update_dimension_properties, as: 'updateDimensionProperties', class: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest, decorator: Google::Apis::SheetsV4::UpdateDimensionPropertiesRequest::Representation
|
||||
|
||||
property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionRequest::Representation
|
||||
@@ -2145,8 +2475,12 @@ module Google
|
||||
|
||||
property :add_sheet, as: 'addSheet', class: Google::Apis::SheetsV4::AddSheetResponse, decorator: Google::Apis::SheetsV4::AddSheetResponse::Representation
|
||||
|
||||
property :create_developer_metadata, as: 'createDeveloperMetadata', class: Google::Apis::SheetsV4::CreateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::CreateDeveloperMetadataResponse::Representation
|
||||
|
||||
property :delete_conditional_format_rule, as: 'deleteConditionalFormatRule', class: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::DeleteConditionalFormatRuleResponse::Representation
|
||||
|
||||
property :delete_developer_metadata, as: 'deleteDeveloperMetadata', class: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::DeleteDeveloperMetadataResponse::Representation
|
||||
|
||||
property :duplicate_filter_view, as: 'duplicateFilterView', class: Google::Apis::SheetsV4::DuplicateFilterViewResponse, decorator: Google::Apis::SheetsV4::DuplicateFilterViewResponse::Representation
|
||||
|
||||
property :duplicate_sheet, as: 'duplicateSheet', class: Google::Apis::SheetsV4::DuplicateSheetResponse, decorator: Google::Apis::SheetsV4::DuplicateSheetResponse::Representation
|
||||
@@ -2155,6 +2489,8 @@ module Google
|
||||
|
||||
property :update_conditional_format_rule, as: 'updateConditionalFormatRule', class: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse, decorator: Google::Apis::SheetsV4::UpdateConditionalFormatRuleResponse::Representation
|
||||
|
||||
property :update_developer_metadata, as: 'updateDeveloperMetadata', class: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse, decorator: Google::Apis::SheetsV4::UpdateDeveloperMetadataResponse::Representation
|
||||
|
||||
property :update_embedded_object_position, as: 'updateEmbeddedObjectPosition', class: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse, decorator: Google::Apis::SheetsV4::UpdateEmbeddedObjectPositionResponse::Representation
|
||||
|
||||
end
|
||||
@@ -2168,6 +2504,22 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class SearchDeveloperMetadataRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class SearchDeveloperMetadataResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :matched_developer_metadata, as: 'matchedDeveloperMetadata', class: Google::Apis::SheetsV4::MatchedDeveloperMetadata, decorator: Google::Apis::SheetsV4::MatchedDeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class SetBasicFilterRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2199,6 +2551,8 @@ module Google
|
||||
|
||||
collection :data, as: 'data', class: Google::Apis::SheetsV4::GridData, decorator: Google::Apis::SheetsV4::GridData::Representation
|
||||
|
||||
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
collection :filter_views, as: 'filterViews', class: Google::Apis::SheetsV4::FilterView, decorator: Google::Apis::SheetsV4::FilterView::Representation
|
||||
|
||||
collection :merges, as: 'merges', class: Google::Apis::SheetsV4::GridRange, decorator: Google::Apis::SheetsV4::GridRange::Representation
|
||||
@@ -2257,6 +2611,8 @@ module Google
|
||||
class Spreadsheet
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
collection :named_ranges, as: 'namedRanges', class: Google::Apis::SheetsV4::NamedRange, decorator: Google::Apis::SheetsV4::NamedRange::Representation
|
||||
|
||||
property :properties, as: 'properties', class: Google::Apis::SheetsV4::SpreadsheetProperties, decorator: Google::Apis::SheetsV4::SpreadsheetProperties::Representation
|
||||
@@ -2405,6 +2761,25 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateDeveloperMetadataRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :data_filters, as: 'dataFilters', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
property :fields, as: 'fields'
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateDeveloperMetadataResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :developer_metadata, as: 'developerMetadata', class: Google::Apis::SheetsV4::DeveloperMetadata, decorator: Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateDimensionPropertiesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -2479,6 +2854,20 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateValuesByDataFilterResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :data_filter, as: 'dataFilter', class: Google::Apis::SheetsV4::DataFilter, decorator: Google::Apis::SheetsV4::DataFilter::Representation
|
||||
|
||||
property :updated_cells, as: 'updatedCells'
|
||||
property :updated_columns, as: 'updatedColumns'
|
||||
property :updated_data, as: 'updatedData', class: Google::Apis::SheetsV4::ValueRange, decorator: Google::Apis::SheetsV4::ValueRange::Representation
|
||||
|
||||
property :updated_range, as: 'updatedRange'
|
||||
property :updated_rows, as: 'updatedRows'
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateValuesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -177,6 +177,127 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the spreadsheet at the given ID.
|
||||
# The caller must specify the spreadsheet ID.
|
||||
# This method differs from GetSpreadsheet in that it allows selecting
|
||||
# which subsets of spreadsheet data to return by specifying a
|
||||
# dataFilters parameter.
|
||||
# Multiple DataFilters can be specified. Specifying one or
|
||||
# more data filters will return the portions of the spreadsheet that
|
||||
# intersect ranges matched by any of the filters.
|
||||
# By default, data within grids will not be returned.
|
||||
# You can include grid data one of two ways:
|
||||
# * Specify a field mask listing your desired fields using the `fields` URL
|
||||
# parameter in HTTP
|
||||
# * Set the includeGridData
|
||||
# parameter to true. If a field mask is set, the `includeGridData`
|
||||
# parameter is ignored
|
||||
# For large spreadsheets, it is recommended to retrieve only the specific
|
||||
# fields of the spreadsheet that you want.
|
||||
# @param [String] spreadsheet_id
|
||||
# The spreadsheet to request.
|
||||
# @param [Google::Apis::SheetsV4::GetSpreadsheetByDataFilterRequest] get_spreadsheet_by_data_filter_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::Spreadsheet] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::Spreadsheet]
|
||||
#
|
||||
# @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_spreadsheet_by_data_filter(spreadsheet_id, get_spreadsheet_by_data_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}:getByDataFilter', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::GetSpreadsheetByDataFilterRequest::Representation
|
||||
command.request_object = get_spreadsheet_by_data_filter_request_object
|
||||
command.response_representation = Google::Apis::SheetsV4::Spreadsheet::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::Spreadsheet
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the developer metadata with the specified id.
|
||||
# The caller must specify the spreadsheet ID and the developer metadata's
|
||||
# unique metadataId.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to retrieve metadata from.
|
||||
# @param [Fixnum] metadata_id
|
||||
# The ID of the developer metadata to retrieve.
|
||||
# @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::SheetsV4::DeveloperMetadata] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::DeveloperMetadata]
|
||||
#
|
||||
# @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_spreadsheet_developer_metadatum(spreadsheet_id, metadata_id, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}', options)
|
||||
command.response_representation = Google::Apis::SheetsV4::DeveloperMetadata::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::DeveloperMetadata
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.params['metadataId'] = metadata_id unless metadata_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns all developer metadata matching the specified DataFilter.
|
||||
# If the provided DataFilter represents a DeveloperMetadataLookup object,
|
||||
# this will return all DeveloperMetadata entries selected by it. If the
|
||||
# DataFilter represents a location in a spreadsheet, this will return all
|
||||
# developer metadata associated with locations intersecting that region.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to retrieve metadata from.
|
||||
# @param [Google::Apis::SheetsV4::SearchDeveloperMetadataRequest] search_developer_metadata_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::SearchDeveloperMetadataResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::SearchDeveloperMetadataResponse]
|
||||
#
|
||||
# @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 search_developer_metadatum_developer_metadata(spreadsheet_id, search_developer_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/developerMetadata:search', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::SearchDeveloperMetadataRequest::Representation
|
||||
command.request_object = search_developer_metadata_request_object
|
||||
command.response_representation = Google::Apis::SheetsV4::SearchDeveloperMetadataResponse::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::SearchDeveloperMetadataResponse
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Copies a single sheet from a spreadsheet to another spreadsheet.
|
||||
# Returns the properties of the newly created sheet.
|
||||
# @param [String] spreadsheet_id
|
||||
@@ -320,6 +441,43 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Clears one or more ranges of values from a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID and one or more
|
||||
# DataFilters. Ranges matching any of the specified data
|
||||
# filters will be cleared. Only values are cleared -- all other properties
|
||||
# of the cell (such as formatting, data validation, etc..) are kept.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to update.
|
||||
# @param [Google::Apis::SheetsV4::BatchClearValuesByDataFilterRequest] batch_clear_values_by_data_filter_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::BatchClearValuesByDataFilterResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::BatchClearValuesByDataFilterResponse]
|
||||
#
|
||||
# @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 batch_spreadsheet_value_clear_by_data_filter(spreadsheet_id, batch_clear_values_by_data_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::BatchClearValuesByDataFilterRequest::Representation
|
||||
command.request_object = batch_clear_values_by_data_filter_request_object
|
||||
command.response_representation = Google::Apis::SheetsV4::BatchClearValuesByDataFilterResponse::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::BatchClearValuesByDataFilterResponse
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns one or more ranges of values from a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID and one or more ranges.
|
||||
# @param [String] spreadsheet_id
|
||||
@@ -372,6 +530,42 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns one or more ranges of values from a spreadsheet that match the
|
||||
# specified data filters. The caller must specify the spreadsheet ID and
|
||||
# one or more DataFilters. Ranges that match any of the data
|
||||
# filters in the request will be returned.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to retrieve data from.
|
||||
# @param [Google::Apis::SheetsV4::BatchGetValuesByDataFilterRequest] batch_get_values_by_data_filter_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::BatchGetValuesByDataFilterResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::BatchGetValuesByDataFilterResponse]
|
||||
#
|
||||
# @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 batch_spreadsheet_value_get_by_data_filter(spreadsheet_id, batch_get_values_by_data_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::BatchGetValuesByDataFilterRequest::Representation
|
||||
command.request_object = batch_get_values_by_data_filter_request_object
|
||||
command.response_representation = Google::Apis::SheetsV4::BatchGetValuesByDataFilterResponse::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::BatchGetValuesByDataFilterResponse
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets values in one or more ranges of a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID,
|
||||
# a valueInputOption, and one or more
|
||||
@@ -408,6 +602,42 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets values in one or more ranges of a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID,
|
||||
# a valueInputOption, and one or more
|
||||
# DataFilterValueRanges.
|
||||
# @param [String] spreadsheet_id
|
||||
# The ID of the spreadsheet to update.
|
||||
# @param [Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterRequest] batch_update_values_by_data_filter_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse]
|
||||
#
|
||||
# @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 batch_spreadsheet_value_update_by_data_filter(spreadsheet_id, batch_update_values_by_data_filter_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter', options)
|
||||
command.request_representation = Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterRequest::Representation
|
||||
command.request_object = batch_update_values_by_data_filter_request_object
|
||||
command.response_representation = Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse::Representation
|
||||
command.response_class = Google::Apis::SheetsV4::BatchUpdateValuesByDataFilterResponse
|
||||
command.params['spreadsheetId'] = spreadsheet_id unless spreadsheet_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Clears values from a spreadsheet.
|
||||
# The caller must specify the spreadsheet ID and range.
|
||||
# Only values are cleared -- all other properties of the cell (such as
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/tag-manager/api/v2/
|
||||
module TagmanagerV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20170330'
|
||||
REVISION = '20170915'
|
||||
|
||||
# Delete your Google Tag Manager containers
|
||||
AUTH_TAGMANAGER_DELETE_CONTAINERS = 'https://www.googleapis.com/auth/tagmanager.delete.containers'
|
||||
|
||||
@@ -365,6 +365,11 @@ module Google
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Variable>]
|
||||
attr_accessor :variable
|
||||
|
||||
# The zones in the container that this version was taken from.
|
||||
# Corresponds to the JSON property `zone`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Zone>]
|
||||
attr_accessor :zone
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -386,6 +391,7 @@ module Google
|
||||
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
||||
@trigger = args[:trigger] if args.key?(:trigger)
|
||||
@variable = args[:variable] if args.key?(:variable)
|
||||
@zone = args[:zone] if args.key?(:zone)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -444,6 +450,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :num_variables
|
||||
|
||||
# Number of zones in the container version.
|
||||
# Corresponds to the JSON property `numZones`
|
||||
# @return [String]
|
||||
attr_accessor :num_zones
|
||||
|
||||
# GTM Container Versions's API relative path.
|
||||
# Corresponds to the JSON property `path`
|
||||
# @return [String]
|
||||
@@ -465,6 +476,7 @@ module Google
|
||||
@num_tags = args[:num_tags] if args.key?(:num_tags)
|
||||
@num_triggers = args[:num_triggers] if args.key?(:num_triggers)
|
||||
@num_variables = args[:num_variables] if args.key?(:num_variables)
|
||||
@num_zones = args[:num_zones] if args.key?(:num_zones)
|
||||
@path = args[:path] if args.key?(:path)
|
||||
end
|
||||
end
|
||||
@@ -1847,6 +1859,11 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# Additional parameters.
|
||||
# Corresponds to the JSON property `parameter`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Parameter>]
|
||||
attr_accessor :parameter
|
||||
|
||||
# Parent folder id.
|
||||
# Corresponds to the JSON property `parentFolderId`
|
||||
# @return [String]
|
||||
@@ -1944,6 +1961,7 @@ module Google
|
||||
@max_timer_length_seconds = args[:max_timer_length_seconds] if args.key?(:max_timer_length_seconds)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@notes = args[:notes] if args.key?(:notes)
|
||||
@parameter = args[:parameter] if args.key?(:parameter)
|
||||
@parent_folder_id = args[:parent_folder_id] if args.key?(:parent_folder_id)
|
||||
@path = args[:path] if args.key?(:path)
|
||||
@selector = args[:selector] if args.key?(:selector)
|
||||
@@ -2430,6 +2448,169 @@ module Google
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Google Tag Manager Zone's contents.
|
||||
class Zone
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# GTM Account ID.
|
||||
# Corresponds to the JSON property `accountId`
|
||||
# @return [String]
|
||||
attr_accessor :account_id
|
||||
|
||||
# Represents a Zone's boundaries.
|
||||
# Corresponds to the JSON property `boundary`
|
||||
# @return [Google::Apis::TagmanagerV2::ZoneBoundary]
|
||||
attr_accessor :boundary
|
||||
|
||||
# Containers that are children of this Zone.
|
||||
# Corresponds to the JSON property `childContainer`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::ZoneChildContainer>]
|
||||
attr_accessor :child_container
|
||||
|
||||
# GTM Container ID.
|
||||
# Corresponds to the JSON property `containerId`
|
||||
# @return [String]
|
||||
attr_accessor :container_id
|
||||
|
||||
# The fingerprint of the GTM Zone as computed at storage time. This value is
|
||||
# recomputed whenever the zone is modified.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# @return [String]
|
||||
attr_accessor :fingerprint
|
||||
|
||||
# Zone display name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# User notes on how to apply this zone in the container.
|
||||
# Corresponds to the JSON property `notes`
|
||||
# @return [String]
|
||||
attr_accessor :notes
|
||||
|
||||
# GTM Zone's API relative path.
|
||||
# Corresponds to the JSON property `path`
|
||||
# @return [String]
|
||||
attr_accessor :path
|
||||
|
||||
# Auto generated link to the tag manager UI
|
||||
# Corresponds to the JSON property `tagManagerUrl`
|
||||
# @return [String]
|
||||
attr_accessor :tag_manager_url
|
||||
|
||||
# Represents a Zone's type restrictions.
|
||||
# Corresponds to the JSON property `typeRestriction`
|
||||
# @return [Google::Apis::TagmanagerV2::ZoneTypeRestriction]
|
||||
attr_accessor :type_restriction
|
||||
|
||||
# GTM Workspace ID.
|
||||
# Corresponds to the JSON property `workspaceId`
|
||||
# @return [String]
|
||||
attr_accessor :workspace_id
|
||||
|
||||
# The Zone ID uniquely identifies the GTM Zone.
|
||||
# Corresponds to the JSON property `zoneId`
|
||||
# @return [String]
|
||||
attr_accessor :zone_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@account_id = args[:account_id] if args.key?(:account_id)
|
||||
@boundary = args[:boundary] if args.key?(:boundary)
|
||||
@child_container = args[:child_container] if args.key?(:child_container)
|
||||
@container_id = args[:container_id] if args.key?(:container_id)
|
||||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@notes = args[:notes] if args.key?(:notes)
|
||||
@path = args[:path] if args.key?(:path)
|
||||
@tag_manager_url = args[:tag_manager_url] if args.key?(:tag_manager_url)
|
||||
@type_restriction = args[:type_restriction] if args.key?(:type_restriction)
|
||||
@workspace_id = args[:workspace_id] if args.key?(:workspace_id)
|
||||
@zone_id = args[:zone_id] if args.key?(:zone_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Zone's boundaries.
|
||||
class ZoneBoundary
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The conditions that, when conjoined, make up the boundary.
|
||||
# Corresponds to the JSON property `condition`
|
||||
# @return [Array<Google::Apis::TagmanagerV2::Condition>]
|
||||
attr_accessor :condition
|
||||
|
||||
# Custom evaluation trigger IDs. A zone will evaluate its boundary conditions
|
||||
# when any of the listed triggers are true.
|
||||
# Corresponds to the JSON property `customEvaluationTriggerId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :custom_evaluation_trigger_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@condition = args[:condition] if args.key?(:condition)
|
||||
@custom_evaluation_trigger_id = args[:custom_evaluation_trigger_id] if args.key?(:custom_evaluation_trigger_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a child container of a Zone.
|
||||
class ZoneChildContainer
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The zone's nickname for the child container.
|
||||
# Corresponds to the JSON property `nickname`
|
||||
# @return [String]
|
||||
attr_accessor :nickname
|
||||
|
||||
# The child container's public id.
|
||||
# Corresponds to the JSON property `publicId`
|
||||
# @return [String]
|
||||
attr_accessor :public_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@nickname = args[:nickname] if args.key?(:nickname)
|
||||
@public_id = args[:public_id] if args.key?(:public_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Represents a Zone's type restrictions.
|
||||
class ZoneTypeRestriction
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# True if type restrictions have been enabled for this Zone.
|
||||
# Corresponds to the JSON property `enable`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable
|
||||
alias_method :enable?, :enable
|
||||
|
||||
# List of type public ids that have been whitelisted for use in this Zone.
|
||||
# Corresponds to the JSON property `whitelistedTypeId`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :whitelisted_type_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@enable = args[:enable] if args.key?(:enable)
|
||||
@whitelisted_type_id = args[:whitelisted_type_id] if args.key?(:whitelisted_type_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -340,6 +340,30 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Zone
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZoneBoundary
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZoneChildContainer
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZoneTypeRestriction
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Account
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -428,6 +452,8 @@ module Google
|
||||
|
||||
collection :variable, as: 'variable', class: Google::Apis::TagmanagerV2::Variable, decorator: Google::Apis::TagmanagerV2::Variable::Representation
|
||||
|
||||
collection :zone, as: 'zone', class: Google::Apis::TagmanagerV2::Zone, decorator: Google::Apis::TagmanagerV2::Zone::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -444,6 +470,7 @@ module Google
|
||||
property :num_tags, as: 'numTags'
|
||||
property :num_triggers, as: 'numTriggers'
|
||||
property :num_variables, as: 'numVariables'
|
||||
property :num_zones, as: 'numZones'
|
||||
property :path, as: 'path'
|
||||
end
|
||||
end
|
||||
@@ -847,6 +874,8 @@ module Google
|
||||
|
||||
property :name, as: 'name'
|
||||
property :notes, as: 'notes'
|
||||
collection :parameter, as: 'parameter', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
||||
|
||||
property :parent_folder_id, as: 'parentFolderId'
|
||||
property :path, as: 'path'
|
||||
property :selector, as: 'selector', class: Google::Apis::TagmanagerV2::Parameter, decorator: Google::Apis::TagmanagerV2::Parameter::Representation
|
||||
@@ -988,6 +1017,52 @@ module Google
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class Zone
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :account_id, as: 'accountId'
|
||||
property :boundary, as: 'boundary', class: Google::Apis::TagmanagerV2::ZoneBoundary, decorator: Google::Apis::TagmanagerV2::ZoneBoundary::Representation
|
||||
|
||||
collection :child_container, as: 'childContainer', class: Google::Apis::TagmanagerV2::ZoneChildContainer, decorator: Google::Apis::TagmanagerV2::ZoneChildContainer::Representation
|
||||
|
||||
property :container_id, as: 'containerId'
|
||||
property :fingerprint, as: 'fingerprint'
|
||||
property :name, as: 'name'
|
||||
property :notes, as: 'notes'
|
||||
property :path, as: 'path'
|
||||
property :tag_manager_url, as: 'tagManagerUrl'
|
||||
property :type_restriction, as: 'typeRestriction', class: Google::Apis::TagmanagerV2::ZoneTypeRestriction, decorator: Google::Apis::TagmanagerV2::ZoneTypeRestriction::Representation
|
||||
|
||||
property :workspace_id, as: 'workspaceId'
|
||||
property :zone_id, as: 'zoneId'
|
||||
end
|
||||
end
|
||||
|
||||
class ZoneBoundary
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :condition, as: 'condition', class: Google::Apis::TagmanagerV2::Condition, decorator: Google::Apis::TagmanagerV2::Condition::Representation
|
||||
|
||||
collection :custom_evaluation_trigger_id, as: 'customEvaluationTriggerId'
|
||||
end
|
||||
end
|
||||
|
||||
class ZoneChildContainer
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :nickname, as: 'nickname'
|
||||
property :public_id, as: 'publicId'
|
||||
end
|
||||
end
|
||||
|
||||
class ZoneTypeRestriction
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable, as: 'enable'
|
||||
collection :whitelisted_type_id, as: 'whitelistedTypeId'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -18,14 +18,14 @@ require 'google/apis/videointelligence_v1beta1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Cloud Video Intelligence API
|
||||
# Cloud Video Intelligence API
|
||||
#
|
||||
# Google Cloud Video Intelligence API.
|
||||
# Cloud Video Intelligence API.
|
||||
#
|
||||
# @see https://cloud.google.com/video-intelligence/docs/
|
||||
module VideointelligenceV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20170908'
|
||||
REVISION = '20170919'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
||||
module Google
|
||||
module Apis
|
||||
module VideointelligenceV1beta1
|
||||
# Google Cloud Video Intelligence API
|
||||
# Cloud Video Intelligence API
|
||||
#
|
||||
# Google Cloud Video Intelligence API.
|
||||
# Cloud Video Intelligence API.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/videointelligence_v1beta1'
|
||||
|
||||
Reference in new issue
Block a user