Documentation

Overview

Package logging provides access to the Cloud Logging API.

This package is DEPRECATED. Use package cloud.google.com/go/logging instead.

For product documentation, see: https://cloud.google.com/logging/docs/

Creating a client

Usage example:

import "google.golang.org/api/logging/v2"
...
ctx := context.Background()
loggingService, err := logging.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

loggingService, err := logging.NewService(ctx, option.WithScopes(logging.LoggingWriteScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

loggingService, err := logging.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// View and manage your data across Google Cloud Platform services
	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"

	// View your data across Google Cloud Platform services
	CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"

	// Administrate log data for your projects
	LoggingAdminScope = "https://www.googleapis.com/auth/logging.admin"

	// View log data for your projects
	LoggingReadScope = "https://www.googleapis.com/auth/logging.read"

	// Submit log data for your projects
	LoggingWriteScope = "https://www.googleapis.com/auth/logging.write"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type BigQueryOptions

    type BigQueryOptions struct {
    	// UsePartitionedTables: Optional. Whether to use BigQuery's partition
    	// tables (https://cloud.google.com/bigquery/docs/partitioned-tables).
    	// By default, Logging creates dated tables based on the log entries'
    	// timestamps, e.g. syslog_20170523. With partitioned tables the date
    	// suffix is no longer present and special query syntax
    	// (https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
    	// has to be used instead. In both cases, tables are sharded based on
    	// UTC timezone.
    	UsePartitionedTables bool `json:"usePartitionedTables,omitempty"`
    
    	// UsesTimestampColumnPartitioning: Output only. True if new timestamp
    	// column based partitioning is in use, false if legacy ingestion-time
    	// partitioning is in use. All new sinks will have this field set true
    	// and will use timestamp column based partitioning. If
    	// use_partitioned_tables is false, this value has no meaning and will
    	// be false. Legacy sinks using partitioned tables will have this field
    	// set to false.
    	UsesTimestampColumnPartitioning bool `json:"usesTimestampColumnPartitioning,omitempty"`
    
    	// ForceSendFields is a list of field names (e.g.
    	// "UsePartitionedTables") to unconditionally include in API requests.
    	// By default, fields with empty values are omitted from API requests.
    	// However, any non-pointer, non-interface field appearing in
    	// ForceSendFields will be sent to the server regardless of whether the
    	// field is empty or not. This may be used to include empty fields in
    	// Patch requests.
    	ForceSendFields []string `json:"-"`
    
    	// NullFields is a list of field names (e.g. "UsePartitionedTables") to
    	// include in API requests with the JSON null value. By default, fields
    	// with empty values are omitted from API requests. However, any field
    	// with an empty value appearing in NullFields will be sent to the
    	// server as null. It is an error if a field in this list has a
    	// non-empty value. This may be used to include null fields in Patch
    	// requests.
    	NullFields []string `json:"-"`
    }

      BigQueryOptions: Options that change functionality of a sink exporting data to BigQuery.

      func (*BigQueryOptions) MarshalJSON

      func (s *BigQueryOptions) MarshalJSON() ([]byte, error)

      type BillingAccountsBucketsGetCall

      type BillingAccountsBucketsGetCall struct {
      	// contains filtered or unexported fields
      }

      func (*BillingAccountsBucketsGetCall) Context

        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

        func (*BillingAccountsBucketsGetCall) Do

          Do executes the "logging.billingAccounts.buckets.get" call. Exactly one of *LogBucket or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogBucket.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

          func (*BillingAccountsBucketsGetCall) Fields

            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

            func (*BillingAccountsBucketsGetCall) Header

              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

              func (*BillingAccountsBucketsGetCall) IfNoneMatch

                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                type BillingAccountsBucketsService

                type BillingAccountsBucketsService struct {
                	Views *BillingAccountsBucketsViewsService
                	// contains filtered or unexported fields
                }

                func NewBillingAccountsBucketsService

                func NewBillingAccountsBucketsService(s *Service) *BillingAccountsBucketsService

                func (*BillingAccountsBucketsService) Get

                  Get: Gets a bucket.

                  type BillingAccountsBucketsViewsGetCall

                  type BillingAccountsBucketsViewsGetCall struct {
                  	// contains filtered or unexported fields
                  }

                  func (*BillingAccountsBucketsViewsGetCall) Context

                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                    func (*BillingAccountsBucketsViewsGetCall) Do

                      Do executes the "logging.billingAccounts.buckets.views.get" call. Exactly one of *LogView or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                      func (*BillingAccountsBucketsViewsGetCall) Fields

                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                        func (*BillingAccountsBucketsViewsGetCall) Header

                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                          func (*BillingAccountsBucketsViewsGetCall) IfNoneMatch

                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                            type BillingAccountsBucketsViewsService

                            type BillingAccountsBucketsViewsService struct {
                            	// contains filtered or unexported fields
                            }

                            func NewBillingAccountsBucketsViewsService

                            func NewBillingAccountsBucketsViewsService(s *Service) *BillingAccountsBucketsViewsService

                            func (*BillingAccountsBucketsViewsService) Get

                              Get: Gets a view.

                              type BillingAccountsExclusionsCreateCall

                              type BillingAccountsExclusionsCreateCall struct {
                              	// contains filtered or unexported fields
                              }

                              func (*BillingAccountsExclusionsCreateCall) Context

                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                func (*BillingAccountsExclusionsCreateCall) Do

                                  Do executes the "logging.billingAccounts.exclusions.create" call. Exactly one of *LogExclusion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogExclusion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                  func (*BillingAccountsExclusionsCreateCall) Fields

                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                    func (*BillingAccountsExclusionsCreateCall) Header

                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                      type BillingAccountsExclusionsDeleteCall

                                      type BillingAccountsExclusionsDeleteCall struct {
                                      	// contains filtered or unexported fields
                                      }

                                      func (*BillingAccountsExclusionsDeleteCall) Context

                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                        func (*BillingAccountsExclusionsDeleteCall) Do

                                          Do executes the "logging.billingAccounts.exclusions.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                          func (*BillingAccountsExclusionsDeleteCall) Fields

                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                            func (*BillingAccountsExclusionsDeleteCall) Header

                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                              type BillingAccountsExclusionsGetCall

                                              type BillingAccountsExclusionsGetCall struct {
                                              	// contains filtered or unexported fields
                                              }

                                              func (*BillingAccountsExclusionsGetCall) Context

                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                func (*BillingAccountsExclusionsGetCall) Do

                                                  Do executes the "logging.billingAccounts.exclusions.get" call. Exactly one of *LogExclusion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogExclusion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                  func (*BillingAccountsExclusionsGetCall) Fields

                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                    func (*BillingAccountsExclusionsGetCall) Header

                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                      func (*BillingAccountsExclusionsGetCall) IfNoneMatch

                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                        type BillingAccountsExclusionsListCall

                                                        type BillingAccountsExclusionsListCall struct {
                                                        	// contains filtered or unexported fields
                                                        }

                                                        func (*BillingAccountsExclusionsListCall) Context

                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                          func (*BillingAccountsExclusionsListCall) Do

                                                            Do executes the "logging.billingAccounts.exclusions.list" call. Exactly one of *ListExclusionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListExclusionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                            func (*BillingAccountsExclusionsListCall) Fields

                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                              func (*BillingAccountsExclusionsListCall) Header

                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                func (*BillingAccountsExclusionsListCall) IfNoneMatch

                                                                  IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                  func (*BillingAccountsExclusionsListCall) PageSize

                                                                    PageSize sets the optional parameter "pageSize": 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.

                                                                    func (*BillingAccountsExclusionsListCall) PageToken

                                                                      PageToken sets the optional parameter "pageToken": 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.

                                                                      func (*BillingAccountsExclusionsListCall) Pages

                                                                        Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                        type BillingAccountsExclusionsPatchCall

                                                                        type BillingAccountsExclusionsPatchCall struct {
                                                                        	// contains filtered or unexported fields
                                                                        }

                                                                        func (*BillingAccountsExclusionsPatchCall) Context

                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                          func (*BillingAccountsExclusionsPatchCall) Do

                                                                            Do executes the "logging.billingAccounts.exclusions.patch" call. Exactly one of *LogExclusion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogExclusion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                            func (*BillingAccountsExclusionsPatchCall) Fields

                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                              func (*BillingAccountsExclusionsPatchCall) Header

                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                func (*BillingAccountsExclusionsPatchCall) UpdateMask

                                                                                  UpdateMask sets the optional parameter "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".

                                                                                  type BillingAccountsExclusionsService

                                                                                  type BillingAccountsExclusionsService struct {
                                                                                  	// contains filtered or unexported fields
                                                                                  }

                                                                                  func NewBillingAccountsExclusionsService

                                                                                  func NewBillingAccountsExclusionsService(s *Service) *BillingAccountsExclusionsService

                                                                                  func (*BillingAccountsExclusionsService) Create

                                                                                    Create: 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.

                                                                                    func (*BillingAccountsExclusionsService) Delete

                                                                                      Delete: Deletes an exclusion.

                                                                                      func (*BillingAccountsExclusionsService) Get

                                                                                        Get: Gets the description of an exclusion.

                                                                                        func (*BillingAccountsExclusionsService) List

                                                                                          List: Lists all the exclusions in a parent resource.

                                                                                          func (*BillingAccountsExclusionsService) Patch

                                                                                            Patch: Changes one or more properties of an existing exclusion.

                                                                                            type BillingAccountsLocationsBucketsCreateCall

                                                                                            type BillingAccountsLocationsBucketsCreateCall struct {
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                            func (*BillingAccountsLocationsBucketsCreateCall) BucketId

                                                                                              BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.

                                                                                              func (*BillingAccountsLocationsBucketsCreateCall) Context

                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                func (*BillingAccountsLocationsBucketsCreateCall) Do

                                                                                                  Do executes the "logging.billingAccounts.locations.buckets.create" call. Exactly one of *LogBucket or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogBucket.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                  func (*BillingAccountsLocationsBucketsCreateCall) Fields

                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                    func (*BillingAccountsLocationsBucketsCreateCall) Header

                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                      type BillingAccountsLocationsBucketsDeleteCall

                                                                                                      type BillingAccountsLocationsBucketsDeleteCall struct {
                                                                                                      	// contains filtered or unexported fields
                                                                                                      }

                                                                                                      func (*BillingAccountsLocationsBucketsDeleteCall) Context

                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                        func (*BillingAccountsLocationsBucketsDeleteCall) Do

                                                                                                          Do executes the "logging.billingAccounts.locations.buckets.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                          func (*BillingAccountsLocationsBucketsDeleteCall) Fields

                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                            func (*BillingAccountsLocationsBucketsDeleteCall) Header

                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                              type BillingAccountsLocationsBucketsListCall

                                                                                                              type BillingAccountsLocationsBucketsListCall struct {
                                                                                                              	// contains filtered or unexported fields
                                                                                                              }

                                                                                                              func (*BillingAccountsLocationsBucketsListCall) Context

                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                func (*BillingAccountsLocationsBucketsListCall) Do

                                                                                                                  Do executes the "logging.billingAccounts.locations.buckets.list" call. Exactly one of *ListBucketsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListBucketsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                  func (*BillingAccountsLocationsBucketsListCall) Fields

                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                    func (*BillingAccountsLocationsBucketsListCall) Header

                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                      func (*BillingAccountsLocationsBucketsListCall) IfNoneMatch

                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                        func (*BillingAccountsLocationsBucketsListCall) PageSize

                                                                                                                          PageSize sets the optional parameter "pageSize": 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.

                                                                                                                          func (*BillingAccountsLocationsBucketsListCall) PageToken

                                                                                                                            PageToken sets the optional parameter "pageToken": 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.

                                                                                                                            func (*BillingAccountsLocationsBucketsListCall) Pages

                                                                                                                              Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                              type BillingAccountsLocationsBucketsPatchCall

                                                                                                                              type BillingAccountsLocationsBucketsPatchCall struct {
                                                                                                                              	// contains filtered or unexported fields
                                                                                                                              }

                                                                                                                              func (*BillingAccountsLocationsBucketsPatchCall) Context

                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                func (*BillingAccountsLocationsBucketsPatchCall) Do

                                                                                                                                  Do executes the "logging.billingAccounts.locations.buckets.patch" call. Exactly one of *LogBucket or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogBucket.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                  func (*BillingAccountsLocationsBucketsPatchCall) Fields

                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                    func (*BillingAccountsLocationsBucketsPatchCall) Header

                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                      func (*BillingAccountsLocationsBucketsPatchCall) UpdateMask

                                                                                                                                        UpdateMask sets the optional parameter "updateMask": Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.

                                                                                                                                        type BillingAccountsLocationsBucketsService

                                                                                                                                        type BillingAccountsLocationsBucketsService struct {
                                                                                                                                        	Views *BillingAccountsLocationsBucketsViewsService
                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                        }

                                                                                                                                        func NewBillingAccountsLocationsBucketsService

                                                                                                                                        func NewBillingAccountsLocationsBucketsService(s *Service) *BillingAccountsLocationsBucketsService

                                                                                                                                        func (*BillingAccountsLocationsBucketsService) Create

                                                                                                                                          Create: Creates a bucket that can be used to store log entries. Once a bucket has been created, the region cannot be changed.

                                                                                                                                          func (*BillingAccountsLocationsBucketsService) Delete

                                                                                                                                            Delete: Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all logs in the bucket will be permanently deleted.

                                                                                                                                            func (*BillingAccountsLocationsBucketsService) List

                                                                                                                                              List: Lists buckets.

                                                                                                                                              func (*BillingAccountsLocationsBucketsService) Patch

                                                                                                                                                Patch: Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket: retention_periodIf the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.A buckets region may not be modified after it is created.

                                                                                                                                                func (*BillingAccountsLocationsBucketsService) Undelete

                                                                                                                                                  Undelete: Undeletes a bucket. A bucket that has been deleted may be undeleted within the grace period of 7 days.

                                                                                                                                                  type BillingAccountsLocationsBucketsUndeleteCall

                                                                                                                                                  type BillingAccountsLocationsBucketsUndeleteCall struct {
                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                  }

                                                                                                                                                  func (*BillingAccountsLocationsBucketsUndeleteCall) Context

                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                    func (*BillingAccountsLocationsBucketsUndeleteCall) Do

                                                                                                                                                      Do executes the "logging.billingAccounts.locations.buckets.undelete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                      func (*BillingAccountsLocationsBucketsUndeleteCall) Fields

                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                        func (*BillingAccountsLocationsBucketsUndeleteCall) Header

                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                          type BillingAccountsLocationsBucketsViewsCreateCall

                                                                                                                                                          type BillingAccountsLocationsBucketsViewsCreateCall struct {
                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                          }

                                                                                                                                                          func (*BillingAccountsLocationsBucketsViewsCreateCall) Context

                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                            func (*BillingAccountsLocationsBucketsViewsCreateCall) Do

                                                                                                                                                              Do executes the "logging.billingAccounts.locations.buckets.views.create" call. Exactly one of *LogView or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                              func (*BillingAccountsLocationsBucketsViewsCreateCall) Fields

                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                func (*BillingAccountsLocationsBucketsViewsCreateCall) Header

                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                  func (*BillingAccountsLocationsBucketsViewsCreateCall) ViewId

                                                                                                                                                                    ViewId sets the optional parameter "viewId": Required. The id to use for this view.

                                                                                                                                                                    type BillingAccountsLocationsBucketsViewsDeleteCall

                                                                                                                                                                    type BillingAccountsLocationsBucketsViewsDeleteCall struct {
                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                    }

                                                                                                                                                                    func (*BillingAccountsLocationsBucketsViewsDeleteCall) Context

                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                      func (*BillingAccountsLocationsBucketsViewsDeleteCall) Do

                                                                                                                                                                        Do executes the "logging.billingAccounts.locations.buckets.views.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                        func (*BillingAccountsLocationsBucketsViewsDeleteCall) Fields

                                                                                                                                                                          Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                          func (*BillingAccountsLocationsBucketsViewsDeleteCall) Header

                                                                                                                                                                            Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                            type BillingAccountsLocationsBucketsViewsListCall

                                                                                                                                                                            type BillingAccountsLocationsBucketsViewsListCall struct {
                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                            }

                                                                                                                                                                            func (*BillingAccountsLocationsBucketsViewsListCall) Context

                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                              func (*BillingAccountsLocationsBucketsViewsListCall) Do

                                                                                                                                                                                Do executes the "logging.billingAccounts.locations.buckets.views.list" call. Exactly one of *ListViewsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                func (*BillingAccountsLocationsBucketsViewsListCall) Fields

                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                  func (*BillingAccountsLocationsBucketsViewsListCall) Header

                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                    func (*BillingAccountsLocationsBucketsViewsListCall) IfNoneMatch

                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                      func (*BillingAccountsLocationsBucketsViewsListCall) PageSize

                                                                                                                                                                                        PageSize sets the optional parameter "pageSize": 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.

                                                                                                                                                                                        func (*BillingAccountsLocationsBucketsViewsListCall) PageToken

                                                                                                                                                                                          PageToken sets the optional parameter "pageToken": 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.

                                                                                                                                                                                          func (*BillingAccountsLocationsBucketsViewsListCall) Pages

                                                                                                                                                                                            Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                            type BillingAccountsLocationsBucketsViewsPatchCall

                                                                                                                                                                                            type BillingAccountsLocationsBucketsViewsPatchCall struct {
                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                            }

                                                                                                                                                                                            func (*BillingAccountsLocationsBucketsViewsPatchCall) Context

                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                              func (*BillingAccountsLocationsBucketsViewsPatchCall) Do

                                                                                                                                                                                                Do executes the "logging.billingAccounts.locations.buckets.views.patch" call. Exactly one of *LogView or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                func (*BillingAccountsLocationsBucketsViewsPatchCall) Fields

                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                  func (*BillingAccountsLocationsBucketsViewsPatchCall) Header

                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                    func (*BillingAccountsLocationsBucketsViewsPatchCall) UpdateMask

                                                                                                                                                                                                      UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskExample: updateMask=filter.

                                                                                                                                                                                                      type BillingAccountsLocationsBucketsViewsService

                                                                                                                                                                                                      type BillingAccountsLocationsBucketsViewsService struct {
                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                      }

                                                                                                                                                                                                      func NewBillingAccountsLocationsBucketsViewsService

                                                                                                                                                                                                      func NewBillingAccountsLocationsBucketsViewsService(s *Service) *BillingAccountsLocationsBucketsViewsService

                                                                                                                                                                                                      func (*BillingAccountsLocationsBucketsViewsService) Create

                                                                                                                                                                                                        Create: Creates a view over logs in a bucket. A bucket may contain a maximum of 50 views.

                                                                                                                                                                                                        func (*BillingAccountsLocationsBucketsViewsService) Delete

                                                                                                                                                                                                          Delete: Deletes a view from a bucket.

                                                                                                                                                                                                          func (*BillingAccountsLocationsBucketsViewsService) List

                                                                                                                                                                                                            List: Lists views on a bucket.

                                                                                                                                                                                                            func (*BillingAccountsLocationsBucketsViewsService) Patch

                                                                                                                                                                                                              Patch: Updates a view. This method replaces the following fields in the existing view with values from the new view: filter.

                                                                                                                                                                                                              type BillingAccountsLocationsGetCall

                                                                                                                                                                                                              type BillingAccountsLocationsGetCall struct {
                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                              }

                                                                                                                                                                                                              func (*BillingAccountsLocationsGetCall) Context

                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                func (*BillingAccountsLocationsGetCall) Do

                                                                                                                                                                                                                  Do executes the "logging.billingAccounts.locations.get" call. Exactly one of *Location or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                  func (*BillingAccountsLocationsGetCall) Fields

                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                    func (*BillingAccountsLocationsGetCall) Header

                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                      func (*BillingAccountsLocationsGetCall) IfNoneMatch

                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                        type BillingAccountsLocationsListCall

                                                                                                                                                                                                                        type BillingAccountsLocationsListCall struct {
                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                        }

                                                                                                                                                                                                                        func (*BillingAccountsLocationsListCall) Context

                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                          func (*BillingAccountsLocationsListCall) Do

                                                                                                                                                                                                                            Do executes the "logging.billingAccounts.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                            func (*BillingAccountsLocationsListCall) Fields

                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                              func (*BillingAccountsLocationsListCall) Filter

                                                                                                                                                                                                                                Filter sets the optional parameter "filter": The standard list filter.

                                                                                                                                                                                                                                func (*BillingAccountsLocationsListCall) Header

                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                  func (*BillingAccountsLocationsListCall) IfNoneMatch

                                                                                                                                                                                                                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                    func (*BillingAccountsLocationsListCall) PageSize

                                                                                                                                                                                                                                      PageSize sets the optional parameter "pageSize": The standard list page size.

                                                                                                                                                                                                                                      func (*BillingAccountsLocationsListCall) PageToken

                                                                                                                                                                                                                                        PageToken sets the optional parameter "pageToken": The standard list page token.

                                                                                                                                                                                                                                        func (*BillingAccountsLocationsListCall) Pages

                                                                                                                                                                                                                                          Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                          type BillingAccountsLocationsService

                                                                                                                                                                                                                                          type BillingAccountsLocationsService struct {
                                                                                                                                                                                                                                          	Buckets *BillingAccountsLocationsBucketsService
                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                          func NewBillingAccountsLocationsService

                                                                                                                                                                                                                                          func NewBillingAccountsLocationsService(s *Service) *BillingAccountsLocationsService

                                                                                                                                                                                                                                          func (*BillingAccountsLocationsService) Get

                                                                                                                                                                                                                                            Get: Gets information about a location.

                                                                                                                                                                                                                                            func (*BillingAccountsLocationsService) List

                                                                                                                                                                                                                                              List: Lists information about the supported locations for this service.

                                                                                                                                                                                                                                              type BillingAccountsLogsDeleteCall

                                                                                                                                                                                                                                              type BillingAccountsLogsDeleteCall struct {
                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                              func (*BillingAccountsLogsDeleteCall) Context

                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                func (*BillingAccountsLogsDeleteCall) Do

                                                                                                                                                                                                                                                  Do executes the "logging.billingAccounts.logs.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                  func (*BillingAccountsLogsDeleteCall) Fields

                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                    func (*BillingAccountsLogsDeleteCall) Header

                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                      type BillingAccountsLogsListCall

                                                                                                                                                                                                                                                      type BillingAccountsLogsListCall struct {
                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                      func (*BillingAccountsLogsListCall) Context

                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                        func (*BillingAccountsLogsListCall) Do

                                                                                                                                                                                                                                                          Do executes the "logging.billingAccounts.logs.list" call. Exactly one of *ListLogsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLogsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                          func (*BillingAccountsLogsListCall) Fields

                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                            func (*BillingAccountsLogsListCall) Header

                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                              func (*BillingAccountsLogsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                func (*BillingAccountsLogsListCall) PageSize

                                                                                                                                                                                                                                                                  PageSize sets the optional parameter "pageSize": 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.

                                                                                                                                                                                                                                                                  func (*BillingAccountsLogsListCall) PageToken

                                                                                                                                                                                                                                                                    PageToken sets the optional parameter "pageToken": 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.

                                                                                                                                                                                                                                                                    func (*BillingAccountsLogsListCall) Pages

                                                                                                                                                                                                                                                                      Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                      func (*BillingAccountsLogsListCall) ResourceNames

                                                                                                                                                                                                                                                                      func (c *BillingAccountsLogsListCall) ResourceNames(resourceNames ...string) *BillingAccountsLogsListCall

                                                                                                                                                                                                                                                                        ResourceNames sets the optional parameter "resourceNames": The resource name that owns the logs: projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW _ID organization/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/v iews/VIEW_ID billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKE T_ID/views/VIEW_ID folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/views/VIEW_I DTo support legacy queries, it could also be: "projects/PROJECT_ID" "organizations/ORGANIZATION_ID" "billingAccounts/BILLING_ACCOUNT_ID" "folders/FOLDER_ID"

                                                                                                                                                                                                                                                                        type BillingAccountsLogsService

                                                                                                                                                                                                                                                                        type BillingAccountsLogsService struct {
                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                        func NewBillingAccountsLogsService

                                                                                                                                                                                                                                                                        func NewBillingAccountsLogsService(s *Service) *BillingAccountsLogsService

                                                                                                                                                                                                                                                                        func (*BillingAccountsLogsService) Delete

                                                                                                                                                                                                                                                                          Delete: Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.

                                                                                                                                                                                                                                                                          func (*BillingAccountsLogsService) List

                                                                                                                                                                                                                                                                            List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.

                                                                                                                                                                                                                                                                            type BillingAccountsService

                                                                                                                                                                                                                                                                            type BillingAccountsService struct {
                                                                                                                                                                                                                                                                            	Buckets *BillingAccountsBucketsService
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	Exclusions *BillingAccountsExclusionsService
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	Locations *BillingAccountsLocationsService
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	Logs *BillingAccountsLogsService
                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                            	Sinks *BillingAccountsSinksService
                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                            func NewBillingAccountsService

                                                                                                                                                                                                                                                                            func NewBillingAccountsService(s *Service) *BillingAccountsService

                                                                                                                                                                                                                                                                            type BillingAccountsSinksCreateCall

                                                                                                                                                                                                                                                                            type BillingAccountsSinksCreateCall struct {
                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                            func (*BillingAccountsSinksCreateCall) Context

                                                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                              func (*BillingAccountsSinksCreateCall) Do

                                                                                                                                                                                                                                                                                Do executes the "logging.billingAccounts.sinks.create" call. Exactly one of *LogSink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogSink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                func (*BillingAccountsSinksCreateCall) Fields

                                                                                                                                                                                                                                                                                  Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                  func (*BillingAccountsSinksCreateCall) Header

                                                                                                                                                                                                                                                                                    Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                    func (*BillingAccountsSinksCreateCall) UniqueWriterIdentity

                                                                                                                                                                                                                                                                                    func (c *BillingAccountsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksCreateCall

                                                                                                                                                                                                                                                                                      UniqueWriterIdentity sets the optional parameter "uniqueWriterIdentity": Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then the value returned as writer_identity is the same group or service account used by Logging before the addition of writer identities to this API. The sink's destination must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.

                                                                                                                                                                                                                                                                                      type BillingAccountsSinksDeleteCall

                                                                                                                                                                                                                                                                                      type BillingAccountsSinksDeleteCall struct {
                                                                                                                                                                                                                                                                                      	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                      func (*BillingAccountsSinksDeleteCall) Context

                                                                                                                                                                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                        func (*BillingAccountsSinksDeleteCall) Do

                                                                                                                                                                                                                                                                                          Do executes the "logging.billingAccounts.sinks.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                          func (*BillingAccountsSinksDeleteCall) Fields

                                                                                                                                                                                                                                                                                            Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                            func (*BillingAccountsSinksDeleteCall) Header

                                                                                                                                                                                                                                                                                              Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                              type BillingAccountsSinksGetCall

                                                                                                                                                                                                                                                                                              type BillingAccountsSinksGetCall struct {
                                                                                                                                                                                                                                                                                              	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                              func (*BillingAccountsSinksGetCall) Context

                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                func (*BillingAccountsSinksGetCall) Do

                                                                                                                                                                                                                                                                                                  Do executes the "logging.billingAccounts.sinks.get" call. Exactly one of *LogSink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogSink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                  func (*BillingAccountsSinksGetCall) Fields

                                                                                                                                                                                                                                                                                                    Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                    func (*BillingAccountsSinksGetCall) Header

                                                                                                                                                                                                                                                                                                      Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                      func (*BillingAccountsSinksGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                        type BillingAccountsSinksListCall

                                                                                                                                                                                                                                                                                                        type BillingAccountsSinksListCall struct {
                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                        func (*BillingAccountsSinksListCall) Context

                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                          func (*BillingAccountsSinksListCall) Do

                                                                                                                                                                                                                                                                                                            Do executes the "logging.billingAccounts.sinks.list" call. Exactly one of *ListSinksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListSinksResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                            func (*BillingAccountsSinksListCall) Fields

                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                              func (*BillingAccountsSinksListCall) Header

                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                func (*BillingAccountsSinksListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                  IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                  func (*BillingAccountsSinksListCall) PageSize

                                                                                                                                                                                                                                                                                                                    PageSize sets the optional parameter "pageSize": 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.

                                                                                                                                                                                                                                                                                                                    func (*BillingAccountsSinksListCall) PageToken

                                                                                                                                                                                                                                                                                                                      PageToken sets the optional parameter "pageToken": 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.

                                                                                                                                                                                                                                                                                                                      func (*BillingAccountsSinksListCall) Pages

                                                                                                                                                                                                                                                                                                                        Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                        type BillingAccountsSinksPatchCall

                                                                                                                                                                                                                                                                                                                        type BillingAccountsSinksPatchCall struct {
                                                                                                                                                                                                                                                                                                                        	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                        func (*BillingAccountsSinksPatchCall) Context

                                                                                                                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                          func (*BillingAccountsSinksPatchCall) Do

                                                                                                                                                                                                                                                                                                                            Do executes the "logging.billingAccounts.sinks.patch" call. Exactly one of *LogSink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogSink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                            func (*BillingAccountsSinksPatchCall) Fields

                                                                                                                                                                                                                                                                                                                              Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                              func (*BillingAccountsSinksPatchCall) Header

                                                                                                                                                                                                                                                                                                                                Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                func (*BillingAccountsSinksPatchCall) UniqueWriterIdentity

                                                                                                                                                                                                                                                                                                                                func (c *BillingAccountsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksPatchCall

                                                                                                                                                                                                                                                                                                                                  UniqueWriterIdentity sets the optional parameter "uniqueWriterIdentity": 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.

                                                                                                                                                                                                                                                                                                                                  func (*BillingAccountsSinksPatchCall) UpdateMask

                                                                                                                                                                                                                                                                                                                                    UpdateMask sets the optional parameter "updateMask": 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.

                                                                                                                                                                                                                                                                                                                                    type BillingAccountsSinksService

                                                                                                                                                                                                                                                                                                                                    type BillingAccountsSinksService struct {
                                                                                                                                                                                                                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                    func NewBillingAccountsSinksService

                                                                                                                                                                                                                                                                                                                                    func NewBillingAccountsSinksService(s *Service) *BillingAccountsSinksService

                                                                                                                                                                                                                                                                                                                                    func (*BillingAccountsSinksService) Create

                                                                                                                                                                                                                                                                                                                                      Create: Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.

                                                                                                                                                                                                                                                                                                                                      func (*BillingAccountsSinksService) Delete

                                                                                                                                                                                                                                                                                                                                        Delete: Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.

                                                                                                                                                                                                                                                                                                                                        func (*BillingAccountsSinksService) Get

                                                                                                                                                                                                                                                                                                                                          Get: Gets a sink.

                                                                                                                                                                                                                                                                                                                                          func (*BillingAccountsSinksService) List

                                                                                                                                                                                                                                                                                                                                            List: Lists sinks.

                                                                                                                                                                                                                                                                                                                                            func (*BillingAccountsSinksService) Patch

                                                                                                                                                                                                                                                                                                                                              Patch: 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.

                                                                                                                                                                                                                                                                                                                                              func (*BillingAccountsSinksService) Update

                                                                                                                                                                                                                                                                                                                                                Update: 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.

                                                                                                                                                                                                                                                                                                                                                type BillingAccountsSinksUpdateCall

                                                                                                                                                                                                                                                                                                                                                type BillingAccountsSinksUpdateCall struct {
                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                func (*BillingAccountsSinksUpdateCall) Context

                                                                                                                                                                                                                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                  func (*BillingAccountsSinksUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.billingAccounts.sinks.update" call. Exactly one of *LogSink or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogSink.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                    func (*BillingAccountsSinksUpdateCall) Fields

                                                                                                                                                                                                                                                                                                                                                      Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                      func (*BillingAccountsSinksUpdateCall) Header

                                                                                                                                                                                                                                                                                                                                                        Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                        func (*BillingAccountsSinksUpdateCall) UniqueWriterIdentity

                                                                                                                                                                                                                                                                                                                                                        func (c *BillingAccountsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksUpdateCall

                                                                                                                                                                                                                                                                                                                                                          UniqueWriterIdentity sets the optional parameter "uniqueWriterIdentity": 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.

                                                                                                                                                                                                                                                                                                                                                          func (*BillingAccountsSinksUpdateCall) UpdateMask

                                                                                                                                                                                                                                                                                                                                                            UpdateMask sets the optional parameter "updateMask": 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.

                                                                                                                                                                                                                                                                                                                                                            type BucketOptions

                                                                                                                                                                                                                                                                                                                                                            type BucketOptions struct {
                                                                                                                                                                                                                                                                                                                                                            	// ExplicitBuckets: The explicit buckets.
                                                                                                                                                                                                                                                                                                                                                            	ExplicitBuckets *Explicit `json:"explicitBuckets,omitempty"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// ExponentialBuckets: The exponential buckets.
                                                                                                                                                                                                                                                                                                                                                            	ExponentialBuckets *Exponential `json:"exponentialBuckets,omitempty"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// LinearBuckets: The linear bucket.
                                                                                                                                                                                                                                                                                                                                                            	LinearBuckets *Linear `json:"linearBuckets,omitempty"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "ExplicitBuckets") to
                                                                                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "ExplicitBuckets") to
                                                                                                                                                                                                                                                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                                                                            	// requests.
                                                                                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                              BucketOptions: BucketOptions describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. BucketOptions does not include the number of values in each bucket.A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.

                                                                                                                                                                                                                                                                                                                                                              func (*BucketOptions) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                              func (s *BucketOptions) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                              type CmekSettings

                                                                                                                                                                                                                                                                                                                                                              type CmekSettings struct {
                                                                                                                                                                                                                                                                                                                                                              	// KmsKeyName: The resource name for the configured Cloud KMS key.KMS
                                                                                                                                                                                                                                                                                                                                                              	// key name format:
                                                                                                                                                                                                                                                                                                                                                              	// "projects/PROJECT_ID/locations/LOCATION/keyRings/KEYRING/cryptoKeys/KE
                                                                                                                                                                                                                                                                                                                                                              	// Y"For example:
                                                                                                                                                                                                                                                                                                                                                              	// "projects/my-project-id/locations/my-region/keyRings/key-ring-name/cry
                                                                                                                                                                                                                                                                                                                                                              	// ptoKeys/key-name"To enable CMEK for the Logs Router, set this field
                                                                                                                                                                                                                                                                                                                                                              	// to a valid kms_key_name for which the associated service account has
                                                                                                                                                                                                                                                                                                                                                              	// the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned
                                                                                                                                                                                                                                                                                                                                                              	// for the key.The Cloud KMS key used by the Log Router can be updated
                                                                                                                                                                                                                                                                                                                                                              	// by changing the kms_key_name to a new valid key name. Encryption
                                                                                                                                                                                                                                                                                                                                                              	// operations that are in progress will be completed with the key that
                                                                                                                                                                                                                                                                                                                                                              	// was in use when they started. Decryption operations will be completed
                                                                                                                                                                                                                                                                                                                                                              	// using the key that was used at the time of encryption unless access
                                                                                                                                                                                                                                                                                                                                                              	// to that key has been revoked.To disable CMEK for the Logs Router, set
                                                                                                                                                                                                                                                                                                                                                              	// this field to an empty string.See Enabling CMEK for Logs Router
                                                                                                                                                                                                                                                                                                                                                              	// (https://cloud.google.com/logging/docs/routing/managed-encryption)
                                                                                                                                                                                                                                                                                                                                                              	// for more information.
                                                                                                                                                                                                                                                                                                                                                              	KmsKeyName string `json:"kmsKeyName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// Name: Output only. The resource name of the CMEK settings.
                                                                                                                                                                                                                                                                                                                                                              	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ServiceAccountId: Output only. The service account that will be used
                                                                                                                                                                                                                                                                                                                                                              	// by the Logs Router to access your Cloud KMS key.Before enabling CMEK
                                                                                                                                                                                                                                                                                                                                                              	// for Logs Router, you must first assign the role
                                                                                                                                                                                                                                                                                                                                                              	// roles/cloudkms.cryptoKeyEncrypterDecrypter to the service account
                                                                                                                                                                                                                                                                                                                                                              	// that the Logs Router will use to access your Cloud KMS key. Use
                                                                                                                                                                                                                                                                                                                                                              	// GetCmekSettings to obtain the service account ID.See Enabling CMEK
                                                                                                                                                                                                                                                                                                                                                              	// for Logs Router
                                                                                                                                                                                                                                                                                                                                                              	// (https://cloud.google.com/logging/docs/routing/managed-encryption)
                                                                                                                                                                                                                                                                                                                                                              	// for more information.
                                                                                                                                                                                                                                                                                                                                                              	ServiceAccountId string `json:"serviceAccountId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                              	// server.
                                                                                                                                                                                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "KmsKeyName") to
                                                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "KmsKeyName") to include in
                                                                                                                                                                                                                                                                                                                                                              	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                CmekSettings: Describes the customer-managed encryption key (CMEK) settings associated with a project, folder, organization, billing account, or flexible resource.Note: CMEK for the Logs Router can currently only be configured for GCP organizations. Once configured, it applies to all projects and folders in the GCP organization.See Enabling CMEK for Logs Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.

                                                                                                                                                                                                                                                                                                                                                                func (*CmekSettings) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                func (s *CmekSettings) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                type Empty

                                                                                                                                                                                                                                                                                                                                                                type Empty struct {
                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                  Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.

                                                                                                                                                                                                                                                                                                                                                                  type EntriesListCall

                                                                                                                                                                                                                                                                                                                                                                  type EntriesListCall struct {
                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                  func (*EntriesListCall) Context

                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                    func (*EntriesListCall) Do

                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.entries.list" call. Exactly one of *ListLogEntriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLogEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                      func (*EntriesListCall) Fields

                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                        func (*EntriesListCall) Header

                                                                                                                                                                                                                                                                                                                                                                        func (c *EntriesListCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                          func (*EntriesListCall) Pages

                                                                                                                                                                                                                                                                                                                                                                            Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

                                                                                                                                                                                                                                                                                                                                                                            type EntriesService

                                                                                                                                                                                                                                                                                                                                                                            type EntriesService struct {
                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                            func NewEntriesService

                                                                                                                                                                                                                                                                                                                                                                            func NewEntriesService(s *Service) *EntriesService

                                                                                                                                                                                                                                                                                                                                                                            func (*EntriesService) List

                                                                                                                                                                                                                                                                                                                                                                            func (r *EntriesService) List(listlogentriesrequest *ListLogEntriesRequest) *EntriesListCall

                                                                                                                                                                                                                                                                                                                                                                              List: 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).

                                                                                                                                                                                                                                                                                                                                                                              func (*EntriesService) Tail

                                                                                                                                                                                                                                                                                                                                                                              func (r *EntriesService) Tail(taillogentriesrequest *TailLogEntriesRequest) *EntriesTailCall

                                                                                                                                                                                                                                                                                                                                                                                Tail: Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.

                                                                                                                                                                                                                                                                                                                                                                                func (*EntriesService) Write

                                                                                                                                                                                                                                                                                                                                                                                func (r *EntriesService) Write(writelogentriesrequest *WriteLogEntriesRequest) *EntriesWriteCall

                                                                                                                                                                                                                                                                                                                                                                                  Write: 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)

                                                                                                                                                                                                                                                                                                                                                                                  type EntriesTailCall

                                                                                                                                                                                                                                                                                                                                                                                  type EntriesTailCall struct {
                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                  func (*EntriesTailCall) Context

                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                    func (*EntriesTailCall) Do

                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.entries.tail" call. Exactly one of *TailLogEntriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TailLogEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                      func (*EntriesTailCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                        func (*EntriesTailCall) Header

                                                                                                                                                                                                                                                                                                                                                                                        func (c *EntriesTailCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                          type EntriesWriteCall

                                                                                                                                                                                                                                                                                                                                                                                          type EntriesWriteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                          func (*EntriesWriteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                            func (*EntriesWriteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "logging.entries.write" call. Exactly one of *WriteLogEntriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *WriteLogEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                              func (*EntriesWriteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                func (*EntriesWriteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                func (c *EntriesWriteCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                  type ExclusionsCreateCall

                                                                                                                                                                                                                                                                                                                                                                                                  type ExclusionsCreateCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                  func (*ExclusionsCreateCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                    func (*ExclusionsCreateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.exclusions.create" call. Exactly one of *LogExclusion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogExclusion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                      func (*ExclusionsCreateCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                        func (*ExclusionsCreateCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                        func (c *ExclusionsCreateCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                          type ExclusionsDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                          type ExclusionsDeleteCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                          	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                          func (*ExclusionsDeleteCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                            func (*ExclusionsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                              Do executes the "logging.exclusions.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                              func (*ExclusionsDeleteCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                func (*ExclusionsDeleteCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                func (c *ExclusionsDeleteCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                  Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                  type ExclusionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                  type ExclusionsGetCall struct {
                                                                                                                                                                                                                                                                                                                                                                                                                  	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ExclusionsGetCall) Context

                                                                                                                                                                                                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ExclusionsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.exclusions.get" call. Exactly one of *LogExclusion or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *LogExclusion.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ExclusionsGetCall) Fields

                                                                                                                                                                                                                                                                                                                                                                                                                        Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ExclusionsGetCall) Header

                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *ExclusionsGetCall) Header() http.Header

                                                                                                                                                                                                                                                                                                                                                                                                                          Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ExclusionsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *ExclusionsGetCall) IfNoneMatch(entityTag string) *ExclusionsGetCall

                                                                                                                                                                                                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the resu