type
stringclasses 7
values | content
stringlengths 4
9.55k
| repo
stringlengths 7
96
| path
stringlengths 4
178
| language
stringclasses 1
value |
|---|---|---|---|---|
MethodDeclaration
|
/**
* logging.billingAccounts.sinks.delete
* @desc Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.billingAccounts.sinks.delete({
* // Required. The full resource name of the sink to delete, including the parent resource and the sink identifier:
* // "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* // "folders/[FOLDER_ID]/sinks/[SINK_ID]"
* // Example: "projects/my-project-id/sinks/my-sink-id".
* sinkName: 'billingAccounts/my-billingAccount/sinks/my-sink',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.billingAccounts.sinks.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.sinkName Required. The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params: Params$Resource$Billingaccounts$Sinks$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params?: Params$Resource$Billingaccounts$Sinks$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Billingaccounts$Sinks$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Billingaccounts$Sinks$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Billingaccounts$Sinks$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.billingAccounts.sinks.get
* @desc Gets a sink.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.billingAccounts.sinks.get({
* // Required. The resource name of the sink:
* // "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* // "folders/[FOLDER_ID]/sinks/[SINK_ID]"
* // Example: "projects/my-project-id/sinks/my-sink-id".
* sinkName: 'billingAccounts/my-billingAccount/sinks/my-sink',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "bigqueryOptions": {},
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "destination": "my_destination",
* // "disabled": false,
* // "filter": "my_filter",
* // "includeChildren": false,
* // "name": "my_name",
* // "outputVersionFormat": "my_outputVersionFormat",
* // "updateTime": "my_updateTime",
* // "writerIdentity": "my_writerIdentity"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.billingAccounts.sinks.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.sinkName Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params: Params$Resource$Billingaccounts$Sinks$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params?: Params$Resource$Billingaccounts$Sinks$Get, options?: MethodOptions): GaxiosPromise<Schema$LogSink>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Billingaccounts$Sinks$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Billingaccounts$Sinks$Get, options: MethodOptions | BodyResponseCallback<Schema$LogSink>, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Billingaccounts$Sinks$Get, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.billingAccounts.sinks.list
* @desc Lists sinks.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.billingAccounts.sinks.list({
* // Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* pageSize: 'placeholder-value',
* // Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* pageToken: 'placeholder-value',
* // Required. The parent resource whose sinks are to be listed:
* // "projects/[PROJECT_ID]"
* // "organizations/[ORGANIZATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]"
* // "folders/[FOLDER_ID]"
* //
* parent: 'billingAccounts/my-billingAccount',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "nextPageToken": "my_nextPageToken",
* // "sinks": []
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.billingAccounts.sinks.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* @param {string=} params.pageToken Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* @param {string} params.parent Required. The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params: Params$Resource$Billingaccounts$Sinks$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params?: Params$Resource$Billingaccounts$Sinks$List, options?: MethodOptions): GaxiosPromise<Schema$ListSinksResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Billingaccounts$Sinks$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Billingaccounts$Sinks$List, options: MethodOptions | BodyResponseCallback<Schema$ListSinksResponse>, callback: BodyResponseCallback<Schema$ListSinksResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Billingaccounts$Sinks$List, callback: BodyResponseCallback<Schema$ListSinksResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(callback: BodyResponseCallback<Schema$ListSinksResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.billingAccounts.sinks.patch
* @desc Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.billingAccounts.sinks.patch({
* // Required. The full resource name of the sink to update, including the parent resource and the sink identifier:
* // "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* // "folders/[FOLDER_ID]/sinks/[SINK_ID]"
* // Example: "projects/my-project-id/sinks/my-sink-id".
* sinkName: 'billingAccounts/my-billingAccount/sinks/my-sink',
* // Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:
* // If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.
* // If the old value is false and the new value is true, then writer_identity is changed to a unique service account.
* // It is an error if the old value is true and the new value is set to false or defaulted to false.
* uniqueWriterIdentity: 'placeholder-value',
* // Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "bigqueryOptions": {},
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "destination": "my_destination",
* // "disabled": false,
* // "filter": "my_filter",
* // "includeChildren": false,
* // "name": "my_name",
* // "outputVersionFormat": "my_outputVersionFormat",
* // "updateTime": "my_updateTime",
* // "writerIdentity": "my_writerIdentity"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "bigqueryOptions": {},
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "destination": "my_destination",
* // "disabled": false,
* // "filter": "my_filter",
* // "includeChildren": false,
* // "name": "my_name",
* // "outputVersionFormat": "my_outputVersionFormat",
* // "updateTime": "my_updateTime",
* // "writerIdentity": "my_writerIdentity"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.billingAccounts.sinks.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.sinkName Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
* @param {boolean=} params.uniqueWriterIdentity Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false or defaulted to false.
* @param {string=} params.updateMask Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
* @param {().LogSink} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params: Params$Resource$Billingaccounts$Sinks$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params?: Params$Resource$Billingaccounts$Sinks$Patch, options?: MethodOptions): GaxiosPromise<Schema$LogSink>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Billingaccounts$Sinks$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Billingaccounts$Sinks$Patch, options: MethodOptions | BodyResponseCallback<Schema$LogSink>, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Billingaccounts$Sinks$Patch, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.billingAccounts.sinks.update
* @desc Updates a sink. This method replaces the following fields in the existing sink with values from the new sink: destination, and filter.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.billingAccounts.sinks.update({
* // Required. The full resource name of the sink to update, including the parent resource and the sink identifier:
* // "projects/[PROJECT_ID]/sinks/[SINK_ID]"
* // "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
* // "folders/[FOLDER_ID]/sinks/[SINK_ID]"
* // Example: "projects/my-project-id/sinks/my-sink-id".
* sinkName: 'billingAccounts/my-billingAccount/sinks/my-sink',
* // Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field:
* // If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity.
* // If the old value is false and the new value is true, then writer_identity is changed to a unique service account.
* // It is an error if the old value is true and the new value is set to false or defaulted to false.
* uniqueWriterIdentity: 'placeholder-value',
* // Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "bigqueryOptions": {},
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "destination": "my_destination",
* // "disabled": false,
* // "filter": "my_filter",
* // "includeChildren": false,
* // "name": "my_name",
* // "outputVersionFormat": "my_outputVersionFormat",
* // "updateTime": "my_updateTime",
* // "writerIdentity": "my_writerIdentity"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "bigqueryOptions": {},
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "destination": "my_destination",
* // "disabled": false,
* // "filter": "my_filter",
* // "includeChildren": false,
* // "name": "my_name",
* // "outputVersionFormat": "my_outputVersionFormat",
* // "updateTime": "my_updateTime",
* // "writerIdentity": "my_writerIdentity"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.billingAccounts.sinks.update
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.sinkName Required. The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" Example: "projects/my-project-id/sinks/my-sink-id".
* @param {boolean=} params.uniqueWriterIdentity Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false or defaulted to false.
* @param {string=} params.updateMask Optional. Field mask that specifies the fields in sink that need an update. A sink field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.An empty updateMask is temporarily treated as using the following mask for backwards compatibility purposes: destination,filter,includeChildren At some point in the future, behavior will be removed and specifying an empty updateMask will be an error.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.
* @param {().LogSink} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
update(params: Params$Resource$Billingaccounts$Sinks$Update, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
update(params?: Params$Resource$Billingaccounts$Sinks$Update, options?: MethodOptions): GaxiosPromise<Schema$LogSink>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
update(params: Params$Resource$Billingaccounts$Sinks$Update, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
update(params: Params$Resource$Billingaccounts$Sinks$Update, options: MethodOptions | BodyResponseCallback<Schema$LogSink>, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
update(params: Params$Resource$Billingaccounts$Sinks$Update, callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
update(callback: BodyResponseCallback<Schema$LogSink>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.entries.list
* @desc Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.entries.list({
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "filter": "my_filter",
* // "orderBy": "my_orderBy",
* // "pageSize": 0,
* // "pageToken": "my_pageToken",
* // "projectIds": [],
* // "resourceNames": []
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "entries": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.entries.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {().ListLogEntriesRequest} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params: Params$Resource$Entries$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params?: Params$Resource$Entries$List, options?: MethodOptions): GaxiosPromise<Schema$ListLogEntriesResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Entries$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Entries$List, options: MethodOptions | BodyResponseCallback<Schema$ListLogEntriesResponse>, callback: BodyResponseCallback<Schema$ListLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Entries$List, callback: BodyResponseCallback<Schema$ListLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(callback: BodyResponseCallback<Schema$ListLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.entries.write
* @desc Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resources (projects, organizations, billing accounts or folders)
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.write',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.entries.write({
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "dryRun": false,
* // "entries": [],
* // "labels": {},
* // "logName": "my_logName",
* // "partialSuccess": false,
* // "resource": {}
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.entries.write
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {().WriteLogEntriesRequest} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
write(params: Params$Resource$Entries$Write, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
write(params?: Params$Resource$Entries$Write, options?: MethodOptions): GaxiosPromise<Schema$WriteLogEntriesResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
write(params: Params$Resource$Entries$Write, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
write(params: Params$Resource$Entries$Write, options: MethodOptions | BodyResponseCallback<Schema$WriteLogEntriesResponse>, callback: BodyResponseCallback<Schema$WriteLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
write(params: Params$Resource$Entries$Write, callback: BodyResponseCallback<Schema$WriteLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
write(callback: BodyResponseCallback<Schema$WriteLogEntriesResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.exclusions.create
* @desc Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.exclusions.create({
* // Required. The parent resource in which to create the exclusion:
* // "projects/[PROJECT_ID]"
* // "organizations/[ORGANIZATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]"
* // "folders/[FOLDER_ID]"
* // Examples: "projects/my-logging-project", "organizations/123456789".
* parent: '[^/]+/[^/]+',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.exclusions.create
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.parent Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/123456789".
* @param {().LogExclusion} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
create(params: Params$Resource$Exclusions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params?: Params$Resource$Exclusions$Create, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Exclusions$Create, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Exclusions$Create, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.exclusions.delete
* @desc Deletes an exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.exclusions.delete({
* // Required. The resource name of an existing exclusion to delete:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: '[^/]+/[^/]+/exclusions/my-exclusion',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.exclusions.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params: Params$Resource$Exclusions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params?: Params$Resource$Exclusions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Exclusions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Exclusions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.exclusions.get
* @desc Gets the description of an exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.exclusions.get({
* // Required. The resource name of an existing exclusion:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: '[^/]+/[^/]+/exclusions/my-exclusion',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.exclusions.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params: Params$Resource$Exclusions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params?: Params$Resource$Exclusions$Get, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Exclusions$Get, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Exclusions$Get, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.exclusions.list
* @desc Lists all the exclusions in a parent resource.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.exclusions.list({
* // Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* pageSize: 'placeholder-value',
* // Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* pageToken: 'placeholder-value',
* // Required. The parent resource whose exclusions are to be listed.
* // "projects/[PROJECT_ID]"
* // "organizations/[ORGANIZATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]"
* // "folders/[FOLDER_ID]"
* //
* parent: '[^/]+/[^/]+',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "exclusions": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.exclusions.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* @param {string=} params.pageToken Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* @param {string} params.parent Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params: Params$Resource$Exclusions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params?: Params$Resource$Exclusions$List, options?: MethodOptions): GaxiosPromise<Schema$ListExclusionsResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Exclusions$List, options: MethodOptions | BodyResponseCallback<Schema$ListExclusionsResponse>, callback: BodyResponseCallback<Schema$ListExclusionsResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Exclusions$List, callback: BodyResponseCallback<Schema$ListExclusionsResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.exclusions.patch
* @desc Changes one or more properties of an existing exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.exclusions.patch({
* // Required. The resource name of the exclusion to update:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: '[^/]+/[^/]+/exclusions/my-exclusion',
* // Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.exclusions.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {string=} params.updateMask Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".
* @param {().LogExclusion} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params: Params$Resource$Exclusions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params?: Params$Resource$Exclusions$Patch, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Exclusions$Patch, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Exclusions$Patch, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.exclusions.create
* @desc Creates a new exclusion in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.exclusions.create({
* // Required. The parent resource in which to create the exclusion:
* // "projects/[PROJECT_ID]"
* // "organizations/[ORGANIZATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]"
* // "folders/[FOLDER_ID]"
* // Examples: "projects/my-logging-project", "organizations/123456789".
* parent: 'folders/my-folder',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.exclusions.create
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.parent Required. The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/123456789".
* @param {().LogExclusion} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
create(params: Params$Resource$Folders$Exclusions$Create, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params?: Params$Resource$Folders$Exclusions$Create, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Folders$Exclusions$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Folders$Exclusions$Create, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
create(params: Params$Resource$Folders$Exclusions$Create, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.exclusions.delete
* @desc Deletes an exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.exclusions.delete({
* // Required. The resource name of an existing exclusion to delete:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: 'folders/my-folder/exclusions/my-exclusion',
* });
* console.log(res.data);
*
* // Example response
* // {}
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.exclusions.delete
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
delete(params: Params$Resource$Folders$Exclusions$Delete, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params?: Params$Resource$Folders$Exclusions$Delete, options?: MethodOptions): GaxiosPromise<Schema$Empty>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Folders$Exclusions$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Folders$Exclusions$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
delete(params: Params$Resource$Folders$Exclusions$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.exclusions.get
* @desc Gets the description of an exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.exclusions.get({
* // Required. The resource name of an existing exclusion:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: 'folders/my-folder/exclusions/my-exclusion',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.exclusions.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params: Params$Resource$Folders$Exclusions$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params?: Params$Resource$Folders$Exclusions$Get, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Exclusions$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Exclusions$Get, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Exclusions$Get, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.exclusions.list
* @desc Lists all the exclusions in a parent resource.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.exclusions.list({
* // Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* pageSize: 'placeholder-value',
* // Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* pageToken: 'placeholder-value',
* // Required. The parent resource whose exclusions are to be listed.
* // "projects/[PROJECT_ID]"
* // "organizations/[ORGANIZATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]"
* // "folders/[FOLDER_ID]"
* //
* parent: 'folders/my-folder',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "exclusions": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.exclusions.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* @param {string=} params.pageToken Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* @param {string} params.parent Required. The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params: Params$Resource$Folders$Exclusions$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params?: Params$Resource$Folders$Exclusions$List, options?: MethodOptions): GaxiosPromise<Schema$ListExclusionsResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Folders$Exclusions$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Folders$Exclusions$List, options: MethodOptions | BodyResponseCallback<Schema$ListExclusionsResponse>, callback: BodyResponseCallback<Schema$ListExclusionsResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Folders$Exclusions$List, callback: BodyResponseCallback<Schema$ListExclusionsResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.exclusions.patch
* @desc Changes one or more properties of an existing exclusion.
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/logging.admin',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.exclusions.patch({
* // Required. The resource name of the exclusion to update:
* // "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
* // "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
* // "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
* // Example: "projects/my-project-id/exclusions/my-exclusion-id".
* name: 'folders/my-folder/exclusions/my-exclusion',
* // Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".
* updateMask: 'placeholder-value',
*
* // Request body metadata
* requestBody: {
* // request body parameters
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* },
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "disabled": false,
* // "filter": "my_filter",
* // "name": "my_name",
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.exclusions.patch
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-id/exclusions/my-exclusion-id".
* @param {string=} params.updateMask Required. A non-empty list of fields to change in the existing exclusion. New values for the fields are taken from the corresponding fields in the LogExclusion included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.For example, to change the filter and description of an exclusion, specify an update_mask of "filter,description".
* @param {().LogExclusion} params.requestBody Request body data
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
patch(params: Params$Resource$Folders$Exclusions$Patch, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params?: Params$Resource$Folders$Exclusions$Patch, options?: MethodOptions): GaxiosPromise<Schema$LogExclusion>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Folders$Exclusions$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Folders$Exclusions$Patch, options: MethodOptions | BodyResponseCallback<Schema$LogExclusion>, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
patch(params: Params$Resource$Folders$Exclusions$Patch, callback: BodyResponseCallback<Schema$LogExclusion>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.locations.buckets.get
* @desc Gets a bucket (Beta).
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.locations.buckets.get({
* // Required. The resource name of the bucket:
* // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
* // Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
* name: 'folders/my-folder/locations/my-location/buckets/my-bucket',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "createTime": "my_createTime",
* // "description": "my_description",
* // "lifecycleState": "my_lifecycleState",
* // "name": "my_name",
* // "retentionDays": 0,
* // "updateTime": "my_updateTime"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.locations.buckets.get
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get(params: Params$Resource$Folders$Locations$Buckets$Get, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params?: Params$Resource$Folders$Locations$Buckets$Get, options?: MethodOptions): GaxiosPromise<Schema$LogBucket>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Locations$Buckets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Locations$Buckets$Get, options: MethodOptions | BodyResponseCallback<Schema$LogBucket>, callback: BodyResponseCallback<Schema$LogBucket>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
get(params: Params$Resource$Folders$Locations$Buckets$Get, callback: BodyResponseCallback<Schema$LogBucket>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
/**
* logging.folders.locations.buckets.list
* @desc Lists buckets (Beta).
* @example
* // Before running the sample:
* // - Enable the API at:
* // https://console.developers.google.com/apis/api/logging.googleapis.com
* // - Login into gcloud by running:
* // `$ gcloud auth application-default login`
* // - Install the npm module by running:
* // `$ npm install googleapis`
*
* const {google} = require('googleapis');
* const logging = google.logging('v2');
*
* async function main() {
* const auth = new google.auth.GoogleAuth({
* // Scopes can be specified either as an array or as a single, space-delimited string.
* scopes: [
* 'https://www.googleapis.com/auth/cloud-platform',
* 'https://www.googleapis.com/auth/cloud-platform.read-only',
* 'https://www.googleapis.com/auth/logging.admin',
* 'https://www.googleapis.com/auth/logging.read',
* ],
* });
*
* // Acquire an auth client, and bind it to all future calls
* const authClient = await auth.getClient();
* google.options('auth', authClient);
*
* // Do the magic
* const res = await logging.folders.locations.buckets.list({
* // Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* pageSize: 'placeholder-value',
* // Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* pageToken: 'placeholder-value',
* // Required. The parent resource whose buckets are to be listed:
* // "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
* // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
* // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
* // "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
* // Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
* parent: 'folders/my-folder/locations/my-location',
* });
* console.log(res.data);
*
* // Example response
* // {
* // "buckets": [],
* // "nextPageToken": "my_nextPageToken"
* // }
* }
*
* main().catch(e => {
* console.error(e);
* throw e;
* });
*
* @alias logging.folders.locations.buckets.list
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
* @param {string=} params.pageToken Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
* @param {string} params.parent Required. The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list(params: Params$Resource$Folders$Locations$Buckets$List, options: StreamMethodOptions): GaxiosPromise<Readable>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params?: Params$Resource$Folders$Locations$Buckets$List, options?: MethodOptions): GaxiosPromise<Schema$ListBucketsResponse>;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Folders$Locations$Buckets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
MethodDeclaration
|
list(params: Params$Resource$Folders$Locations$Buckets$List, options: MethodOptions | BodyResponseCallback<Schema$ListBucketsResponse>, callback: BodyResponseCallback<Schema$ListBucketsResponse>): void;
|
GumballWatterson00/DevCBatch1Project
|
node_modules/googleapis/build/src/apis/logging/v2.d.ts
|
TypeScript
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.