[google-apps-script] Delete stopped services (#42980)

This commit is contained in:
mtgto 2020-03-13 08:24:34 +09:00 committed by GitHub
parent cd06f6a8c2
commit 57fe2e635e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 409 deletions

View File

@ -1,335 +0,0 @@
// Type definitions for Google Apps Script 2019-03-25
// Project: https://developers.google.com/apps-script/
// Generator: https://github.com/grant/google-apps-script-dts
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace GoogleAppsScript {
namespace FusionTables {
namespace Collection {
interface ColumnCollection {
// Retrieves a specific column by its ID.
get(tableId: string, columnId: string): FusionTables.Schema.Column;
// Adds a new column to the table.
insert(resource: Schema.Column, tableId: string): FusionTables.Schema.Column;
// Retrieves a list of columns.
list(tableId: string): FusionTables.Schema.ColumnList;
// Retrieves a list of columns.
list(tableId: string, optionalArgs: object): FusionTables.Schema.ColumnList;
// Updates the name or type of an existing column. This method supports patch semantics.
patch(resource: Schema.Column, tableId: string, columnId: string): FusionTables.Schema.Column;
// Deletes the specified column.
remove(tableId: string, columnId: string): void;
// Updates the name or type of an existing column.
update(resource: Schema.Column, tableId: string, columnId: string): FusionTables.Schema.Column;
}
interface QueryCollection {
// Executes a Fusion Tables SQL statement, which can be any of
// - SELECT
// - INSERT
// - UPDATE
// - DELETE
// - SHOW
// - DESCRIBE
// - CREATE statement.
sql(sql: string): FusionTables.Schema.Sqlresponse;
// Executes a Fusion Tables SQL statement, which can be any of
// - SELECT
// - INSERT
// - UPDATE
// - DELETE
// - SHOW
// - DESCRIBE
// - CREATE statement.
sql(sql: string, optionalArgs: object): FusionTables.Schema.Sqlresponse;
// Executes a SQL statement which can be any of
// - SELECT
// - SHOW
// - DESCRIBE
sqlGet(sql: string): FusionTables.Schema.Sqlresponse;
// Executes a SQL statement which can be any of
// - SELECT
// - SHOW
// - DESCRIBE
sqlGet(sql: string, optionalArgs: object): FusionTables.Schema.Sqlresponse;
}
interface StyleCollection {
// Gets a specific style.
get(tableId: string, styleId: number): FusionTables.Schema.StyleSetting;
// Adds a new style for the table.
insert(resource: Schema.StyleSetting, tableId: string): FusionTables.Schema.StyleSetting;
// Retrieves a list of styles.
list(tableId: string): FusionTables.Schema.StyleSettingList;
// Retrieves a list of styles.
list(tableId: string, optionalArgs: object): FusionTables.Schema.StyleSettingList;
// Updates an existing style. This method supports patch semantics.
patch(resource: Schema.StyleSetting, tableId: string, styleId: number): FusionTables.Schema.StyleSetting;
// Deletes a style.
remove(tableId: string, styleId: number): void;
// Updates an existing style.
update(resource: Schema.StyleSetting, tableId: string, styleId: number): FusionTables.Schema.StyleSetting;
}
interface TableCollection {
// Copies a table.
copy(tableId: string): FusionTables.Schema.Table;
// Copies a table.
copy(tableId: string, optionalArgs: object): FusionTables.Schema.Table;
// Retrieves a specific table by its ID.
get(tableId: string): FusionTables.Schema.Table;
// Imports more rows into a table.
importRows(tableId: string): FusionTables.Schema.Import;
// Imports more rows into a table.
importRows(tableId: string, mediaData: any): FusionTables.Schema.Import;
// Imports more rows into a table.
importRows(tableId: string, mediaData: any, optionalArgs: object): FusionTables.Schema.Import;
// Imports a new table.
importTable(name: string): FusionTables.Schema.Table;
// Imports a new table.
importTable(name: string, mediaData: any): FusionTables.Schema.Table;
// Imports a new table.
importTable(name: string, mediaData: any, optionalArgs: object): FusionTables.Schema.Table;
// Creates a new table.
insert(resource: Schema.Table): FusionTables.Schema.Table;
// Retrieves a list of tables a user owns.
list(): FusionTables.Schema.TableList;
// Retrieves a list of tables a user owns.
list(optionalArgs: object): FusionTables.Schema.TableList;
// Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.
patch(resource: Schema.Table, tableId: string): FusionTables.Schema.Table;
// Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.
patch(resource: Schema.Table, tableId: string, optionalArgs: object): FusionTables.Schema.Table;
// Replaces rows of the table with the rows of the spreadsheet that is first imported from. Current rows remain visible until all replacement rows are ready.
refetchSheet(tableId: string): FusionTables.Schema.Task;
// Deletes a table.
remove(tableId: string): void;
// Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.
replaceRows(tableId: string): FusionTables.Schema.Task;
// Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.
replaceRows(tableId: string, mediaData: any): FusionTables.Schema.Task;
// Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.
replaceRows(tableId: string, mediaData: any, optionalArgs: object): FusionTables.Schema.Task;
// Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.
update(resource: Schema.Table, tableId: string): FusionTables.Schema.Table;
// Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.
update(resource: Schema.Table, tableId: string, optionalArgs: object): FusionTables.Schema.Table;
}
interface TaskCollection {
// Retrieves a specific task by its ID.
get(tableId: string, taskId: string): FusionTables.Schema.Task;
// Retrieves a list of tasks.
list(tableId: string): FusionTables.Schema.TaskList;
// Retrieves a list of tasks.
list(tableId: string, optionalArgs: object): FusionTables.Schema.TaskList;
// Deletes a specific task by its ID, unless that task has already started running.
remove(tableId: string, taskId: string): void;
}
interface TemplateCollection {
// Retrieves a specific template by its id
get(tableId: string, templateId: number): FusionTables.Schema.Template;
// Creates a new template for the table.
insert(resource: Schema.Template, tableId: string): FusionTables.Schema.Template;
// Retrieves a list of templates.
list(tableId: string): FusionTables.Schema.TemplateList;
// Retrieves a list of templates.
list(tableId: string, optionalArgs: object): FusionTables.Schema.TemplateList;
// Updates an existing template. This method supports patch semantics.
patch(resource: Schema.Template, tableId: string, templateId: number): FusionTables.Schema.Template;
// Deletes a template
remove(tableId: string, templateId: number): void;
// Updates an existing template
update(resource: Schema.Template, tableId: string, templateId: number): FusionTables.Schema.Template;
}
}
namespace Schema {
interface Bucket {
color?: string;
icon?: string;
max?: number;
min?: number;
opacity?: number;
weight?: number;
}
interface Column {
baseColumn?: FusionTables.Schema.ColumnBaseColumn;
columnId?: number;
columnJsonSchema?: string;
columnPropertiesJson?: string;
description?: string;
formatPattern?: string;
graphPredicate?: string;
kind?: string;
name?: string;
type?: string;
validValues?: string[];
validateData?: boolean;
}
interface ColumnBaseColumn {
columnId?: number;
tableIndex?: number;
}
interface ColumnList {
items?: FusionTables.Schema.Column[];
kind?: string;
nextPageToken?: string;
totalItems?: number;
}
interface Geometry {
geometries?: object[];
geometry?: object;
type?: string;
}
interface Import {
kind?: string;
numRowsReceived?: string;
}
interface Line {
coordinates?: number[][];
type?: string;
}
interface LineStyle {
strokeColor?: string;
strokeColorStyler?: FusionTables.Schema.StyleFunction;
strokeOpacity?: number;
strokeWeight?: number;
strokeWeightStyler?: FusionTables.Schema.StyleFunction;
}
interface Point {
coordinates?: number[];
type?: string;
}
interface PointStyle {
iconName?: string;
iconStyler?: FusionTables.Schema.StyleFunction;
}
interface Polygon {
coordinates?: number[][][];
type?: string;
}
interface PolygonStyle {
fillColor?: string;
fillColorStyler?: FusionTables.Schema.StyleFunction;
fillOpacity?: number;
strokeColor?: string;
strokeColorStyler?: FusionTables.Schema.StyleFunction;
strokeOpacity?: number;
strokeWeight?: number;
strokeWeightStyler?: FusionTables.Schema.StyleFunction;
}
interface Sqlresponse {
columns?: string[];
kind?: string;
rows?: object[][];
}
interface StyleFunction {
buckets?: FusionTables.Schema.Bucket[];
columnName?: string;
gradient?: FusionTables.Schema.StyleFunctionGradient;
kind?: string;
}
interface StyleFunctionGradient {
colors?: FusionTables.Schema.StyleFunctionGradientColors[];
max?: number;
min?: number;
}
interface StyleFunctionGradientColors {
color?: string;
opacity?: number;
}
interface StyleSetting {
kind?: string;
markerOptions?: FusionTables.Schema.PointStyle;
name?: string;
polygonOptions?: FusionTables.Schema.PolygonStyle;
polylineOptions?: FusionTables.Schema.LineStyle;
styleId?: number;
tableId?: string;
}
interface StyleSettingList {
items?: FusionTables.Schema.StyleSetting[];
kind?: string;
nextPageToken?: string;
totalItems?: number;
}
interface Table {
attribution?: string;
attributionLink?: string;
baseTableIds?: string[];
columnPropertiesJsonSchema?: string;
columns?: FusionTables.Schema.Column[];
description?: string;
isExportable?: boolean;
kind?: string;
name?: string;
sql?: string;
tableId?: string;
tablePropertiesJson?: string;
tablePropertiesJsonSchema?: string;
}
interface TableList {
items?: FusionTables.Schema.Table[];
kind?: string;
nextPageToken?: string;
}
interface Task {
kind?: string;
progress?: string;
started?: boolean;
taskId?: string;
type?: string;
}
interface TaskList {
items?: FusionTables.Schema.Task[];
kind?: string;
nextPageToken?: string;
totalItems?: number;
}
interface Template {
automaticColumnNames?: string[];
body?: string;
kind?: string;
name?: string;
tableId?: string;
templateId?: number;
}
interface TemplateList {
items?: FusionTables.Schema.Template[];
kind?: string;
nextPageToken?: string;
totalItems?: number;
}
}
}
interface FusionTables {
Column?: FusionTables.Collection.ColumnCollection;
Query?: FusionTables.Collection.QueryCollection;
Style?: FusionTables.Collection.StyleCollection;
Table?: FusionTables.Collection.TableCollection;
Task?: FusionTables.Collection.TaskCollection;
Template?: FusionTables.Collection.TemplateCollection;
// Create a new instance of Bucket
newBucket(): FusionTables.Schema.Bucket;
// Create a new instance of Column
newColumn(): FusionTables.Schema.Column;
// Create a new instance of ColumnBaseColumn
newColumnBaseColumn(): FusionTables.Schema.ColumnBaseColumn;
// Create a new instance of LineStyle
newLineStyle(): FusionTables.Schema.LineStyle;
// Create a new instance of PointStyle
newPointStyle(): FusionTables.Schema.PointStyle;
// Create a new instance of PolygonStyle
newPolygonStyle(): FusionTables.Schema.PolygonStyle;
// Create a new instance of StyleFunction
newStyleFunction(): FusionTables.Schema.StyleFunction;
// Create a new instance of StyleFunctionGradient
newStyleFunctionGradient(): FusionTables.Schema.StyleFunctionGradient;
// Create a new instance of StyleFunctionGradientColors
newStyleFunctionGradientColors(): FusionTables.Schema.StyleFunctionGradientColors;
// Create a new instance of StyleSetting
newStyleSetting(): FusionTables.Schema.StyleSetting;
// Create a new instance of Table
newTable(): FusionTables.Schema.Table;
// Create a new instance of Template
newTemplate(): FusionTables.Schema.Template;
}
}
declare var FusionTables: GoogleAppsScript.FusionTables;

View File

@ -1,72 +0,0 @@
// Type definitions for Google Apps Script 2019-03-25
// Project: https://developers.google.com/apps-script/
// Generator: https://github.com/grant/google-apps-script-dts
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace GoogleAppsScript {
namespace UrlShortener {
namespace Collection {
interface UrlCollection {
// Expands a short URL or gets creation time and analytics.
get(shortUrl: string): UrlShortener.Schema.Url;
// Expands a short URL or gets creation time and analytics.
get(shortUrl: string, optionalArgs: object): UrlShortener.Schema.Url;
// Creates a new short URL.
insert(resource: Schema.Url): UrlShortener.Schema.Url;
// Retrieves a list of URLs shortened by a user.
list(): UrlShortener.Schema.UrlHistory;
// Retrieves a list of URLs shortened by a user.
list(optionalArgs: object): UrlShortener.Schema.UrlHistory;
}
}
namespace Schema {
interface AnalyticsSnapshot {
browsers?: UrlShortener.Schema.StringCount[];
countries?: UrlShortener.Schema.StringCount[];
longUrlClicks?: string;
platforms?: UrlShortener.Schema.StringCount[];
referrers?: UrlShortener.Schema.StringCount[];
shortUrlClicks?: string;
}
interface AnalyticsSummary {
allTime?: UrlShortener.Schema.AnalyticsSnapshot;
day?: UrlShortener.Schema.AnalyticsSnapshot;
month?: UrlShortener.Schema.AnalyticsSnapshot;
twoHours?: UrlShortener.Schema.AnalyticsSnapshot;
week?: UrlShortener.Schema.AnalyticsSnapshot;
}
interface StringCount {
count?: string;
id?: string;
}
interface Url {
analytics?: UrlShortener.Schema.AnalyticsSummary;
created?: string;
id?: string;
kind?: string;
longUrl?: string;
status?: string;
}
interface UrlHistory {
items?: UrlShortener.Schema.Url[];
itemsPerPage?: number;
kind?: string;
nextPageToken?: string;
totalItems?: number;
}
}
}
interface UrlShortener {
Url?: UrlShortener.Collection.UrlCollection;
// Create a new instance of AnalyticsSnapshot
newAnalyticsSnapshot(): UrlShortener.Schema.AnalyticsSnapshot;
// Create a new instance of AnalyticsSummary
newAnalyticsSummary(): UrlShortener.Schema.AnalyticsSummary;
// Create a new instance of StringCount
newStringCount(): UrlShortener.Schema.StringCount;
// Create a new instance of Url
newUrl(): UrlShortener.Schema.Url;
}
}
declare var UrlShortener: GoogleAppsScript.UrlShortener;

View File

@ -57,7 +57,6 @@
/// <reference path="apis/docs_v1.d.ts"/>
/// <reference path="apis/drive_v2.d.ts"/>
/// <reference path="apis/driveactivity_v2.d.ts"/>
/// <reference path="apis/fusiontables_v2.d.ts"/>
/// <reference path="apis/gmail_v1.d.ts"/>
/// <reference path="apis/groupsmigration_v1.d.ts"/>
/// <reference path="apis/groupssettings_v1.d.ts"/>
@ -70,7 +69,6 @@
/// <reference path="apis/slides_v1.d.ts"/>
/// <reference path="apis/tagmanager_v2.d.ts"/>
/// <reference path="apis/tasks_v1.d.ts"/>
/// <reference path="apis/urlshortener_v1.d.ts"/>
/// <reference path="apis/youtube_v3.d.ts"/>
/// <reference path="apis/youtubeanalytics_v2.d.ts"/>
/// <reference path="apis/youtubepartner_v1.d.ts"/>