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 {
                	// contains filtered or unexported fields
                }

                func NewBillingAccountsBucketsService

                func NewBillingAccountsBucketsService(s *Service) *BillingAccountsBucketsService

                func (*BillingAccountsBucketsService) Get

                  Get: Gets a bucket (Beta).

                  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 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 {
                                                                                                          	// contains filtered or unexported fields
                                                                                                          }

                                                                                                          func NewBillingAccountsLocationsBucketsService

                                                                                                          func NewBillingAccountsLocationsBucketsService(s *Service) *BillingAccountsLocationsBucketsService

                                                                                                          func (*BillingAccountsLocationsBucketsService) List

                                                                                                            List: Lists buckets (Beta).

                                                                                                            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. This method is in Beta.

                                                                                                              type BillingAccountsLocationsService

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

                                                                                                              func NewBillingAccountsLocationsService

                                                                                                              func NewBillingAccountsLocationsService(s *Service) *BillingAccountsLocationsService

                                                                                                              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.

                                                                                                                                      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. 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) 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 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 result of In-None-Match.

                                                                                                                                                                                                                                                                                type ExclusionsListCall

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

                                                                                                                                                                                                                                                                                func (*ExclusionsListCall) 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 (*ExclusionsListCall) Do

                                                                                                                                                                                                                                                                                    Do executes the "logging.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 (*ExclusionsListCall) Fields

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

                                                                                                                                                                                                                                                                                      func (*ExclusionsListCall) Header

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

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

                                                                                                                                                                                                                                                                                        func (*ExclusionsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                          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 (*ExclusionsListCall) PageSize

                                                                                                                                                                                                                                                                                          func (c *ExclusionsListCall) PageSize(pageSize int64) *ExclusionsListCall

                                                                                                                                                                                                                                                                                            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 (*ExclusionsListCall) PageToken

                                                                                                                                                                                                                                                                                            func (c *ExclusionsListCall) PageToken(pageToken string) *ExclusionsListCall

                                                                                                                                                                                                                                                                                              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 (*ExclusionsListCall) 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 ExclusionsPatchCall

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

                                                                                                                                                                                                                                                                                                func (*ExclusionsPatchCall) 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 (*ExclusionsPatchCall) Do

                                                                                                                                                                                                                                                                                                    Do executes the "logging.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 (*ExclusionsPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                      func (*ExclusionsPatchCall) Header

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

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

                                                                                                                                                                                                                                                                                                        func (*ExclusionsPatchCall) UpdateMask

                                                                                                                                                                                                                                                                                                        func (c *ExclusionsPatchCall) UpdateMask(updateMask string) *ExclusionsPatchCall

                                                                                                                                                                                                                                                                                                          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 ExclusionsService

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

                                                                                                                                                                                                                                                                                                          func NewExclusionsService

                                                                                                                                                                                                                                                                                                          func NewExclusionsService(s *Service) *ExclusionsService

                                                                                                                                                                                                                                                                                                          func (*ExclusionsService) Create

                                                                                                                                                                                                                                                                                                          func (r *ExclusionsService) Create(parent string, logexclusion *LogExclusion) *ExclusionsCreateCall

                                                                                                                                                                                                                                                                                                            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 (*ExclusionsService) Delete

                                                                                                                                                                                                                                                                                                              Delete: Deletes an exclusion.

                                                                                                                                                                                                                                                                                                              func (*ExclusionsService) Get

                                                                                                                                                                                                                                                                                                                Get: Gets the description of an exclusion.

                                                                                                                                                                                                                                                                                                                func (*ExclusionsService) List

                                                                                                                                                                                                                                                                                                                func (r *ExclusionsService) List(parent string) *ExclusionsListCall

                                                                                                                                                                                                                                                                                                                  List: Lists all the exclusions in a parent resource.

                                                                                                                                                                                                                                                                                                                  func (*ExclusionsService) Patch

                                                                                                                                                                                                                                                                                                                  func (r *ExclusionsService) Patch(name string, logexclusion *LogExclusion) *ExclusionsPatchCall

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

                                                                                                                                                                                                                                                                                                                    type Explicit

                                                                                                                                                                                                                                                                                                                    type Explicit struct {
                                                                                                                                                                                                                                                                                                                    	// Bounds: The values must be monotonically increasing.
                                                                                                                                                                                                                                                                                                                    	Bounds []float64 `json:"bounds,omitempty"`
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Bounds") 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. "Bounds") 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:"-"`
                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                      Explicit: Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

                                                                                                                                                                                                                                                                                                                      func (*Explicit) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                      type Exponential

                                                                                                                                                                                                                                                                                                                      type Exponential struct {
                                                                                                                                                                                                                                                                                                                      	// GrowthFactor: Must be greater than 1.
                                                                                                                                                                                                                                                                                                                      	GrowthFactor float64 `json:"growthFactor,omitempty"`
                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                      	// NumFiniteBuckets: Must be greater than 0.
                                                                                                                                                                                                                                                                                                                      	NumFiniteBuckets int64 `json:"numFiniteBuckets,omitempty"`
                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                      	// Scale: Must be greater than 0.
                                                                                                                                                                                                                                                                                                                      	Scale float64 `json:"scale,omitempty"`
                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "GrowthFactor") 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. "GrowthFactor") 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:"-"`
                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                        Exponential: Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).

                                                                                                                                                                                                                                                                                                                        func (*Exponential) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                        func (*Exponential) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                        func (s *Exponential) UnmarshalJSON(data []byte) error

                                                                                                                                                                                                                                                                                                                        type FoldersExclusionsCreateCall

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

                                                                                                                                                                                                                                                                                                                        func (*FoldersExclusionsCreateCall) 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 (*FoldersExclusionsCreateCall) Do

                                                                                                                                                                                                                                                                                                                            Do executes the "logging.folders.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 (*FoldersExclusionsCreateCall) Fields

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

                                                                                                                                                                                                                                                                                                                              func (*FoldersExclusionsCreateCall) Header

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

                                                                                                                                                                                                                                                                                                                                type FoldersExclusionsDeleteCall

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

                                                                                                                                                                                                                                                                                                                                func (*FoldersExclusionsDeleteCall) 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 (*FoldersExclusionsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.folders.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 (*FoldersExclusionsDeleteCall) Fields

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

                                                                                                                                                                                                                                                                                                                                      func (*FoldersExclusionsDeleteCall) Header

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

                                                                                                                                                                                                                                                                                                                                        type FoldersExclusionsGetCall

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

                                                                                                                                                                                                                                                                                                                                        func (*FoldersExclusionsGetCall) 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 (*FoldersExclusionsGetCall) Do

                                                                                                                                                                                                                                                                                                                                            Do executes the "logging.folders.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 (*FoldersExclusionsGetCall) Fields

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

                                                                                                                                                                                                                                                                                                                                              func (*FoldersExclusionsGetCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                func (*FoldersExclusionsGetCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                  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 FoldersExclusionsListCall

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

                                                                                                                                                                                                                                                                                                                                                  func (*FoldersExclusionsListCall) 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 (*FoldersExclusionsListCall) Do

                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.folders.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 (*FoldersExclusionsListCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                        func (*FoldersExclusionsListCall) Header

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

                                                                                                                                                                                                                                                                                                                                                          func (*FoldersExclusionsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                            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 (*FoldersExclusionsListCall) 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 (*FoldersExclusionsListCall) 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 (*FoldersExclusionsListCall) 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 FoldersExclusionsPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                  func (*FoldersExclusionsPatchCall) 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 (*FoldersExclusionsPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.folders.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 (*FoldersExclusionsPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersExclusionsPatchCall) Header

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

                                                                                                                                                                                                                                                                                                                                                                          func (*FoldersExclusionsPatchCall) 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 FoldersExclusionsService

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

                                                                                                                                                                                                                                                                                                                                                                            func NewFoldersExclusionsService

                                                                                                                                                                                                                                                                                                                                                                            func NewFoldersExclusionsService(s *Service) *FoldersExclusionsService

                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersExclusionsService) Create

                                                                                                                                                                                                                                                                                                                                                                            func (r *FoldersExclusionsService) Create(parent string, logexclusion *LogExclusion) *FoldersExclusionsCreateCall

                                                                                                                                                                                                                                                                                                                                                                              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 (*FoldersExclusionsService) Delete

                                                                                                                                                                                                                                                                                                                                                                                Delete: Deletes an exclusion.

                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersExclusionsService) Get

                                                                                                                                                                                                                                                                                                                                                                                  Get: Gets the description of an exclusion.

                                                                                                                                                                                                                                                                                                                                                                                  func (*FoldersExclusionsService) List

                                                                                                                                                                                                                                                                                                                                                                                    List: Lists all the exclusions in a parent resource.

                                                                                                                                                                                                                                                                                                                                                                                    func (*FoldersExclusionsService) Patch

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

                                                                                                                                                                                                                                                                                                                                                                                      type FoldersLocationsBucketsGetCall

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

                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersLocationsBucketsGetCall) 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 (*FoldersLocationsBucketsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "logging.folders.locations.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 (*FoldersLocationsBucketsGetCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersLocationsBucketsGetCall) Header

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

                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersLocationsBucketsGetCall) 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 FoldersLocationsBucketsListCall

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

                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersLocationsBucketsListCall) 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 (*FoldersLocationsBucketsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.folders.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 (*FoldersLocationsBucketsListCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersLocationsBucketsListCall) Header

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

                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersLocationsBucketsListCall) 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 (*FoldersLocationsBucketsListCall) 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 (*FoldersLocationsBucketsListCall) 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 (*FoldersLocationsBucketsListCall) 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 FoldersLocationsBucketsPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersLocationsBucketsPatchCall) 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 (*FoldersLocationsBucketsPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.folders.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 (*FoldersLocationsBucketsPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersLocationsBucketsPatchCall) Header

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

                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersLocationsBucketsPatchCall) 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 FoldersLocationsBucketsService

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

                                                                                                                                                                                                                                                                                                                                                                                                                          func NewFoldersLocationsBucketsService

                                                                                                                                                                                                                                                                                                                                                                                                                          func NewFoldersLocationsBucketsService(s *Service) *FoldersLocationsBucketsService

                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FoldersLocationsBucketsService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                            Get: Gets a bucket (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersLocationsBucketsService) List

                                                                                                                                                                                                                                                                                                                                                                                                                              List: Lists buckets (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersLocationsBucketsService) 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. This method is in Beta.

                                                                                                                                                                                                                                                                                                                                                                                                                                type FoldersLocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                type FoldersLocationsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                	Buckets *FoldersLocationsBucketsService
                                                                                                                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                func NewFoldersLocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                func NewFoldersLocationsService(s *Service) *FoldersLocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                type FoldersLogsDeleteCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersLogsDeleteCall) 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 (*FoldersLogsDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.folders.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 (*FoldersLogsDeleteCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersLogsDeleteCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                        type FoldersLogsListCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersLogsListCall) 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 (*FoldersLogsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "logging.folders.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 (*FoldersLogsListCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersLogsListCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersLogsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                  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 (*FoldersLogsListCall) PageSize

                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FoldersLogsListCall) PageSize(pageSize int64) *FoldersLogsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 (*FoldersLogsListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FoldersLogsListCall) PageToken(pageToken string) *FoldersLogsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 (*FoldersLogsListCall) 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 FoldersLogsService

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewFoldersLogsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func NewFoldersLogsService(s *Service) *FoldersLogsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersLogsService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (r *FoldersLogsService) Delete(logName string) *FoldersLogsDeleteCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Delete: Deletes all the log entries in a log. 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 (*FoldersLogsService) List

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FoldersService

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FoldersService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Exclusions *FoldersExclusionsService
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Locations *FoldersLocationsService
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Logs *FoldersLogsService
                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Sinks *FoldersSinksService
                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewFoldersService

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewFoldersService(s *Service) *FoldersService

                                                                                                                                                                                                                                                                                                                                                                                                                                                            type FoldersSinksCreateCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersSinksCreateCall) 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 (*FoldersSinksCreateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "logging.folders.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 (*FoldersSinksCreateCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*FoldersSinksCreateCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FoldersSinksCreateCall) UniqueWriterIdentity

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 FoldersSinksDeleteCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersSinksDeleteCall) 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 (*FoldersSinksDeleteCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Do executes the "logging.folders.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 (*FoldersSinksDeleteCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersSinksDeleteCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type FoldersSinksGetCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersSinksGetCall) 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 (*FoldersSinksGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Do executes the "logging.folders.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 (*FoldersSinksGetCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FoldersSinksGetCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersSinksGetCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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 FoldersSinksListCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersSinksListCall) 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 (*FoldersSinksListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "logging.folders.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 (*FoldersSinksListCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersSinksListCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersSinksListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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 (*FoldersSinksListCall) PageSize

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FoldersSinksListCall) PageSize(pageSize int64) *FoldersSinksListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 (*FoldersSinksListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *FoldersSinksListCall) PageToken(pageToken string) *FoldersSinksListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 (*FoldersSinksListCall) 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 FoldersSinksPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersSinksPatchCall) 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 (*FoldersSinksPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Do executes the "logging.folders.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 (*FoldersSinksPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*FoldersSinksPatchCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersSinksPatchCall) UniqueWriterIdentity

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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 (*FoldersSinksPatchCall) UpdateMask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (c *FoldersSinksPatchCall) UpdateMask(updateMask string) *FoldersSinksPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 FoldersSinksService

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func NewFoldersSinksService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func NewFoldersSinksService(s *Service) *FoldersSinksService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*FoldersSinksService) Create

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (r *FoldersSinksService) Create(parent string, logsink *LogSink) *FoldersSinksCreateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 (*FoldersSinksService) Delete

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (r *FoldersSinksService) Delete(sinkNameid string) *FoldersSinksDeleteCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersSinksService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Get: Gets a sink.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*FoldersSinksService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            List: Lists sinks.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*FoldersSinksService) Patch

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (r *FoldersSinksService) Patch(sinkNameid string, logsink *LogSink) *FoldersSinksPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              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 (*FoldersSinksService) Update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (r *FoldersSinksService) Update(sinkNameid string, logsink *LogSink) *FoldersSinksUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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 FoldersSinksUpdateCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*FoldersSinksUpdateCall) 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 (*FoldersSinksUpdateCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Do executes the "logging.folders.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 (*FoldersSinksUpdateCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*FoldersSinksUpdateCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*FoldersSinksUpdateCall) UniqueWriterIdentity

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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 (*FoldersSinksUpdateCall) UpdateMask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (c *FoldersSinksUpdateCall) UpdateMask(updateMask string) *FoldersSinksUpdateCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 HttpRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type HttpRequest struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CacheFillBytes: The number of HTTP response bytes inserted into
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// cache. Set only when a cache fill was attempted.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	CacheFillBytes int64 `json:"cacheFillBytes,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CacheHit: Whether or not an entity was served from cache (with or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// without validation).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	CacheHit bool `json:"cacheHit,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CacheLookup: Whether or not a cache lookup was attempted.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	CacheLookup bool `json:"cacheLookup,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CacheValidatedWithOriginServer: Whether or not the response was
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// validated with the origin server before being served from cache. This
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// field is only meaningful if cache_hit is True.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	CacheValidatedWithOriginServer bool `json:"cacheValidatedWithOriginServer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Latency: The request processing latency on the server, from the time
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// the request was received until the response was sent.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Latency string `json:"latency,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Protocol: Protocol used for the request. Examples: "HTTP/1.1",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "HTTP/2", "websocket"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Protocol string `json:"protocol,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Referer: The referer URL of the request, as defined in HTTP/1.1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Header Field Definitions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Referer string `json:"referer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RemoteIp: The IP address (IPv4 or IPv6) of the client that issued the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// HTTP request. Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RemoteIp string `json:"remoteIp,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RequestMethod: The request method. Examples: "GET", "HEAD", "PUT",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "POST".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RequestMethod string `json:"requestMethod,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RequestSize: The size of the HTTP request message in bytes, including
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// the request headers and the request body.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RequestSize int64 `json:"requestSize,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RequestUrl: The scheme (http, https), the host name, the path and the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// query portion of the URL that was requested. Example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "http://example.com/some/info?color=red".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RequestUrl string `json:"requestUrl,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ResponseSize: The size of the HTTP response message sent back to the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// client, in bytes, including the response headers and the response
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// body.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ResponseSize int64 `json:"responseSize,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ServerIp: The IP address (IPv4 or IPv6) of the origin server that the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// request was sent to.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	ServerIp string `json:"serverIp,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Status: The response code indicating the status of response.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Examples: 200, 404.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Status int64 `json:"status,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// UserAgent: The user agent sent by the client. Example: "Mozilla/4.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// (compatible; MSIE 6.0; Windows 98; Q312461; .NET
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CLR 1.0.3705)".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	UserAgent string `json:"userAgent,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "CacheFillBytes") 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. "CacheFillBytes") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              HttpRequest: A common proto for logging HTTP requests. Only contains semantics defined by the HTTP specification. Product-specific logging information MUST be defined in a separate message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*HttpRequest) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type LabelDescriptor

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type LabelDescriptor struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Description: A human-readable description for the label.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Key: The label key.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Key string `json:"key,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ValueType: The type of data that can be assigned to the label.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Possible values:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "STRING" - A variable-length string. This is the default.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "BOOL" - Boolean; true or false.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "INT64" - A 64-bit signed integer.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ValueType string `json:"valueType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                LabelDescriptor: A description of a label.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*LabelDescriptor) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type Linear

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type Linear struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NumFiniteBuckets: Must be greater than 0.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NumFiniteBuckets int64 `json:"numFiniteBuckets,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Offset: Lower bound of the first bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Offset float64 `json:"offset,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Width: Must be greater than 0.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Width float64 `json:"width,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "NumFiniteBuckets") 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. "NumFiniteBuckets") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Linear: Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket.There are num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*Linear) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*Linear) UnmarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (s *Linear) UnmarshalJSON(data []byte) error

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ListBucketsResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ListBucketsResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Buckets: A list of buckets.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Buckets []*LogBucket `json:"buckets,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// NextPageToken: If there might be more results than appear in this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// results, call the same method again using the value of nextPageToken
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// as pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "Buckets") 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. "Buckets") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ListBucketsResponse: The response from ListBuckets (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*ListBucketsResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ListExclusionsResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ListExclusionsResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Exclusions: A list of exclusions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Exclusions []*LogExclusion `json:"exclusions,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// NextPageToken: If there might be more results than appear in this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// results, call the same method again using the value of nextPageToken
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// as pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ForceSendFields is a list of field names (e.g. "Exclusions") 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. "Exclusions") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ListExclusionsResponse: Result returned from ListExclusions.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*ListExclusionsResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ListLogEntriesRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ListLogEntriesRequest struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Filter: Optional. A filter that chooses which log entries to return.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// See Advanced Logs Queries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// (https://cloud.google.com/logging/docs/view/advanced-queries). Only
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// log entries that match the filter are returned. An empty filter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// matches all log entries in the resources listed in resource_names.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Referencing a parent resource that is not listed in resource_names
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// will cause the filter to return no results. The maximum length of the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// filter is 20000 characters.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	Filter string `json:"filter,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// OrderBy: Optional. How the results should be sorted. Presently, the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// only permitted values are "timestamp asc" (default) and "timestamp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// desc". The first option returns entries in order of increasing values
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// of LogEntry.timestamp (oldest first), and the second option returns
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// entries in order of decreasing timestamps (newest first). Entries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// with equal timestamps are returned in order of their insert_id
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// values.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	OrderBy string `json:"orderBy,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// PageSize: Optional. The maximum number of results to return from this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// request. Non-positive values are ignored. The presence of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// next_page_token in the response indicates that more results might be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// available.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	PageSize int64 `json:"pageSize,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// PageToken: Optional. If present, then retrieve the next batch of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// results from the preceding call to this method. page_token must be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// the value of next_page_token from the previous response. The values
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// of other method parameters should be identical to those in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// previous call.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	PageToken string `json:"pageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ProjectIds: Optional. Deprecated. Use resource_names instead. One or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// more project identifiers or project numbers from which to retrieve
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// log entries. Example: "my-project-1A".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	ProjectIds []string `json:"projectIds,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ResourceNames: Required. Names of one or more parent resources from
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// which to retrieve log
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// entries:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// "projects/[PROJECT_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// "organizations/[ORGANIZATION_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// "bi
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// llingAccounts/[BILLING_ACCOUNT_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// "folders/[FOLDER_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// Projects listed in the project_ids field are added to this list.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	ResourceNames []string `json:"resourceNames,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Filter") 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. "Filter") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ListLogEntriesRequest: The parameters to ListLogEntries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*ListLogEntriesRequest) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ListLogEntriesResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ListLogEntriesResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Entries: A list of log entries. If entries is empty, nextPageToken
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// may still be returned, indicating that more entries may exist. See
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// nextPageToken for more information.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	Entries []*LogEntry `json:"entries,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// NextPageToken: If there might be more results than those appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// this response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// results, call this method again using the value of nextPageToken as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// pageToken.If a value for next_page_token appears and the entries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// field is empty, it means that the search found no log entries so far
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// but it did not have time to search all the possible log entries.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// Retry the method with this value for page_token to continue the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// search. Alternatively, consider speeding up the search by changing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// your filter to specify a single log name or resource type, or to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// narrow the time range of the search.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	// ForceSendFields is a list of field names (e.g. "Entries") 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. "Entries") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ListLogEntriesResponse: Result returned from ListLogEntries.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*ListLogEntriesResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ListLogMetricsResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type ListLogMetricsResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// Metrics: A list of logs-based metrics.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	Metrics []*LogMetric `json:"metrics,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// NextPageToken: If there might be more results than appear in this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// results, call this method again using the value of nextPageToken as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Metrics") 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. "Metrics") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ListLogMetricsResponse: Result returned from ListLogMetrics.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*ListLogMetricsResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ListLogsResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type ListLogsResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// LogNames: A list of log names. For example,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "projects/my-project/logs/syslog" or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	LogNames []string `json:"logNames,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// NextPageToken: If there might be more results than those appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// this response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// results, call this method again using the value of nextPageToken as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "LogNames") 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. "LogNames") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ListLogsResponse: Result returned from ListLogs.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*ListLogsResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ListMonitoredResourceDescriptorsResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type ListMonitoredResourceDescriptorsResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// NextPageToken: If there might be more results than those appearing in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// this response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// results, call this method again using the value of nextPageToken as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ResourceDescriptors: A list of resource descriptors.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ResourceDescriptors []*MonitoredResourceDescriptor `json:"resourceDescriptors,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ListMonitoredResourceDescriptorsResponse: Result returned from ListMonitoredResourceDescriptors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*ListMonitoredResourceDescriptorsResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ListSinksResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ListSinksResponse struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// NextPageToken: If there might be more results than appear in this
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// response, then nextPageToken is included. To get the next set of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// results, call the same method again using the value of nextPageToken
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// as pageToken.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Sinks: A list of sinks.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Sinks []*LogSink `json:"sinks,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "NextPageToken") 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. "NextPageToken") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ListSinksResponse: Result returned from ListSinks.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*ListSinksResponse) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LocationsBucketsGetCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*LocationsBucketsGetCall) 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 (*LocationsBucketsGetCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Do executes the "logging.locations.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 (*LocationsBucketsGetCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*LocationsBucketsGetCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*LocationsBucketsGetCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 LocationsBucketsListCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*LocationsBucketsListCall) 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 (*LocationsBucketsListCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "logging.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 (*LocationsBucketsListCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*LocationsBucketsListCall) Header

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*LocationsBucketsListCall) IfNoneMatch

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 (*LocationsBucketsListCall) 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 (*LocationsBucketsListCall) PageToken

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (c *LocationsBucketsListCall) PageToken(pageToken string) *LocationsBucketsListCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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 (*LocationsBucketsListCall) 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 LocationsBucketsPatchCall

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func (*LocationsBucketsPatchCall) 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 (*LocationsBucketsPatchCall) Do

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Do executes the "logging.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 (*LocationsBucketsPatchCall) Fields

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*LocationsBucketsPatchCall) Header

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*LocationsBucketsPatchCall) UpdateMask

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (c *LocationsBucketsPatchCall) UpdateMask(updateMask string) *LocationsBucketsPatchCall

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 LocationsBucketsService

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewLocationsBucketsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func NewLocationsBucketsService(s *Service) *LocationsBucketsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      func (*LocationsBucketsService) Get

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Get: Gets a bucket (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        func (*LocationsBucketsService) List

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          List: Lists buckets (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          func (*LocationsBucketsService) 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. This method is in Beta.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type LocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type LocationsService struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Buckets *LocationsBucketsService
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewLocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            func NewLocationsService(s *Service) *LocationsService

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type LogBucket

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type LogBucket struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// CreateTime: Output only. The creation timestamp of the bucket. This
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// is not set for any of the default buckets.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	CreateTime string `json:"createTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Description: Describes this bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// LifecycleState: Output only. The bucket lifecycle state.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Possible values:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	//   "LIFECYCLE_STATE_UNSPECIFIED" - Unspecified state. This is only
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// used/useful for distinguishing unset values.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	//   "ACTIVE" - The normal and active state.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	//   "DELETE_REQUESTED" - The bucket has been marked for deletion by the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// user.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	LifecycleState string `json:"lifecycleState,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Name: The resource name of the bucket. For example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// "projects/my-project-id/locations/my-location/buckets/my-bucket-id
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// The supported locations are:  "global"  "us-central1"For the location
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// of global it is unspecified where logs are actually stored. Once a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// bucket has been created, the location can not be changed.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// RetentionDays: Logs will be retained by default for this amount of
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// time, after which they will automatically be deleted. The minimum
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// retention period is 1 day. If this value is set to zero at bucket
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// creation time, the default time of 30 days will be used.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	RetentionDays int64 `json:"retentionDays,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// UpdateTime: Output only. The last update timestamp of the bucket.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	UpdateTime string `json:"updateTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "CreateTime") 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. "CreateTime") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              LogBucket: Describes a repository of logs (Beta).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              func (*LogBucket) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type LogEntry

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type LogEntry struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// HttpRequest: Optional. Information about the HTTP request associated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// with this log entry, if applicable.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	HttpRequest *HttpRequest `json:"httpRequest,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// InsertId: Optional. A unique identifier for the log entry. If you
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// provide a value, then Logging considers other log entries in the same
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// project, with the same timestamp, and with the same insert_id to be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// duplicates which are removed in a single query result. However, there
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// are no guarantees of de-duplication in the export of logs.If the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// insert_id is omitted when writing a log entry, the Logging API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// assigns its own unique identifier in this field.In queries, the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// insert_id is also used to order log entries that have the same
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// log_name and timestamp values.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	InsertId string `json:"insertId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// JsonPayload: The log entry payload, represented as a structure that
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// is expressed as a JSON object.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	JsonPayload googleapi.RawMessage `json:"jsonPayload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Labels: Optional. A set of user-defined (key, value) data that
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// provides additional information about the log entry.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Labels map[string]string `json:"labels,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// LogName: Required. The resource name of the log to which this log
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// entry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// belongs:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "projects/[PROJECT_ID]/logs/[LOG_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "organizations/[ORGANIZ
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ATION_ID]/logs/[LOG_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[L
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// OG_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "folders/[FOLDER_ID]/logs/[LOG_ID]"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// A project number may be used in place of PROJECT_ID. The project
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// number is translated to its corresponding PROJECT_ID internally and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the log_name field will contain PROJECT_ID in queries and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// exports.[LOG_ID] must be URL-encoded within log_name. Example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Fa
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ctivity". [LOG_ID] must be less than 512 characters long and can only
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// include the following characters: upper and lower case alphanumeric
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// characters, forward-slash, underscore, hyphen, and period.For
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// backward compatibility, if log_name begins with a forward-slash, such
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// as /projects/..., then the log entry is ingested as usual but the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// forward-slash is removed. Listing the log entry will not show the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// leading slash and filtering for a log name with a leading slash will
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// never return any results.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	LogName string `json:"logName,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Metadata: Output only. Deprecated. Additional metadata about the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// monitored resource.Only k8s_container, k8s_pod, and k8s_node
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// MonitoredResources have this field populated for GKE versions older
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// than 1.12.6. For GKE versions 1.12.6 and above, the metadata field
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// has been deprecated. The Kubernetes pod labels that used to be in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// metadata.userLabels will now be present in the labels field with a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// key prefix of k8s-pod/. The system labels that were present in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// metadata.systemLabels field will no longer be available in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// LogEntry.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Metadata *MonitoredResourceMetadata `json:"metadata,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Operation: Optional. Information about an operation associated with
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the log entry, if applicable.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Operation *LogEntryOperation `json:"operation,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ProtoPayload: The log entry payload, represented as a protocol
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// buffer. Some Google Cloud Platform services use this field for their
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// log entry payloads.The following protocol buffer types are supported;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// user-defined types are not
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// supported:"type.googleapis.com/google.cloud.audit.AuditLog"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// "type.googleapis.com/google.appengine.logging.v1.RequestLog"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ProtoPayload googleapi.RawMessage `json:"protoPayload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ReceiveTimestamp: Output only. The time the log entry was received by
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Logging.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	ReceiveTimestamp string `json:"receiveTimestamp,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Resource: Required. The monitored resource that produced this log
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// entry.Example: a log entry that reports a database error would be
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// associated with the monitored resource designating the particular
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// database that reported the error.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Resource *MonitoredResource `json:"resource,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Severity: Optional. The severity of the log entry. The default value
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// is LogSeverity.DEFAULT.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Possible values:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "DEFAULT" - (0) The log entry has no assigned severity level.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "DEBUG" - (100) Debug or trace information.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "INFO" - (200) Routine information, such as ongoing status or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// performance.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "NOTICE" - (300) Normal but significant events, such as start up,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// shut down, or a configuration change.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "WARNING" - (400) Warning events might cause problems.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "ERROR" - (500) Error events are likely to cause problems.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "CRITICAL" - (600) Critical events cause more severe problems or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// outages.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "ALERT" - (700) A person must take an action immediately.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	//   "EMERGENCY" - (800) One or more systems are unusable.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Severity string `json:"severity,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// SourceLocation: Optional. Source code location information associated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// with the log entry, if any.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	SourceLocation *LogEntrySourceLocation `json:"sourceLocation,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// SpanId: Optional. The span ID within the trace associated with the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// log entry.For Trace spans, this is the same format that the Trace API
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// v2 uses: a 16-character hexadecimal encoding of an 8-byte array, such
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// as 000000000000004a.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	SpanId string `json:"spanId,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// TextPayload: The log entry payload, represented as a Unicode string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// (UTF-8).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	TextPayload string `json:"textPayload,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Timestamp: Optional. The time the event described by the log entry
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// occurred. This time is used to compute the log entry's age and to
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// enforce the logs retention period. If this field is omitted in a new
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// log entry, then Logging assigns it the current time. Timestamps have
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// nanosecond accuracy, but trailing zeros in the fractional seconds
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// might be omitted when the timestamp is displayed.Incoming log entries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// must have timestamps that don't exceed the logs retention period
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// (https://cloud.google.com/logging/quotas#logs_retention_periods) in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// the past, and that don't exceed 24 hours in the future. Log entries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// outside those time boundaries aren't ingested by Logging.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Timestamp string `json:"timestamp,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// Trace: Optional. Resource name of the trace associated with the log
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// entry, if any. If it contains a relative resource name, the name is
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// assumed to be relative to //tracing.googleapis.com. Example:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	Trace string `json:"trace,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// TraceSampled: Optional. The sampling decision of the trace associated
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// with the log entry.True means that the trace resource name in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// trace field was sampled for storage in a trace backend. False means
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// that the trace was not sampled for storage when this log entry was
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// written, or the sampling decision was unknown at the time. A
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// non-sampled trace value is still useful as a request correlation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// identifier. The default is False.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	TraceSampled bool `json:"traceSampled,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "HttpRequest") 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. "HttpRequest") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                LogEntry: An individual entry in a log.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func (*LogEntry) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type LogEntryOperation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type LogEntryOperation struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// First: Optional. Set this to True if this is the first log entry in
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// the operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	First bool `json:"first,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Id: Optional. An arbitrary operation identifier. Log entries with the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// same identifier are assumed to be part of the same operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Last: Optional. Set this to True if this is the last log entry in the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// operation.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Last bool `json:"last,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// Producer: Optional. An arbitrary producer identifier. The combination
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// of id and producer must be globally unique. Examples for producer:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Producer string `json:"producer,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "First") 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. "First") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LogEntryOperation: Additional information about a potentially long-running operation with which a log entry is associated.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (*LogEntryOperation) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LogEntrySourceLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type LogEntrySourceLocation struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// File: Optional. Source file name. Depending on the runtime
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// environment, this might be a simple name or a fully-qualified name.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	File string `json:"file,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Function: Optional. Human-readable name of the function or method
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// being invoked, with optional context such as the class or package
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// name. This information may be used in contexts such as the logs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// viewer, where a file and line number are less meaningful. The format
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// can vary by language. For example: qual.if.ied.Class.method (Java),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// dir/package.func (Go), function (Python).
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Function string `json:"function,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// Line: Optional. Line within the source file. 1-based; 0 indicates no
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// line number available.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Line int64 `json:"line,omitempty,string"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	// ForceSendFields is a list of field names (e.g. "File") 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. "File") 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:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    LogEntrySourceLocation: Additional information about the source code location that produced the log entry.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func (*LogEntrySourceLocation) MarshalJSON

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LogExclusion

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LogExclusion struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// CreateTime: Output only. The creation timestamp of the exclusion.This
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// field may not be present for older exclusions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	CreateTime string `json:"createTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Description: Optional. A description of this exclusion.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Disabled: Optional. If set to True, then this exclusion is disabled
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// and it does not exclude any log entries. You can update an exclusion
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// to change the value of this field.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Disabled bool `json:"disabled,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Filter: Required. An advanced logs filter
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// (https://cloud.google.com/logging/docs/view/advanced-queries) that
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// matches the log entries to be excluded. By using the sample function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// (https://cloud.google.com/logging/docs/view/advanced-queries#sample),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// you can exclude less than 100% of the matching log entries. For
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// example, the following query matches 99% of low-severity log entries
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// from Google Cloud Storage buckets:"resource.type=gcs_bucket
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// severity<ERROR sample(insertId, 0.99)"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Filter string `json:"filter,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// Name: Required. A client-assigned identifier, such as
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// "load-balancer-exclusion". Identifiers are limited to 100 characters
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// and can include only letters, digits, underscores, hyphens, and
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// periods. First character has to be alphanumeric.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// UpdateTime: Output only. The last update timestamp of the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// exclusion.This field may not be present for older exclusions.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	UpdateTime string `json:"updateTime,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ServerResponse contains the HTTP response code and