Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 30 additions & 27 deletions types/google-apps-script/apis/adsense_v1_4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ declare namespace GoogleAppsScript {
list(accountId: string, optionalArgs: object): Adsense.Schema.AdClients;
}
interface AdunitsCollection {
Customchannels?: Adsense.Collection.Accounts.Adunits.CustomchannelsCollection | undefined;
Customchannels: Adsense.Collection.Accounts.Adunits.CustomchannelsCollection;
// Gets the specified ad unit in the specified ad client for the specified account.
get(accountId: string, adClientId: string, adUnitId: string): Adsense.Schema.AdUnit;
// Get ad code for the specified ad unit.
Expand All @@ -75,7 +75,7 @@ declare namespace GoogleAppsScript {
remove(accountId: string, alertId: string): void;
}
interface CustomchannelsCollection {
Adunits?: Adsense.Collection.Accounts.Customchannels.AdunitsCollection | undefined;
Adunits: Adsense.Collection.Accounts.Customchannels.AdunitsCollection;
// Get the specified custom channel from the specified ad client for the specified account.
get(accountId: string, adClientId: string, customChannelId: string): Adsense.Schema.CustomChannel;
// List all custom channels in the specified ad client for the specified account.
Expand All @@ -88,7 +88,7 @@ declare namespace GoogleAppsScript {
list(accountId: string): Adsense.Schema.Payments;
}
interface ReportsCollection {
Saved?: Adsense.Collection.Accounts.Reports.SavedCollection | undefined;
Saved: Adsense.Collection.Accounts.Reports.SavedCollection;
// Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.
generate(
accountId: string,
Expand Down Expand Up @@ -160,14 +160,14 @@ declare namespace GoogleAppsScript {
}
}
interface AccountsCollection {
Adclients?: Adsense.Collection.Accounts.AdclientsCollection | undefined;
Adunits?: Adsense.Collection.Accounts.AdunitsCollection | undefined;
Alerts?: Adsense.Collection.Accounts.AlertsCollection | undefined;
Customchannels?: Adsense.Collection.Accounts.CustomchannelsCollection | undefined;
Payments?: Adsense.Collection.Accounts.PaymentsCollection | undefined;
Reports?: Adsense.Collection.Accounts.ReportsCollection | undefined;
Savedadstyles?: Adsense.Collection.Accounts.SavedadstylesCollection | undefined;
Urlchannels?: Adsense.Collection.Accounts.UrlchannelsCollection | undefined;
Adclients: Adsense.Collection.Accounts.AdclientsCollection;
Adunits: Adsense.Collection.Accounts.AdunitsCollection;
Alerts: Adsense.Collection.Accounts.AlertsCollection;
Customchannels: Adsense.Collection.Accounts.CustomchannelsCollection;
Payments: Adsense.Collection.Accounts.PaymentsCollection;
Reports: Adsense.Collection.Accounts.ReportsCollection;
Savedadstyles: Adsense.Collection.Accounts.SavedadstylesCollection;
Urlchannels: Adsense.Collection.Accounts.UrlchannelsCollection;
// Get information about the selected AdSense account.
get(accountId: string): Adsense.Schema.Account;
// Get information about the selected AdSense account.
Expand All @@ -184,7 +184,7 @@ declare namespace GoogleAppsScript {
list(optionalArgs: object): Adsense.Schema.AdClients;
}
interface AdunitsCollection {
Customchannels?: Adsense.Collection.Adunits.CustomchannelsCollection | undefined;
Customchannels: Adsense.Collection.Adunits.CustomchannelsCollection;
// Gets the specified ad unit in the specified ad client.
get(adClientId: string, adUnitId: string): Adsense.Schema.AdUnit;
// Get ad code for the specified ad unit.
Expand All @@ -203,7 +203,7 @@ declare namespace GoogleAppsScript {
remove(alertId: string): void;
}
interface CustomchannelsCollection {
Adunits?: Adsense.Collection.Customchannels.AdunitsCollection | undefined;
Adunits: Adsense.Collection.Customchannels.AdunitsCollection;
// Get the specified custom channel from the specified ad client.
get(adClientId: string, customChannelId: string): Adsense.Schema.CustomChannel;
// List all custom channels in the specified ad client for this AdSense account.
Expand All @@ -212,15 +212,15 @@ declare namespace GoogleAppsScript {
list(adClientId: string, optionalArgs: object): Adsense.Schema.CustomChannels;
}
interface MetadataCollection {
Dimensions?: Adsense.Collection.Metadata.DimensionsCollection | undefined;
Metrics?: Adsense.Collection.Metadata.MetricsCollection | undefined;
Dimensions: Adsense.Collection.Metadata.DimensionsCollection;
Metrics: Adsense.Collection.Metadata.MetricsCollection;
}
interface PaymentsCollection {
// List the payments for this AdSense account.
list(): Adsense.Schema.Payments;
}
interface ReportsCollection {
Saved?: Adsense.Collection.Reports.SavedCollection | undefined;
Saved: Adsense.Collection.Reports.SavedCollection;
// Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.
generate(startDate: string, endDate: string): Adsense.Schema.AdsenseReportsGenerateResponse;
// Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.
Expand Down Expand Up @@ -445,17 +445,20 @@ declare namespace GoogleAppsScript {
}
}
interface Adsense {
Accounts?: Adsense.Collection.AccountsCollection | undefined;
Adclients?: Adsense.Collection.AdclientsCollection | undefined;
Adunits?: Adsense.Collection.AdunitsCollection | undefined;
Alerts?: Adsense.Collection.AlertsCollection | undefined;
Customchannels?: Adsense.Collection.CustomchannelsCollection | undefined;
Metadata?: Adsense.Collection.MetadataCollection | undefined;
Payments?: Adsense.Collection.PaymentsCollection | undefined;
Reports?: Adsense.Collection.ReportsCollection | undefined;
Savedadstyles?: Adsense.Collection.SavedadstylesCollection | undefined;
Urlchannels?: Adsense.Collection.UrlchannelsCollection | undefined;
Accounts: Adsense.Collection.AccountsCollection;
Adclients: Adsense.Collection.AdclientsCollection;
Adunits: Adsense.Collection.AdunitsCollection;
Alerts: Adsense.Collection.AlertsCollection;
Customchannels: Adsense.Collection.CustomchannelsCollection;
Metadata: Adsense.Collection.MetadataCollection;
Payments: Adsense.Collection.PaymentsCollection;
Reports: Adsense.Collection.ReportsCollection;
Savedadstyles: Adsense.Collection.SavedadstylesCollection;
Urlchannels: Adsense.Collection.UrlchannelsCollection;
}
}

declare var Adsense: GoogleAppsScript.Adsense;
/**
* The `Adsense` advanced service must be enabled.
*/
declare var Adsense: GoogleAppsScript.Adsense | undefined;
65 changes: 34 additions & 31 deletions types/google-apps-script/apis/analytics_v3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,34 +592,34 @@ declare namespace GoogleAppsScript {
}
}
interface DataCollection {
Ga?: Analytics.Collection.Data.GaCollection | undefined;
Mcf?: Analytics.Collection.Data.McfCollection | undefined;
Realtime?: Analytics.Collection.Data.RealtimeCollection | undefined;
Ga: Analytics.Collection.Data.GaCollection;
Mcf: Analytics.Collection.Data.McfCollection;
Realtime: Analytics.Collection.Data.RealtimeCollection;
}
interface ManagementCollection {
AccountSummaries?: Analytics.Collection.Management.AccountSummariesCollection | undefined;
AccountUserLinks?: Analytics.Collection.Management.AccountUserLinksCollection | undefined;
Accounts?: Analytics.Collection.Management.AccountsCollection | undefined;
ClientId?: Analytics.Collection.Management.ClientIdCollection | undefined;
CustomDataSources?: Analytics.Collection.Management.CustomDataSourcesCollection | undefined;
CustomDimensions?: Analytics.Collection.Management.CustomDimensionsCollection | undefined;
CustomMetrics?: Analytics.Collection.Management.CustomMetricsCollection | undefined;
Experiments?: Analytics.Collection.Management.ExperimentsCollection | undefined;
Filters?: Analytics.Collection.Management.FiltersCollection | undefined;
Goals?: Analytics.Collection.Management.GoalsCollection | undefined;
ProfileFilterLinks?: Analytics.Collection.Management.ProfileFilterLinksCollection | undefined;
ProfileUserLinks?: Analytics.Collection.Management.ProfileUserLinksCollection | undefined;
Profiles?: Analytics.Collection.Management.ProfilesCollection | undefined;
RemarketingAudience?: Analytics.Collection.Management.RemarketingAudienceCollection | undefined;
Segments?: Analytics.Collection.Management.SegmentsCollection | undefined;
UnsampledReports?: Analytics.Collection.Management.UnsampledReportsCollection | undefined;
Uploads?: Analytics.Collection.Management.UploadsCollection | undefined;
WebPropertyAdWordsLinks?: Analytics.Collection.Management.WebPropertyAdWordsLinksCollection | undefined;
Webproperties?: Analytics.Collection.Management.WebpropertiesCollection | undefined;
WebpropertyUserLinks?: Analytics.Collection.Management.WebpropertyUserLinksCollection | undefined;
AccountSummaries: Analytics.Collection.Management.AccountSummariesCollection;
AccountUserLinks: Analytics.Collection.Management.AccountUserLinksCollection;
Accounts: Analytics.Collection.Management.AccountsCollection;
ClientId: Analytics.Collection.Management.ClientIdCollection;
CustomDataSources: Analytics.Collection.Management.CustomDataSourcesCollection;
CustomDimensions: Analytics.Collection.Management.CustomDimensionsCollection;
CustomMetrics: Analytics.Collection.Management.CustomMetricsCollection;
Experiments: Analytics.Collection.Management.ExperimentsCollection;
Filters: Analytics.Collection.Management.FiltersCollection;
Goals: Analytics.Collection.Management.GoalsCollection;
ProfileFilterLinks: Analytics.Collection.Management.ProfileFilterLinksCollection;
ProfileUserLinks: Analytics.Collection.Management.ProfileUserLinksCollection;
Profiles: Analytics.Collection.Management.ProfilesCollection;
RemarketingAudience: Analytics.Collection.Management.RemarketingAudienceCollection;
Segments: Analytics.Collection.Management.SegmentsCollection;
UnsampledReports: Analytics.Collection.Management.UnsampledReportsCollection;
Uploads: Analytics.Collection.Management.UploadsCollection;
WebPropertyAdWordsLinks: Analytics.Collection.Management.WebPropertyAdWordsLinksCollection;
Webproperties: Analytics.Collection.Management.WebpropertiesCollection;
WebpropertyUserLinks: Analytics.Collection.Management.WebpropertyUserLinksCollection;
}
interface MetadataCollection {
Columns?: Analytics.Collection.Metadata.ColumnsCollection | undefined;
Columns: Analytics.Collection.Metadata.ColumnsCollection;
}
interface ProvisioningCollection {
// Creates an account ticket.
Expand All @@ -628,7 +628,7 @@ declare namespace GoogleAppsScript {
createAccountTree(resource: Schema.AccountTreeRequest): Analytics.Schema.AccountTreeResponse;
}
interface UserDeletionCollection {
UserDeletionRequest?: Analytics.Collection.UserDeletion.UserDeletionRequestCollection | undefined;
UserDeletionRequest: Analytics.Collection.UserDeletion.UserDeletionRequestCollection;
}
}
namespace Schema {
Expand Down Expand Up @@ -1524,11 +1524,11 @@ declare namespace GoogleAppsScript {
}
}
interface Analytics {
Data?: Analytics.Collection.DataCollection | undefined;
Management?: Analytics.Collection.ManagementCollection | undefined;
Metadata?: Analytics.Collection.MetadataCollection | undefined;
Provisioning?: Analytics.Collection.ProvisioningCollection | undefined;
UserDeletion?: Analytics.Collection.UserDeletionCollection | undefined;
Data: Analytics.Collection.DataCollection;
Management: Analytics.Collection.ManagementCollection;
Metadata: Analytics.Collection.MetadataCollection;
Provisioning: Analytics.Collection.ProvisioningCollection;
UserDeletion: Analytics.Collection.UserDeletionCollection;
// Create a new instance of Account
newAccount(): Analytics.Schema.Account;
// Create a new instance of AccountChildLink
Expand Down Expand Up @@ -1652,4 +1652,7 @@ declare namespace GoogleAppsScript {
}
}

declare var Analytics: GoogleAppsScript.Analytics;
/**
* The `Analytics` advanced service must be enabled.
*/
declare var Analytics: GoogleAppsScript.Analytics | undefined;
9 changes: 6 additions & 3 deletions types/google-apps-script/apis/analyticsreporting_v4.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ declare namespace GoogleAppsScript {
}
}
interface AnalyticsReporting {
Reports?: AnalyticsReporting.Collection.ReportsCollection | undefined;
UserActivity?: AnalyticsReporting.Collection.UserActivityCollection | undefined;
Reports: AnalyticsReporting.Collection.ReportsCollection;
UserActivity: AnalyticsReporting.Collection.UserActivityCollection;
// Create a new instance of Cohort
newCohort(): AnalyticsReporting.Schema.Cohort;
// Create a new instance of CohortGroup
Expand Down Expand Up @@ -354,4 +354,7 @@ declare namespace GoogleAppsScript {
}
}

declare var AnalyticsReporting: GoogleAppsScript.AnalyticsReporting;
/**
* The `AnalyticsReporting` advanced service must be enabled.
*/
declare var AnalyticsReporting: GoogleAppsScript.AnalyticsReporting | undefined;
7 changes: 5 additions & 2 deletions types/google-apps-script/apis/appsactivity_v1.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ declare namespace GoogleAppsScript {
}
}
interface Appsactivity {
Activities?: Appsactivity.Collection.ActivitiesCollection | undefined;
Activities: Appsactivity.Collection.ActivitiesCollection;
}
}

declare var Appsactivity: GoogleAppsScript.Appsactivity;
/**
* The `Appsactivity` advanced service must be enabled.
*/
declare var Appsactivity: GoogleAppsScript.Appsactivity | undefined;
15 changes: 9 additions & 6 deletions types/google-apps-script/apis/bigquery_v2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -698,11 +698,11 @@ declare namespace GoogleAppsScript {
}
}
interface BigQuery {
Datasets?: BigQuery.Collection.DatasetsCollection | undefined;
Jobs?: BigQuery.Collection.JobsCollection | undefined;
Projects?: BigQuery.Collection.ProjectsCollection | undefined;
Tabledata?: BigQuery.Collection.TabledataCollection | undefined;
Tables?: BigQuery.Collection.TablesCollection | undefined;
Datasets: BigQuery.Collection.DatasetsCollection;
Jobs: BigQuery.Collection.JobsCollection;
Projects: BigQuery.Collection.ProjectsCollection;
Tabledata: BigQuery.Collection.TabledataCollection;
Tables: BigQuery.Collection.TablesCollection;
// Create a new instance of BigQueryModelTraining
newBigQueryModelTraining(): BigQuery.Schema.BigQueryModelTraining;
// Create a new instance of BigtableColumn
Expand Down Expand Up @@ -818,4 +818,7 @@ declare namespace GoogleAppsScript {
}
}

declare var BigQuery: GoogleAppsScript.BigQuery;
/**
* The `BigQuery` advanced service must be enabled.
*/
declare var BigQuery: GoogleAppsScript.BigQuery | undefined;
21 changes: 12 additions & 9 deletions types/google-apps-script/apis/calendar_v3.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -653,14 +653,14 @@ declare namespace GoogleAppsScript {
}
}
interface Calendar {
Acl?: Calendar.Collection.AclCollection | undefined;
CalendarList?: Calendar.Collection.CalendarListCollection | undefined;
Calendars?: Calendar.Collection.CalendarsCollection | undefined;
Channels?: Calendar.Collection.ChannelsCollection | undefined;
Colors?: Calendar.Collection.ColorsCollection | undefined;
Events?: Calendar.Collection.EventsCollection | undefined;
Freebusy?: Calendar.Collection.FreebusyCollection | undefined;
Settings?: Calendar.Collection.SettingsCollection | undefined;
Acl: Calendar.Collection.AclCollection;
CalendarList: Calendar.Collection.CalendarListCollection;
Calendars: Calendar.Collection.CalendarsCollection;
Channels: Calendar.Collection.ChannelsCollection;
Colors: Calendar.Collection.ColorsCollection;
Events: Calendar.Collection.EventsCollection;
Freebusy: Calendar.Collection.FreebusyCollection;
Settings: Calendar.Collection.SettingsCollection;
// Create a new instance of AclRule
newAclRule(): Calendar.Schema.AclRule;
// Create a new instance of AclRuleScope
Expand Down Expand Up @@ -728,4 +728,7 @@ declare namespace GoogleAppsScript {
}
}

declare var Calendar: GoogleAppsScript.Calendar;
/**
* The `Calendar` advanced service must be enabled.
*/
declare var Calendar: GoogleAppsScript.Calendar | undefined;
Loading