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/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
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 google.golang.org/api/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 google.golang.org/api/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 google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) loggingService, err := logging.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AuditConfig
- type AuditLogConfig
- type BigQueryDataset
- type BigQueryOptions
- type BillingAccountsExclusionsCreateCall
- func (c *BillingAccountsExclusionsCreateCall) Context(ctx context.Context) *BillingAccountsExclusionsCreateCall
- func (c *BillingAccountsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *BillingAccountsExclusionsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsCreateCall
- func (c *BillingAccountsExclusionsCreateCall) Header() http.Header
- type BillingAccountsExclusionsDeleteCall
- func (c *BillingAccountsExclusionsDeleteCall) Context(ctx context.Context) *BillingAccountsExclusionsDeleteCall
- func (c *BillingAccountsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsExclusionsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsDeleteCall
- func (c *BillingAccountsExclusionsDeleteCall) Header() http.Header
- type BillingAccountsExclusionsGetCall
- func (c *BillingAccountsExclusionsGetCall) Context(ctx context.Context) *BillingAccountsExclusionsGetCall
- func (c *BillingAccountsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *BillingAccountsExclusionsGetCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsGetCall
- func (c *BillingAccountsExclusionsGetCall) Header() http.Header
- func (c *BillingAccountsExclusionsGetCall) IfNoneMatch(entityTag string) *BillingAccountsExclusionsGetCall
- type BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) Context(ctx context.Context) *BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
- func (c *BillingAccountsExclusionsListCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) Header() http.Header
- func (c *BillingAccountsExclusionsListCall) IfNoneMatch(entityTag string) *BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) PageSize(pageSize int64) *BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) PageToken(pageToken string) *BillingAccountsExclusionsListCall
- func (c *BillingAccountsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
- type BillingAccountsExclusionsPatchCall
- func (c *BillingAccountsExclusionsPatchCall) Context(ctx context.Context) *BillingAccountsExclusionsPatchCall
- func (c *BillingAccountsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *BillingAccountsExclusionsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsPatchCall
- func (c *BillingAccountsExclusionsPatchCall) Header() http.Header
- func (c *BillingAccountsExclusionsPatchCall) UpdateMask(updateMask string) *BillingAccountsExclusionsPatchCall
- type BillingAccountsExclusionsService
- func (r *BillingAccountsExclusionsService) Create(parent string, logexclusion *LogExclusion) *BillingAccountsExclusionsCreateCall
- func (r *BillingAccountsExclusionsService) Delete(name string) *BillingAccountsExclusionsDeleteCall
- func (r *BillingAccountsExclusionsService) Get(name string) *BillingAccountsExclusionsGetCall
- func (r *BillingAccountsExclusionsService) List(parent string) *BillingAccountsExclusionsListCall
- func (r *BillingAccountsExclusionsService) Patch(name string, logexclusion *LogExclusion) *BillingAccountsExclusionsPatchCall
- type BillingAccountsGetCmekSettingsCall
- func (c *BillingAccountsGetCmekSettingsCall) Context(ctx context.Context) *BillingAccountsGetCmekSettingsCall
- func (c *BillingAccountsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *BillingAccountsGetCmekSettingsCall) Fields(s ...googleapi.Field) *BillingAccountsGetCmekSettingsCall
- func (c *BillingAccountsGetCmekSettingsCall) Header() http.Header
- func (c *BillingAccountsGetCmekSettingsCall) IfNoneMatch(entityTag string) *BillingAccountsGetCmekSettingsCall
- type BillingAccountsGetSettingsCall
- func (c *BillingAccountsGetSettingsCall) Context(ctx context.Context) *BillingAccountsGetSettingsCall
- func (c *BillingAccountsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *BillingAccountsGetSettingsCall) Fields(s ...googleapi.Field) *BillingAccountsGetSettingsCall
- func (c *BillingAccountsGetSettingsCall) Header() http.Header
- func (c *BillingAccountsGetSettingsCall) IfNoneMatch(entityTag string) *BillingAccountsGetSettingsCall
- type BillingAccountsLocationsBucketsCreateAsyncCall
- func (c *BillingAccountsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *BillingAccountsLocationsBucketsCreateAsyncCall
- func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsCreateAsyncCall
- func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsCreateAsyncCall
- func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Header() http.Header
- type BillingAccountsLocationsBucketsCreateCall
- func (c *BillingAccountsLocationsBucketsCreateCall) BucketId(bucketId string) *BillingAccountsLocationsBucketsCreateCall
- func (c *BillingAccountsLocationsBucketsCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsCreateCall
- func (c *BillingAccountsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *BillingAccountsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsCreateCall
- func (c *BillingAccountsLocationsBucketsCreateCall) Header() http.Header
- type BillingAccountsLocationsBucketsDeleteCall
- func (c *BillingAccountsLocationsBucketsDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsDeleteCall
- func (c *BillingAccountsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsDeleteCall
- func (c *BillingAccountsLocationsBucketsDeleteCall) Header() http.Header
- type BillingAccountsLocationsBucketsGetCall
- func (c *BillingAccountsLocationsBucketsGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsGetCall
- func (c *BillingAccountsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *BillingAccountsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsGetCall
- func (c *BillingAccountsLocationsBucketsGetCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsGetCall
- type BillingAccountsLocationsBucketsLinksCreateCall
- func (c *BillingAccountsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksCreateCall
- func (c *BillingAccountsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BillingAccountsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksCreateCall
- func (c *BillingAccountsLocationsBucketsLinksCreateCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsLinksCreateCall) LinkId(linkId string) *BillingAccountsLocationsBucketsLinksCreateCall
- type BillingAccountsLocationsBucketsLinksDeleteCall
- func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksDeleteCall
- func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksDeleteCall
- func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Header() http.Header
- type BillingAccountsLocationsBucketsLinksGetCall
- func (c *BillingAccountsLocationsBucketsLinksGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksGetCall
- func (c *BillingAccountsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
- func (c *BillingAccountsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksGetCall
- func (c *BillingAccountsLocationsBucketsLinksGetCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsLinksGetCall
- type BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
- func (c *BillingAccountsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsLinksListCall
- func (c *BillingAccountsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
- type BillingAccountsLocationsBucketsLinksService
- func (r *BillingAccountsLocationsBucketsLinksService) Create(parent string, link *Link) *BillingAccountsLocationsBucketsLinksCreateCall
- func (r *BillingAccountsLocationsBucketsLinksService) Delete(name string) *BillingAccountsLocationsBucketsLinksDeleteCall
- func (r *BillingAccountsLocationsBucketsLinksService) Get(name string) *BillingAccountsLocationsBucketsLinksGetCall
- func (r *BillingAccountsLocationsBucketsLinksService) List(parent string) *BillingAccountsLocationsBucketsLinksListCall
- type BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
- func (c *BillingAccountsLocationsBucketsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsListCall
- func (c *BillingAccountsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
- type BillingAccountsLocationsBucketsPatchCall
- func (c *BillingAccountsLocationsBucketsPatchCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsPatchCall
- func (c *BillingAccountsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *BillingAccountsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsPatchCall
- func (c *BillingAccountsLocationsBucketsPatchCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsPatchCall
- type BillingAccountsLocationsBucketsService
- func (r *BillingAccountsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *BillingAccountsLocationsBucketsCreateCall
- func (r *BillingAccountsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *BillingAccountsLocationsBucketsCreateAsyncCall
- func (r *BillingAccountsLocationsBucketsService) Delete(name string) *BillingAccountsLocationsBucketsDeleteCall
- func (r *BillingAccountsLocationsBucketsService) Get(name string) *BillingAccountsLocationsBucketsGetCall
- func (r *BillingAccountsLocationsBucketsService) List(parent string) *BillingAccountsLocationsBucketsListCall
- func (r *BillingAccountsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *BillingAccountsLocationsBucketsPatchCall
- func (r *BillingAccountsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *BillingAccountsLocationsBucketsUndeleteCall
- func (r *BillingAccountsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *BillingAccountsLocationsBucketsUpdateAsyncCall
- type BillingAccountsLocationsBucketsUndeleteCall
- func (c *BillingAccountsLocationsBucketsUndeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsUndeleteCall
- func (c *BillingAccountsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsUndeleteCall
- func (c *BillingAccountsLocationsBucketsUndeleteCall) Header() http.Header
- type BillingAccountsLocationsBucketsUpdateAsyncCall
- func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsUpdateAsyncCall
- func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsUpdateAsyncCall
- func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsUpdateAsyncCall
- type BillingAccountsLocationsBucketsViewsCreateCall
- func (c *BillingAccountsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsCreateCall
- func (c *BillingAccountsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *BillingAccountsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsCreateCall
- func (c *BillingAccountsLocationsBucketsViewsCreateCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsViewsCreateCall) ViewId(viewId string) *BillingAccountsLocationsBucketsViewsCreateCall
- type BillingAccountsLocationsBucketsViewsDeleteCall
- func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsDeleteCall
- func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsDeleteCall
- func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Header() http.Header
- type BillingAccountsLocationsBucketsViewsGetCall
- func (c *BillingAccountsLocationsBucketsViewsGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsGetCall
- func (c *BillingAccountsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *BillingAccountsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsGetCall
- func (c *BillingAccountsLocationsBucketsViewsGetCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsGetCall
- type BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
- func (c *BillingAccountsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsViewsListCall
- func (c *BillingAccountsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
- type BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsViewsLogsListCall
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *BillingAccountsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *BillingAccountsLocationsBucketsViewsLogsListCall
- type BillingAccountsLocationsBucketsViewsLogsService
- type BillingAccountsLocationsBucketsViewsPatchCall
- func (c *BillingAccountsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsPatchCall
- func (c *BillingAccountsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *BillingAccountsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsPatchCall
- func (c *BillingAccountsLocationsBucketsViewsPatchCall) Header() http.Header
- func (c *BillingAccountsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsViewsPatchCall
- type BillingAccountsLocationsBucketsViewsService
- func (r *BillingAccountsLocationsBucketsViewsService) Create(parent string, logview *LogView) *BillingAccountsLocationsBucketsViewsCreateCall
- func (r *BillingAccountsLocationsBucketsViewsService) Delete(name string) *BillingAccountsLocationsBucketsViewsDeleteCall
- func (r *BillingAccountsLocationsBucketsViewsService) Get(name string) *BillingAccountsLocationsBucketsViewsGetCall
- func (r *BillingAccountsLocationsBucketsViewsService) List(parent string) *BillingAccountsLocationsBucketsViewsListCall
- func (r *BillingAccountsLocationsBucketsViewsService) Patch(name string, logview *LogView) *BillingAccountsLocationsBucketsViewsPatchCall
- type BillingAccountsLocationsGetCall
- func (c *BillingAccountsLocationsGetCall) Context(ctx context.Context) *BillingAccountsLocationsGetCall
- func (c *BillingAccountsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *BillingAccountsLocationsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsGetCall
- func (c *BillingAccountsLocationsGetCall) Header() http.Header
- func (c *BillingAccountsLocationsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsGetCall
- type BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) Context(ctx context.Context) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *BillingAccountsLocationsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) Filter(filter string) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) Header() http.Header
- func (c *BillingAccountsLocationsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) PageSize(pageSize int64) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) PageToken(pageToken string) *BillingAccountsLocationsListCall
- func (c *BillingAccountsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type BillingAccountsLocationsOperationsCancelCall
- func (c *BillingAccountsLocationsOperationsCancelCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsCancelCall
- func (c *BillingAccountsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsCancelCall
- func (c *BillingAccountsLocationsOperationsCancelCall) Header() http.Header
- type BillingAccountsLocationsOperationsGetCall
- func (c *BillingAccountsLocationsOperationsGetCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsGetCall
- func (c *BillingAccountsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BillingAccountsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsGetCall
- func (c *BillingAccountsLocationsOperationsGetCall) Header() http.Header
- func (c *BillingAccountsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsOperationsGetCall
- type BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *BillingAccountsLocationsOperationsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) Filter(filter string) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) Header() http.Header
- func (c *BillingAccountsLocationsOperationsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) PageSize(pageSize int64) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) PageToken(pageToken string) *BillingAccountsLocationsOperationsListCall
- func (c *BillingAccountsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type BillingAccountsLocationsOperationsService
- func (r *BillingAccountsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *BillingAccountsLocationsOperationsCancelCall
- func (r *BillingAccountsLocationsOperationsService) Get(name string) *BillingAccountsLocationsOperationsGetCall
- func (r *BillingAccountsLocationsOperationsService) List(name string) *BillingAccountsLocationsOperationsListCall
- type BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) Context(ctx context.Context) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
- func (c *BillingAccountsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) Filter(filter string) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) Header() http.Header
- func (c *BillingAccountsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) PageSize(pageSize int64) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) PageToken(pageToken string) *BillingAccountsLocationsRecentQueriesListCall
- func (c *BillingAccountsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
- type BillingAccountsLocationsRecentQueriesService
- type BillingAccountsLocationsSavedQueriesCreateCall
- func (c *BillingAccountsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesCreateCall
- func (c *BillingAccountsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *BillingAccountsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesCreateCall
- func (c *BillingAccountsLocationsSavedQueriesCreateCall) Header() http.Header
- func (c *BillingAccountsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *BillingAccountsLocationsSavedQueriesCreateCall
- type BillingAccountsLocationsSavedQueriesDeleteCall
- func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesDeleteCall
- func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesDeleteCall
- func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Header() http.Header
- type BillingAccountsLocationsSavedQueriesGetCall
- func (c *BillingAccountsLocationsSavedQueriesGetCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesGetCall
- func (c *BillingAccountsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *BillingAccountsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesGetCall
- func (c *BillingAccountsLocationsSavedQueriesGetCall) Header() http.Header
- func (c *BillingAccountsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsSavedQueriesGetCall
- type BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
- func (c *BillingAccountsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) Filter(filter string) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) Header() http.Header
- func (c *BillingAccountsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) PageSize(pageSize int64) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) PageToken(pageToken string) *BillingAccountsLocationsSavedQueriesListCall
- func (c *BillingAccountsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
- type BillingAccountsLocationsSavedQueriesPatchCall
- func (c *BillingAccountsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesPatchCall
- func (c *BillingAccountsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *BillingAccountsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesPatchCall
- func (c *BillingAccountsLocationsSavedQueriesPatchCall) Header() http.Header
- func (c *BillingAccountsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsSavedQueriesPatchCall
- type BillingAccountsLocationsSavedQueriesService
- func (r *BillingAccountsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *BillingAccountsLocationsSavedQueriesCreateCall
- func (r *BillingAccountsLocationsSavedQueriesService) Delete(name string) *BillingAccountsLocationsSavedQueriesDeleteCall
- func (r *BillingAccountsLocationsSavedQueriesService) Get(name string) *BillingAccountsLocationsSavedQueriesGetCall
- func (r *BillingAccountsLocationsSavedQueriesService) List(parent string) *BillingAccountsLocationsSavedQueriesListCall
- func (r *BillingAccountsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *BillingAccountsLocationsSavedQueriesPatchCall
- type BillingAccountsLocationsService
- type BillingAccountsLogsDeleteCall
- func (c *BillingAccountsLogsDeleteCall) Context(ctx context.Context) *BillingAccountsLogsDeleteCall
- func (c *BillingAccountsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsLogsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLogsDeleteCall
- func (c *BillingAccountsLogsDeleteCall) Header() http.Header
- type BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) Context(ctx context.Context) *BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *BillingAccountsLogsListCall) Fields(s ...googleapi.Field) *BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) Header() http.Header
- func (c *BillingAccountsLogsListCall) IfNoneMatch(entityTag string) *BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) PageSize(pageSize int64) *BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) PageToken(pageToken string) *BillingAccountsLogsListCall
- func (c *BillingAccountsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *BillingAccountsLogsListCall) ResourceNames(resourceNames ...string) *BillingAccountsLogsListCall
- type BillingAccountsLogsService
- type BillingAccountsService
- type BillingAccountsSinksCreateCall
- func (c *BillingAccountsSinksCreateCall) Context(ctx context.Context) *BillingAccountsSinksCreateCall
- func (c *BillingAccountsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksCreateCall
- func (c *BillingAccountsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *BillingAccountsSinksCreateCall) Fields(s ...googleapi.Field) *BillingAccountsSinksCreateCall
- func (c *BillingAccountsSinksCreateCall) Header() http.Header
- func (c *BillingAccountsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksCreateCall
- type BillingAccountsSinksDeleteCall
- func (c *BillingAccountsSinksDeleteCall) Context(ctx context.Context) *BillingAccountsSinksDeleteCall
- func (c *BillingAccountsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *BillingAccountsSinksDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsSinksDeleteCall
- func (c *BillingAccountsSinksDeleteCall) Header() http.Header
- type BillingAccountsSinksGetCall
- func (c *BillingAccountsSinksGetCall) Context(ctx context.Context) *BillingAccountsSinksGetCall
- func (c *BillingAccountsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *BillingAccountsSinksGetCall) Fields(s ...googleapi.Field) *BillingAccountsSinksGetCall
- func (c *BillingAccountsSinksGetCall) Header() http.Header
- func (c *BillingAccountsSinksGetCall) IfNoneMatch(entityTag string) *BillingAccountsSinksGetCall
- type BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) Context(ctx context.Context) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
- func (c *BillingAccountsSinksListCall) Fields(s ...googleapi.Field) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) Filter(filter string) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) Header() http.Header
- func (c *BillingAccountsSinksListCall) IfNoneMatch(entityTag string) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) PageSize(pageSize int64) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) PageToken(pageToken string) *BillingAccountsSinksListCall
- func (c *BillingAccountsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
- type BillingAccountsSinksPatchCall
- func (c *BillingAccountsSinksPatchCall) Context(ctx context.Context) *BillingAccountsSinksPatchCall
- func (c *BillingAccountsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksPatchCall
- func (c *BillingAccountsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *BillingAccountsSinksPatchCall) Fields(s ...googleapi.Field) *BillingAccountsSinksPatchCall
- func (c *BillingAccountsSinksPatchCall) Header() http.Header
- func (c *BillingAccountsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksPatchCall
- func (c *BillingAccountsSinksPatchCall) UpdateMask(updateMask string) *BillingAccountsSinksPatchCall
- type BillingAccountsSinksService
- func (r *BillingAccountsSinksService) Create(parent string, logsink *LogSink) *BillingAccountsSinksCreateCall
- func (r *BillingAccountsSinksService) Delete(sinkNameid string) *BillingAccountsSinksDeleteCall
- func (r *BillingAccountsSinksService) Get(sinkName string) *BillingAccountsSinksGetCall
- func (r *BillingAccountsSinksService) List(parent string) *BillingAccountsSinksListCall
- func (r *BillingAccountsSinksService) Patch(sinkNameid string, logsink *LogSink) *BillingAccountsSinksPatchCall
- func (r *BillingAccountsSinksService) Update(sinkNameid string, logsink *LogSink) *BillingAccountsSinksUpdateCall
- type BillingAccountsSinksUpdateCall
- func (c *BillingAccountsSinksUpdateCall) Context(ctx context.Context) *BillingAccountsSinksUpdateCall
- func (c *BillingAccountsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksUpdateCall
- func (c *BillingAccountsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *BillingAccountsSinksUpdateCall) Fields(s ...googleapi.Field) *BillingAccountsSinksUpdateCall
- func (c *BillingAccountsSinksUpdateCall) Header() http.Header
- func (c *BillingAccountsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *BillingAccountsSinksUpdateCall
- func (c *BillingAccountsSinksUpdateCall) UpdateMask(updateMask string) *BillingAccountsSinksUpdateCall
- type Binding
- type BucketMetadata
- type BucketOptions
- type CancelOperationRequest
- type CmekSettings
- type CopyLogEntriesMetadata
- type CopyLogEntriesRequest
- type CopyLogEntriesResponse
- type CreateBucketRequest
- type CreateLinkRequest
- type DefaultSinkConfig
- type DeleteLinkRequest
- type Empty
- type EntriesCopyCall
- type EntriesListCall
- func (c *EntriesListCall) Context(ctx context.Context) *EntriesListCall
- func (c *EntriesListCall) Do(opts ...googleapi.CallOption) (*ListLogEntriesResponse, error)
- func (c *EntriesListCall) Fields(s ...googleapi.Field) *EntriesListCall
- func (c *EntriesListCall) Header() http.Header
- func (c *EntriesListCall) Pages(ctx context.Context, f func(*ListLogEntriesResponse) error) error
- type EntriesService
- func (r *EntriesService) Copy(copylogentriesrequest *CopyLogEntriesRequest) *EntriesCopyCall
- func (r *EntriesService) List(listlogentriesrequest *ListLogEntriesRequest) *EntriesListCall
- func (r *EntriesService) Tail(taillogentriesrequest *TailLogEntriesRequest) *EntriesTailCall
- func (r *EntriesService) Write(writelogentriesrequest *WriteLogEntriesRequest) *EntriesWriteCall
- type EntriesTailCall
- type EntriesWriteCall
- type ExclusionsCreateCall
- func (c *ExclusionsCreateCall) Context(ctx context.Context) *ExclusionsCreateCall
- func (c *ExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ExclusionsCreateCall) Fields(s ...googleapi.Field) *ExclusionsCreateCall
- func (c *ExclusionsCreateCall) Header() http.Header
- type ExclusionsDeleteCall
- type ExclusionsGetCall
- func (c *ExclusionsGetCall) Context(ctx context.Context) *ExclusionsGetCall
- func (c *ExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ExclusionsGetCall) Fields(s ...googleapi.Field) *ExclusionsGetCall
- func (c *ExclusionsGetCall) Header() http.Header
- func (c *ExclusionsGetCall) IfNoneMatch(entityTag string) *ExclusionsGetCall
- type ExclusionsListCall
- func (c *ExclusionsListCall) Context(ctx context.Context) *ExclusionsListCall
- func (c *ExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
- func (c *ExclusionsListCall) Fields(s ...googleapi.Field) *ExclusionsListCall
- func (c *ExclusionsListCall) Header() http.Header
- func (c *ExclusionsListCall) IfNoneMatch(entityTag string) *ExclusionsListCall
- func (c *ExclusionsListCall) PageSize(pageSize int64) *ExclusionsListCall
- func (c *ExclusionsListCall) PageToken(pageToken string) *ExclusionsListCall
- func (c *ExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
- type ExclusionsPatchCall
- func (c *ExclusionsPatchCall) Context(ctx context.Context) *ExclusionsPatchCall
- func (c *ExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ExclusionsPatchCall) Fields(s ...googleapi.Field) *ExclusionsPatchCall
- func (c *ExclusionsPatchCall) Header() http.Header
- func (c *ExclusionsPatchCall) UpdateMask(updateMask string) *ExclusionsPatchCall
- type ExclusionsService
- func (r *ExclusionsService) Create(parent string, logexclusion *LogExclusion) *ExclusionsCreateCall
- func (r *ExclusionsService) Delete(name string) *ExclusionsDeleteCall
- func (r *ExclusionsService) Get(name string) *ExclusionsGetCall
- func (r *ExclusionsService) List(parent string) *ExclusionsListCall
- func (r *ExclusionsService) Patch(name string, logexclusion *LogExclusion) *ExclusionsPatchCall
- type Explicit
- type Exponential
- type Expr
- type FoldersExclusionsCreateCall
- func (c *FoldersExclusionsCreateCall) Context(ctx context.Context) *FoldersExclusionsCreateCall
- func (c *FoldersExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *FoldersExclusionsCreateCall) Fields(s ...googleapi.Field) *FoldersExclusionsCreateCall
- func (c *FoldersExclusionsCreateCall) Header() http.Header
- type FoldersExclusionsDeleteCall
- func (c *FoldersExclusionsDeleteCall) Context(ctx context.Context) *FoldersExclusionsDeleteCall
- func (c *FoldersExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersExclusionsDeleteCall) Fields(s ...googleapi.Field) *FoldersExclusionsDeleteCall
- func (c *FoldersExclusionsDeleteCall) Header() http.Header
- type FoldersExclusionsGetCall
- func (c *FoldersExclusionsGetCall) Context(ctx context.Context) *FoldersExclusionsGetCall
- func (c *FoldersExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *FoldersExclusionsGetCall) Fields(s ...googleapi.Field) *FoldersExclusionsGetCall
- func (c *FoldersExclusionsGetCall) Header() http.Header
- func (c *FoldersExclusionsGetCall) IfNoneMatch(entityTag string) *FoldersExclusionsGetCall
- type FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) Context(ctx context.Context) *FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
- func (c *FoldersExclusionsListCall) Fields(s ...googleapi.Field) *FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) Header() http.Header
- func (c *FoldersExclusionsListCall) IfNoneMatch(entityTag string) *FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) PageSize(pageSize int64) *FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) PageToken(pageToken string) *FoldersExclusionsListCall
- func (c *FoldersExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
- type FoldersExclusionsPatchCall
- func (c *FoldersExclusionsPatchCall) Context(ctx context.Context) *FoldersExclusionsPatchCall
- func (c *FoldersExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *FoldersExclusionsPatchCall) Fields(s ...googleapi.Field) *FoldersExclusionsPatchCall
- func (c *FoldersExclusionsPatchCall) Header() http.Header
- func (c *FoldersExclusionsPatchCall) UpdateMask(updateMask string) *FoldersExclusionsPatchCall
- type FoldersExclusionsService
- func (r *FoldersExclusionsService) Create(parent string, logexclusion *LogExclusion) *FoldersExclusionsCreateCall
- func (r *FoldersExclusionsService) Delete(name string) *FoldersExclusionsDeleteCall
- func (r *FoldersExclusionsService) Get(name string) *FoldersExclusionsGetCall
- func (r *FoldersExclusionsService) List(parent string) *FoldersExclusionsListCall
- func (r *FoldersExclusionsService) Patch(name string, logexclusion *LogExclusion) *FoldersExclusionsPatchCall
- type FoldersGetCmekSettingsCall
- func (c *FoldersGetCmekSettingsCall) Context(ctx context.Context) *FoldersGetCmekSettingsCall
- func (c *FoldersGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *FoldersGetCmekSettingsCall) Fields(s ...googleapi.Field) *FoldersGetCmekSettingsCall
- func (c *FoldersGetCmekSettingsCall) Header() http.Header
- func (c *FoldersGetCmekSettingsCall) IfNoneMatch(entityTag string) *FoldersGetCmekSettingsCall
- type FoldersGetSettingsCall
- func (c *FoldersGetSettingsCall) Context(ctx context.Context) *FoldersGetSettingsCall
- func (c *FoldersGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *FoldersGetSettingsCall) Fields(s ...googleapi.Field) *FoldersGetSettingsCall
- func (c *FoldersGetSettingsCall) Header() http.Header
- func (c *FoldersGetSettingsCall) IfNoneMatch(entityTag string) *FoldersGetSettingsCall
- type FoldersLocationsBucketsCreateAsyncCall
- func (c *FoldersLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *FoldersLocationsBucketsCreateAsyncCall
- func (c *FoldersLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *FoldersLocationsBucketsCreateAsyncCall
- func (c *FoldersLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *FoldersLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsCreateAsyncCall
- func (c *FoldersLocationsBucketsCreateAsyncCall) Header() http.Header
- type FoldersLocationsBucketsCreateCall
- func (c *FoldersLocationsBucketsCreateCall) BucketId(bucketId string) *FoldersLocationsBucketsCreateCall
- func (c *FoldersLocationsBucketsCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsCreateCall
- func (c *FoldersLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *FoldersLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsCreateCall
- func (c *FoldersLocationsBucketsCreateCall) Header() http.Header
- type FoldersLocationsBucketsDeleteCall
- func (c *FoldersLocationsBucketsDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsDeleteCall
- func (c *FoldersLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsDeleteCall
- func (c *FoldersLocationsBucketsDeleteCall) Header() http.Header
- type FoldersLocationsBucketsGetCall
- func (c *FoldersLocationsBucketsGetCall) Context(ctx context.Context) *FoldersLocationsBucketsGetCall
- func (c *FoldersLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *FoldersLocationsBucketsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsGetCall
- func (c *FoldersLocationsBucketsGetCall) Header() http.Header
- func (c *FoldersLocationsBucketsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsGetCall
- type FoldersLocationsBucketsLinksCreateCall
- func (c *FoldersLocationsBucketsLinksCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksCreateCall
- func (c *FoldersLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *FoldersLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksCreateCall
- func (c *FoldersLocationsBucketsLinksCreateCall) Header() http.Header
- func (c *FoldersLocationsBucketsLinksCreateCall) LinkId(linkId string) *FoldersLocationsBucketsLinksCreateCall
- type FoldersLocationsBucketsLinksDeleteCall
- func (c *FoldersLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksDeleteCall
- func (c *FoldersLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *FoldersLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksDeleteCall
- func (c *FoldersLocationsBucketsLinksDeleteCall) Header() http.Header
- type FoldersLocationsBucketsLinksGetCall
- func (c *FoldersLocationsBucketsLinksGetCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksGetCall
- func (c *FoldersLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
- func (c *FoldersLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksGetCall
- func (c *FoldersLocationsBucketsLinksGetCall) Header() http.Header
- func (c *FoldersLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsLinksGetCall
- type FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
- func (c *FoldersLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) Header() http.Header
- func (c *FoldersLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) PageSize(pageSize int64) *FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) PageToken(pageToken string) *FoldersLocationsBucketsLinksListCall
- func (c *FoldersLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
- type FoldersLocationsBucketsLinksService
- func (r *FoldersLocationsBucketsLinksService) Create(parent string, link *Link) *FoldersLocationsBucketsLinksCreateCall
- func (r *FoldersLocationsBucketsLinksService) Delete(name string) *FoldersLocationsBucketsLinksDeleteCall
- func (r *FoldersLocationsBucketsLinksService) Get(name string) *FoldersLocationsBucketsLinksGetCall
- func (r *FoldersLocationsBucketsLinksService) List(parent string) *FoldersLocationsBucketsLinksListCall
- type FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) Context(ctx context.Context) *FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
- func (c *FoldersLocationsBucketsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) Header() http.Header
- func (c *FoldersLocationsBucketsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) PageToken(pageToken string) *FoldersLocationsBucketsListCall
- func (c *FoldersLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
- type FoldersLocationsBucketsPatchCall
- func (c *FoldersLocationsBucketsPatchCall) Context(ctx context.Context) *FoldersLocationsBucketsPatchCall
- func (c *FoldersLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *FoldersLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsPatchCall
- func (c *FoldersLocationsBucketsPatchCall) Header() http.Header
- func (c *FoldersLocationsBucketsPatchCall) UpdateMask(updateMask string) *FoldersLocationsBucketsPatchCall
- type FoldersLocationsBucketsService
- func (r *FoldersLocationsBucketsService) Create(parent string, logbucket *LogBucket) *FoldersLocationsBucketsCreateCall
- func (r *FoldersLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *FoldersLocationsBucketsCreateAsyncCall
- func (r *FoldersLocationsBucketsService) Delete(name string) *FoldersLocationsBucketsDeleteCall
- func (r *FoldersLocationsBucketsService) Get(name string) *FoldersLocationsBucketsGetCall
- func (r *FoldersLocationsBucketsService) List(parent string) *FoldersLocationsBucketsListCall
- func (r *FoldersLocationsBucketsService) Patch(name string, logbucket *LogBucket) *FoldersLocationsBucketsPatchCall
- func (r *FoldersLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *FoldersLocationsBucketsUndeleteCall
- func (r *FoldersLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *FoldersLocationsBucketsUpdateAsyncCall
- type FoldersLocationsBucketsUndeleteCall
- func (c *FoldersLocationsBucketsUndeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsUndeleteCall
- func (c *FoldersLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsUndeleteCall
- func (c *FoldersLocationsBucketsUndeleteCall) Header() http.Header
- type FoldersLocationsBucketsUpdateAsyncCall
- func (c *FoldersLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *FoldersLocationsBucketsUpdateAsyncCall
- func (c *FoldersLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *FoldersLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsUpdateAsyncCall
- func (c *FoldersLocationsBucketsUpdateAsyncCall) Header() http.Header
- func (c *FoldersLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *FoldersLocationsBucketsUpdateAsyncCall
- type FoldersLocationsBucketsViewsCreateCall
- func (c *FoldersLocationsBucketsViewsCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsCreateCall
- func (c *FoldersLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *FoldersLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsCreateCall
- func (c *FoldersLocationsBucketsViewsCreateCall) Header() http.Header
- func (c *FoldersLocationsBucketsViewsCreateCall) ViewId(viewId string) *FoldersLocationsBucketsViewsCreateCall
- type FoldersLocationsBucketsViewsDeleteCall
- func (c *FoldersLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsDeleteCall
- func (c *FoldersLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsDeleteCall
- func (c *FoldersLocationsBucketsViewsDeleteCall) Header() http.Header
- type FoldersLocationsBucketsViewsGetCall
- func (c *FoldersLocationsBucketsViewsGetCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsGetCall
- func (c *FoldersLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *FoldersLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsGetCall
- func (c *FoldersLocationsBucketsViewsGetCall) Header() http.Header
- func (c *FoldersLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsGetCall
- type FoldersLocationsBucketsViewsGetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsGetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsGetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
- type FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
- func (c *FoldersLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) Header() http.Header
- func (c *FoldersLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) PageToken(pageToken string) *FoldersLocationsBucketsViewsListCall
- func (c *FoldersLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
- type FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *FoldersLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) Header() http.Header
- func (c *FoldersLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *FoldersLocationsBucketsViewsLogsListCall
- func (c *FoldersLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *FoldersLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *FoldersLocationsBucketsViewsLogsListCall
- type FoldersLocationsBucketsViewsLogsService
- type FoldersLocationsBucketsViewsPatchCall
- func (c *FoldersLocationsBucketsViewsPatchCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsPatchCall
- func (c *FoldersLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *FoldersLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsPatchCall
- func (c *FoldersLocationsBucketsViewsPatchCall) Header() http.Header
- func (c *FoldersLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *FoldersLocationsBucketsViewsPatchCall
- type FoldersLocationsBucketsViewsService
- func (r *FoldersLocationsBucketsViewsService) Create(parent string, logview *LogView) *FoldersLocationsBucketsViewsCreateCall
- func (r *FoldersLocationsBucketsViewsService) Delete(name string) *FoldersLocationsBucketsViewsDeleteCall
- func (r *FoldersLocationsBucketsViewsService) Get(name string) *FoldersLocationsBucketsViewsGetCall
- func (r *FoldersLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *FoldersLocationsBucketsViewsGetIamPolicyCall
- func (r *FoldersLocationsBucketsViewsService) List(parent string) *FoldersLocationsBucketsViewsListCall
- func (r *FoldersLocationsBucketsViewsService) Patch(name string, logview *LogView) *FoldersLocationsBucketsViewsPatchCall
- func (r *FoldersLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *FoldersLocationsBucketsViewsSetIamPolicyCall
- func (r *FoldersLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *FoldersLocationsBucketsViewsTestIamPermissionsCall
- type FoldersLocationsBucketsViewsSetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsSetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsSetIamPolicyCall
- func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
- type FoldersLocationsBucketsViewsTestIamPermissionsCall
- func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsTestIamPermissionsCall
- func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsTestIamPermissionsCall
- func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
- type FoldersLocationsGetCall
- func (c *FoldersLocationsGetCall) Context(ctx context.Context) *FoldersLocationsGetCall
- func (c *FoldersLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *FoldersLocationsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsGetCall
- func (c *FoldersLocationsGetCall) Header() http.Header
- func (c *FoldersLocationsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsGetCall
- type FoldersLocationsListCall
- func (c *FoldersLocationsListCall) Context(ctx context.Context) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *FoldersLocationsListCall) Fields(s ...googleapi.Field) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) Filter(filter string) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) Header() http.Header
- func (c *FoldersLocationsListCall) IfNoneMatch(entityTag string) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) PageSize(pageSize int64) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) PageToken(pageToken string) *FoldersLocationsListCall
- func (c *FoldersLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type FoldersLocationsOperationsCancelCall
- func (c *FoldersLocationsOperationsCancelCall) Context(ctx context.Context) *FoldersLocationsOperationsCancelCall
- func (c *FoldersLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsCancelCall
- func (c *FoldersLocationsOperationsCancelCall) Header() http.Header
- type FoldersLocationsOperationsGetCall
- func (c *FoldersLocationsOperationsGetCall) Context(ctx context.Context) *FoldersLocationsOperationsGetCall
- func (c *FoldersLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *FoldersLocationsOperationsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsGetCall
- func (c *FoldersLocationsOperationsGetCall) Header() http.Header
- func (c *FoldersLocationsOperationsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsOperationsGetCall
- type FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) Context(ctx context.Context) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *FoldersLocationsOperationsListCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) Filter(filter string) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) Header() http.Header
- func (c *FoldersLocationsOperationsListCall) IfNoneMatch(entityTag string) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) PageSize(pageSize int64) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) PageToken(pageToken string) *FoldersLocationsOperationsListCall
- func (c *FoldersLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type FoldersLocationsOperationsService
- func (r *FoldersLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *FoldersLocationsOperationsCancelCall
- func (r *FoldersLocationsOperationsService) Get(name string) *FoldersLocationsOperationsGetCall
- func (r *FoldersLocationsOperationsService) List(name string) *FoldersLocationsOperationsListCall
- type FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) Context(ctx context.Context) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
- func (c *FoldersLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) Filter(filter string) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) Header() http.Header
- func (c *FoldersLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) PageSize(pageSize int64) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) PageToken(pageToken string) *FoldersLocationsRecentQueriesListCall
- func (c *FoldersLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
- type FoldersLocationsRecentQueriesService
- type FoldersLocationsSavedQueriesCreateCall
- func (c *FoldersLocationsSavedQueriesCreateCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesCreateCall
- func (c *FoldersLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *FoldersLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesCreateCall
- func (c *FoldersLocationsSavedQueriesCreateCall) Header() http.Header
- func (c *FoldersLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *FoldersLocationsSavedQueriesCreateCall
- type FoldersLocationsSavedQueriesDeleteCall
- func (c *FoldersLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesDeleteCall
- func (c *FoldersLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesDeleteCall
- func (c *FoldersLocationsSavedQueriesDeleteCall) Header() http.Header
- type FoldersLocationsSavedQueriesGetCall
- func (c *FoldersLocationsSavedQueriesGetCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesGetCall
- func (c *FoldersLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *FoldersLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesGetCall
- func (c *FoldersLocationsSavedQueriesGetCall) Header() http.Header
- func (c *FoldersLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *FoldersLocationsSavedQueriesGetCall
- type FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
- func (c *FoldersLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) Filter(filter string) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) Header() http.Header
- func (c *FoldersLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) PageSize(pageSize int64) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) PageToken(pageToken string) *FoldersLocationsSavedQueriesListCall
- func (c *FoldersLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
- type FoldersLocationsSavedQueriesPatchCall
- func (c *FoldersLocationsSavedQueriesPatchCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesPatchCall
- func (c *FoldersLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *FoldersLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesPatchCall
- func (c *FoldersLocationsSavedQueriesPatchCall) Header() http.Header
- func (c *FoldersLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *FoldersLocationsSavedQueriesPatchCall
- type FoldersLocationsSavedQueriesService
- func (r *FoldersLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *FoldersLocationsSavedQueriesCreateCall
- func (r *FoldersLocationsSavedQueriesService) Delete(name string) *FoldersLocationsSavedQueriesDeleteCall
- func (r *FoldersLocationsSavedQueriesService) Get(name string) *FoldersLocationsSavedQueriesGetCall
- func (r *FoldersLocationsSavedQueriesService) List(parent string) *FoldersLocationsSavedQueriesListCall
- func (r *FoldersLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *FoldersLocationsSavedQueriesPatchCall
- type FoldersLocationsService
- type FoldersLogsDeleteCall
- func (c *FoldersLogsDeleteCall) Context(ctx context.Context) *FoldersLogsDeleteCall
- func (c *FoldersLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersLogsDeleteCall) Fields(s ...googleapi.Field) *FoldersLogsDeleteCall
- func (c *FoldersLogsDeleteCall) Header() http.Header
- type FoldersLogsListCall
- func (c *FoldersLogsListCall) Context(ctx context.Context) *FoldersLogsListCall
- func (c *FoldersLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *FoldersLogsListCall) Fields(s ...googleapi.Field) *FoldersLogsListCall
- func (c *FoldersLogsListCall) Header() http.Header
- func (c *FoldersLogsListCall) IfNoneMatch(entityTag string) *FoldersLogsListCall
- func (c *FoldersLogsListCall) PageSize(pageSize int64) *FoldersLogsListCall
- func (c *FoldersLogsListCall) PageToken(pageToken string) *FoldersLogsListCall
- func (c *FoldersLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *FoldersLogsListCall) ResourceNames(resourceNames ...string) *FoldersLogsListCall
- type FoldersLogsService
- type FoldersService
- type FoldersSinksCreateCall
- func (c *FoldersSinksCreateCall) Context(ctx context.Context) *FoldersSinksCreateCall
- func (c *FoldersSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksCreateCall
- func (c *FoldersSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *FoldersSinksCreateCall) Fields(s ...googleapi.Field) *FoldersSinksCreateCall
- func (c *FoldersSinksCreateCall) Header() http.Header
- func (c *FoldersSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *FoldersSinksCreateCall
- type FoldersSinksDeleteCall
- func (c *FoldersSinksDeleteCall) Context(ctx context.Context) *FoldersSinksDeleteCall
- func (c *FoldersSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *FoldersSinksDeleteCall) Fields(s ...googleapi.Field) *FoldersSinksDeleteCall
- func (c *FoldersSinksDeleteCall) Header() http.Header
- type FoldersSinksGetCall
- func (c *FoldersSinksGetCall) Context(ctx context.Context) *FoldersSinksGetCall
- func (c *FoldersSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *FoldersSinksGetCall) Fields(s ...googleapi.Field) *FoldersSinksGetCall
- func (c *FoldersSinksGetCall) Header() http.Header
- func (c *FoldersSinksGetCall) IfNoneMatch(entityTag string) *FoldersSinksGetCall
- type FoldersSinksListCall
- func (c *FoldersSinksListCall) Context(ctx context.Context) *FoldersSinksListCall
- func (c *FoldersSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
- func (c *FoldersSinksListCall) Fields(s ...googleapi.Field) *FoldersSinksListCall
- func (c *FoldersSinksListCall) Filter(filter string) *FoldersSinksListCall
- func (c *FoldersSinksListCall) Header() http.Header
- func (c *FoldersSinksListCall) IfNoneMatch(entityTag string) *FoldersSinksListCall
- func (c *FoldersSinksListCall) PageSize(pageSize int64) *FoldersSinksListCall
- func (c *FoldersSinksListCall) PageToken(pageToken string) *FoldersSinksListCall
- func (c *FoldersSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
- type FoldersSinksPatchCall
- func (c *FoldersSinksPatchCall) Context(ctx context.Context) *FoldersSinksPatchCall
- func (c *FoldersSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksPatchCall
- func (c *FoldersSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *FoldersSinksPatchCall) Fields(s ...googleapi.Field) *FoldersSinksPatchCall
- func (c *FoldersSinksPatchCall) Header() http.Header
- func (c *FoldersSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *FoldersSinksPatchCall
- func (c *FoldersSinksPatchCall) UpdateMask(updateMask string) *FoldersSinksPatchCall
- type FoldersSinksService
- func (r *FoldersSinksService) Create(parent string, logsink *LogSink) *FoldersSinksCreateCall
- func (r *FoldersSinksService) Delete(sinkNameid string) *FoldersSinksDeleteCall
- func (r *FoldersSinksService) Get(sinkName string) *FoldersSinksGetCall
- func (r *FoldersSinksService) List(parent string) *FoldersSinksListCall
- func (r *FoldersSinksService) Patch(sinkNameid string, logsink *LogSink) *FoldersSinksPatchCall
- func (r *FoldersSinksService) Update(sinkNameid string, logsink *LogSink) *FoldersSinksUpdateCall
- type FoldersSinksUpdateCall
- func (c *FoldersSinksUpdateCall) Context(ctx context.Context) *FoldersSinksUpdateCall
- func (c *FoldersSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksUpdateCall
- func (c *FoldersSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *FoldersSinksUpdateCall) Fields(s ...googleapi.Field) *FoldersSinksUpdateCall
- func (c *FoldersSinksUpdateCall) Header() http.Header
- func (c *FoldersSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *FoldersSinksUpdateCall
- func (c *FoldersSinksUpdateCall) UpdateMask(updateMask string) *FoldersSinksUpdateCall
- type FoldersUpdateSettingsCall
- func (c *FoldersUpdateSettingsCall) Context(ctx context.Context) *FoldersUpdateSettingsCall
- func (c *FoldersUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *FoldersUpdateSettingsCall) Fields(s ...googleapi.Field) *FoldersUpdateSettingsCall
- func (c *FoldersUpdateSettingsCall) Header() http.Header
- func (c *FoldersUpdateSettingsCall) UpdateMask(updateMask string) *FoldersUpdateSettingsCall
- type GetIamPolicyRequest
- type GetPolicyOptions
- type HttpRequest
- type IndexConfig
- type LabelDescriptor
- type Linear
- type Link
- type LinkMetadata
- type ListBucketsResponse
- type ListExclusionsResponse
- type ListLinksResponse
- type ListLocationsResponse
- type ListLogEntriesRequest
- type ListLogEntriesResponse
- type ListLogMetricsResponse
- type ListLogsResponse
- type ListMonitoredResourceDescriptorsResponse
- type ListOperationsResponse
- type ListRecentQueriesResponse
- type ListSavedQueriesResponse
- type ListSinksResponse
- type ListViewsResponse
- type Location
- type LocationMetadata
- type LocationsBucketsCreateAsyncCall
- func (c *LocationsBucketsCreateAsyncCall) BucketId(bucketId string) *LocationsBucketsCreateAsyncCall
- func (c *LocationsBucketsCreateAsyncCall) Context(ctx context.Context) *LocationsBucketsCreateAsyncCall
- func (c *LocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *LocationsBucketsCreateAsyncCall
- func (c *LocationsBucketsCreateAsyncCall) Header() http.Header
- type LocationsBucketsCreateCall
- func (c *LocationsBucketsCreateCall) BucketId(bucketId string) *LocationsBucketsCreateCall
- func (c *LocationsBucketsCreateCall) Context(ctx context.Context) *LocationsBucketsCreateCall
- func (c *LocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *LocationsBucketsCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsCreateCall
- func (c *LocationsBucketsCreateCall) Header() http.Header
- type LocationsBucketsDeleteCall
- func (c *LocationsBucketsDeleteCall) Context(ctx context.Context) *LocationsBucketsDeleteCall
- func (c *LocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *LocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsDeleteCall
- func (c *LocationsBucketsDeleteCall) Header() http.Header
- type LocationsBucketsGetCall
- func (c *LocationsBucketsGetCall) Context(ctx context.Context) *LocationsBucketsGetCall
- func (c *LocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *LocationsBucketsGetCall) Fields(s ...googleapi.Field) *LocationsBucketsGetCall
- func (c *LocationsBucketsGetCall) Header() http.Header
- func (c *LocationsBucketsGetCall) IfNoneMatch(entityTag string) *LocationsBucketsGetCall
- type LocationsBucketsLinksCreateCall
- func (c *LocationsBucketsLinksCreateCall) Context(ctx context.Context) *LocationsBucketsLinksCreateCall
- func (c *LocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksCreateCall
- func (c *LocationsBucketsLinksCreateCall) Header() http.Header
- func (c *LocationsBucketsLinksCreateCall) LinkId(linkId string) *LocationsBucketsLinksCreateCall
- type LocationsBucketsLinksDeleteCall
- func (c *LocationsBucketsLinksDeleteCall) Context(ctx context.Context) *LocationsBucketsLinksDeleteCall
- func (c *LocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksDeleteCall
- func (c *LocationsBucketsLinksDeleteCall) Header() http.Header
- type LocationsBucketsLinksGetCall
- func (c *LocationsBucketsLinksGetCall) Context(ctx context.Context) *LocationsBucketsLinksGetCall
- func (c *LocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
- func (c *LocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksGetCall
- func (c *LocationsBucketsLinksGetCall) Header() http.Header
- func (c *LocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *LocationsBucketsLinksGetCall
- type LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) Context(ctx context.Context) *LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
- func (c *LocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) Header() http.Header
- func (c *LocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) PageSize(pageSize int64) *LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) PageToken(pageToken string) *LocationsBucketsLinksListCall
- func (c *LocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
- type LocationsBucketsLinksService
- func (r *LocationsBucketsLinksService) Create(parent string, link *Link) *LocationsBucketsLinksCreateCall
- func (r *LocationsBucketsLinksService) Delete(name string) *LocationsBucketsLinksDeleteCall
- func (r *LocationsBucketsLinksService) Get(name string) *LocationsBucketsLinksGetCall
- func (r *LocationsBucketsLinksService) List(parent string) *LocationsBucketsLinksListCall
- type LocationsBucketsListCall
- func (c *LocationsBucketsListCall) Context(ctx context.Context) *LocationsBucketsListCall
- func (c *LocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
- func (c *LocationsBucketsListCall) Fields(s ...googleapi.Field) *LocationsBucketsListCall
- func (c *LocationsBucketsListCall) Header() http.Header
- func (c *LocationsBucketsListCall) IfNoneMatch(entityTag string) *LocationsBucketsListCall
- func (c *LocationsBucketsListCall) PageSize(pageSize int64) *LocationsBucketsListCall
- func (c *LocationsBucketsListCall) PageToken(pageToken string) *LocationsBucketsListCall
- func (c *LocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
- type LocationsBucketsPatchCall
- func (c *LocationsBucketsPatchCall) Context(ctx context.Context) *LocationsBucketsPatchCall
- func (c *LocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *LocationsBucketsPatchCall) Fields(s ...googleapi.Field) *LocationsBucketsPatchCall
- func (c *LocationsBucketsPatchCall) Header() http.Header
- func (c *LocationsBucketsPatchCall) UpdateMask(updateMask string) *LocationsBucketsPatchCall
- type LocationsBucketsService
- func (r *LocationsBucketsService) Create(parent string, logbucket *LogBucket) *LocationsBucketsCreateCall
- func (r *LocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *LocationsBucketsCreateAsyncCall
- func (r *LocationsBucketsService) Delete(name string) *LocationsBucketsDeleteCall
- func (r *LocationsBucketsService) Get(name string) *LocationsBucketsGetCall
- func (r *LocationsBucketsService) List(parent string) *LocationsBucketsListCall
- func (r *LocationsBucketsService) Patch(name string, logbucket *LogBucket) *LocationsBucketsPatchCall
- func (r *LocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *LocationsBucketsUndeleteCall
- func (r *LocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *LocationsBucketsUpdateAsyncCall
- type LocationsBucketsUndeleteCall
- func (c *LocationsBucketsUndeleteCall) Context(ctx context.Context) *LocationsBucketsUndeleteCall
- func (c *LocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *LocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsUndeleteCall
- func (c *LocationsBucketsUndeleteCall) Header() http.Header
- type LocationsBucketsUpdateAsyncCall
- func (c *LocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *LocationsBucketsUpdateAsyncCall
- func (c *LocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *LocationsBucketsUpdateAsyncCall
- func (c *LocationsBucketsUpdateAsyncCall) Header() http.Header
- func (c *LocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *LocationsBucketsUpdateAsyncCall
- type LocationsBucketsViewsCreateCall
- func (c *LocationsBucketsViewsCreateCall) Context(ctx context.Context) *LocationsBucketsViewsCreateCall
- func (c *LocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *LocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsCreateCall
- func (c *LocationsBucketsViewsCreateCall) Header() http.Header
- func (c *LocationsBucketsViewsCreateCall) ViewId(viewId string) *LocationsBucketsViewsCreateCall
- type LocationsBucketsViewsDeleteCall
- func (c *LocationsBucketsViewsDeleteCall) Context(ctx context.Context) *LocationsBucketsViewsDeleteCall
- func (c *LocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *LocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsDeleteCall
- func (c *LocationsBucketsViewsDeleteCall) Header() http.Header
- type LocationsBucketsViewsGetCall
- func (c *LocationsBucketsViewsGetCall) Context(ctx context.Context) *LocationsBucketsViewsGetCall
- func (c *LocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *LocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsGetCall
- func (c *LocationsBucketsViewsGetCall) Header() http.Header
- func (c *LocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *LocationsBucketsViewsGetCall
- type LocationsBucketsViewsGetIamPolicyCall
- func (c *LocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *LocationsBucketsViewsGetIamPolicyCall
- func (c *LocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *LocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsGetIamPolicyCall
- func (c *LocationsBucketsViewsGetIamPolicyCall) Header() http.Header
- type LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) Context(ctx context.Context) *LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
- func (c *LocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) Header() http.Header
- func (c *LocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) PageSize(pageSize int64) *LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) PageToken(pageToken string) *LocationsBucketsViewsListCall
- func (c *LocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
- type LocationsBucketsViewsPatchCall
- func (c *LocationsBucketsViewsPatchCall) Context(ctx context.Context) *LocationsBucketsViewsPatchCall
- func (c *LocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *LocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsPatchCall
- func (c *LocationsBucketsViewsPatchCall) Header() http.Header
- func (c *LocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *LocationsBucketsViewsPatchCall
- type LocationsBucketsViewsService
- func (r *LocationsBucketsViewsService) Create(parent string, logview *LogView) *LocationsBucketsViewsCreateCall
- func (r *LocationsBucketsViewsService) Delete(name string) *LocationsBucketsViewsDeleteCall
- func (r *LocationsBucketsViewsService) Get(name string) *LocationsBucketsViewsGetCall
- func (r *LocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *LocationsBucketsViewsGetIamPolicyCall
- func (r *LocationsBucketsViewsService) List(parent string) *LocationsBucketsViewsListCall
- func (r *LocationsBucketsViewsService) Patch(name string, logview *LogView) *LocationsBucketsViewsPatchCall
- func (r *LocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *LocationsBucketsViewsSetIamPolicyCall
- func (r *LocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *LocationsBucketsViewsTestIamPermissionsCall
- type LocationsBucketsViewsSetIamPolicyCall
- func (c *LocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *LocationsBucketsViewsSetIamPolicyCall
- func (c *LocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *LocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsSetIamPolicyCall
- func (c *LocationsBucketsViewsSetIamPolicyCall) Header() http.Header
- type LocationsBucketsViewsTestIamPermissionsCall
- func (c *LocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *LocationsBucketsViewsTestIamPermissionsCall
- func (c *LocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *LocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsTestIamPermissionsCall
- func (c *LocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
- type LocationsGetCall
- func (c *LocationsGetCall) Context(ctx context.Context) *LocationsGetCall
- func (c *LocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *LocationsGetCall) Fields(s ...googleapi.Field) *LocationsGetCall
- func (c *LocationsGetCall) Header() http.Header
- func (c *LocationsGetCall) IfNoneMatch(entityTag string) *LocationsGetCall
- type LocationsListCall
- func (c *LocationsListCall) Context(ctx context.Context) *LocationsListCall
- func (c *LocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *LocationsListCall) Fields(s ...googleapi.Field) *LocationsListCall
- func (c *LocationsListCall) Filter(filter string) *LocationsListCall
- func (c *LocationsListCall) Header() http.Header
- func (c *LocationsListCall) IfNoneMatch(entityTag string) *LocationsListCall
- func (c *LocationsListCall) PageSize(pageSize int64) *LocationsListCall
- func (c *LocationsListCall) PageToken(pageToken string) *LocationsListCall
- func (c *LocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type LocationsOperationsCancelCall
- func (c *LocationsOperationsCancelCall) Context(ctx context.Context) *LocationsOperationsCancelCall
- func (c *LocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *LocationsOperationsCancelCall) Fields(s ...googleapi.Field) *LocationsOperationsCancelCall
- func (c *LocationsOperationsCancelCall) Header() http.Header
- type LocationsOperationsGetCall
- func (c *LocationsOperationsGetCall) Context(ctx context.Context) *LocationsOperationsGetCall
- func (c *LocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LocationsOperationsGetCall) Fields(s ...googleapi.Field) *LocationsOperationsGetCall
- func (c *LocationsOperationsGetCall) Header() http.Header
- func (c *LocationsOperationsGetCall) IfNoneMatch(entityTag string) *LocationsOperationsGetCall
- type LocationsOperationsListCall
- func (c *LocationsOperationsListCall) Context(ctx context.Context) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *LocationsOperationsListCall) Fields(s ...googleapi.Field) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) Filter(filter string) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) Header() http.Header
- func (c *LocationsOperationsListCall) IfNoneMatch(entityTag string) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) PageSize(pageSize int64) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) PageToken(pageToken string) *LocationsOperationsListCall
- func (c *LocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type LocationsOperationsService
- func (r *LocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *LocationsOperationsCancelCall
- func (r *LocationsOperationsService) Get(name string) *LocationsOperationsGetCall
- func (r *LocationsOperationsService) List(name string) *LocationsOperationsListCall
- type LocationsService
- type LogBucket
- type LogEntry
- type LogEntryOperation
- type LogEntrySourceLocation
- type LogErrorGroup
- type LogExclusion
- type LogLine
- type LogMetric
- type LogSink
- type LogSplit
- type LogView
- type LoggingQuery
- type LogsDeleteCall
- type LogsListCall
- func (c *LogsListCall) Context(ctx context.Context) *LogsListCall
- func (c *LogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *LogsListCall) Fields(s ...googleapi.Field) *LogsListCall
- func (c *LogsListCall) Header() http.Header
- func (c *LogsListCall) IfNoneMatch(entityTag string) *LogsListCall
- func (c *LogsListCall) PageSize(pageSize int64) *LogsListCall
- func (c *LogsListCall) PageToken(pageToken string) *LogsListCall
- func (c *LogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *LogsListCall) ResourceNames(resourceNames ...string) *LogsListCall
- type LogsService
- type MetricDescriptor
- type MetricDescriptorMetadata
- type MonitoredResource
- type MonitoredResourceDescriptor
- type MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) Context(ctx context.Context) *MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) Do(opts ...googleapi.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
- func (c *MonitoredResourceDescriptorsListCall) Fields(s ...googleapi.Field) *MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) Header() http.Header
- func (c *MonitoredResourceDescriptorsListCall) IfNoneMatch(entityTag string) *MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) PageSize(pageSize int64) *MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) PageToken(pageToken string) *MonitoredResourceDescriptorsListCall
- func (c *MonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error
- type MonitoredResourceDescriptorsService
- type MonitoredResourceMetadata
- type Operation
- type OpsAnalyticsQuery
- type OrganizationsExclusionsCreateCall
- func (c *OrganizationsExclusionsCreateCall) Context(ctx context.Context) *OrganizationsExclusionsCreateCall
- func (c *OrganizationsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *OrganizationsExclusionsCreateCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsCreateCall
- func (c *OrganizationsExclusionsCreateCall) Header() http.Header
- type OrganizationsExclusionsDeleteCall
- func (c *OrganizationsExclusionsDeleteCall) Context(ctx context.Context) *OrganizationsExclusionsDeleteCall
- func (c *OrganizationsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsExclusionsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsDeleteCall
- func (c *OrganizationsExclusionsDeleteCall) Header() http.Header
- type OrganizationsExclusionsGetCall
- func (c *OrganizationsExclusionsGetCall) Context(ctx context.Context) *OrganizationsExclusionsGetCall
- func (c *OrganizationsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *OrganizationsExclusionsGetCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsGetCall
- func (c *OrganizationsExclusionsGetCall) Header() http.Header
- func (c *OrganizationsExclusionsGetCall) IfNoneMatch(entityTag string) *OrganizationsExclusionsGetCall
- type OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) Context(ctx context.Context) *OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
- func (c *OrganizationsExclusionsListCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) Header() http.Header
- func (c *OrganizationsExclusionsListCall) IfNoneMatch(entityTag string) *OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) PageSize(pageSize int64) *OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) PageToken(pageToken string) *OrganizationsExclusionsListCall
- func (c *OrganizationsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
- type OrganizationsExclusionsPatchCall
- func (c *OrganizationsExclusionsPatchCall) Context(ctx context.Context) *OrganizationsExclusionsPatchCall
- func (c *OrganizationsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *OrganizationsExclusionsPatchCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsPatchCall
- func (c *OrganizationsExclusionsPatchCall) Header() http.Header
- func (c *OrganizationsExclusionsPatchCall) UpdateMask(updateMask string) *OrganizationsExclusionsPatchCall
- type OrganizationsExclusionsService
- func (r *OrganizationsExclusionsService) Create(parent string, logexclusion *LogExclusion) *OrganizationsExclusionsCreateCall
- func (r *OrganizationsExclusionsService) Delete(name string) *OrganizationsExclusionsDeleteCall
- func (r *OrganizationsExclusionsService) Get(name string) *OrganizationsExclusionsGetCall
- func (r *OrganizationsExclusionsService) List(parent string) *OrganizationsExclusionsListCall
- func (r *OrganizationsExclusionsService) Patch(name string, logexclusion *LogExclusion) *OrganizationsExclusionsPatchCall
- type OrganizationsGetCmekSettingsCall
- func (c *OrganizationsGetCmekSettingsCall) Context(ctx context.Context) *OrganizationsGetCmekSettingsCall
- func (c *OrganizationsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *OrganizationsGetCmekSettingsCall) Fields(s ...googleapi.Field) *OrganizationsGetCmekSettingsCall
- func (c *OrganizationsGetCmekSettingsCall) Header() http.Header
- func (c *OrganizationsGetCmekSettingsCall) IfNoneMatch(entityTag string) *OrganizationsGetCmekSettingsCall
- type OrganizationsGetSettingsCall
- func (c *OrganizationsGetSettingsCall) Context(ctx context.Context) *OrganizationsGetSettingsCall
- func (c *OrganizationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *OrganizationsGetSettingsCall) Fields(s ...googleapi.Field) *OrganizationsGetSettingsCall
- func (c *OrganizationsGetSettingsCall) Header() http.Header
- func (c *OrganizationsGetSettingsCall) IfNoneMatch(entityTag string) *OrganizationsGetSettingsCall
- type OrganizationsLocationsBucketsCreateAsyncCall
- func (c *OrganizationsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *OrganizationsLocationsBucketsCreateAsyncCall
- func (c *OrganizationsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *OrganizationsLocationsBucketsCreateAsyncCall
- func (c *OrganizationsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *OrganizationsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsCreateAsyncCall
- func (c *OrganizationsLocationsBucketsCreateAsyncCall) Header() http.Header
- type OrganizationsLocationsBucketsCreateCall
- func (c *OrganizationsLocationsBucketsCreateCall) BucketId(bucketId string) *OrganizationsLocationsBucketsCreateCall
- func (c *OrganizationsLocationsBucketsCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsCreateCall
- func (c *OrganizationsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *OrganizationsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsCreateCall
- func (c *OrganizationsLocationsBucketsCreateCall) Header() http.Header
- type OrganizationsLocationsBucketsDeleteCall
- func (c *OrganizationsLocationsBucketsDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsDeleteCall
- func (c *OrganizationsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsDeleteCall
- func (c *OrganizationsLocationsBucketsDeleteCall) Header() http.Header
- type OrganizationsLocationsBucketsGetCall
- func (c *OrganizationsLocationsBucketsGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsGetCall
- func (c *OrganizationsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *OrganizationsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsGetCall
- func (c *OrganizationsLocationsBucketsGetCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsGetCall
- type OrganizationsLocationsBucketsLinksCreateCall
- func (c *OrganizationsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksCreateCall
- func (c *OrganizationsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *OrganizationsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksCreateCall
- func (c *OrganizationsLocationsBucketsLinksCreateCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsLinksCreateCall) LinkId(linkId string) *OrganizationsLocationsBucketsLinksCreateCall
- type OrganizationsLocationsBucketsLinksDeleteCall
- func (c *OrganizationsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksDeleteCall
- func (c *OrganizationsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *OrganizationsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksDeleteCall
- func (c *OrganizationsLocationsBucketsLinksDeleteCall) Header() http.Header
- type OrganizationsLocationsBucketsLinksGetCall
- func (c *OrganizationsLocationsBucketsLinksGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksGetCall
- func (c *OrganizationsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
- func (c *OrganizationsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksGetCall
- func (c *OrganizationsLocationsBucketsLinksGetCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsLinksGetCall
- type OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
- func (c *OrganizationsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsLinksListCall
- func (c *OrganizationsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
- type OrganizationsLocationsBucketsLinksService
- func (r *OrganizationsLocationsBucketsLinksService) Create(parent string, link *Link) *OrganizationsLocationsBucketsLinksCreateCall
- func (r *OrganizationsLocationsBucketsLinksService) Delete(name string) *OrganizationsLocationsBucketsLinksDeleteCall
- func (r *OrganizationsLocationsBucketsLinksService) Get(name string) *OrganizationsLocationsBucketsLinksGetCall
- func (r *OrganizationsLocationsBucketsLinksService) List(parent string) *OrganizationsLocationsBucketsLinksListCall
- type OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
- func (c *OrganizationsLocationsBucketsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsListCall
- func (c *OrganizationsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
- type OrganizationsLocationsBucketsPatchCall
- func (c *OrganizationsLocationsBucketsPatchCall) Context(ctx context.Context) *OrganizationsLocationsBucketsPatchCall
- func (c *OrganizationsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *OrganizationsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsPatchCall
- func (c *OrganizationsLocationsBucketsPatchCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsPatchCall
- type OrganizationsLocationsBucketsService
- func (r *OrganizationsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *OrganizationsLocationsBucketsCreateCall
- func (r *OrganizationsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *OrganizationsLocationsBucketsCreateAsyncCall
- func (r *OrganizationsLocationsBucketsService) Delete(name string) *OrganizationsLocationsBucketsDeleteCall
- func (r *OrganizationsLocationsBucketsService) Get(name string) *OrganizationsLocationsBucketsGetCall
- func (r *OrganizationsLocationsBucketsService) List(parent string) *OrganizationsLocationsBucketsListCall
- func (r *OrganizationsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *OrganizationsLocationsBucketsPatchCall
- func (r *OrganizationsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *OrganizationsLocationsBucketsUndeleteCall
- func (r *OrganizationsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *OrganizationsLocationsBucketsUpdateAsyncCall
- type OrganizationsLocationsBucketsUndeleteCall
- func (c *OrganizationsLocationsBucketsUndeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsUndeleteCall
- func (c *OrganizationsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsUndeleteCall
- func (c *OrganizationsLocationsBucketsUndeleteCall) Header() http.Header
- type OrganizationsLocationsBucketsUpdateAsyncCall
- func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *OrganizationsLocationsBucketsUpdateAsyncCall
- func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsUpdateAsyncCall
- func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsUpdateAsyncCall
- type OrganizationsLocationsBucketsViewsCreateCall
- func (c *OrganizationsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsCreateCall
- func (c *OrganizationsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *OrganizationsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsCreateCall
- func (c *OrganizationsLocationsBucketsViewsCreateCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsViewsCreateCall) ViewId(viewId string) *OrganizationsLocationsBucketsViewsCreateCall
- type OrganizationsLocationsBucketsViewsDeleteCall
- func (c *OrganizationsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsDeleteCall
- func (c *OrganizationsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsDeleteCall
- func (c *OrganizationsLocationsBucketsViewsDeleteCall) Header() http.Header
- type OrganizationsLocationsBucketsViewsGetCall
- func (c *OrganizationsLocationsBucketsViewsGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsGetCall
- func (c *OrganizationsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *OrganizationsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsGetCall
- func (c *OrganizationsLocationsBucketsViewsGetCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsGetCall
- type OrganizationsLocationsBucketsViewsGetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
- type OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
- func (c *OrganizationsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsViewsListCall
- func (c *OrganizationsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
- type OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsViewsLogsListCall
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *OrganizationsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *OrganizationsLocationsBucketsViewsLogsListCall
- type OrganizationsLocationsBucketsViewsLogsService
- type OrganizationsLocationsBucketsViewsPatchCall
- func (c *OrganizationsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsPatchCall
- func (c *OrganizationsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *OrganizationsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsPatchCall
- func (c *OrganizationsLocationsBucketsViewsPatchCall) Header() http.Header
- func (c *OrganizationsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsViewsPatchCall
- type OrganizationsLocationsBucketsViewsService
- func (r *OrganizationsLocationsBucketsViewsService) Create(parent string, logview *LogView) *OrganizationsLocationsBucketsViewsCreateCall
- func (r *OrganizationsLocationsBucketsViewsService) Delete(name string) *OrganizationsLocationsBucketsViewsDeleteCall
- func (r *OrganizationsLocationsBucketsViewsService) Get(name string) *OrganizationsLocationsBucketsViewsGetCall
- func (r *OrganizationsLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
- func (r *OrganizationsLocationsBucketsViewsService) List(parent string) *OrganizationsLocationsBucketsViewsListCall
- func (r *OrganizationsLocationsBucketsViewsService) Patch(name string, logview *LogView) *OrganizationsLocationsBucketsViewsPatchCall
- func (r *OrganizationsLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
- func (r *OrganizationsLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
- type OrganizationsLocationsBucketsViewsSetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
- func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
- type OrganizationsLocationsBucketsViewsTestIamPermissionsCall
- func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
- func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
- func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
- type OrganizationsLocationsGetCall
- func (c *OrganizationsLocationsGetCall) Context(ctx context.Context) *OrganizationsLocationsGetCall
- func (c *OrganizationsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *OrganizationsLocationsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsGetCall
- func (c *OrganizationsLocationsGetCall) Header() http.Header
- func (c *OrganizationsLocationsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsGetCall
- type OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) Context(ctx context.Context) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *OrganizationsLocationsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) Filter(filter string) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) Header() http.Header
- func (c *OrganizationsLocationsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) PageSize(pageSize int64) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) PageToken(pageToken string) *OrganizationsLocationsListCall
- func (c *OrganizationsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type OrganizationsLocationsOperationsCancelCall
- func (c *OrganizationsLocationsOperationsCancelCall) Context(ctx context.Context) *OrganizationsLocationsOperationsCancelCall
- func (c *OrganizationsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsCancelCall
- func (c *OrganizationsLocationsOperationsCancelCall) Header() http.Header
- type OrganizationsLocationsOperationsGetCall
- func (c *OrganizationsLocationsOperationsGetCall) Context(ctx context.Context) *OrganizationsLocationsOperationsGetCall
- func (c *OrganizationsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *OrganizationsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsGetCall
- func (c *OrganizationsLocationsOperationsGetCall) Header() http.Header
- func (c *OrganizationsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsOperationsGetCall
- type OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) Context(ctx context.Context) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *OrganizationsLocationsOperationsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) Filter(filter string) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) Header() http.Header
- func (c *OrganizationsLocationsOperationsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) PageSize(pageSize int64) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) PageToken(pageToken string) *OrganizationsLocationsOperationsListCall
- func (c *OrganizationsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type OrganizationsLocationsOperationsService
- func (r *OrganizationsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OrganizationsLocationsOperationsCancelCall
- func (r *OrganizationsLocationsOperationsService) Get(name string) *OrganizationsLocationsOperationsGetCall
- func (r *OrganizationsLocationsOperationsService) List(name string) *OrganizationsLocationsOperationsListCall
- type OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) Context(ctx context.Context) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
- func (c *OrganizationsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) Filter(filter string) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) Header() http.Header
- func (c *OrganizationsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) PageSize(pageSize int64) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) PageToken(pageToken string) *OrganizationsLocationsRecentQueriesListCall
- func (c *OrganizationsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
- type OrganizationsLocationsRecentQueriesService
- type OrganizationsLocationsSavedQueriesCreateCall
- func (c *OrganizationsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesCreateCall
- func (c *OrganizationsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *OrganizationsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesCreateCall
- func (c *OrganizationsLocationsSavedQueriesCreateCall) Header() http.Header
- func (c *OrganizationsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *OrganizationsLocationsSavedQueriesCreateCall
- type OrganizationsLocationsSavedQueriesDeleteCall
- func (c *OrganizationsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesDeleteCall
- func (c *OrganizationsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesDeleteCall
- func (c *OrganizationsLocationsSavedQueriesDeleteCall) Header() http.Header
- type OrganizationsLocationsSavedQueriesGetCall
- func (c *OrganizationsLocationsSavedQueriesGetCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesGetCall
- func (c *OrganizationsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *OrganizationsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesGetCall
- func (c *OrganizationsLocationsSavedQueriesGetCall) Header() http.Header
- func (c *OrganizationsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsSavedQueriesGetCall
- type OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
- func (c *OrganizationsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) Filter(filter string) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) Header() http.Header
- func (c *OrganizationsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) PageSize(pageSize int64) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) PageToken(pageToken string) *OrganizationsLocationsSavedQueriesListCall
- func (c *OrganizationsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
- type OrganizationsLocationsSavedQueriesPatchCall
- func (c *OrganizationsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesPatchCall
- func (c *OrganizationsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *OrganizationsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesPatchCall
- func (c *OrganizationsLocationsSavedQueriesPatchCall) Header() http.Header
- func (c *OrganizationsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsSavedQueriesPatchCall
- type OrganizationsLocationsSavedQueriesService
- func (r *OrganizationsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *OrganizationsLocationsSavedQueriesCreateCall
- func (r *OrganizationsLocationsSavedQueriesService) Delete(name string) *OrganizationsLocationsSavedQueriesDeleteCall
- func (r *OrganizationsLocationsSavedQueriesService) Get(name string) *OrganizationsLocationsSavedQueriesGetCall
- func (r *OrganizationsLocationsSavedQueriesService) List(parent string) *OrganizationsLocationsSavedQueriesListCall
- func (r *OrganizationsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *OrganizationsLocationsSavedQueriesPatchCall
- type OrganizationsLocationsService
- type OrganizationsLogsDeleteCall
- func (c *OrganizationsLogsDeleteCall) Context(ctx context.Context) *OrganizationsLogsDeleteCall
- func (c *OrganizationsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsLogsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLogsDeleteCall
- func (c *OrganizationsLogsDeleteCall) Header() http.Header
- type OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) Context(ctx context.Context) *OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *OrganizationsLogsListCall) Fields(s ...googleapi.Field) *OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) Header() http.Header
- func (c *OrganizationsLogsListCall) IfNoneMatch(entityTag string) *OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) PageSize(pageSize int64) *OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) PageToken(pageToken string) *OrganizationsLogsListCall
- func (c *OrganizationsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *OrganizationsLogsListCall) ResourceNames(resourceNames ...string) *OrganizationsLogsListCall
- type OrganizationsLogsService
- type OrganizationsService
- func (r *OrganizationsService) GetCmekSettings(name string) *OrganizationsGetCmekSettingsCall
- func (r *OrganizationsService) GetSettings(name string) *OrganizationsGetSettingsCall
- func (r *OrganizationsService) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *OrganizationsUpdateCmekSettingsCall
- func (r *OrganizationsService) UpdateSettings(name string, settings *Settings) *OrganizationsUpdateSettingsCall
- type OrganizationsSinksCreateCall
- func (c *OrganizationsSinksCreateCall) Context(ctx context.Context) *OrganizationsSinksCreateCall
- func (c *OrganizationsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksCreateCall
- func (c *OrganizationsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *OrganizationsSinksCreateCall) Fields(s ...googleapi.Field) *OrganizationsSinksCreateCall
- func (c *OrganizationsSinksCreateCall) Header() http.Header
- func (c *OrganizationsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksCreateCall
- type OrganizationsSinksDeleteCall
- func (c *OrganizationsSinksDeleteCall) Context(ctx context.Context) *OrganizationsSinksDeleteCall
- func (c *OrganizationsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *OrganizationsSinksDeleteCall) Fields(s ...googleapi.Field) *OrganizationsSinksDeleteCall
- func (c *OrganizationsSinksDeleteCall) Header() http.Header
- type OrganizationsSinksGetCall
- func (c *OrganizationsSinksGetCall) Context(ctx context.Context) *OrganizationsSinksGetCall
- func (c *OrganizationsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *OrganizationsSinksGetCall) Fields(s ...googleapi.Field) *OrganizationsSinksGetCall
- func (c *OrganizationsSinksGetCall) Header() http.Header
- func (c *OrganizationsSinksGetCall) IfNoneMatch(entityTag string) *OrganizationsSinksGetCall
- type OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) Context(ctx context.Context) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
- func (c *OrganizationsSinksListCall) Fields(s ...googleapi.Field) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) Filter(filter string) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) Header() http.Header
- func (c *OrganizationsSinksListCall) IfNoneMatch(entityTag string) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) PageSize(pageSize int64) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) PageToken(pageToken string) *OrganizationsSinksListCall
- func (c *OrganizationsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
- type OrganizationsSinksPatchCall
- func (c *OrganizationsSinksPatchCall) Context(ctx context.Context) *OrganizationsSinksPatchCall
- func (c *OrganizationsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksPatchCall
- func (c *OrganizationsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *OrganizationsSinksPatchCall) Fields(s ...googleapi.Field) *OrganizationsSinksPatchCall
- func (c *OrganizationsSinksPatchCall) Header() http.Header
- func (c *OrganizationsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksPatchCall
- func (c *OrganizationsSinksPatchCall) UpdateMask(updateMask string) *OrganizationsSinksPatchCall
- type OrganizationsSinksService
- func (r *OrganizationsSinksService) Create(parent string, logsink *LogSink) *OrganizationsSinksCreateCall
- func (r *OrganizationsSinksService) Delete(sinkNameid string) *OrganizationsSinksDeleteCall
- func (r *OrganizationsSinksService) Get(sinkName string) *OrganizationsSinksGetCall
- func (r *OrganizationsSinksService) List(parent string) *OrganizationsSinksListCall
- func (r *OrganizationsSinksService) Patch(sinkNameid string, logsink *LogSink) *OrganizationsSinksPatchCall
- func (r *OrganizationsSinksService) Update(sinkNameid string, logsink *LogSink) *OrganizationsSinksUpdateCall
- type OrganizationsSinksUpdateCall
- func (c *OrganizationsSinksUpdateCall) Context(ctx context.Context) *OrganizationsSinksUpdateCall
- func (c *OrganizationsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksUpdateCall
- func (c *OrganizationsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *OrganizationsSinksUpdateCall) Fields(s ...googleapi.Field) *OrganizationsSinksUpdateCall
- func (c *OrganizationsSinksUpdateCall) Header() http.Header
- func (c *OrganizationsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksUpdateCall
- func (c *OrganizationsSinksUpdateCall) UpdateMask(updateMask string) *OrganizationsSinksUpdateCall
- type OrganizationsUpdateCmekSettingsCall
- func (c *OrganizationsUpdateCmekSettingsCall) Context(ctx context.Context) *OrganizationsUpdateCmekSettingsCall
- func (c *OrganizationsUpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *OrganizationsUpdateCmekSettingsCall) Fields(s ...googleapi.Field) *OrganizationsUpdateCmekSettingsCall
- func (c *OrganizationsUpdateCmekSettingsCall) Header() http.Header
- func (c *OrganizationsUpdateCmekSettingsCall) UpdateMask(updateMask string) *OrganizationsUpdateCmekSettingsCall
- type OrganizationsUpdateSettingsCall
- func (c *OrganizationsUpdateSettingsCall) Context(ctx context.Context) *OrganizationsUpdateSettingsCall
- func (c *OrganizationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *OrganizationsUpdateSettingsCall) Fields(s ...googleapi.Field) *OrganizationsUpdateSettingsCall
- func (c *OrganizationsUpdateSettingsCall) Header() http.Header
- func (c *OrganizationsUpdateSettingsCall) UpdateMask(updateMask string) *OrganizationsUpdateSettingsCall
- type Policy
- type ProjectsExclusionsCreateCall
- func (c *ProjectsExclusionsCreateCall) Context(ctx context.Context) *ProjectsExclusionsCreateCall
- func (c *ProjectsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ProjectsExclusionsCreateCall) Fields(s ...googleapi.Field) *ProjectsExclusionsCreateCall
- func (c *ProjectsExclusionsCreateCall) Header() http.Header
- type ProjectsExclusionsDeleteCall
- func (c *ProjectsExclusionsDeleteCall) Context(ctx context.Context) *ProjectsExclusionsDeleteCall
- func (c *ProjectsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsExclusionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsExclusionsDeleteCall
- func (c *ProjectsExclusionsDeleteCall) Header() http.Header
- type ProjectsExclusionsGetCall
- func (c *ProjectsExclusionsGetCall) Context(ctx context.Context) *ProjectsExclusionsGetCall
- func (c *ProjectsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ProjectsExclusionsGetCall) Fields(s ...googleapi.Field) *ProjectsExclusionsGetCall
- func (c *ProjectsExclusionsGetCall) Header() http.Header
- func (c *ProjectsExclusionsGetCall) IfNoneMatch(entityTag string) *ProjectsExclusionsGetCall
- type ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) Context(ctx context.Context) *ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
- func (c *ProjectsExclusionsListCall) Fields(s ...googleapi.Field) *ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) Header() http.Header
- func (c *ProjectsExclusionsListCall) IfNoneMatch(entityTag string) *ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) PageSize(pageSize int64) *ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) PageToken(pageToken string) *ProjectsExclusionsListCall
- func (c *ProjectsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
- type ProjectsExclusionsPatchCall
- func (c *ProjectsExclusionsPatchCall) Context(ctx context.Context) *ProjectsExclusionsPatchCall
- func (c *ProjectsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
- func (c *ProjectsExclusionsPatchCall) Fields(s ...googleapi.Field) *ProjectsExclusionsPatchCall
- func (c *ProjectsExclusionsPatchCall) Header() http.Header
- func (c *ProjectsExclusionsPatchCall) UpdateMask(updateMask string) *ProjectsExclusionsPatchCall
- type ProjectsExclusionsService
- func (r *ProjectsExclusionsService) Create(parent string, logexclusion *LogExclusion) *ProjectsExclusionsCreateCall
- func (r *ProjectsExclusionsService) Delete(name string) *ProjectsExclusionsDeleteCall
- func (r *ProjectsExclusionsService) Get(name string) *ProjectsExclusionsGetCall
- func (r *ProjectsExclusionsService) List(parent string) *ProjectsExclusionsListCall
- func (r *ProjectsExclusionsService) Patch(name string, logexclusion *LogExclusion) *ProjectsExclusionsPatchCall
- type ProjectsGetCmekSettingsCall
- func (c *ProjectsGetCmekSettingsCall) Context(ctx context.Context) *ProjectsGetCmekSettingsCall
- func (c *ProjectsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *ProjectsGetCmekSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetCmekSettingsCall
- func (c *ProjectsGetCmekSettingsCall) Header() http.Header
- func (c *ProjectsGetCmekSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetCmekSettingsCall
- type ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Context(ctx context.Context) *ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *ProjectsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetSettingsCall
- func (c *ProjectsGetSettingsCall) Header() http.Header
- func (c *ProjectsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetSettingsCall
- type ProjectsLocationsBucketsCreateAsyncCall
- func (c *ProjectsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *ProjectsLocationsBucketsCreateAsyncCall
- func (c *ProjectsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *ProjectsLocationsBucketsCreateAsyncCall
- func (c *ProjectsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsCreateAsyncCall
- func (c *ProjectsLocationsBucketsCreateAsyncCall) Header() http.Header
- type ProjectsLocationsBucketsCreateCall
- func (c *ProjectsLocationsBucketsCreateCall) BucketId(bucketId string) *ProjectsLocationsBucketsCreateCall
- func (c *ProjectsLocationsBucketsCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsCreateCall
- func (c *ProjectsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *ProjectsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsCreateCall
- func (c *ProjectsLocationsBucketsCreateCall) Header() http.Header
- type ProjectsLocationsBucketsDeleteCall
- func (c *ProjectsLocationsBucketsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsDeleteCall
- func (c *ProjectsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsDeleteCall
- func (c *ProjectsLocationsBucketsDeleteCall) Header() http.Header
- type ProjectsLocationsBucketsGetCall
- func (c *ProjectsLocationsBucketsGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsGetCall
- func (c *ProjectsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *ProjectsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsGetCall
- func (c *ProjectsLocationsBucketsGetCall) Header() http.Header
- func (c *ProjectsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsGetCall
- type ProjectsLocationsBucketsLinksCreateCall
- func (c *ProjectsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksCreateCall
- func (c *ProjectsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksCreateCall
- func (c *ProjectsLocationsBucketsLinksCreateCall) Header() http.Header
- func (c *ProjectsLocationsBucketsLinksCreateCall) LinkId(linkId string) *ProjectsLocationsBucketsLinksCreateCall
- type ProjectsLocationsBucketsLinksDeleteCall
- func (c *ProjectsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksDeleteCall
- func (c *ProjectsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksDeleteCall
- func (c *ProjectsLocationsBucketsLinksDeleteCall) Header() http.Header
- type ProjectsLocationsBucketsLinksGetCall
- func (c *ProjectsLocationsBucketsLinksGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksGetCall
- func (c *ProjectsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
- func (c *ProjectsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksGetCall
- func (c *ProjectsLocationsBucketsLinksGetCall) Header() http.Header
- func (c *ProjectsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsLinksGetCall
- type ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
- func (c *ProjectsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) Header() http.Header
- func (c *ProjectsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) PageToken(pageToken string) *ProjectsLocationsBucketsLinksListCall
- func (c *ProjectsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
- type ProjectsLocationsBucketsLinksService
- func (r *ProjectsLocationsBucketsLinksService) Create(parent string, link *Link) *ProjectsLocationsBucketsLinksCreateCall
- func (r *ProjectsLocationsBucketsLinksService) Delete(name string) *ProjectsLocationsBucketsLinksDeleteCall
- func (r *ProjectsLocationsBucketsLinksService) Get(name string) *ProjectsLocationsBucketsLinksGetCall
- func (r *ProjectsLocationsBucketsLinksService) List(parent string) *ProjectsLocationsBucketsLinksListCall
- type ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
- func (c *ProjectsLocationsBucketsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) Header() http.Header
- func (c *ProjectsLocationsBucketsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsListCall
- func (c *ProjectsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
- type ProjectsLocationsBucketsPatchCall
- func (c *ProjectsLocationsBucketsPatchCall) Context(ctx context.Context) *ProjectsLocationsBucketsPatchCall
- func (c *ProjectsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
- func (c *ProjectsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsPatchCall
- func (c *ProjectsLocationsBucketsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBucketsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsPatchCall
- type ProjectsLocationsBucketsService
- func (r *ProjectsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *ProjectsLocationsBucketsCreateCall
- func (r *ProjectsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *ProjectsLocationsBucketsCreateAsyncCall
- func (r *ProjectsLocationsBucketsService) Delete(name string) *ProjectsLocationsBucketsDeleteCall
- func (r *ProjectsLocationsBucketsService) Get(name string) *ProjectsLocationsBucketsGetCall
- func (r *ProjectsLocationsBucketsService) List(parent string) *ProjectsLocationsBucketsListCall
- func (r *ProjectsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *ProjectsLocationsBucketsPatchCall
- func (r *ProjectsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *ProjectsLocationsBucketsUndeleteCall
- func (r *ProjectsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *ProjectsLocationsBucketsUpdateAsyncCall
- type ProjectsLocationsBucketsUndeleteCall
- func (c *ProjectsLocationsBucketsUndeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsUndeleteCall
- func (c *ProjectsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsUndeleteCall
- func (c *ProjectsLocationsBucketsUndeleteCall) Header() http.Header
- type ProjectsLocationsBucketsUpdateAsyncCall
- func (c *ProjectsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *ProjectsLocationsBucketsUpdateAsyncCall
- func (c *ProjectsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsUpdateAsyncCall
- func (c *ProjectsLocationsBucketsUpdateAsyncCall) Header() http.Header
- func (c *ProjectsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsUpdateAsyncCall
- type ProjectsLocationsBucketsViewsCreateCall
- func (c *ProjectsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsCreateCall
- func (c *ProjectsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *ProjectsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsCreateCall
- func (c *ProjectsLocationsBucketsViewsCreateCall) Header() http.Header
- func (c *ProjectsLocationsBucketsViewsCreateCall) ViewId(viewId string) *ProjectsLocationsBucketsViewsCreateCall
- type ProjectsLocationsBucketsViewsDeleteCall
- func (c *ProjectsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsDeleteCall
- func (c *ProjectsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsDeleteCall
- func (c *ProjectsLocationsBucketsViewsDeleteCall) Header() http.Header
- type ProjectsLocationsBucketsViewsGetCall
- func (c *ProjectsLocationsBucketsViewsGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsGetCall
- func (c *ProjectsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *ProjectsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsGetCall
- func (c *ProjectsLocationsBucketsViewsGetCall) Header() http.Header
- func (c *ProjectsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsGetCall
- type ProjectsLocationsBucketsViewsGetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsGetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsGetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
- func (c *ProjectsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) Header() http.Header
- func (c *ProjectsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsViewsListCall
- func (c *ProjectsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
- type ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *ProjectsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) Header() http.Header
- func (c *ProjectsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsViewsLogsListCall
- func (c *ProjectsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *ProjectsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *ProjectsLocationsBucketsViewsLogsListCall
- type ProjectsLocationsBucketsViewsLogsService
- type ProjectsLocationsBucketsViewsPatchCall
- func (c *ProjectsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsPatchCall
- func (c *ProjectsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
- func (c *ProjectsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsPatchCall
- func (c *ProjectsLocationsBucketsViewsPatchCall) Header() http.Header
- func (c *ProjectsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsViewsPatchCall
- type ProjectsLocationsBucketsViewsService
- func (r *ProjectsLocationsBucketsViewsService) Create(parent string, logview *LogView) *ProjectsLocationsBucketsViewsCreateCall
- func (r *ProjectsLocationsBucketsViewsService) Delete(name string) *ProjectsLocationsBucketsViewsDeleteCall
- func (r *ProjectsLocationsBucketsViewsService) Get(name string) *ProjectsLocationsBucketsViewsGetCall
- func (r *ProjectsLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsBucketsViewsGetIamPolicyCall
- func (r *ProjectsLocationsBucketsViewsService) List(parent string) *ProjectsLocationsBucketsViewsListCall
- func (r *ProjectsLocationsBucketsViewsService) Patch(name string, logview *LogView) *ProjectsLocationsBucketsViewsPatchCall
- func (r *ProjectsLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBucketsViewsSetIamPolicyCall
- func (r *ProjectsLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
- type ProjectsLocationsBucketsViewsSetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsSetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsSetIamPolicyCall
- func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsBucketsViewsTestIamPermissionsCall
- func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
- func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
- func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) Context(ctx context.Context) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
- func (c *ProjectsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) Filter(filter string) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) Header() http.Header
- func (c *ProjectsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) PageToken(pageToken string) *ProjectsLocationsRecentQueriesListCall
- func (c *ProjectsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
- type ProjectsLocationsRecentQueriesService
- type ProjectsLocationsSavedQueriesCreateCall
- func (c *ProjectsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesCreateCall
- func (c *ProjectsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *ProjectsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesCreateCall
- func (c *ProjectsLocationsSavedQueriesCreateCall) Header() http.Header
- func (c *ProjectsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *ProjectsLocationsSavedQueriesCreateCall
- type ProjectsLocationsSavedQueriesDeleteCall
- func (c *ProjectsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesDeleteCall
- func (c *ProjectsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesDeleteCall
- func (c *ProjectsLocationsSavedQueriesDeleteCall) Header() http.Header
- type ProjectsLocationsSavedQueriesGetCall
- func (c *ProjectsLocationsSavedQueriesGetCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesGetCall
- func (c *ProjectsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *ProjectsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesGetCall
- func (c *ProjectsLocationsSavedQueriesGetCall) Header() http.Header
- func (c *ProjectsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSavedQueriesGetCall
- type ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
- func (c *ProjectsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) Filter(filter string) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) Header() http.Header
- func (c *ProjectsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) PageToken(pageToken string) *ProjectsLocationsSavedQueriesListCall
- func (c *ProjectsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
- type ProjectsLocationsSavedQueriesPatchCall
- func (c *ProjectsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesPatchCall
- func (c *ProjectsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
- func (c *ProjectsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesPatchCall
- func (c *ProjectsLocationsSavedQueriesPatchCall) Header() http.Header
- func (c *ProjectsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSavedQueriesPatchCall
- type ProjectsLocationsSavedQueriesService
- func (r *ProjectsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *ProjectsLocationsSavedQueriesCreateCall
- func (r *ProjectsLocationsSavedQueriesService) Delete(name string) *ProjectsLocationsSavedQueriesDeleteCall
- func (r *ProjectsLocationsSavedQueriesService) Get(name string) *ProjectsLocationsSavedQueriesGetCall
- func (r *ProjectsLocationsSavedQueriesService) List(parent string) *ProjectsLocationsSavedQueriesListCall
- func (r *ProjectsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *ProjectsLocationsSavedQueriesPatchCall
- type ProjectsLocationsService
- type ProjectsLogsDeleteCall
- func (c *ProjectsLogsDeleteCall) Context(ctx context.Context) *ProjectsLogsDeleteCall
- func (c *ProjectsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLogsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLogsDeleteCall
- func (c *ProjectsLogsDeleteCall) Header() http.Header
- type ProjectsLogsListCall
- func (c *ProjectsLogsListCall) Context(ctx context.Context) *ProjectsLogsListCall
- func (c *ProjectsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
- func (c *ProjectsLogsListCall) Fields(s ...googleapi.Field) *ProjectsLogsListCall
- func (c *ProjectsLogsListCall) Header() http.Header
- func (c *ProjectsLogsListCall) IfNoneMatch(entityTag string) *ProjectsLogsListCall
- func (c *ProjectsLogsListCall) PageSize(pageSize int64) *ProjectsLogsListCall
- func (c *ProjectsLogsListCall) PageToken(pageToken string) *ProjectsLogsListCall
- func (c *ProjectsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
- func (c *ProjectsLogsListCall) ResourceNames(resourceNames ...string) *ProjectsLogsListCall
- type ProjectsLogsService
- type ProjectsMetricsCreateCall
- func (c *ProjectsMetricsCreateCall) Context(ctx context.Context) *ProjectsMetricsCreateCall
- func (c *ProjectsMetricsCreateCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
- func (c *ProjectsMetricsCreateCall) Fields(s ...googleapi.Field) *ProjectsMetricsCreateCall
- func (c *ProjectsMetricsCreateCall) Header() http.Header
- type ProjectsMetricsDeleteCall
- func (c *ProjectsMetricsDeleteCall) Context(ctx context.Context) *ProjectsMetricsDeleteCall
- func (c *ProjectsMetricsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsMetricsDeleteCall) Fields(s ...googleapi.Field) *ProjectsMetricsDeleteCall
- func (c *ProjectsMetricsDeleteCall) Header() http.Header
- type ProjectsMetricsGetCall
- func (c *ProjectsMetricsGetCall) Context(ctx context.Context) *ProjectsMetricsGetCall
- func (c *ProjectsMetricsGetCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
- func (c *ProjectsMetricsGetCall) Fields(s ...googleapi.Field) *ProjectsMetricsGetCall
- func (c *ProjectsMetricsGetCall) Header() http.Header
- func (c *ProjectsMetricsGetCall) IfNoneMatch(entityTag string) *ProjectsMetricsGetCall
- type ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) Context(ctx context.Context) *ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) Do(opts ...googleapi.CallOption) (*ListLogMetricsResponse, error)
- func (c *ProjectsMetricsListCall) Fields(s ...googleapi.Field) *ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) Header() http.Header
- func (c *ProjectsMetricsListCall) IfNoneMatch(entityTag string) *ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) PageSize(pageSize int64) *ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) PageToken(pageToken string) *ProjectsMetricsListCall
- func (c *ProjectsMetricsListCall) Pages(ctx context.Context, f func(*ListLogMetricsResponse) error) error
- type ProjectsMetricsService
- func (r *ProjectsMetricsService) Create(parent string, logmetric *LogMetric) *ProjectsMetricsCreateCall
- func (r *ProjectsMetricsService) Delete(metricName string) *ProjectsMetricsDeleteCall
- func (r *ProjectsMetricsService) Get(metricName string) *ProjectsMetricsGetCall
- func (r *ProjectsMetricsService) List(parent string) *ProjectsMetricsListCall
- func (r *ProjectsMetricsService) Update(metricName string, logmetric *LogMetric) *ProjectsMetricsUpdateCall
- type ProjectsMetricsUpdateCall
- func (c *ProjectsMetricsUpdateCall) Context(ctx context.Context) *ProjectsMetricsUpdateCall
- func (c *ProjectsMetricsUpdateCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
- func (c *ProjectsMetricsUpdateCall) Fields(s ...googleapi.Field) *ProjectsMetricsUpdateCall
- func (c *ProjectsMetricsUpdateCall) Header() http.Header
- type ProjectsService
- type ProjectsSinksCreateCall
- func (c *ProjectsSinksCreateCall) Context(ctx context.Context) *ProjectsSinksCreateCall
- func (c *ProjectsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksCreateCall
- func (c *ProjectsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *ProjectsSinksCreateCall) Fields(s ...googleapi.Field) *ProjectsSinksCreateCall
- func (c *ProjectsSinksCreateCall) Header() http.Header
- func (c *ProjectsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksCreateCall
- type ProjectsSinksDeleteCall
- func (c *ProjectsSinksDeleteCall) Context(ctx context.Context) *ProjectsSinksDeleteCall
- func (c *ProjectsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsSinksDeleteCall) Fields(s ...googleapi.Field) *ProjectsSinksDeleteCall
- func (c *ProjectsSinksDeleteCall) Header() http.Header
- type ProjectsSinksGetCall
- func (c *ProjectsSinksGetCall) Context(ctx context.Context) *ProjectsSinksGetCall
- func (c *ProjectsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *ProjectsSinksGetCall) Fields(s ...googleapi.Field) *ProjectsSinksGetCall
- func (c *ProjectsSinksGetCall) Header() http.Header
- func (c *ProjectsSinksGetCall) IfNoneMatch(entityTag string) *ProjectsSinksGetCall
- type ProjectsSinksListCall
- func (c *ProjectsSinksListCall) Context(ctx context.Context) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
- func (c *ProjectsSinksListCall) Fields(s ...googleapi.Field) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) Filter(filter string) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) Header() http.Header
- func (c *ProjectsSinksListCall) IfNoneMatch(entityTag string) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) PageSize(pageSize int64) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) PageToken(pageToken string) *ProjectsSinksListCall
- func (c *ProjectsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
- type ProjectsSinksPatchCall
- func (c *ProjectsSinksPatchCall) Context(ctx context.Context) *ProjectsSinksPatchCall
- func (c *ProjectsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksPatchCall
- func (c *ProjectsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *ProjectsSinksPatchCall) Fields(s ...googleapi.Field) *ProjectsSinksPatchCall
- func (c *ProjectsSinksPatchCall) Header() http.Header
- func (c *ProjectsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksPatchCall
- func (c *ProjectsSinksPatchCall) UpdateMask(updateMask string) *ProjectsSinksPatchCall
- type ProjectsSinksService
- func (r *ProjectsSinksService) Create(parent string, logsink *LogSink) *ProjectsSinksCreateCall
- func (r *ProjectsSinksService) Delete(sinkNameid string) *ProjectsSinksDeleteCall
- func (r *ProjectsSinksService) Get(sinkName string) *ProjectsSinksGetCall
- func (r *ProjectsSinksService) List(parent string) *ProjectsSinksListCall
- func (r *ProjectsSinksService) Patch(sinkNameid string, logsink *LogSink) *ProjectsSinksPatchCall
- func (r *ProjectsSinksService) Update(sinkNameid string, logsink *LogSink) *ProjectsSinksUpdateCall
- type ProjectsSinksUpdateCall
- func (c *ProjectsSinksUpdateCall) Context(ctx context.Context) *ProjectsSinksUpdateCall
- func (c *ProjectsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksUpdateCall
- func (c *ProjectsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *ProjectsSinksUpdateCall) Fields(s ...googleapi.Field) *ProjectsSinksUpdateCall
- func (c *ProjectsSinksUpdateCall) Header() http.Header
- func (c *ProjectsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksUpdateCall
- func (c *ProjectsSinksUpdateCall) UpdateMask(updateMask string) *ProjectsSinksUpdateCall
- type RecentQuery
- type RequestLog
- type SavedQuery
- type Service
- type SetIamPolicyRequest
- type Settings
- type SinksCreateCall
- func (c *SinksCreateCall) Context(ctx context.Context) *SinksCreateCall
- func (c *SinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *SinksCreateCall
- func (c *SinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *SinksCreateCall) Fields(s ...googleapi.Field) *SinksCreateCall
- func (c *SinksCreateCall) Header() http.Header
- func (c *SinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *SinksCreateCall
- type SinksDeleteCall
- type SinksGetCall
- func (c *SinksGetCall) Context(ctx context.Context) *SinksGetCall
- func (c *SinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *SinksGetCall) Fields(s ...googleapi.Field) *SinksGetCall
- func (c *SinksGetCall) Header() http.Header
- func (c *SinksGetCall) IfNoneMatch(entityTag string) *SinksGetCall
- type SinksListCall
- func (c *SinksListCall) Context(ctx context.Context) *SinksListCall
- func (c *SinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
- func (c *SinksListCall) Fields(s ...googleapi.Field) *SinksListCall
- func (c *SinksListCall) Filter(filter string) *SinksListCall
- func (c *SinksListCall) Header() http.Header
- func (c *SinksListCall) IfNoneMatch(entityTag string) *SinksListCall
- func (c *SinksListCall) PageSize(pageSize int64) *SinksListCall
- func (c *SinksListCall) PageToken(pageToken string) *SinksListCall
- func (c *SinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
- type SinksService
- func (r *SinksService) Create(parent string, logsink *LogSink) *SinksCreateCall
- func (r *SinksService) Delete(sinkNameid string) *SinksDeleteCall
- func (r *SinksService) Get(sinkName string) *SinksGetCall
- func (r *SinksService) List(parent string) *SinksListCall
- func (r *SinksService) Update(sinkNameid string, logsink *LogSink) *SinksUpdateCall
- type SinksUpdateCall
- func (c *SinksUpdateCall) Context(ctx context.Context) *SinksUpdateCall
- func (c *SinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *SinksUpdateCall
- func (c *SinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
- func (c *SinksUpdateCall) Fields(s ...googleapi.Field) *SinksUpdateCall
- func (c *SinksUpdateCall) Header() http.Header
- func (c *SinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *SinksUpdateCall
- func (c *SinksUpdateCall) UpdateMask(updateMask string) *SinksUpdateCall
- type SourceLocation
- type SourceReference
- type Status
- type SummaryField
- type SuppressionInfo
- type TailLogEntriesRequest
- type TailLogEntriesResponse
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type UndeleteBucketRequest
- type UpdateBucketRequest
- type V2GetCmekSettingsCall
- func (c *V2GetCmekSettingsCall) Context(ctx context.Context) *V2GetCmekSettingsCall
- func (c *V2GetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *V2GetCmekSettingsCall) Fields(s ...googleapi.Field) *V2GetCmekSettingsCall
- func (c *V2GetCmekSettingsCall) Header() http.Header
- func (c *V2GetCmekSettingsCall) IfNoneMatch(entityTag string) *V2GetCmekSettingsCall
- type V2GetSettingsCall
- func (c *V2GetSettingsCall) Context(ctx context.Context) *V2GetSettingsCall
- func (c *V2GetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *V2GetSettingsCall) Fields(s ...googleapi.Field) *V2GetSettingsCall
- func (c *V2GetSettingsCall) Header() http.Header
- func (c *V2GetSettingsCall) IfNoneMatch(entityTag string) *V2GetSettingsCall
- type V2Service
- func (r *V2Service) GetCmekSettings(name string) *V2GetCmekSettingsCall
- func (r *V2Service) GetSettings(name string) *V2GetSettingsCall
- func (r *V2Service) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *V2UpdateCmekSettingsCall
- func (r *V2Service) UpdateSettings(name string, settings *Settings) *V2UpdateSettingsCall
- type V2UpdateCmekSettingsCall
- func (c *V2UpdateCmekSettingsCall) Context(ctx context.Context) *V2UpdateCmekSettingsCall
- func (c *V2UpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
- func (c *V2UpdateCmekSettingsCall) Fields(s ...googleapi.Field) *V2UpdateCmekSettingsCall
- func (c *V2UpdateCmekSettingsCall) Header() http.Header
- func (c *V2UpdateCmekSettingsCall) UpdateMask(updateMask string) *V2UpdateCmekSettingsCall
- type V2UpdateSettingsCall
- func (c *V2UpdateSettingsCall) Context(ctx context.Context) *V2UpdateSettingsCall
- func (c *V2UpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
- func (c *V2UpdateSettingsCall) Fields(s ...googleapi.Field) *V2UpdateSettingsCall
- func (c *V2UpdateSettingsCall) Header() http.Header
- func (c *V2UpdateSettingsCall) UpdateMask(updateMask string) *V2UpdateSettingsCall
- type WriteLogEntriesRequest
- type WriteLogEntriesResponse
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the email // address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View your data across Google Cloud services and see the email address of // your Google Account 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 AuditConfig ¶ added in v0.178.0
type AuditConfig struct { // AuditLogConfigs: The configuration for logging of each type of permission. AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"` // Service: Specifies a service that will be enabled for audit logging. For // example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a // special value that covers all services. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuditLogConfigs") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
func (AuditConfig) MarshalJSON ¶ added in v0.178.0
func (s AuditConfig) MarshalJSON() ([]byte, error)
type AuditLogConfig ¶ added in v0.178.0
type AuditLogConfig struct { // ExemptedMembers: Specifies the identities that do not cause logging for this // type of permission. Follows the same format of Binding.members. ExemptedMembers []string `json:"exemptedMembers,omitempty"` // LogType: The log type that this config enables. // // Possible values: // "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this. // "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy // "DATA_WRITE" - Data writes. Example: CloudSQL Users create // "DATA_READ" - Data reads. Example: CloudSQL Users list LogType string `json:"logType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExemptedMembers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExemptedMembers") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
AuditLogConfig: Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfig) MarshalJSON ¶ added in v0.178.0
func (s AuditLogConfig) MarshalJSON() ([]byte, error)
type BigQueryDataset ¶ added in v0.111.0
type BigQueryDataset struct { // DatasetId: Output only. The full resource name of the BigQuery dataset. The // DATASET_ID will match the ID of the link, so the link must match the naming // restrictions of BigQuery datasets (alphanumeric characters and underscores // only).The dataset will have a resource path of // "bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID" DatasetId string `json:"datasetId,omitempty"` // ForceSendFields is a list of field names (e.g. "DatasetId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatasetId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BigQueryDataset: Describes a BigQuery dataset that was created by a link.
func (BigQueryDataset) MarshalJSON ¶ added in v0.111.0
func (s BigQueryDataset) MarshalJSON() ([]byte, error)
type BigQueryOptions ¶ added in v0.11.0
type BigQueryOptions struct { // UsePartitionedTables: Optional. Whether to use BigQuery's partition tables // (https://cloud.google.com/bigquery/docs/partitioned-tables). By default, // Cloud 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 ingress-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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BigQueryOptions: Options that change functionality of a sink exporting data to BigQuery.
func (BigQueryOptions) MarshalJSON ¶ added in v0.11.0
func (s BigQueryOptions) MarshalJSON() ([]byte, error)
type BillingAccountsExclusionsCreateCall ¶
type BillingAccountsExclusionsCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsExclusionsCreateCall) Context ¶
func (c *BillingAccountsExclusionsCreateCall) Context(ctx context.Context) *BillingAccountsExclusionsCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsExclusionsCreateCall) Do ¶
func (c *BillingAccountsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.billingAccounts.exclusions.create" call. 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 ¶
func (c *BillingAccountsExclusionsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsExclusionsCreateCall) Header ¶
func (c *BillingAccountsExclusionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsExclusionsDeleteCall ¶
type BillingAccountsExclusionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsExclusionsDeleteCall) Context ¶
func (c *BillingAccountsExclusionsDeleteCall) Context(ctx context.Context) *BillingAccountsExclusionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsExclusionsDeleteCall) Do ¶
func (c *BillingAccountsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.exclusions.delete" call. 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 ¶
func (c *BillingAccountsExclusionsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsExclusionsDeleteCall) Header ¶
func (c *BillingAccountsExclusionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsExclusionsGetCall ¶
type BillingAccountsExclusionsGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsExclusionsGetCall) Context ¶
func (c *BillingAccountsExclusionsGetCall) Context(ctx context.Context) *BillingAccountsExclusionsGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsExclusionsGetCall) Do ¶
func (c *BillingAccountsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.billingAccounts.exclusions.get" call. 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 ¶
func (c *BillingAccountsExclusionsGetCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsExclusionsGetCall) Header ¶
func (c *BillingAccountsExclusionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsExclusionsGetCall) IfNoneMatch ¶
func (c *BillingAccountsExclusionsGetCall) IfNoneMatch(entityTag string) *BillingAccountsExclusionsGetCall
IfNoneMatch sets an 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.
type BillingAccountsExclusionsListCall ¶
type BillingAccountsExclusionsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsExclusionsListCall) Context ¶
func (c *BillingAccountsExclusionsListCall) Context(ctx context.Context) *BillingAccountsExclusionsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsExclusionsListCall) Do ¶
func (c *BillingAccountsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
Do executes the "logging.billingAccounts.exclusions.list" call. 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 ¶
func (c *BillingAccountsExclusionsListCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsExclusionsListCall) Header ¶
func (c *BillingAccountsExclusionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsExclusionsListCall) IfNoneMatch ¶
func (c *BillingAccountsExclusionsListCall) IfNoneMatch(entityTag string) *BillingAccountsExclusionsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsExclusionsListCall) PageSize ¶
func (c *BillingAccountsExclusionsListCall) PageSize(pageSize int64) *BillingAccountsExclusionsListCall
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 ¶
func (c *BillingAccountsExclusionsListCall) PageToken(pageToken string) *BillingAccountsExclusionsListCall
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 ¶
func (c *BillingAccountsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
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 ¶
func (c *BillingAccountsExclusionsPatchCall) Context(ctx context.Context) *BillingAccountsExclusionsPatchCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsExclusionsPatchCall) Do ¶
func (c *BillingAccountsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.billingAccounts.exclusions.patch" call. 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 ¶
func (c *BillingAccountsExclusionsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsExclusionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsExclusionsPatchCall) Header ¶
func (c *BillingAccountsExclusionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsExclusionsPatchCall) UpdateMask ¶
func (c *BillingAccountsExclusionsPatchCall) UpdateMask(updateMask string) *BillingAccountsExclusionsPatchCall
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 ¶
func (r *BillingAccountsExclusionsService) Create(parent string, logexclusion *LogExclusion) *BillingAccountsExclusionsCreateCall
Create: Creates a new exclusion in the _Default sink 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.
- parent: The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789".
func (*BillingAccountsExclusionsService) Delete ¶
func (r *BillingAccountsExclusionsService) Delete(name string) *BillingAccountsExclusionsDeleteCall
Delete: Deletes an exclusion in the _Default sink.
- name: The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*BillingAccountsExclusionsService) Get ¶
func (r *BillingAccountsExclusionsService) Get(name string) *BillingAccountsExclusionsGetCall
Get: Gets the description of an exclusion in the _Default sink.
- name: The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*BillingAccountsExclusionsService) List ¶
func (r *BillingAccountsExclusionsService) List(parent string) *BillingAccountsExclusionsListCall
List: Lists all the exclusions on the _Default sink in a parent resource.
- parent: The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*BillingAccountsExclusionsService) Patch ¶
func (r *BillingAccountsExclusionsService) Patch(name string, logexclusion *LogExclusion) *BillingAccountsExclusionsPatchCall
Patch: Changes one or more properties of an existing exclusion in the _Default sink.
- name: The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
type BillingAccountsGetCmekSettingsCall ¶ added in v0.61.0
type BillingAccountsGetCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsGetCmekSettingsCall) Context ¶ added in v0.61.0
func (c *BillingAccountsGetCmekSettingsCall) Context(ctx context.Context) *BillingAccountsGetCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsGetCmekSettingsCall) Do ¶ added in v0.61.0
func (c *BillingAccountsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.billingAccounts.getCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*BillingAccountsGetCmekSettingsCall) Fields ¶ added in v0.61.0
func (c *BillingAccountsGetCmekSettingsCall) Fields(s ...googleapi.Field) *BillingAccountsGetCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsGetCmekSettingsCall) Header ¶ added in v0.61.0
func (c *BillingAccountsGetCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsGetCmekSettingsCall) IfNoneMatch ¶ added in v0.61.0
func (c *BillingAccountsGetCmekSettingsCall) IfNoneMatch(entityTag string) *BillingAccountsGetCmekSettingsCall
IfNoneMatch sets an 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.
type BillingAccountsGetSettingsCall ¶ added in v0.67.0
type BillingAccountsGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsGetSettingsCall) Context ¶ added in v0.67.0
func (c *BillingAccountsGetSettingsCall) Context(ctx context.Context) *BillingAccountsGetSettingsCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsGetSettingsCall) Do ¶ added in v0.67.0
func (c *BillingAccountsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.billingAccounts.getSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*BillingAccountsGetSettingsCall) Fields ¶ added in v0.67.0
func (c *BillingAccountsGetSettingsCall) Fields(s ...googleapi.Field) *BillingAccountsGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsGetSettingsCall) Header ¶ added in v0.67.0
func (c *BillingAccountsGetSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsGetSettingsCall) IfNoneMatch ¶ added in v0.67.0
func (c *BillingAccountsGetSettingsCall) IfNoneMatch(entityTag string) *BillingAccountsGetSettingsCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsBucketsCreateAsyncCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsCreateAsyncCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsCreateAsyncCall) BucketId ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *BillingAccountsLocationsBucketsCreateAsyncCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*BillingAccountsLocationsBucketsCreateAsyncCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsCreateAsyncCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsCreateAsyncCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.billingAccounts.locations.buckets.createAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*BillingAccountsLocationsBucketsCreateAsyncCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsCreateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsCreateAsyncCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsCreateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsCreateCall ¶ added in v0.31.0
type BillingAccountsLocationsBucketsCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsCreateCall) BucketId ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsCreateCall) BucketId(bucketId string) *BillingAccountsLocationsBucketsCreateCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*BillingAccountsLocationsBucketsCreateCall) Context ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsCreateCall) Do ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.billingAccounts.locations.buckets.create" call. Any non-2xx status code is an error. Response headers are in either *LogBucket.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsCreateCall) Fields ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsCreateCall) Header ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsDeleteCall ¶ added in v0.31.0
type BillingAccountsLocationsBucketsDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsDeleteCall) Context ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsDeleteCall) Do ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.locations.buckets.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsDeleteCall) Fields ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsDeleteCall) Header ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsGetCall ¶ added in v0.87.0
type BillingAccountsLocationsBucketsGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsGetCall) Context ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsGetCall) Do ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.billingAccounts.locations.buckets.get" call. 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 (*BillingAccountsLocationsBucketsGetCall) Fields ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsGetCall) Header ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsGetCall) IfNoneMatch ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsBucketsLinksCreateCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsLinksCreateCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsLinksCreateCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.billingAccounts.locations.buckets.links.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*BillingAccountsLocationsBucketsLinksCreateCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsLinksCreateCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsLinksCreateCall) LinkId ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksCreateCall) LinkId(linkId string) *BillingAccountsLocationsBucketsLinksCreateCall
LinkId sets the optional parameter "linkId": Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
type BillingAccountsLocationsBucketsLinksDeleteCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsLinksDeleteCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsLinksDeleteCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.billingAccounts.locations.buckets.links.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*BillingAccountsLocationsBucketsLinksDeleteCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsLinksDeleteCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsLinksGetCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsLinksGetCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsLinksGetCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
Do executes the "logging.billingAccounts.locations.buckets.links.get" call. Any non-2xx status code is an error. Response headers are in either *Link.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 (*BillingAccountsLocationsBucketsLinksGetCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsLinksGetCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsLinksGetCall) IfNoneMatch ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsLinksGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsBucketsLinksListCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsLinksListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsLinksListCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsLinksListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsLinksListCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
Do executes the "logging.billingAccounts.locations.buckets.links.list" call. Any non-2xx status code is an error. Response headers are in either *ListLinksResponse.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 (*BillingAccountsLocationsBucketsLinksListCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsLinksListCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsLinksListCall) IfNoneMatch ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsLinksListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsBucketsLinksListCall) PageSize ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.
func (*BillingAccountsLocationsBucketsLinksListCall) PageToken ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsLinksListCall
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.
func (*BillingAccountsLocationsBucketsLinksListCall) Pages ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
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 BillingAccountsLocationsBucketsLinksService ¶ added in v0.111.0
type BillingAccountsLocationsBucketsLinksService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLocationsBucketsLinksService ¶ added in v0.111.0
func NewBillingAccountsLocationsBucketsLinksService(s *Service) *BillingAccountsLocationsBucketsLinksService
func (*BillingAccountsLocationsBucketsLinksService) Create ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsLinksService) Create(parent string, link *Link) *BillingAccountsLocationsBucketsLinksCreateCall
Create: Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
- parent: The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*BillingAccountsLocationsBucketsLinksService) Delete ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsLinksService) Delete(name string) *BillingAccountsLocationsBucketsLinksDeleteCall
Delete: Deletes a link. This will also delete the corresponding BigQuery linked dataset.
- name: The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*BillingAccountsLocationsBucketsLinksService) Get ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsLinksService) Get(name string) *BillingAccountsLocationsBucketsLinksGetCall
Get: Gets a link.
- name: The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*BillingAccountsLocationsBucketsLinksService) List ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsLinksService) List(parent string) *BillingAccountsLocationsBucketsLinksListCall
List: Lists links.
- parent: The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
type BillingAccountsLocationsBucketsListCall ¶ added in v0.18.0
type BillingAccountsLocationsBucketsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsListCall) Context ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsListCall) Do ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
Do executes the "logging.billingAccounts.locations.buckets.list" call. 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 ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsListCall) Header ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsBucketsListCall) PageSize ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsListCall
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 ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsListCall
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 ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
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 ¶ added in v0.18.0
type BillingAccountsLocationsBucketsPatchCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsPatchCall) Context ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsPatchCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsPatchCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsPatchCall) Do ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.billingAccounts.locations.buckets.patch" call. 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 ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsPatchCall) Header ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *BillingAccountsLocationsBucketsPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsPatchCall
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.FieldMaskFor example: updateMask=retention_days
type BillingAccountsLocationsBucketsService ¶ added in v0.18.0
type BillingAccountsLocationsBucketsService struct { Links *BillingAccountsLocationsBucketsLinksService Views *BillingAccountsLocationsBucketsViewsService // contains filtered or unexported fields }
func NewBillingAccountsLocationsBucketsService ¶ added in v0.18.0
func NewBillingAccountsLocationsBucketsService(s *Service) *BillingAccountsLocationsBucketsService
func (*BillingAccountsLocationsBucketsService) Create ¶ added in v0.31.0
func (r *BillingAccountsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *BillingAccountsLocationsBucketsCreateCall
Create: Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*BillingAccountsLocationsBucketsService) CreateAsync ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *BillingAccountsLocationsBucketsCreateAsyncCall
CreateAsync: Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*BillingAccountsLocationsBucketsService) Delete ¶ added in v0.31.0
func (r *BillingAccountsLocationsBucketsService) Delete(name string) *BillingAccountsLocationsBucketsDeleteCall
Delete: Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.
- name: The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*BillingAccountsLocationsBucketsService) Get ¶ added in v0.87.0
func (r *BillingAccountsLocationsBucketsService) Get(name string) *BillingAccountsLocationsBucketsGetCall
Get: Gets a log bucket.
- name: The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*BillingAccountsLocationsBucketsService) List ¶ added in v0.18.0
func (r *BillingAccountsLocationsBucketsService) List(parent string) *BillingAccountsLocationsBucketsListCall
List: Lists log buckets.
- parent: The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
func (*BillingAccountsLocationsBucketsService) Patch ¶ added in v0.18.0
func (r *BillingAccountsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *BillingAccountsLocationsBucketsPatchCall
Patch: Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*BillingAccountsLocationsBucketsService) Undelete ¶ added in v0.31.0
func (r *BillingAccountsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *BillingAccountsLocationsBucketsUndeleteCall
Undelete: Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
- name: The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*BillingAccountsLocationsBucketsService) UpdateAsync ¶ added in v0.111.0
func (r *BillingAccountsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *BillingAccountsLocationsBucketsUpdateAsyncCall
UpdateAsync: Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
type BillingAccountsLocationsBucketsUndeleteCall ¶ added in v0.31.0
type BillingAccountsLocationsBucketsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsUndeleteCall) Context ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsUndeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsUndeleteCall) Do ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.locations.buckets.undelete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsUndeleteCall) Fields ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsUndeleteCall) Header ¶ added in v0.31.0
func (c *BillingAccountsLocationsBucketsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsUpdateAsyncCall ¶ added in v0.111.0
type BillingAccountsLocationsBucketsUpdateAsyncCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsUpdateAsyncCall) Context ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsUpdateAsyncCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsUpdateAsyncCall) Do ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.billingAccounts.locations.buckets.updateAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*BillingAccountsLocationsBucketsUpdateAsyncCall) Fields ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsUpdateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsUpdateAsyncCall) Header ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsUpdateAsyncCall) UpdateMask ¶ added in v0.111.0
func (c *BillingAccountsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsUpdateAsyncCall
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.FieldMaskFor example: updateMask=retention_days
type BillingAccountsLocationsBucketsViewsCreateCall ¶ added in v0.34.0
type BillingAccountsLocationsBucketsViewsCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsCreateCall) Context ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsCreateCall) Do ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.billingAccounts.locations.buckets.views.create" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsViewsCreateCall) Fields ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsCreateCall) Header ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsViewsCreateCall) ViewId ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsCreateCall) ViewId(viewId string) *BillingAccountsLocationsBucketsViewsCreateCall
ViewId sets the optional parameter "viewId": Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
type BillingAccountsLocationsBucketsViewsDeleteCall ¶ added in v0.34.0
type BillingAccountsLocationsBucketsViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsDeleteCall) Context ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsDeleteCall) Do ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.locations.buckets.views.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsViewsDeleteCall) Fields ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsDeleteCall) Header ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsBucketsViewsGetCall ¶ added in v0.87.0
type BillingAccountsLocationsBucketsViewsGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsGetCall) Context ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsViewsGetCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsGetCall) Do ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.billingAccounts.locations.buckets.views.get" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsViewsGetCall) Fields ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsGetCall) Header ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsViewsGetCall) IfNoneMatch ¶ added in v0.87.0
func (c *BillingAccountsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsBucketsViewsListCall ¶ added in v0.34.0
type BillingAccountsLocationsBucketsViewsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsListCall) Context ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsListCall) Do ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
Do executes the "logging.billingAccounts.locations.buckets.views.list" call. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsViewsListCall) Fields ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsListCall) Header ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsViewsListCall) IfNoneMatch ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsBucketsViewsListCall) PageSize ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsViewsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available.
func (*BillingAccountsLocationsBucketsViewsListCall) PageToken ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsViewsListCall
PageToken sets the optional parameter "pageToken": If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call.
func (*BillingAccountsLocationsBucketsViewsListCall) Pages ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
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 BillingAccountsLocationsBucketsViewsLogsListCall ¶ added in v0.75.0
type BillingAccountsLocationsBucketsViewsLogsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsLogsListCall) Context ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsLogsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsLogsListCall) Do ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.billingAccounts.locations.buckets.views.logs.list" call. 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 (*BillingAccountsLocationsBucketsViewsLogsListCall) Fields ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsLogsListCall) Header ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsViewsLogsListCall) IfNoneMatch ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsBucketsViewsLogsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsBucketsViewsLogsListCall) PageSize ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *BillingAccountsLocationsBucketsViewsLogsListCall
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 (*BillingAccountsLocationsBucketsViewsLogsListCall) PageToken ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *BillingAccountsLocationsBucketsViewsLogsListCall
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 (*BillingAccountsLocationsBucketsViewsLogsListCall) Pages ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*BillingAccountsLocationsBucketsViewsLogsListCall) ResourceNames ¶ added in v0.75.0
func (c *BillingAccountsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *BillingAccountsLocationsBucketsViewsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type BillingAccountsLocationsBucketsViewsLogsService ¶ added in v0.75.0
type BillingAccountsLocationsBucketsViewsLogsService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLocationsBucketsViewsLogsService ¶ added in v0.75.0
func NewBillingAccountsLocationsBucketsViewsLogsService(s *Service) *BillingAccountsLocationsBucketsViewsLogsService
func (*BillingAccountsLocationsBucketsViewsLogsService) List ¶ added in v0.75.0
func (r *BillingAccountsLocationsBucketsViewsLogsService) List(parent string) *BillingAccountsLocationsBucketsViewsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type BillingAccountsLocationsBucketsViewsPatchCall ¶ added in v0.34.0
type BillingAccountsLocationsBucketsViewsPatchCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsBucketsViewsPatchCall) Context ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *BillingAccountsLocationsBucketsViewsPatchCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsBucketsViewsPatchCall) Do ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.billingAccounts.locations.buckets.views.patch" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsBucketsViewsPatchCall) Fields ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsBucketsViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsBucketsViewsPatchCall) Header ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsBucketsViewsPatchCall) UpdateMask ¶ added in v0.34.0
func (c *BillingAccountsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsBucketsViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
type BillingAccountsLocationsBucketsViewsService ¶ added in v0.34.0
type BillingAccountsLocationsBucketsViewsService struct { Logs *BillingAccountsLocationsBucketsViewsLogsService // contains filtered or unexported fields }
func NewBillingAccountsLocationsBucketsViewsService ¶ added in v0.34.0
func NewBillingAccountsLocationsBucketsViewsService(s *Service) *BillingAccountsLocationsBucketsViewsService
func (*BillingAccountsLocationsBucketsViewsService) Create ¶ added in v0.34.0
func (r *BillingAccountsLocationsBucketsViewsService) Create(parent string, logview *LogView) *BillingAccountsLocationsBucketsViewsCreateCall
Create: Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
- parent: The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*BillingAccountsLocationsBucketsViewsService) Delete ¶ added in v0.34.0
func (r *BillingAccountsLocationsBucketsViewsService) Delete(name string) *BillingAccountsLocationsBucketsViewsDeleteCall
Delete: Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*BillingAccountsLocationsBucketsViewsService) Get ¶ added in v0.87.0
func (r *BillingAccountsLocationsBucketsViewsService) Get(name string) *BillingAccountsLocationsBucketsViewsGetCall
Get: Gets a view on a log bucket.
- name: The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*BillingAccountsLocationsBucketsViewsService) List ¶ added in v0.34.0
func (r *BillingAccountsLocationsBucketsViewsService) List(parent string) *BillingAccountsLocationsBucketsViewsListCall
List: Lists views on a log bucket.
- parent: The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*BillingAccountsLocationsBucketsViewsService) Patch ¶ added in v0.34.0
func (r *BillingAccountsLocationsBucketsViewsService) Patch(name string, logview *LogView) *BillingAccountsLocationsBucketsViewsPatchCall
Patch: Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
type BillingAccountsLocationsGetCall ¶ added in v0.35.0
type BillingAccountsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsGetCall) Context ¶ added in v0.35.0
func (c *BillingAccountsLocationsGetCall) Context(ctx context.Context) *BillingAccountsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsGetCall) Do ¶ added in v0.35.0
func (c *BillingAccountsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "logging.billingAccounts.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsGetCall) Fields ¶ added in v0.35.0
func (c *BillingAccountsLocationsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsGetCall) Header ¶ added in v0.35.0
func (c *BillingAccountsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsGetCall) IfNoneMatch ¶ added in v0.35.0
func (c *BillingAccountsLocationsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsListCall ¶ added in v0.35.0
type BillingAccountsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsListCall) Context ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Context(ctx context.Context) *BillingAccountsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsListCall) Do ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "logging.billingAccounts.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*BillingAccountsLocationsListCall) Fields ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsListCall) Filter ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Filter(filter string) *BillingAccountsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*BillingAccountsLocationsListCall) Header ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsListCall) IfNoneMatch ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsListCall) PageSize ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) PageSize(pageSize int64) *BillingAccountsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*BillingAccountsLocationsListCall) PageToken ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) PageToken(pageToken string) *BillingAccountsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
func (*BillingAccountsLocationsListCall) Pages ¶ added in v0.35.0
func (c *BillingAccountsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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 BillingAccountsLocationsOperationsCancelCall ¶ added in v0.51.0
type BillingAccountsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsOperationsCancelCall) Context ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsCancelCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsOperationsCancelCall) Do ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.locations.operations.cancel" call. 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 (*BillingAccountsLocationsOperationsCancelCall) Fields ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsOperationsCancelCall) Header ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsOperationsGetCall ¶ added in v0.87.0
type BillingAccountsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsOperationsGetCall) Context ¶ added in v0.87.0
func (c *BillingAccountsLocationsOperationsGetCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsOperationsGetCall) Do ¶ added in v0.87.0
func (c *BillingAccountsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.billingAccounts.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*BillingAccountsLocationsOperationsGetCall) Fields ¶ added in v0.87.0
func (c *BillingAccountsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsOperationsGetCall) Header ¶ added in v0.87.0
func (c *BillingAccountsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsOperationsGetCall) IfNoneMatch ¶ added in v0.87.0
func (c *BillingAccountsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsOperationsGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsOperationsListCall ¶ added in v0.51.0
type BillingAccountsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsOperationsListCall) Context ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Context(ctx context.Context) *BillingAccountsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsOperationsListCall) Do ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "logging.billingAccounts.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*BillingAccountsLocationsOperationsListCall) Fields ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsOperationsListCall) Filter ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Filter(filter string) *BillingAccountsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*BillingAccountsLocationsOperationsListCall) Header ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsOperationsListCall) IfNoneMatch ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsOperationsListCall) PageSize ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) PageSize(pageSize int64) *BillingAccountsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*BillingAccountsLocationsOperationsListCall) PageToken ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) PageToken(pageToken string) *BillingAccountsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*BillingAccountsLocationsOperationsListCall) Pages ¶ added in v0.51.0
func (c *BillingAccountsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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 BillingAccountsLocationsOperationsService ¶ added in v0.51.0
type BillingAccountsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLocationsOperationsService ¶ added in v0.51.0
func NewBillingAccountsLocationsOperationsService(s *Service) *BillingAccountsLocationsOperationsService
func (*BillingAccountsLocationsOperationsService) Cancel ¶ added in v0.51.0
func (r *BillingAccountsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *BillingAccountsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*BillingAccountsLocationsOperationsService) Get ¶ added in v0.87.0
func (r *BillingAccountsLocationsOperationsService) Get(name string) *BillingAccountsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*BillingAccountsLocationsOperationsService) List ¶ added in v0.51.0
func (r *BillingAccountsLocationsOperationsService) List(name string) *BillingAccountsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
type BillingAccountsLocationsRecentQueriesListCall ¶ added in v0.152.0
type BillingAccountsLocationsRecentQueriesListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsRecentQueriesListCall) Context ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Context(ctx context.Context) *BillingAccountsLocationsRecentQueriesListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsRecentQueriesListCall) Do ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
Do executes the "logging.billingAccounts.locations.recentQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListRecentQueriesResponse.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 (*BillingAccountsLocationsRecentQueriesListCall) Fields ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsRecentQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsRecentQueriesListCall) Filter ¶ added in v0.187.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Filter(filter string) *BillingAccountsLocationsRecentQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics")
func (*BillingAccountsLocationsRecentQueriesListCall) Header ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsRecentQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsRecentQueriesListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsRecentQueriesListCall) PageSize ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) PageSize(pageSize int64) *BillingAccountsLocationsRecentQueriesListCall
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 (*BillingAccountsLocationsRecentQueriesListCall) PageToken ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) PageToken(pageToken string) *BillingAccountsLocationsRecentQueriesListCall
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 (*BillingAccountsLocationsRecentQueriesListCall) Pages ¶ added in v0.152.0
func (c *BillingAccountsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
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 BillingAccountsLocationsRecentQueriesService ¶ added in v0.152.0
type BillingAccountsLocationsRecentQueriesService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLocationsRecentQueriesService ¶ added in v0.152.0
func NewBillingAccountsLocationsRecentQueriesService(s *Service) *BillingAccountsLocationsRecentQueriesService
func (*BillingAccountsLocationsRecentQueriesService) List ¶ added in v0.152.0
func (r *BillingAccountsLocationsRecentQueriesService) List(parent string) *BillingAccountsLocationsRecentQueriesListCall
List: Lists the RecentQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.
type BillingAccountsLocationsSavedQueriesCreateCall ¶ added in v0.152.0
type BillingAccountsLocationsSavedQueriesCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsSavedQueriesCreateCall) Context ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsSavedQueriesCreateCall) Do ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.billingAccounts.locations.savedQueries.create" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*BillingAccountsLocationsSavedQueriesCreateCall) Fields ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsSavedQueriesCreateCall) Header ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsSavedQueriesCreateCall) SavedQueryId ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *BillingAccountsLocationsSavedQueriesCreateCall
SavedQueryId sets the optional parameter "savedQueryId": The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.
type BillingAccountsLocationsSavedQueriesDeleteCall ¶ added in v0.152.0
type BillingAccountsLocationsSavedQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsSavedQueriesDeleteCall) Context ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsSavedQueriesDeleteCall) Do ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.locations.savedQueries.delete" call. 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 (*BillingAccountsLocationsSavedQueriesDeleteCall) Fields ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsSavedQueriesDeleteCall) Header ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLocationsSavedQueriesGetCall ¶ added in v0.187.0
type BillingAccountsLocationsSavedQueriesGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsSavedQueriesGetCall) Context ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesGetCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsSavedQueriesGetCall) Do ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.billingAccounts.locations.savedQueries.get" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*BillingAccountsLocationsSavedQueriesGetCall) Fields ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsSavedQueriesGetCall) Header ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsSavedQueriesGetCall) IfNoneMatch ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsSavedQueriesGetCall
IfNoneMatch sets an 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.
type BillingAccountsLocationsSavedQueriesListCall ¶ added in v0.152.0
type BillingAccountsLocationsSavedQueriesListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsSavedQueriesListCall) Context ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsSavedQueriesListCall) Do ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
Do executes the "logging.billingAccounts.locations.savedQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListSavedQueriesResponse.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 (*BillingAccountsLocationsSavedQueriesListCall) Fields ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsSavedQueriesListCall) Filter ¶ added in v0.189.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Filter(filter string) *BillingAccountsLocationsSavedQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED
func (*BillingAccountsLocationsSavedQueriesListCall) Header ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsSavedQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *BillingAccountsLocationsSavedQueriesListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLocationsSavedQueriesListCall) PageSize ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) PageSize(pageSize int64) *BillingAccountsLocationsSavedQueriesListCall
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 (*BillingAccountsLocationsSavedQueriesListCall) PageToken ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) PageToken(pageToken string) *BillingAccountsLocationsSavedQueriesListCall
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 (*BillingAccountsLocationsSavedQueriesListCall) Pages ¶ added in v0.152.0
func (c *BillingAccountsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
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 BillingAccountsLocationsSavedQueriesPatchCall ¶ added in v0.187.0
type BillingAccountsLocationsSavedQueriesPatchCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLocationsSavedQueriesPatchCall) Context ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *BillingAccountsLocationsSavedQueriesPatchCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLocationsSavedQueriesPatchCall) Do ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.billingAccounts.locations.savedQueries.patch" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*BillingAccountsLocationsSavedQueriesPatchCall) Fields ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *BillingAccountsLocationsSavedQueriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLocationsSavedQueriesPatchCall) Header ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLocationsSavedQueriesPatchCall) UpdateMask ¶ added in v0.187.0
func (c *BillingAccountsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *BillingAccountsLocationsSavedQueriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter".
type BillingAccountsLocationsSavedQueriesService ¶ added in v0.152.0
type BillingAccountsLocationsSavedQueriesService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLocationsSavedQueriesService ¶ added in v0.152.0
func NewBillingAccountsLocationsSavedQueriesService(s *Service) *BillingAccountsLocationsSavedQueriesService
func (*BillingAccountsLocationsSavedQueriesService) Create ¶ added in v0.152.0
func (r *BillingAccountsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *BillingAccountsLocationsSavedQueriesCreateCall
Create: Creates a new SavedQuery for the user making the request.
- parent: The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1".
func (*BillingAccountsLocationsSavedQueriesService) Delete ¶ added in v0.152.0
func (r *BillingAccountsLocationsSavedQueriesService) Delete(name string) *BillingAccountsLocationsSavedQueriesDeleteCall
Delete: Deletes an existing SavedQuery that was created by the user making the request.
- name: The full resource name of the saved query to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*BillingAccountsLocationsSavedQueriesService) Get ¶ added in v0.187.0
func (r *BillingAccountsLocationsSavedQueriesService) Get(name string) *BillingAccountsLocationsSavedQueriesGetCall
Get: Returns all data associated with the requested query.
- name: The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*BillingAccountsLocationsSavedQueriesService) List ¶ added in v0.152.0
func (r *BillingAccountsLocationsSavedQueriesService) List(parent string) *BillingAccountsLocationsSavedQueriesListCall
List: Lists the SavedQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/us-central1" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: "projects/my-project/locations/-".
func (*BillingAccountsLocationsSavedQueriesService) Patch ¶ added in v0.187.0
func (r *BillingAccountsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *BillingAccountsLocationsSavedQueriesPatchCall
Patch: Updates an existing SavedQuery.
- name: Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.
type BillingAccountsLocationsService ¶ added in v0.18.0
type BillingAccountsLocationsService struct { Buckets *BillingAccountsLocationsBucketsService Operations *BillingAccountsLocationsOperationsService RecentQueries *BillingAccountsLocationsRecentQueriesService SavedQueries *BillingAccountsLocationsSavedQueriesService // contains filtered or unexported fields }
func NewBillingAccountsLocationsService ¶ added in v0.18.0
func NewBillingAccountsLocationsService(s *Service) *BillingAccountsLocationsService
func (*BillingAccountsLocationsService) Get ¶ added in v0.35.0
func (r *BillingAccountsLocationsService) Get(name string) *BillingAccountsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*BillingAccountsLocationsService) List ¶ added in v0.35.0
func (r *BillingAccountsLocationsService) List(name string) *BillingAccountsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type BillingAccountsLogsDeleteCall ¶
type BillingAccountsLogsDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLogsDeleteCall) Context ¶
func (c *BillingAccountsLogsDeleteCall) Context(ctx context.Context) *BillingAccountsLogsDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLogsDeleteCall) Do ¶
func (c *BillingAccountsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.logs.delete" call. 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 ¶
func (c *BillingAccountsLogsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsLogsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLogsDeleteCall) Header ¶
func (c *BillingAccountsLogsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsLogsListCall ¶
type BillingAccountsLogsListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsLogsListCall) Context ¶
func (c *BillingAccountsLogsListCall) Context(ctx context.Context) *BillingAccountsLogsListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsLogsListCall) Do ¶
func (c *BillingAccountsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.billingAccounts.logs.list" call. 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 ¶
func (c *BillingAccountsLogsListCall) Fields(s ...googleapi.Field) *BillingAccountsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsLogsListCall) Header ¶
func (c *BillingAccountsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsLogsListCall) IfNoneMatch ¶
func (c *BillingAccountsLogsListCall) IfNoneMatch(entityTag string) *BillingAccountsLogsListCall
IfNoneMatch sets an 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.
func (*BillingAccountsLogsListCall) PageSize ¶
func (c *BillingAccountsLogsListCall) PageSize(pageSize int64) *BillingAccountsLogsListCall
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 ¶
func (c *BillingAccountsLogsListCall) PageToken(pageToken string) *BillingAccountsLogsListCall
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 ¶
func (c *BillingAccountsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*BillingAccountsLogsListCall) ResourceNames ¶ added in v0.35.0
func (c *BillingAccountsLogsListCall) ResourceNames(resourceNames ...string) *BillingAccountsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type BillingAccountsLogsService ¶
type BillingAccountsLogsService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsLogsService ¶
func NewBillingAccountsLogsService(s *Service) *BillingAccountsLogsService
func (*BillingAccountsLogsService) Delete ¶
func (r *BillingAccountsLogsService) Delete(logName string) *BillingAccountsLogsDeleteCall
Delete: Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
- logName: The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
func (*BillingAccountsLogsService) List ¶
func (r *BillingAccountsLogsService) List(parent string) *BillingAccountsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type BillingAccountsService ¶
type BillingAccountsService struct { Exclusions *BillingAccountsExclusionsService Locations *BillingAccountsLocationsService Logs *BillingAccountsLogsService Sinks *BillingAccountsSinksService // contains filtered or unexported fields }
func NewBillingAccountsService ¶
func NewBillingAccountsService(s *Service) *BillingAccountsService
func (*BillingAccountsService) GetCmekSettings ¶ added in v0.61.0
func (r *BillingAccountsService) GetCmekSettings(name string) *BillingAccountsGetCmekSettingsCall
GetCmekSettings: Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
func (*BillingAccountsService) GetSettings ¶ added in v0.67.0
func (r *BillingAccountsService) GetSettings(name string) *BillingAccountsGetSettingsCall
GetSettings: Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
- name: The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.
type BillingAccountsSinksCreateCall ¶
type BillingAccountsSinksCreateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsSinksCreateCall) Context ¶
func (c *BillingAccountsSinksCreateCall) Context(ctx context.Context) *BillingAccountsSinksCreateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksCreateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *BillingAccountsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksCreateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*BillingAccountsSinksCreateCall) Do ¶
func (c *BillingAccountsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.billingAccounts.sinks.create" call. 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 ¶
func (c *BillingAccountsSinksCreateCall) Fields(s ...googleapi.Field) *BillingAccountsSinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksCreateCall) Header ¶
func (c *BillingAccountsSinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 Cloud 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
type BillingAccountsSinksDeleteCall ¶
type BillingAccountsSinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsSinksDeleteCall) Context ¶
func (c *BillingAccountsSinksDeleteCall) Context(ctx context.Context) *BillingAccountsSinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksDeleteCall) Do ¶
func (c *BillingAccountsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.billingAccounts.sinks.delete" call. 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 ¶
func (c *BillingAccountsSinksDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsSinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksDeleteCall) Header ¶
func (c *BillingAccountsSinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type BillingAccountsSinksGetCall ¶
type BillingAccountsSinksGetCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsSinksGetCall) Context ¶
func (c *BillingAccountsSinksGetCall) Context(ctx context.Context) *BillingAccountsSinksGetCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksGetCall) Do ¶
func (c *BillingAccountsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.billingAccounts.sinks.get" call. 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 ¶
func (c *BillingAccountsSinksGetCall) Fields(s ...googleapi.Field) *BillingAccountsSinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksGetCall) Header ¶
func (c *BillingAccountsSinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsSinksGetCall) IfNoneMatch ¶
func (c *BillingAccountsSinksGetCall) IfNoneMatch(entityTag string) *BillingAccountsSinksGetCall
IfNoneMatch sets an 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.
type BillingAccountsSinksListCall ¶
type BillingAccountsSinksListCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsSinksListCall) Context ¶
func (c *BillingAccountsSinksListCall) Context(ctx context.Context) *BillingAccountsSinksListCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksListCall) Do ¶
func (c *BillingAccountsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
Do executes the "logging.billingAccounts.sinks.list" call. 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 ¶
func (c *BillingAccountsSinksListCall) Fields(s ...googleapi.Field) *BillingAccountsSinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksListCall) Filter ¶ added in v0.171.0
func (c *BillingAccountsSinksListCall) Filter(filter string) *BillingAccountsSinksListCall
Filter sets the optional parameter "filter": A filter expression to constrain the sinks returned. Today, this only supports the following strings: ” 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied.
func (*BillingAccountsSinksListCall) Header ¶
func (c *BillingAccountsSinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*BillingAccountsSinksListCall) IfNoneMatch ¶
func (c *BillingAccountsSinksListCall) IfNoneMatch(entityTag string) *BillingAccountsSinksListCall
IfNoneMatch sets an 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.
func (*BillingAccountsSinksListCall) PageSize ¶
func (c *BillingAccountsSinksListCall) PageSize(pageSize int64) *BillingAccountsSinksListCall
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 ¶
func (c *BillingAccountsSinksListCall) PageToken(pageToken string) *BillingAccountsSinksListCall
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 ¶
func (c *BillingAccountsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
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 ¶
func (c *BillingAccountsSinksPatchCall) Context(ctx context.Context) *BillingAccountsSinksPatchCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksPatchCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *BillingAccountsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksPatchCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*BillingAccountsSinksPatchCall) Do ¶
func (c *BillingAccountsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.billingAccounts.sinks.patch" call. 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 ¶
func (c *BillingAccountsSinksPatchCall) Fields(s ...googleapi.Field) *BillingAccountsSinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksPatchCall) Header ¶
func (c *BillingAccountsSinksPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. 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 ¶
func (c *BillingAccountsSinksPatchCall) UpdateMask(updateMask string) *BillingAccountsSinksPatchCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type BillingAccountsSinksService ¶
type BillingAccountsSinksService struct {
// contains filtered or unexported fields
}
func NewBillingAccountsSinksService ¶
func NewBillingAccountsSinksService(s *Service) *BillingAccountsSinksService
func (*BillingAccountsSinksService) Create ¶
func (r *BillingAccountsSinksService) Create(parent string, logsink *LogSink) *BillingAccountsSinksCreateCall
Create: Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
- parent: The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789".
func (*BillingAccountsSinksService) Delete ¶
func (r *BillingAccountsSinksService) Delete(sinkNameid string) *BillingAccountsSinksDeleteCall
Delete: Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
- sinkName: The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*BillingAccountsSinksService) Get ¶
func (r *BillingAccountsSinksService) Get(sinkName string) *BillingAccountsSinksGetCall
Get: Gets a sink.
- sinkName: The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*BillingAccountsSinksService) List ¶
func (r *BillingAccountsSinksService) List(parent string) *BillingAccountsSinksListCall
List: Lists sinks.
- parent: The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*BillingAccountsSinksService) Patch ¶
func (r *BillingAccountsSinksService) Patch(sinkNameid string, logsink *LogSink) *BillingAccountsSinksPatchCall
Patch: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*BillingAccountsSinksService) Update ¶
func (r *BillingAccountsSinksService) Update(sinkNameid string, logsink *LogSink) *BillingAccountsSinksUpdateCall
Update: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
type BillingAccountsSinksUpdateCall ¶
type BillingAccountsSinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*BillingAccountsSinksUpdateCall) Context ¶
func (c *BillingAccountsSinksUpdateCall) Context(ctx context.Context) *BillingAccountsSinksUpdateCall
Context sets the context to be used in this call's Do method.
func (*BillingAccountsSinksUpdateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *BillingAccountsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *BillingAccountsSinksUpdateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*BillingAccountsSinksUpdateCall) Do ¶
func (c *BillingAccountsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.billingAccounts.sinks.update" call. 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 ¶
func (c *BillingAccountsSinksUpdateCall) Fields(s ...googleapi.Field) *BillingAccountsSinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*BillingAccountsSinksUpdateCall) Header ¶
func (c *BillingAccountsSinksUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. 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 ¶
func (c *BillingAccountsSinksUpdateCall) UpdateMask(updateMask string) *BillingAccountsSinksUpdateCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type Binding ¶ added in v0.178.0
type Binding struct { // Condition: The condition that is associated with this binding.If the // condition evaluates to true, then this binding applies to the current // request.If the condition evaluates to false, then this binding does not // apply to the current request. However, a different role binding might grant // the same role to one or more of the principals in this binding.To learn // which resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` // Members: Specifies the principals requesting access for a Google Cloud // resource. members can have the following values: allUsers: A special // identifier that represents anyone who is on the internet; with or without a // Google account. allAuthenticatedUsers: A special identifier that represents // anyone who is authenticated with a Google account or a service account. Does // not include identities that come from external identity providers (IdPs) // through identity federation. user:{emailid}: An email address that // represents a specific Google account. For example, alice@example.com . // serviceAccount:{emailid}: An email address that represents a Google service // account. For example, my-other-app@appspot.gserviceaccount.com. // serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An // identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). // For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. // group:{emailid}: An email address that represents a Google group. For // example, admins@example.com. domain:{domain}: The G Suite domain (primary) // that represents all the users of that domain. For example, google.com or // example.com. // principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subj // ect/{subject_attribute_value}: A single identity in a workforce identity // pool. // principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/g // roup/{group_id}: All workforce identities in a group. // principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/a // ttribute.{attribute_name}/{attribute_value}: All workforce identities with a // specific attribute value. // principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/* // : All identities in a workforce identity pool. // principal://iam.googleapis.com/projects/{project_number}/locations/global/wor // kloadIdentityPools/{pool_id}/subject/{subject_attribute_value}: A single // identity in a workload identity pool. // principalSet://iam.googleapis.com/projects/{project_number}/locations/global/ // workloadIdentityPools/{pool_id}/group/{group_id}: A workload identity pool // group. // principalSet://iam.googleapis.com/projects/{project_number}/locations/global/ // workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}: // All identities in a workload identity pool with a certain attribute. // principalSet://iam.googleapis.com/projects/{project_number}/locations/global/ // workloadIdentityPools/{pool_id}/*: All identities in a workload identity // pool. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique // identifier) representing a user that has been recently deleted. For example, // alice@example.com?uid=123456789012345678901. If the user is recovered, this // value reverts to user:{emailid} and the recovered user retains the role in // the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email // address (plus unique identifier) representing a service account that has // been recently deleted. For example, // my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the // service account is undeleted, this value reverts to serviceAccount:{emailid} // and the undeleted service account retains the role in the binding. // deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique // identifier) representing a Google group that has been recently deleted. For // example, admins@example.com?uid=123456789012345678901. If the group is // recovered, this value reverts to group:{emailid} and the recovered group // retains the role in the binding. // deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_ // id}/subject/{subject_attribute_value}: Deleted single identity in a // workforce identity pool. For example, // deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-poo // l-id/subject/my-subject-attribute-value. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of members, or principals. For // example, roles/viewer, roles/editor, or roles/owner.For an overview of the // IAM roles and permissions, see the IAM documentation // (https://cloud.google.com/iam/docs/roles-overview). For a list of the // available pre-defined roles, see here // (https://cloud.google.com/iam/docs/understanding-roles). Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Binding: Associates members, or principals, with a role.
func (Binding) MarshalJSON ¶ added in v0.178.0
type BucketMetadata ¶ added in v0.111.0
type BucketMetadata struct { // CreateBucketRequest: LongRunningCreateBucket RPC request. CreateBucketRequest *CreateBucketRequest `json:"createBucketRequest,omitempty"` // EndTime: The end time of an operation. EndTime string `json:"endTime,omitempty"` // StartTime: The create time of an operation. StartTime string `json:"startTime,omitempty"` // State: Output only. State of an operation. // // Possible values: // "OPERATION_STATE_UNSPECIFIED" - Should not be used. // "OPERATION_STATE_SCHEDULED" - The operation is scheduled. // "OPERATION_STATE_WAITING_FOR_PERMISSIONS" - Waiting for necessary // permissions. // "OPERATION_STATE_RUNNING" - The operation is running. // "OPERATION_STATE_SUCCEEDED" - The operation was completed successfully. // "OPERATION_STATE_FAILED" - The operation failed. // "OPERATION_STATE_CANCELLED" - The operation was cancelled by the user. // "OPERATION_STATE_PENDING" - The operation is waiting for quota. State string `json:"state,omitempty"` // UpdateBucketRequest: LongRunningUpdateBucket RPC request. UpdateBucketRequest *UpdateBucketRequest `json:"updateBucketRequest,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateBucketRequest") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateBucketRequest") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
BucketMetadata: Metadata for LongRunningUpdateBucket Operations.
func (BucketMetadata) MarshalJSON ¶ added in v0.111.0
func (s BucketMetadata) MarshalJSON() ([]byte, error)
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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 CancelOperationRequest ¶ added in v0.51.0
type CancelOperationRequest struct { }
CancelOperationRequest: The request message for Operations.CancelOperation.
type CmekSettings ¶ added in v0.16.0
type CmekSettings struct { // KmsKeyName: Optional. 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/locations/us-central1/keyRings/my-ring/cryptoKey // s/my-key"To enable CMEK for the Log Router, set this field to a valid // kms_key_name for which the associated service account has the needed // cloudkms.cryptoKeyEncrypterDecrypter roles 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 or disabled by setting the key name to an empty // string. 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 Log Router, set // this field to an empty string.See Enabling CMEK for Log Router // (https://cloud.google.com/logging/docs/routing/managed-encryption) for more // information. KmsKeyName string `json:"kmsKeyName,omitempty"` // KmsKeyVersionName: Output only. The CryptoKeyVersion resource name for the // configured Cloud KMS key.KMS key name format: // "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KE // Y]/cryptoKeyVersions/[VERSION]" For // example:"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKey // s/my-key/cryptoKeyVersions/1"This is a read-only field used to convey the // specific configured CryptoKeyVersion of kms_key that has been configured. It // will be populated in cases where the CMEK settings are bound to a single key // version.If this field is populated, the kms_key is tied to a specific // CryptoKeyVersion. KmsKeyVersionName string `json:"kmsKeyVersionName,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 // Log Router to access your Cloud KMS key.Before enabling CMEK for Log Router, // you must first assign the cloudkms.cryptoKeyEncrypterDecrypter role to the // service account that the Log Router will use to access your Cloud KMS key. // Use GetCmekSettings to obtain the service account ID.See Enabling CMEK for // Log 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
func (CmekSettings) MarshalJSON ¶ added in v0.16.0
func (s CmekSettings) MarshalJSON() ([]byte, error)
type CopyLogEntriesMetadata ¶ added in v0.51.0
type CopyLogEntriesMetadata struct { // CancellationRequested: Identifies whether the user has requested // cancellation of the operation. CancellationRequested bool `json:"cancellationRequested,omitempty"` // Destination: Destination to which to copy log entries.For example, a Cloud // Storage bucket:"storage.googleapis.com/my-cloud-storage-bucket" Destination string `json:"destination,omitempty"` // EndTime: The end time of an operation. EndTime string `json:"endTime,omitempty"` // Progress: Estimated progress of the operation (0 - 100%). Progress int64 `json:"progress,omitempty"` // Request: CopyLogEntries RPC request. This field is deprecated and not used. Request *CopyLogEntriesRequest `json:"request,omitempty"` // Source: Source from which to copy log entries.For example, a log // bucket:"projects/my-project/locations/global/buckets/my-source-bucket" Source string `json:"source,omitempty"` // StartTime: The create time of an operation. StartTime string `json:"startTime,omitempty"` // State: Output only. State of an operation. // // Possible values: // "OPERATION_STATE_UNSPECIFIED" - Should not be used. // "OPERATION_STATE_SCHEDULED" - The operation is scheduled. // "OPERATION_STATE_WAITING_FOR_PERMISSIONS" - Waiting for necessary // permissions. // "OPERATION_STATE_RUNNING" - The operation is running. // "OPERATION_STATE_SUCCEEDED" - The operation was completed successfully. // "OPERATION_STATE_FAILED" - The operation failed. // "OPERATION_STATE_CANCELLED" - The operation was cancelled by the user. // "OPERATION_STATE_PENDING" - The operation is waiting for quota. State string `json:"state,omitempty"` // Verb: Name of the verb executed by the operation.For example,"copy" Verb string `json:"verb,omitempty"` // WriterIdentity: The IAM identity of a service account that must be granted // access to the destination.If the service account is not granted permission // to the destination within an hour, the operation will be cancelled.For // example: "serviceAccount:foo@bar.com" WriterIdentity string `json:"writerIdentity,omitempty"` // ForceSendFields is a list of field names (e.g. "CancellationRequested") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CancellationRequested") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CopyLogEntriesMetadata: Metadata for CopyLogEntries long running operations.
func (CopyLogEntriesMetadata) MarshalJSON ¶ added in v0.51.0
func (s CopyLogEntriesMetadata) MarshalJSON() ([]byte, error)
type CopyLogEntriesRequest ¶ added in v0.51.0
type CopyLogEntriesRequest struct { // Destination: Required. Destination to which to copy log entries. Destination string `json:"destination,omitempty"` // Filter: Optional. A filter specifying which log entries to copy. The filter // must be no more than 20k characters. An empty filter matches all log // entries. Filter string `json:"filter,omitempty"` // Name: Required. Log bucket from which to copy log entries.For // example:"projects/my-project/locations/global/buckets/my-source-bucket" Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Destination") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Destination") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CopyLogEntriesRequest: The parameters to CopyLogEntries.
func (CopyLogEntriesRequest) MarshalJSON ¶ added in v0.51.0
func (s CopyLogEntriesRequest) MarshalJSON() ([]byte, error)
type CopyLogEntriesResponse ¶ added in v0.51.0
type CopyLogEntriesResponse struct { // LogEntriesCopiedCount: Number of log entries copied. LogEntriesCopiedCount int64 `json:"logEntriesCopiedCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "LogEntriesCopiedCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LogEntriesCopiedCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CopyLogEntriesResponse: Response type for CopyLogEntries long running operations.
func (CopyLogEntriesResponse) MarshalJSON ¶ added in v0.51.0
func (s CopyLogEntriesResponse) MarshalJSON() ([]byte, error)
type CreateBucketRequest ¶ added in v0.111.0
type CreateBucketRequest struct { // Bucket: Required. The new bucket. The region specified in the new bucket // must be compliant with any Location Restriction Org Policy. The name field // in the bucket is ignored. Bucket *LogBucket `json:"bucket,omitempty"` // BucketId: Required. A client-assigned identifier such as "my-bucket". // Identifiers are limited to 100 characters and can include only letters, // digits, underscores, hyphens, and periods. Bucket identifiers must start // with an alphanumeric character. BucketId string `json:"bucketId,omitempty"` // Parent: Required. The resource in which to create the log bucket: // "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For // example:"projects/my-project/locations/global" Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bucket") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CreateBucketRequest: The parameters to CreateBucket.
func (CreateBucketRequest) MarshalJSON ¶ added in v0.111.0
func (s CreateBucketRequest) MarshalJSON() ([]byte, error)
type CreateLinkRequest ¶ added in v0.111.0
type CreateLinkRequest struct { // Link: Required. The new link. Link *Link `json:"link,omitempty"` // LinkId: Required. The ID to use for the link. The link_id can have up to 100 // characters. A valid link_id must only have alphanumeric characters and // underscores within it. LinkId string `json:"linkId,omitempty"` // Parent: Required. The full resource name of the bucket to create a link for. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" // // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET // _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Link") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Link") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
CreateLinkRequest: The parameters to CreateLink.
func (CreateLinkRequest) MarshalJSON ¶ added in v0.111.0
func (s CreateLinkRequest) MarshalJSON() ([]byte, error)
type DefaultSinkConfig ¶ added in v0.152.0
type DefaultSinkConfig struct { // Exclusions: Optional. Specifies the set of exclusions to be added to the // _Default sink in newly created resource containers. Exclusions []*LogExclusion `json:"exclusions,omitempty"` // Filter: Optional. An advanced logs filter // (https://cloud.google.com/logging/docs/view/advanced-queries). The only // exported log entries are those that are in the resource owning the sink and // that match the filter.For // example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERRORTo // match all logs, don't add exclusions and use the following line as the value // of filter:logName:*Cannot be empty or unset when the value of mode is // OVERWRITE. Filter string `json:"filter,omitempty"` // Mode: Required. Determines the behavior to apply to the built-in _Default // sink inclusion filter.Exclusions are always appended, as built-in _Default // sinks have no exclusions. // // Possible values: // "FILTER_WRITE_MODE_UNSPECIFIED" - The filter's write mode is unspecified. // This mode must not be used. // "APPEND" - The contents of filter will be appended to the built-in // _Default sink filter. Using the append mode with an empty filter will keep // the sink inclusion filter unchanged. // "OVERWRITE" - The contents of filter will overwrite the built-in _Default // sink filter. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Exclusions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
DefaultSinkConfig: Describes the custom _Default sink configuration that is used to override the built-in _Default sink configuration in newly created resource containers, such as projects or folders.
func (DefaultSinkConfig) MarshalJSON ¶ added in v0.152.0
func (s DefaultSinkConfig) MarshalJSON() ([]byte, error)
type DeleteLinkRequest ¶ added in v0.111.0
type DeleteLinkRequest struct { // Name: Required. The full resource name of the link to delete. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN // K_ID]" // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/ // links/[LINK_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET // _ID]/links/[LINK_ID]" // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ // ID]" Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
DeleteLinkRequest: The parameters to DeleteLink.
func (DeleteLinkRequest) MarshalJSON ¶ added in v0.111.0
func (s DeleteLinkRequest) 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); }
type EntriesCopyCall ¶ added in v0.51.0
type EntriesCopyCall struct {
// contains filtered or unexported fields
}
func (*EntriesCopyCall) Context ¶ added in v0.51.0
func (c *EntriesCopyCall) Context(ctx context.Context) *EntriesCopyCall
Context sets the context to be used in this call's Do method.
func (*EntriesCopyCall) Do ¶ added in v0.51.0
func (c *EntriesCopyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.entries.copy" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*EntriesCopyCall) Fields ¶ added in v0.51.0
func (c *EntriesCopyCall) Fields(s ...googleapi.Field) *EntriesCopyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*EntriesCopyCall) Header ¶ added in v0.51.0
func (c *EntriesCopyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type EntriesListCall ¶
type EntriesListCall struct {
// contains filtered or unexported fields
}
func (*EntriesListCall) Context ¶
func (c *EntriesListCall) Context(ctx context.Context) *EntriesListCall
Context sets the context to be used in this call's Do method.
func (*EntriesListCall) Do ¶
func (c *EntriesListCall) Do(opts ...googleapi.CallOption) (*ListLogEntriesResponse, error)
Do executes the "logging.entries.list" call. 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 ¶
func (c *EntriesListCall) Fields(s ...googleapi.Field) *EntriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*EntriesListCall) Header ¶
func (c *EntriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*EntriesListCall) Pages ¶
func (c *EntriesListCall) Pages(ctx context.Context, f func(*ListLogEntriesResponse) error) error
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) Copy ¶ added in v0.51.0
func (r *EntriesService) Copy(copylogentriesrequest *CopyLogEntriesRequest) *EntriesCopyCall
Copy: Copies a set of log entries from a log bucket to a Cloud Storage bucket.
func (*EntriesService) List ¶
func (r *EntriesService) List(listlogentriesrequest *ListLogEntriesRequest) *EntriesListCall
List: Lists log entries. Use this method to retrieve log entries that originated from a project/folder/organization/billing account. For ways to export log entries, see Exporting Logs (https://cloud.google.com/logging/docs/export).
func (*EntriesService) Tail ¶ added in v0.35.0
func (r *EntriesService) Tail(taillogentriesrequest *TailLogEntriesRequest) *EntriesTailCall
Tail: Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.
func (*EntriesService) Write ¶
func (r *EntriesService) Write(writelogentriesrequest *WriteLogEntriesRequest) *EntriesWriteCall
Write: Writes log entries to Logging. This API method is the only way to send log entries to Logging. This method is used, directly or indirectly, by the Logging agent (fluentd) and all logging libraries configured to use Logging. A single request may contain log entries for a maximum of 1000 different resource names (projects, organizations, billing accounts or folders), where the resource name for a log entry is determined from its logName field.
type EntriesTailCall ¶ added in v0.35.0
type EntriesTailCall struct {
// contains filtered or unexported fields
}
func (*EntriesTailCall) Context ¶ added in v0.35.0
func (c *EntriesTailCall) Context(ctx context.Context) *EntriesTailCall
Context sets the context to be used in this call's Do method.
func (*EntriesTailCall) Do ¶ added in v0.35.0
func (c *EntriesTailCall) Do(opts ...googleapi.CallOption) (*TailLogEntriesResponse, error)
Do executes the "logging.entries.tail" call. Any non-2xx status code is an error. Response headers are in either *TailLogEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*EntriesTailCall) Fields ¶ added in v0.35.0
func (c *EntriesTailCall) Fields(s ...googleapi.Field) *EntriesTailCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*EntriesTailCall) Header ¶ added in v0.35.0
func (c *EntriesTailCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type EntriesWriteCall ¶
type EntriesWriteCall struct {
// contains filtered or unexported fields
}
func (*EntriesWriteCall) Context ¶
func (c *EntriesWriteCall) Context(ctx context.Context) *EntriesWriteCall
Context sets the context to be used in this call's Do method.
func (*EntriesWriteCall) Do ¶
func (c *EntriesWriteCall) Do(opts ...googleapi.CallOption) (*WriteLogEntriesResponse, error)
Do executes the "logging.entries.write" call. 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 ¶
func (c *EntriesWriteCall) Fields(s ...googleapi.Field) *EntriesWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*EntriesWriteCall) Header ¶
func (c *EntriesWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ExclusionsCreateCall ¶
type ExclusionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ExclusionsCreateCall) Context ¶
func (c *ExclusionsCreateCall) Context(ctx context.Context) *ExclusionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ExclusionsCreateCall) Do ¶
func (c *ExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.exclusions.create" call. 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 ¶
func (c *ExclusionsCreateCall) Fields(s ...googleapi.Field) *ExclusionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ExclusionsCreateCall) Header ¶
func (c *ExclusionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ExclusionsDeleteCall ¶
type ExclusionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ExclusionsDeleteCall) Context ¶
func (c *ExclusionsDeleteCall) Context(ctx context.Context) *ExclusionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ExclusionsDeleteCall) Do ¶
func (c *ExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.exclusions.delete" call. 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 ¶
func (c *ExclusionsDeleteCall) Fields(s ...googleapi.Field) *ExclusionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ExclusionsDeleteCall) Header ¶
func (c *ExclusionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ExclusionsGetCall ¶
type ExclusionsGetCall struct {
// contains filtered or unexported fields
}
func (*ExclusionsGetCall) Context ¶
func (c *ExclusionsGetCall) Context(ctx context.Context) *ExclusionsGetCall
Context sets the context to be used in this call's Do method.
func (*ExclusionsGetCall) Do ¶
func (c *ExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.exclusions.get" call. 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 ¶
func (c *ExclusionsGetCall) Fields(s ...googleapi.Field) *ExclusionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ExclusionsGetCall) Header ¶
func (c *ExclusionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ExclusionsGetCall) IfNoneMatch ¶
func (c *ExclusionsGetCall) IfNoneMatch(entityTag string) *ExclusionsGetCall
IfNoneMatch sets an 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.
type ExclusionsListCall ¶
type ExclusionsListCall struct {
// contains filtered or unexported fields
}
func (*ExclusionsListCall) Context ¶
func (c *ExclusionsListCall) Context(ctx context.Context) *ExclusionsListCall
Context sets the context to be used in this call's Do method.
func (*ExclusionsListCall) Do ¶
func (c *ExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
Do executes the "logging.exclusions.list" call. 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 ¶
func (c *ExclusionsListCall) Fields(s ...googleapi.Field) *ExclusionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ExclusionsListCall) Header ¶
func (c *ExclusionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ExclusionsListCall) IfNoneMatch ¶
func (c *ExclusionsListCall) IfNoneMatch(entityTag string) *ExclusionsListCall
IfNoneMatch sets an 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.
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 ¶
func (c *ExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
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 ¶
func (c *ExclusionsPatchCall) Context(ctx context.Context) *ExclusionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ExclusionsPatchCall) Do ¶
func (c *ExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.exclusions.patch" call. 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 ¶
func (c *ExclusionsPatchCall) Fields(s ...googleapi.Field) *ExclusionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ExclusionsPatchCall) Header ¶
func (c *ExclusionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 the _Default sink 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.
- parent: The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789".
func (*ExclusionsService) Delete ¶
func (r *ExclusionsService) Delete(name string) *ExclusionsDeleteCall
Delete: Deletes an exclusion in the _Default sink.
- name: The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*ExclusionsService) Get ¶
func (r *ExclusionsService) Get(name string) *ExclusionsGetCall
Get: Gets the description of an exclusion in the _Default sink.
- name: The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*ExclusionsService) List ¶
func (r *ExclusionsService) List(parent string) *ExclusionsListCall
List: Lists all the exclusions on the _Default sink in a parent resource.
- parent: The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*ExclusionsService) Patch ¶
func (r *ExclusionsService) Patch(name string, logexclusion *LogExclusion) *ExclusionsPatchCall
Patch: Changes one or more properties of an existing exclusion in the _Default sink.
- name: The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 (*Explicit) UnmarshalJSON ¶ added in v0.122.0
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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 Expr ¶ added in v0.178.0
type Expr struct { // Description: Optional. Description of the expression. This is a longer text // which describes the expression, e.g. when hovered over it in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common Expression // Language syntax. Expression string `json:"expression,omitempty"` // Location: Optional. String indicating the location of the expression for // error reporting, e.g. a file name and a position in the file. Location string `json:"location,omitempty"` // Title: Optional. Title for the expression, i.e. a short string describing // its purpose. This can be used e.g. in UIs which allow to enter the // expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (Expr) MarshalJSON ¶ added in v0.178.0
type FoldersExclusionsCreateCall ¶
type FoldersExclusionsCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersExclusionsCreateCall) Context ¶
func (c *FoldersExclusionsCreateCall) Context(ctx context.Context) *FoldersExclusionsCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersExclusionsCreateCall) Do ¶
func (c *FoldersExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.folders.exclusions.create" call. 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 ¶
func (c *FoldersExclusionsCreateCall) Fields(s ...googleapi.Field) *FoldersExclusionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersExclusionsCreateCall) Header ¶
func (c *FoldersExclusionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersExclusionsDeleteCall ¶
type FoldersExclusionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersExclusionsDeleteCall) Context ¶
func (c *FoldersExclusionsDeleteCall) Context(ctx context.Context) *FoldersExclusionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersExclusionsDeleteCall) Do ¶
func (c *FoldersExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.exclusions.delete" call. 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 ¶
func (c *FoldersExclusionsDeleteCall) Fields(s ...googleapi.Field) *FoldersExclusionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersExclusionsDeleteCall) Header ¶
func (c *FoldersExclusionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersExclusionsGetCall ¶
type FoldersExclusionsGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersExclusionsGetCall) Context ¶
func (c *FoldersExclusionsGetCall) Context(ctx context.Context) *FoldersExclusionsGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersExclusionsGetCall) Do ¶
func (c *FoldersExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.folders.exclusions.get" call. 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 ¶
func (c *FoldersExclusionsGetCall) Fields(s ...googleapi.Field) *FoldersExclusionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersExclusionsGetCall) Header ¶
func (c *FoldersExclusionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersExclusionsGetCall) IfNoneMatch ¶
func (c *FoldersExclusionsGetCall) IfNoneMatch(entityTag string) *FoldersExclusionsGetCall
IfNoneMatch sets an 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.
type FoldersExclusionsListCall ¶
type FoldersExclusionsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersExclusionsListCall) Context ¶
func (c *FoldersExclusionsListCall) Context(ctx context.Context) *FoldersExclusionsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersExclusionsListCall) Do ¶
func (c *FoldersExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
Do executes the "logging.folders.exclusions.list" call. 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 ¶
func (c *FoldersExclusionsListCall) Fields(s ...googleapi.Field) *FoldersExclusionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersExclusionsListCall) Header ¶
func (c *FoldersExclusionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersExclusionsListCall) IfNoneMatch ¶
func (c *FoldersExclusionsListCall) IfNoneMatch(entityTag string) *FoldersExclusionsListCall
IfNoneMatch sets an 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.
func (*FoldersExclusionsListCall) PageSize ¶
func (c *FoldersExclusionsListCall) PageSize(pageSize int64) *FoldersExclusionsListCall
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 ¶
func (c *FoldersExclusionsListCall) PageToken(pageToken string) *FoldersExclusionsListCall
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 ¶
func (c *FoldersExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
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 ¶
func (c *FoldersExclusionsPatchCall) Context(ctx context.Context) *FoldersExclusionsPatchCall
Context sets the context to be used in this call's Do method.
func (*FoldersExclusionsPatchCall) Do ¶
func (c *FoldersExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.folders.exclusions.patch" call. 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 ¶
func (c *FoldersExclusionsPatchCall) Fields(s ...googleapi.Field) *FoldersExclusionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersExclusionsPatchCall) Header ¶
func (c *FoldersExclusionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersExclusionsPatchCall) UpdateMask ¶
func (c *FoldersExclusionsPatchCall) UpdateMask(updateMask string) *FoldersExclusionsPatchCall
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 the _Default sink 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.
- parent: The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789".
func (*FoldersExclusionsService) Delete ¶
func (r *FoldersExclusionsService) Delete(name string) *FoldersExclusionsDeleteCall
Delete: Deletes an exclusion in the _Default sink.
- name: The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*FoldersExclusionsService) Get ¶
func (r *FoldersExclusionsService) Get(name string) *FoldersExclusionsGetCall
Get: Gets the description of an exclusion in the _Default sink.
- name: The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*FoldersExclusionsService) List ¶
func (r *FoldersExclusionsService) List(parent string) *FoldersExclusionsListCall
List: Lists all the exclusions on the _Default sink in a parent resource.
- parent: The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*FoldersExclusionsService) Patch ¶
func (r *FoldersExclusionsService) Patch(name string, logexclusion *LogExclusion) *FoldersExclusionsPatchCall
Patch: Changes one or more properties of an existing exclusion in the _Default sink.
- name: The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
type FoldersGetCmekSettingsCall ¶ added in v0.61.0
type FoldersGetCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*FoldersGetCmekSettingsCall) Context ¶ added in v0.61.0
func (c *FoldersGetCmekSettingsCall) Context(ctx context.Context) *FoldersGetCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*FoldersGetCmekSettingsCall) Do ¶ added in v0.61.0
func (c *FoldersGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.folders.getCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*FoldersGetCmekSettingsCall) Fields ¶ added in v0.61.0
func (c *FoldersGetCmekSettingsCall) Fields(s ...googleapi.Field) *FoldersGetCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersGetCmekSettingsCall) Header ¶ added in v0.61.0
func (c *FoldersGetCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersGetCmekSettingsCall) IfNoneMatch ¶ added in v0.61.0
func (c *FoldersGetCmekSettingsCall) IfNoneMatch(entityTag string) *FoldersGetCmekSettingsCall
IfNoneMatch sets an 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.
type FoldersGetSettingsCall ¶ added in v0.67.0
type FoldersGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*FoldersGetSettingsCall) Context ¶ added in v0.67.0
func (c *FoldersGetSettingsCall) Context(ctx context.Context) *FoldersGetSettingsCall
Context sets the context to be used in this call's Do method.
func (*FoldersGetSettingsCall) Do ¶ added in v0.67.0
func (c *FoldersGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.folders.getSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*FoldersGetSettingsCall) Fields ¶ added in v0.67.0
func (c *FoldersGetSettingsCall) Fields(s ...googleapi.Field) *FoldersGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersGetSettingsCall) Header ¶ added in v0.67.0
func (c *FoldersGetSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersGetSettingsCall) IfNoneMatch ¶ added in v0.67.0
func (c *FoldersGetSettingsCall) IfNoneMatch(entityTag string) *FoldersGetSettingsCall
IfNoneMatch sets an 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.
type FoldersLocationsBucketsCreateAsyncCall ¶ added in v0.111.0
type FoldersLocationsBucketsCreateAsyncCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsCreateAsyncCall) BucketId ¶ added in v0.111.0
func (c *FoldersLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *FoldersLocationsBucketsCreateAsyncCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*FoldersLocationsBucketsCreateAsyncCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *FoldersLocationsBucketsCreateAsyncCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsCreateAsyncCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.folders.locations.buckets.createAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*FoldersLocationsBucketsCreateAsyncCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsCreateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsCreateAsyncCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsCreateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsCreateCall ¶ added in v0.31.0
type FoldersLocationsBucketsCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsCreateCall) BucketId ¶ added in v0.31.0
func (c *FoldersLocationsBucketsCreateCall) BucketId(bucketId string) *FoldersLocationsBucketsCreateCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*FoldersLocationsBucketsCreateCall) Context ¶ added in v0.31.0
func (c *FoldersLocationsBucketsCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsCreateCall) Do ¶ added in v0.31.0
func (c *FoldersLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.folders.locations.buckets.create" call. 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 (*FoldersLocationsBucketsCreateCall) Fields ¶ added in v0.31.0
func (c *FoldersLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsCreateCall) Header ¶ added in v0.31.0
func (c *FoldersLocationsBucketsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsDeleteCall ¶ added in v0.31.0
type FoldersLocationsBucketsDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsDeleteCall) Context ¶ added in v0.31.0
func (c *FoldersLocationsBucketsDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsDeleteCall) Do ¶ added in v0.31.0
func (c *FoldersLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.locations.buckets.delete" call. 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 (*FoldersLocationsBucketsDeleteCall) Fields ¶ added in v0.31.0
func (c *FoldersLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsDeleteCall) Header ¶ added in v0.31.0
func (c *FoldersLocationsBucketsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsGetCall ¶ added in v0.18.0
type FoldersLocationsBucketsGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsGetCall) Context ¶ added in v0.18.0
func (c *FoldersLocationsBucketsGetCall) Context(ctx context.Context) *FoldersLocationsBucketsGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsGetCall) Do ¶ added in v0.18.0
func (c *FoldersLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.folders.locations.buckets.get" call. 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 ¶ added in v0.18.0
func (c *FoldersLocationsBucketsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsGetCall) Header ¶ added in v0.18.0
func (c *FoldersLocationsBucketsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *FoldersLocationsBucketsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsGetCall
IfNoneMatch sets an 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.
type FoldersLocationsBucketsLinksCreateCall ¶ added in v0.111.0
type FoldersLocationsBucketsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsLinksCreateCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsLinksCreateCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.folders.locations.buckets.links.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*FoldersLocationsBucketsLinksCreateCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsLinksCreateCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsLinksCreateCall) LinkId ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksCreateCall) LinkId(linkId string) *FoldersLocationsBucketsLinksCreateCall
LinkId sets the optional parameter "linkId": Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
type FoldersLocationsBucketsLinksDeleteCall ¶ added in v0.111.0
type FoldersLocationsBucketsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsLinksDeleteCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsLinksDeleteCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.folders.locations.buckets.links.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*FoldersLocationsBucketsLinksDeleteCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsLinksDeleteCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsLinksGetCall ¶ added in v0.111.0
type FoldersLocationsBucketsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsLinksGetCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksGetCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsLinksGetCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
Do executes the "logging.folders.locations.buckets.links.get" call. Any non-2xx status code is an error. Response headers are in either *Link.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 (*FoldersLocationsBucketsLinksGetCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsLinksGetCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsLinksGetCall) IfNoneMatch ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsLinksGetCall
IfNoneMatch sets an 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.
type FoldersLocationsBucketsLinksListCall ¶ added in v0.111.0
type FoldersLocationsBucketsLinksListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsLinksListCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) Context(ctx context.Context) *FoldersLocationsBucketsLinksListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsLinksListCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
Do executes the "logging.folders.locations.buckets.links.list" call. Any non-2xx status code is an error. Response headers are in either *ListLinksResponse.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 (*FoldersLocationsBucketsLinksListCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsLinksListCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsLinksListCall) IfNoneMatch ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsLinksListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsBucketsLinksListCall) PageSize ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) PageSize(pageSize int64) *FoldersLocationsBucketsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.
func (*FoldersLocationsBucketsLinksListCall) PageToken ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) PageToken(pageToken string) *FoldersLocationsBucketsLinksListCall
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.
func (*FoldersLocationsBucketsLinksListCall) Pages ¶ added in v0.111.0
func (c *FoldersLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
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 FoldersLocationsBucketsLinksService ¶ added in v0.111.0
type FoldersLocationsBucketsLinksService struct {
// contains filtered or unexported fields
}
func NewFoldersLocationsBucketsLinksService ¶ added in v0.111.0
func NewFoldersLocationsBucketsLinksService(s *Service) *FoldersLocationsBucketsLinksService
func (*FoldersLocationsBucketsLinksService) Create ¶ added in v0.111.0
func (r *FoldersLocationsBucketsLinksService) Create(parent string, link *Link) *FoldersLocationsBucketsLinksCreateCall
Create: Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
- parent: The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*FoldersLocationsBucketsLinksService) Delete ¶ added in v0.111.0
func (r *FoldersLocationsBucketsLinksService) Delete(name string) *FoldersLocationsBucketsLinksDeleteCall
Delete: Deletes a link. This will also delete the corresponding BigQuery linked dataset.
- name: The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*FoldersLocationsBucketsLinksService) Get ¶ added in v0.111.0
func (r *FoldersLocationsBucketsLinksService) Get(name string) *FoldersLocationsBucketsLinksGetCall
Get: Gets a link.
- name: The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*FoldersLocationsBucketsLinksService) List ¶ added in v0.111.0
func (r *FoldersLocationsBucketsLinksService) List(parent string) *FoldersLocationsBucketsLinksListCall
List: Lists links.
- parent: The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
type FoldersLocationsBucketsListCall ¶ added in v0.18.0
type FoldersLocationsBucketsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsListCall) Context ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) Context(ctx context.Context) *FoldersLocationsBucketsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsListCall) Do ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
Do executes the "logging.folders.locations.buckets.list" call. 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 ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsListCall) Header ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsBucketsListCall) PageSize ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsListCall
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 ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) PageToken(pageToken string) *FoldersLocationsBucketsListCall
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 ¶ added in v0.18.0
func (c *FoldersLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
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 ¶ added in v0.18.0
type FoldersLocationsBucketsPatchCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsPatchCall) Context ¶ added in v0.18.0
func (c *FoldersLocationsBucketsPatchCall) Context(ctx context.Context) *FoldersLocationsBucketsPatchCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsPatchCall) Do ¶ added in v0.18.0
func (c *FoldersLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.folders.locations.buckets.patch" call. 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 ¶ added in v0.18.0
func (c *FoldersLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsPatchCall) Header ¶ added in v0.18.0
func (c *FoldersLocationsBucketsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *FoldersLocationsBucketsPatchCall) UpdateMask(updateMask string) *FoldersLocationsBucketsPatchCall
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.FieldMaskFor example: updateMask=retention_days
type FoldersLocationsBucketsService ¶ added in v0.18.0
type FoldersLocationsBucketsService struct { Links *FoldersLocationsBucketsLinksService Views *FoldersLocationsBucketsViewsService // contains filtered or unexported fields }
func NewFoldersLocationsBucketsService ¶ added in v0.18.0
func NewFoldersLocationsBucketsService(s *Service) *FoldersLocationsBucketsService
func (*FoldersLocationsBucketsService) Create ¶ added in v0.31.0
func (r *FoldersLocationsBucketsService) Create(parent string, logbucket *LogBucket) *FoldersLocationsBucketsCreateCall
Create: Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*FoldersLocationsBucketsService) CreateAsync ¶ added in v0.111.0
func (r *FoldersLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *FoldersLocationsBucketsCreateAsyncCall
CreateAsync: Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*FoldersLocationsBucketsService) Delete ¶ added in v0.31.0
func (r *FoldersLocationsBucketsService) Delete(name string) *FoldersLocationsBucketsDeleteCall
Delete: Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.
- name: The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*FoldersLocationsBucketsService) Get ¶ added in v0.18.0
func (r *FoldersLocationsBucketsService) Get(name string) *FoldersLocationsBucketsGetCall
Get: Gets a log bucket.
- name: The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*FoldersLocationsBucketsService) List ¶ added in v0.18.0
func (r *FoldersLocationsBucketsService) List(parent string) *FoldersLocationsBucketsListCall
List: Lists log buckets.
- parent: The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
func (*FoldersLocationsBucketsService) Patch ¶ added in v0.18.0
func (r *FoldersLocationsBucketsService) Patch(name string, logbucket *LogBucket) *FoldersLocationsBucketsPatchCall
Patch: Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*FoldersLocationsBucketsService) Undelete ¶ added in v0.31.0
func (r *FoldersLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *FoldersLocationsBucketsUndeleteCall
Undelete: Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
- name: The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*FoldersLocationsBucketsService) UpdateAsync ¶ added in v0.111.0
func (r *FoldersLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *FoldersLocationsBucketsUpdateAsyncCall
UpdateAsync: Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
type FoldersLocationsBucketsUndeleteCall ¶ added in v0.31.0
type FoldersLocationsBucketsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsUndeleteCall) Context ¶ added in v0.31.0
func (c *FoldersLocationsBucketsUndeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsUndeleteCall) Do ¶ added in v0.31.0
func (c *FoldersLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.locations.buckets.undelete" call. 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 (*FoldersLocationsBucketsUndeleteCall) Fields ¶ added in v0.31.0
func (c *FoldersLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsUndeleteCall) Header ¶ added in v0.31.0
func (c *FoldersLocationsBucketsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsUpdateAsyncCall ¶ added in v0.111.0
type FoldersLocationsBucketsUpdateAsyncCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsUpdateAsyncCall) Context ¶ added in v0.111.0
func (c *FoldersLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *FoldersLocationsBucketsUpdateAsyncCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsUpdateAsyncCall) Do ¶ added in v0.111.0
func (c *FoldersLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.folders.locations.buckets.updateAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*FoldersLocationsBucketsUpdateAsyncCall) Fields ¶ added in v0.111.0
func (c *FoldersLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsUpdateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsUpdateAsyncCall) Header ¶ added in v0.111.0
func (c *FoldersLocationsBucketsUpdateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsUpdateAsyncCall) UpdateMask ¶ added in v0.111.0
func (c *FoldersLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *FoldersLocationsBucketsUpdateAsyncCall
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.FieldMaskFor example: updateMask=retention_days
type FoldersLocationsBucketsViewsCreateCall ¶ added in v0.34.0
type FoldersLocationsBucketsViewsCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsCreateCall) Context ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsCreateCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsCreateCall) Do ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.folders.locations.buckets.views.create" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsBucketsViewsCreateCall) Fields ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsCreateCall) Header ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsViewsCreateCall) ViewId ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsCreateCall) ViewId(viewId string) *FoldersLocationsBucketsViewsCreateCall
ViewId sets the optional parameter "viewId": Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
type FoldersLocationsBucketsViewsDeleteCall ¶ added in v0.34.0
type FoldersLocationsBucketsViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsDeleteCall) Context ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsDeleteCall) Do ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.locations.buckets.views.delete" call. 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 (*FoldersLocationsBucketsViewsDeleteCall) Fields ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsDeleteCall) Header ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsViewsGetCall ¶ added in v0.34.0
type FoldersLocationsBucketsViewsGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsGetCall) Context ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsGetCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsGetCall) Do ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.folders.locations.buckets.views.get" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsBucketsViewsGetCall) Fields ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsGetCall) Header ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsViewsGetCall) IfNoneMatch ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsGetCall
IfNoneMatch sets an 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.
type FoldersLocationsBucketsViewsGetIamPolicyCall ¶ added in v0.178.0
type FoldersLocationsBucketsViewsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsGetIamPolicyCall) Context ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsGetIamPolicyCall) Do ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.folders.locations.buckets.views.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*FoldersLocationsBucketsViewsGetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsGetIamPolicyCall) Header ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsViewsListCall ¶ added in v0.34.0
type FoldersLocationsBucketsViewsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsListCall) Context ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsListCall) Do ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
Do executes the "logging.folders.locations.buckets.views.list" call. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsBucketsViewsListCall) Fields ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsListCall) Header ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsViewsListCall) IfNoneMatch ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsBucketsViewsListCall) PageSize ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsViewsListCall
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 (*FoldersLocationsBucketsViewsListCall) PageToken ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) PageToken(pageToken string) *FoldersLocationsBucketsViewsListCall
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 (*FoldersLocationsBucketsViewsListCall) Pages ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
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 FoldersLocationsBucketsViewsLogsListCall ¶ added in v0.75.0
type FoldersLocationsBucketsViewsLogsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsLogsListCall) Context ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsLogsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsLogsListCall) Do ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.folders.locations.buckets.views.logs.list" call. 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 (*FoldersLocationsBucketsViewsLogsListCall) Fields ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsLogsListCall) Header ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsViewsLogsListCall) IfNoneMatch ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *FoldersLocationsBucketsViewsLogsListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsBucketsViewsLogsListCall) PageSize ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *FoldersLocationsBucketsViewsLogsListCall
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 (*FoldersLocationsBucketsViewsLogsListCall) PageToken ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *FoldersLocationsBucketsViewsLogsListCall
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 (*FoldersLocationsBucketsViewsLogsListCall) Pages ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*FoldersLocationsBucketsViewsLogsListCall) ResourceNames ¶ added in v0.75.0
func (c *FoldersLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *FoldersLocationsBucketsViewsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type FoldersLocationsBucketsViewsLogsService ¶ added in v0.75.0
type FoldersLocationsBucketsViewsLogsService struct {
// contains filtered or unexported fields
}
func NewFoldersLocationsBucketsViewsLogsService ¶ added in v0.75.0
func NewFoldersLocationsBucketsViewsLogsService(s *Service) *FoldersLocationsBucketsViewsLogsService
func (*FoldersLocationsBucketsViewsLogsService) List ¶ added in v0.75.0
func (r *FoldersLocationsBucketsViewsLogsService) List(parent string) *FoldersLocationsBucketsViewsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type FoldersLocationsBucketsViewsPatchCall ¶ added in v0.34.0
type FoldersLocationsBucketsViewsPatchCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsPatchCall) Context ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsPatchCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsPatchCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsPatchCall) Do ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.folders.locations.buckets.views.patch" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsBucketsViewsPatchCall) Fields ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsPatchCall) Header ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsBucketsViewsPatchCall) UpdateMask ¶ added in v0.34.0
func (c *FoldersLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *FoldersLocationsBucketsViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
type FoldersLocationsBucketsViewsService ¶ added in v0.34.0
type FoldersLocationsBucketsViewsService struct { Logs *FoldersLocationsBucketsViewsLogsService // contains filtered or unexported fields }
func NewFoldersLocationsBucketsViewsService ¶ added in v0.34.0
func NewFoldersLocationsBucketsViewsService(s *Service) *FoldersLocationsBucketsViewsService
func (*FoldersLocationsBucketsViewsService) Create ¶ added in v0.34.0
func (r *FoldersLocationsBucketsViewsService) Create(parent string, logview *LogView) *FoldersLocationsBucketsViewsCreateCall
Create: Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
- parent: The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*FoldersLocationsBucketsViewsService) Delete ¶ added in v0.34.0
func (r *FoldersLocationsBucketsViewsService) Delete(name string) *FoldersLocationsBucketsViewsDeleteCall
Delete: Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*FoldersLocationsBucketsViewsService) Get ¶ added in v0.34.0
func (r *FoldersLocationsBucketsViewsService) Get(name string) *FoldersLocationsBucketsViewsGetCall
Get: Gets a view on a log bucket.
- name: The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*FoldersLocationsBucketsViewsService) GetIamPolicy ¶ added in v0.178.0
func (r *FoldersLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *FoldersLocationsBucketsViewsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*FoldersLocationsBucketsViewsService) List ¶ added in v0.34.0
func (r *FoldersLocationsBucketsViewsService) List(parent string) *FoldersLocationsBucketsViewsListCall
List: Lists views on a log bucket.
- parent: The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*FoldersLocationsBucketsViewsService) Patch ¶ added in v0.34.0
func (r *FoldersLocationsBucketsViewsService) Patch(name string, logview *LogView) *FoldersLocationsBucketsViewsPatchCall
Patch: Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*FoldersLocationsBucketsViewsService) SetIamPolicy ¶ added in v0.178.0
func (r *FoldersLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *FoldersLocationsBucketsViewsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*FoldersLocationsBucketsViewsService) TestIamPermissions ¶ added in v0.178.0
func (r *FoldersLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *FoldersLocationsBucketsViewsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type FoldersLocationsBucketsViewsSetIamPolicyCall ¶ added in v0.178.0
type FoldersLocationsBucketsViewsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsSetIamPolicyCall) Context ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsSetIamPolicyCall) Do ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.folders.locations.buckets.views.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*FoldersLocationsBucketsViewsSetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsSetIamPolicyCall) Header ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsBucketsViewsTestIamPermissionsCall ¶ added in v0.178.0
type FoldersLocationsBucketsViewsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsBucketsViewsTestIamPermissionsCall) Context ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *FoldersLocationsBucketsViewsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsBucketsViewsTestIamPermissionsCall) Do ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "logging.folders.locations.buckets.views.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*FoldersLocationsBucketsViewsTestIamPermissionsCall) Fields ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *FoldersLocationsBucketsViewsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsBucketsViewsTestIamPermissionsCall) Header ¶ added in v0.178.0
func (c *FoldersLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsGetCall ¶ added in v0.35.0
type FoldersLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsGetCall) Context ¶ added in v0.35.0
func (c *FoldersLocationsGetCall) Context(ctx context.Context) *FoldersLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsGetCall) Do ¶ added in v0.35.0
func (c *FoldersLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "logging.folders.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsGetCall) Fields ¶ added in v0.35.0
func (c *FoldersLocationsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsGetCall) Header ¶ added in v0.35.0
func (c *FoldersLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsGetCall) IfNoneMatch ¶ added in v0.35.0
func (c *FoldersLocationsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsGetCall
IfNoneMatch sets an 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.
type FoldersLocationsListCall ¶ added in v0.35.0
type FoldersLocationsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsListCall) Context ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Context(ctx context.Context) *FoldersLocationsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsListCall) Do ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "logging.folders.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*FoldersLocationsListCall) Fields ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Fields(s ...googleapi.Field) *FoldersLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsListCall) Filter ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Filter(filter string) *FoldersLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*FoldersLocationsListCall) Header ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsListCall) IfNoneMatch ¶ added in v0.35.0
func (c *FoldersLocationsListCall) IfNoneMatch(entityTag string) *FoldersLocationsListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsListCall) PageSize ¶ added in v0.35.0
func (c *FoldersLocationsListCall) PageSize(pageSize int64) *FoldersLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*FoldersLocationsListCall) PageToken ¶ added in v0.35.0
func (c *FoldersLocationsListCall) PageToken(pageToken string) *FoldersLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
func (*FoldersLocationsListCall) Pages ¶ added in v0.35.0
func (c *FoldersLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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 FoldersLocationsOperationsCancelCall ¶ added in v0.51.0
type FoldersLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsOperationsCancelCall) Context ¶ added in v0.51.0
func (c *FoldersLocationsOperationsCancelCall) Context(ctx context.Context) *FoldersLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsOperationsCancelCall) Do ¶ added in v0.51.0
func (c *FoldersLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.locations.operations.cancel" call. 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 (*FoldersLocationsOperationsCancelCall) Fields ¶ added in v0.51.0
func (c *FoldersLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsOperationsCancelCall) Header ¶ added in v0.51.0
func (c *FoldersLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsOperationsGetCall ¶ added in v0.51.0
type FoldersLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsOperationsGetCall) Context ¶ added in v0.51.0
func (c *FoldersLocationsOperationsGetCall) Context(ctx context.Context) *FoldersLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsOperationsGetCall) Do ¶ added in v0.51.0
func (c *FoldersLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.folders.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*FoldersLocationsOperationsGetCall) Fields ¶ added in v0.51.0
func (c *FoldersLocationsOperationsGetCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsOperationsGetCall) Header ¶ added in v0.51.0
func (c *FoldersLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsOperationsGetCall) IfNoneMatch ¶ added in v0.51.0
func (c *FoldersLocationsOperationsGetCall) IfNoneMatch(entityTag string) *FoldersLocationsOperationsGetCall
IfNoneMatch sets an 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.
type FoldersLocationsOperationsListCall ¶ added in v0.51.0
type FoldersLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsOperationsListCall) Context ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Context(ctx context.Context) *FoldersLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsOperationsListCall) Do ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "logging.folders.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*FoldersLocationsOperationsListCall) Fields ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Fields(s ...googleapi.Field) *FoldersLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsOperationsListCall) Filter ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Filter(filter string) *FoldersLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*FoldersLocationsOperationsListCall) Header ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsOperationsListCall) IfNoneMatch ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) IfNoneMatch(entityTag string) *FoldersLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsOperationsListCall) PageSize ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) PageSize(pageSize int64) *FoldersLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*FoldersLocationsOperationsListCall) PageToken ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) PageToken(pageToken string) *FoldersLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*FoldersLocationsOperationsListCall) Pages ¶ added in v0.51.0
func (c *FoldersLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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 FoldersLocationsOperationsService ¶ added in v0.51.0
type FoldersLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewFoldersLocationsOperationsService ¶ added in v0.51.0
func NewFoldersLocationsOperationsService(s *Service) *FoldersLocationsOperationsService
func (*FoldersLocationsOperationsService) Cancel ¶ added in v0.51.0
func (r *FoldersLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *FoldersLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*FoldersLocationsOperationsService) Get ¶ added in v0.51.0
func (r *FoldersLocationsOperationsService) Get(name string) *FoldersLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*FoldersLocationsOperationsService) List ¶ added in v0.51.0
func (r *FoldersLocationsOperationsService) List(name string) *FoldersLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
type FoldersLocationsRecentQueriesListCall ¶ added in v0.152.0
type FoldersLocationsRecentQueriesListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsRecentQueriesListCall) Context ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) Context(ctx context.Context) *FoldersLocationsRecentQueriesListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsRecentQueriesListCall) Do ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
Do executes the "logging.folders.locations.recentQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListRecentQueriesResponse.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 (*FoldersLocationsRecentQueriesListCall) Fields ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *FoldersLocationsRecentQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsRecentQueriesListCall) Filter ¶ added in v0.187.0
func (c *FoldersLocationsRecentQueriesListCall) Filter(filter string) *FoldersLocationsRecentQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics")
func (*FoldersLocationsRecentQueriesListCall) Header ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsRecentQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *FoldersLocationsRecentQueriesListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsRecentQueriesListCall) PageSize ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) PageSize(pageSize int64) *FoldersLocationsRecentQueriesListCall
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 (*FoldersLocationsRecentQueriesListCall) PageToken ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) PageToken(pageToken string) *FoldersLocationsRecentQueriesListCall
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 (*FoldersLocationsRecentQueriesListCall) Pages ¶ added in v0.152.0
func (c *FoldersLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
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 FoldersLocationsRecentQueriesService ¶ added in v0.152.0
type FoldersLocationsRecentQueriesService struct {
// contains filtered or unexported fields
}
func NewFoldersLocationsRecentQueriesService ¶ added in v0.152.0
func NewFoldersLocationsRecentQueriesService(s *Service) *FoldersLocationsRecentQueriesService
func (*FoldersLocationsRecentQueriesService) List ¶ added in v0.152.0
func (r *FoldersLocationsRecentQueriesService) List(parent string) *FoldersLocationsRecentQueriesListCall
List: Lists the RecentQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.
type FoldersLocationsSavedQueriesCreateCall ¶ added in v0.152.0
type FoldersLocationsSavedQueriesCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsSavedQueriesCreateCall) Context ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesCreateCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsSavedQueriesCreateCall) Do ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.folders.locations.savedQueries.create" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*FoldersLocationsSavedQueriesCreateCall) Fields ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsSavedQueriesCreateCall) Header ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsSavedQueriesCreateCall) SavedQueryId ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *FoldersLocationsSavedQueriesCreateCall
SavedQueryId sets the optional parameter "savedQueryId": The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.
type FoldersLocationsSavedQueriesDeleteCall ¶ added in v0.152.0
type FoldersLocationsSavedQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsSavedQueriesDeleteCall) Context ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsSavedQueriesDeleteCall) Do ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.locations.savedQueries.delete" call. 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 (*FoldersLocationsSavedQueriesDeleteCall) Fields ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsSavedQueriesDeleteCall) Header ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLocationsSavedQueriesGetCall ¶ added in v0.187.0
type FoldersLocationsSavedQueriesGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsSavedQueriesGetCall) Context ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesGetCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsSavedQueriesGetCall) Do ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.folders.locations.savedQueries.get" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*FoldersLocationsSavedQueriesGetCall) Fields ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsSavedQueriesGetCall) Header ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsSavedQueriesGetCall) IfNoneMatch ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *FoldersLocationsSavedQueriesGetCall
IfNoneMatch sets an 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.
type FoldersLocationsSavedQueriesListCall ¶ added in v0.152.0
type FoldersLocationsSavedQueriesListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsSavedQueriesListCall) Context ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsSavedQueriesListCall) Do ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
Do executes the "logging.folders.locations.savedQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListSavedQueriesResponse.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 (*FoldersLocationsSavedQueriesListCall) Fields ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsSavedQueriesListCall) Filter ¶ added in v0.189.0
func (c *FoldersLocationsSavedQueriesListCall) Filter(filter string) *FoldersLocationsSavedQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED
func (*FoldersLocationsSavedQueriesListCall) Header ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsSavedQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *FoldersLocationsSavedQueriesListCall
IfNoneMatch sets an 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.
func (*FoldersLocationsSavedQueriesListCall) PageSize ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) PageSize(pageSize int64) *FoldersLocationsSavedQueriesListCall
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 (*FoldersLocationsSavedQueriesListCall) PageToken ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) PageToken(pageToken string) *FoldersLocationsSavedQueriesListCall
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 (*FoldersLocationsSavedQueriesListCall) Pages ¶ added in v0.152.0
func (c *FoldersLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
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 FoldersLocationsSavedQueriesPatchCall ¶ added in v0.187.0
type FoldersLocationsSavedQueriesPatchCall struct {
// contains filtered or unexported fields
}
func (*FoldersLocationsSavedQueriesPatchCall) Context ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesPatchCall) Context(ctx context.Context) *FoldersLocationsSavedQueriesPatchCall
Context sets the context to be used in this call's Do method.
func (*FoldersLocationsSavedQueriesPatchCall) Do ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.folders.locations.savedQueries.patch" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*FoldersLocationsSavedQueriesPatchCall) Fields ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *FoldersLocationsSavedQueriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLocationsSavedQueriesPatchCall) Header ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLocationsSavedQueriesPatchCall) UpdateMask ¶ added in v0.187.0
func (c *FoldersLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *FoldersLocationsSavedQueriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter".
type FoldersLocationsSavedQueriesService ¶ added in v0.152.0
type FoldersLocationsSavedQueriesService struct {
// contains filtered or unexported fields
}
func NewFoldersLocationsSavedQueriesService ¶ added in v0.152.0
func NewFoldersLocationsSavedQueriesService(s *Service) *FoldersLocationsSavedQueriesService
func (*FoldersLocationsSavedQueriesService) Create ¶ added in v0.152.0
func (r *FoldersLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *FoldersLocationsSavedQueriesCreateCall
Create: Creates a new SavedQuery for the user making the request.
- parent: The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1".
func (*FoldersLocationsSavedQueriesService) Delete ¶ added in v0.152.0
func (r *FoldersLocationsSavedQueriesService) Delete(name string) *FoldersLocationsSavedQueriesDeleteCall
Delete: Deletes an existing SavedQuery that was created by the user making the request.
- name: The full resource name of the saved query to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*FoldersLocationsSavedQueriesService) Get ¶ added in v0.187.0
func (r *FoldersLocationsSavedQueriesService) Get(name string) *FoldersLocationsSavedQueriesGetCall
Get: Returns all data associated with the requested query.
- name: The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*FoldersLocationsSavedQueriesService) List ¶ added in v0.152.0
func (r *FoldersLocationsSavedQueriesService) List(parent string) *FoldersLocationsSavedQueriesListCall
List: Lists the SavedQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/us-central1" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: "projects/my-project/locations/-".
func (*FoldersLocationsSavedQueriesService) Patch ¶ added in v0.187.0
func (r *FoldersLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *FoldersLocationsSavedQueriesPatchCall
Patch: Updates an existing SavedQuery.
- name: Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.
type FoldersLocationsService ¶ added in v0.18.0
type FoldersLocationsService struct { Buckets *FoldersLocationsBucketsService Operations *FoldersLocationsOperationsService RecentQueries *FoldersLocationsRecentQueriesService SavedQueries *FoldersLocationsSavedQueriesService // contains filtered or unexported fields }
func NewFoldersLocationsService ¶ added in v0.18.0
func NewFoldersLocationsService(s *Service) *FoldersLocationsService
func (*FoldersLocationsService) Get ¶ added in v0.35.0
func (r *FoldersLocationsService) Get(name string) *FoldersLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*FoldersLocationsService) List ¶ added in v0.35.0
func (r *FoldersLocationsService) List(name string) *FoldersLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type FoldersLogsDeleteCall ¶
type FoldersLogsDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersLogsDeleteCall) Context ¶
func (c *FoldersLogsDeleteCall) Context(ctx context.Context) *FoldersLogsDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersLogsDeleteCall) Do ¶
func (c *FoldersLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.logs.delete" call. 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 ¶
func (c *FoldersLogsDeleteCall) Fields(s ...googleapi.Field) *FoldersLogsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLogsDeleteCall) Header ¶
func (c *FoldersLogsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersLogsListCall ¶
type FoldersLogsListCall struct {
// contains filtered or unexported fields
}
func (*FoldersLogsListCall) Context ¶
func (c *FoldersLogsListCall) Context(ctx context.Context) *FoldersLogsListCall
Context sets the context to be used in this call's Do method.
func (*FoldersLogsListCall) Do ¶
func (c *FoldersLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.folders.logs.list" call. 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 ¶
func (c *FoldersLogsListCall) Fields(s ...googleapi.Field) *FoldersLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersLogsListCall) Header ¶
func (c *FoldersLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersLogsListCall) IfNoneMatch ¶
func (c *FoldersLogsListCall) IfNoneMatch(entityTag string) *FoldersLogsListCall
IfNoneMatch sets an 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.
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 ¶
func (c *FoldersLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*FoldersLogsListCall) ResourceNames ¶ added in v0.35.0
func (c *FoldersLogsListCall) ResourceNames(resourceNames ...string) *FoldersLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
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 for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
- logName: The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
func (*FoldersLogsService) List ¶
func (r *FoldersLogsService) List(parent string) *FoldersLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
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
func (*FoldersService) GetCmekSettings ¶ added in v0.61.0
func (r *FoldersService) GetCmekSettings(name string) *FoldersGetCmekSettingsCall
GetCmekSettings: Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
func (*FoldersService) GetSettings ¶ added in v0.67.0
func (r *FoldersService) GetSettings(name string) *FoldersGetSettingsCall
GetSettings: Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
- name: The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.
func (*FoldersService) UpdateSettings ¶ added in v0.69.0
func (r *FoldersService) UpdateSettings(name string, settings *Settings) *FoldersUpdateSettingsCall
UpdateSettings: Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
- name: The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings".
type FoldersSinksCreateCall ¶
type FoldersSinksCreateCall struct {
// contains filtered or unexported fields
}
func (*FoldersSinksCreateCall) Context ¶
func (c *FoldersSinksCreateCall) Context(ctx context.Context) *FoldersSinksCreateCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksCreateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *FoldersSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksCreateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*FoldersSinksCreateCall) Do ¶
func (c *FoldersSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.folders.sinks.create" call. 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 ¶
func (c *FoldersSinksCreateCall) Fields(s ...googleapi.Field) *FoldersSinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksCreateCall) Header ¶
func (c *FoldersSinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 Cloud 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
type FoldersSinksDeleteCall ¶
type FoldersSinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*FoldersSinksDeleteCall) Context ¶
func (c *FoldersSinksDeleteCall) Context(ctx context.Context) *FoldersSinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksDeleteCall) Do ¶
func (c *FoldersSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.folders.sinks.delete" call. 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 ¶
func (c *FoldersSinksDeleteCall) Fields(s ...googleapi.Field) *FoldersSinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksDeleteCall) Header ¶
func (c *FoldersSinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type FoldersSinksGetCall ¶
type FoldersSinksGetCall struct {
// contains filtered or unexported fields
}
func (*FoldersSinksGetCall) Context ¶
func (c *FoldersSinksGetCall) Context(ctx context.Context) *FoldersSinksGetCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksGetCall) Do ¶
func (c *FoldersSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.folders.sinks.get" call. 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 ¶
func (c *FoldersSinksGetCall) Fields(s ...googleapi.Field) *FoldersSinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksGetCall) Header ¶
func (c *FoldersSinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersSinksGetCall) IfNoneMatch ¶
func (c *FoldersSinksGetCall) IfNoneMatch(entityTag string) *FoldersSinksGetCall
IfNoneMatch sets an 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.
type FoldersSinksListCall ¶
type FoldersSinksListCall struct {
// contains filtered or unexported fields
}
func (*FoldersSinksListCall) Context ¶
func (c *FoldersSinksListCall) Context(ctx context.Context) *FoldersSinksListCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksListCall) Do ¶
func (c *FoldersSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
Do executes the "logging.folders.sinks.list" call. 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 ¶
func (c *FoldersSinksListCall) Fields(s ...googleapi.Field) *FoldersSinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksListCall) Filter ¶ added in v0.171.0
func (c *FoldersSinksListCall) Filter(filter string) *FoldersSinksListCall
Filter sets the optional parameter "filter": A filter expression to constrain the sinks returned. Today, this only supports the following strings: ” 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied.
func (*FoldersSinksListCall) Header ¶
func (c *FoldersSinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersSinksListCall) IfNoneMatch ¶
func (c *FoldersSinksListCall) IfNoneMatch(entityTag string) *FoldersSinksListCall
IfNoneMatch sets an 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.
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 ¶
func (c *FoldersSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
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 ¶
func (c *FoldersSinksPatchCall) Context(ctx context.Context) *FoldersSinksPatchCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksPatchCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *FoldersSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksPatchCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*FoldersSinksPatchCall) Do ¶
func (c *FoldersSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.folders.sinks.patch" call. 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 ¶
func (c *FoldersSinksPatchCall) Fields(s ...googleapi.Field) *FoldersSinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksPatchCall) Header ¶
func (c *FoldersSinksPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. 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,includeChildrenAt 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.FieldMaskFor example: 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 begins upon ingress, 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.
- parent: The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789".
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.
- sinkName: The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*FoldersSinksService) Get ¶
func (r *FoldersSinksService) Get(sinkName string) *FoldersSinksGetCall
Get: Gets a sink.
- sinkName: The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*FoldersSinksService) List ¶
func (r *FoldersSinksService) List(parent string) *FoldersSinksListCall
List: Lists sinks.
- parent: The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*FoldersSinksService) Patch ¶
func (r *FoldersSinksService) Patch(sinkNameid string, logsink *LogSink) *FoldersSinksPatchCall
Patch: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*FoldersSinksService) Update ¶
func (r *FoldersSinksService) Update(sinkNameid string, logsink *LogSink) *FoldersSinksUpdateCall
Update: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
type FoldersSinksUpdateCall ¶
type FoldersSinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*FoldersSinksUpdateCall) Context ¶
func (c *FoldersSinksUpdateCall) Context(ctx context.Context) *FoldersSinksUpdateCall
Context sets the context to be used in this call's Do method.
func (*FoldersSinksUpdateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *FoldersSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *FoldersSinksUpdateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*FoldersSinksUpdateCall) Do ¶
func (c *FoldersSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.folders.sinks.update" call. 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 ¶
func (c *FoldersSinksUpdateCall) Fields(s ...googleapi.Field) *FoldersSinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersSinksUpdateCall) Header ¶
func (c *FoldersSinksUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. 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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type FoldersUpdateSettingsCall ¶ added in v0.69.0
type FoldersUpdateSettingsCall struct {
// contains filtered or unexported fields
}
func (*FoldersUpdateSettingsCall) Context ¶ added in v0.69.0
func (c *FoldersUpdateSettingsCall) Context(ctx context.Context) *FoldersUpdateSettingsCall
Context sets the context to be used in this call's Do method.
func (*FoldersUpdateSettingsCall) Do ¶ added in v0.69.0
func (c *FoldersUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.folders.updateSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*FoldersUpdateSettingsCall) Fields ¶ added in v0.69.0
func (c *FoldersUpdateSettingsCall) Fields(s ...googleapi.Field) *FoldersUpdateSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*FoldersUpdateSettingsCall) Header ¶ added in v0.69.0
func (c *FoldersUpdateSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*FoldersUpdateSettingsCall) UpdateMask ¶ added in v0.69.0
func (c *FoldersUpdateSettingsCall) UpdateMask(updateMask string) *FoldersUpdateSettingsCall
UpdateMask sets the optional parameter "updateMask": Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
type GetIamPolicyRequest ¶ added in v0.178.0
type GetIamPolicyRequest struct { // Options: OPTIONAL: A GetPolicyOptions object for specifying options to // GetIamPolicy. Options *GetPolicyOptions `json:"options,omitempty"` // ForceSendFields is a list of field names (e.g. "Options") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Options") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GetIamPolicyRequest: Request message for GetIamPolicy method.
func (GetIamPolicyRequest) MarshalJSON ¶ added in v0.178.0
func (s GetIamPolicyRequest) MarshalJSON() ([]byte, error)
type GetPolicyOptions ¶ added in v0.178.0
type GetPolicyOptions struct { // RequestedPolicyVersion: Optional. The maximum policy version that will be // used to format the policy.Valid values are 0, 1, and 3. Requests specifying // an invalid value will be rejected.Requests for policies with any conditional // role bindings must specify version 3. Policies with no conditional role // bindings may specify any valid value or leave the field unset.The policy in // the response might use the policy version that you specified, or it might // use a lower policy version. For example, if you specify version 3, but the // policy has no conditional role bindings, the response uses version 1.To // learn which resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). RequestedPolicyVersion int64 `json:"requestedPolicyVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "RequestedPolicyVersion") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RequestedPolicyVersion") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.
func (GetPolicyOptions) MarshalJSON ¶ added in v0.178.0
func (s GetPolicyOptions) MarshalJSON() ([]byte, error)
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. For WebSocket connections, // this field refers to the entire time duration of the connection. Latency string `json:"latency,omitempty"` // Protocol: Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2" Protocol string `json:"protocol,omitempty"` // Referer: The referer URL of the request, as defined in HTTP/1.1 Header Field // Definitions (https://datatracker.ietf.org/doc/html/rfc2616#section-14.36). Referer string `json:"referer,omitempty"` // RemoteIp: The IP address (IPv4 or IPv6) of the client that issued the HTTP // request. This field can include port information. Examples: "192.168.1.1", // "10.0.0.1:80", "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. This field can include port information. Examples: // "192.168.1.1", "10.0.0.1:80", "FE80::0202:B3FF:FE1E:8329". 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 IndexConfig ¶ added in v0.75.0
type IndexConfig struct { // CreateTime: Output only. The timestamp when the index was last modified.This // is used to return the timestamp, and will be ignored if supplied during // update. CreateTime string `json:"createTime,omitempty"` // FieldPath: Required. The LogEntry field path to index.Note that some paths // are automatically indexed, and other paths are not eligible for indexing. // See indexing documentation( // https://cloud.google.com/logging/docs/view/advanced-queries#indexed-fields) // for details.For example: jsonPayload.request.status FieldPath string `json:"fieldPath,omitempty"` // Type: Required. The type of data in this index. // // Possible values: // "INDEX_TYPE_UNSPECIFIED" - The index's type is unspecified. // "INDEX_TYPE_STRING" - The index is a string-type index. // "INDEX_TYPE_INTEGER" - The index is a integer-type index. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
IndexConfig: Configuration for an indexed field.
func (IndexConfig) MarshalJSON ¶ added in v0.75.0
func (s IndexConfig) 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 (*Linear) UnmarshalJSON ¶
type Link ¶ added in v0.111.0
type Link struct { // BigqueryDataset: Optional. The information of a BigQuery Dataset. When a // link is created, a BigQuery dataset is created along with it, in the same // project as the LogBucket it's linked to. This dataset will also have // BigQuery Views corresponding to the LogViews in the bucket. BigqueryDataset *BigQueryDataset `json:"bigqueryDataset,omitempty"` // CreateTime: Output only. The creation timestamp of the link. CreateTime string `json:"createTime,omitempty"` // Description: Optional. Describes this link.The maximum length of the // description is 8000 characters. Description string `json:"description,omitempty"` // LifecycleState: Output only. The resource 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 resource has been marked for deletion by the // user. For some resources (e.g. buckets), this can be reversed by an // un-delete operation. // "UPDATING" - The resource has been marked for an update by the user. It // will remain in this state until the update is complete. // "CREATING" - The resource has been marked for creation by the user. It // will remain in this state until the creation is complete. // "FAILED" - The resource is in an INTERNAL error state. LifecycleState string `json:"lifecycleState,omitempty"` // Name: Output only. The resource name of the link. The name can have up to // 100 characters. A valid link id (at the end of the link name) must only have // alphanumeric characters and underscores within it. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN // K_ID]" // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/ // links/[LINK_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET // _ID]/links/[LINK_ID]" // "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LINK_ // ID]" For // example:`projects/my-project/locations/global/buckets/my-bucket/links/my_link Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BigqueryDataset") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryDataset") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Link: Describes a link connected to an analytics enabled bucket.
func (Link) MarshalJSON ¶ added in v0.111.0
type LinkMetadata ¶ added in v0.111.0
type LinkMetadata struct { // CreateLinkRequest: CreateLink RPC request. CreateLinkRequest *CreateLinkRequest `json:"createLinkRequest,omitempty"` // DeleteLinkRequest: DeleteLink RPC request. DeleteLinkRequest *DeleteLinkRequest `json:"deleteLinkRequest,omitempty"` // EndTime: The end time of an operation. EndTime string `json:"endTime,omitempty"` // StartTime: The start time of an operation. StartTime string `json:"startTime,omitempty"` // State: Output only. State of an operation. // // Possible values: // "OPERATION_STATE_UNSPECIFIED" - Should not be used. // "OPERATION_STATE_SCHEDULED" - The operation is scheduled. // "OPERATION_STATE_WAITING_FOR_PERMISSIONS" - Waiting for necessary // permissions. // "OPERATION_STATE_RUNNING" - The operation is running. // "OPERATION_STATE_SUCCEEDED" - The operation was completed successfully. // "OPERATION_STATE_FAILED" - The operation failed. // "OPERATION_STATE_CANCELLED" - The operation was cancelled by the user. // "OPERATION_STATE_PENDING" - The operation is waiting for quota. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "CreateLinkRequest") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateLinkRequest") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LinkMetadata: Metadata for long running Link operations.
func (LinkMetadata) MarshalJSON ¶ added in v0.111.0
func (s LinkMetadata) MarshalJSON() ([]byte, error)
type ListBucketsResponse ¶ added in v0.18.0
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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListBucketsResponse: The response from ListBuckets.
func (ListBucketsResponse) MarshalJSON ¶ added in v0.18.0
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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListExclusionsResponse: Result returned from ListExclusions.
func (ListExclusionsResponse) MarshalJSON ¶
func (s ListExclusionsResponse) MarshalJSON() ([]byte, error)
type ListLinksResponse ¶ added in v0.111.0
type ListLinksResponse struct { // Links: A list of links. Links []*Link `json:"links,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 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. "Links") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Links") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListLinksResponse: The response from ListLinks.
func (ListLinksResponse) MarshalJSON ¶ added in v0.111.0
func (s ListLinksResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶ added in v0.35.0
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in the // request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. 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. "Locations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse) MarshalJSON ¶ added in v0.35.0
func (s ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListLogEntriesRequest ¶
type ListLogEntriesRequest struct { // Filter: Optional. A filter that chooses which log entries to return. For // more information, see Logging query language // (https://cloud.google.com/logging/docs/view/logging-query-language).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 a filter is 20,000 characters.To // make queries faster, you can make the filter more selective by using // restrictions on indexed fields // (https://cloud.google.com/logging/docs/view/logging-query-language#indexed-fields) // as well as limit the time range of the query by adding range restrictions on // the timestamp field. 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.We recommend setting the // order_by field to "timestamp desc" when listing recently ingested log // entries. If not set, the default value of "timestamp asc" may take a long // time to fetch matching logs that are only recently ingested. OrderBy string `json:"orderBy,omitempty"` // PageSize: Optional. The maximum number of results to return from this // request. Default is 50. If the value is negative, the request is // rejected.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] // billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be // one or more views: // projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW // _ID] // organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v // iews/[VIEW_ID] // billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ // ID]/views/[VIEW_ID] // folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I // D]Projects listed in the project_ids field are added to this list. A maximum // of 100 resources may be specified in a single request. 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListMonitoredResourceDescriptorsResponse: Result returned from ListMonitoredResourceDescriptors.
func (ListMonitoredResourceDescriptorsResponse) MarshalJSON ¶
func (s ListMonitoredResourceDescriptorsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶ added in v0.51.0
type ListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in the // request. Operations []*Operation `json:"operations,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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse) MarshalJSON ¶ added in v0.51.0
func (s ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListRecentQueriesResponse ¶ added in v0.152.0
type ListRecentQueriesResponse 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"` // RecentQueries: A list of recent queries. RecentQueries []*RecentQuery `json:"recentQueries,omitempty"` // Unreachable: The unreachable resources. Each resource can be either 1) a // saved query if a specific query is unreachable or 2) a location if a // specific location is unreachable. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" // "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For // example:"projects/my-project/locations/global/recentQueries/12345678" // "projects/my-project/locations/global"If there are unreachable resources, // the response will first return pages that contain recent queries, and then // return pages that contain the unreachable resources. Unreachable []string `json:"unreachable,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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListRecentQueriesResponse: The response from ListRecentQueries.
func (ListRecentQueriesResponse) MarshalJSON ¶ added in v0.152.0
func (s ListRecentQueriesResponse) MarshalJSON() ([]byte, error)
type ListSavedQueriesResponse ¶ added in v0.152.0
type ListSavedQueriesResponse 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"` // SavedQueries: A list of saved queries. SavedQueries []*SavedQuery `json:"savedQueries,omitempty"` // Unreachable: The unreachable resources. It can be either 1) a saved query if // a specific query is unreachable or 2) a location if a specific location is // unreachabe. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" // "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example: // "projects/my-project/locations/global/savedQueries/12345678" // "projects/my-project/locations/global" If there are unreachable resources, // the response will first return pages that contain saved queries, and then // return pages that contain the unreachable resources. Unreachable []string `json:"unreachable,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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListSavedQueriesResponse: The response from ListSavedQueries.
func (ListSavedQueriesResponse) MarshalJSON ¶ added in v0.152.0
func (s ListSavedQueriesResponse) 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListSinksResponse: Result returned from ListSinks.
func (ListSinksResponse) MarshalJSON ¶
func (s ListSinksResponse) MarshalJSON() ([]byte, error)
type ListViewsResponse ¶ added in v0.34.0
type ListViewsResponse 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"` // Views: A list of views. Views []*LogView `json:"views,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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
ListViewsResponse: The response from ListViews.
func (ListViewsResponse) MarshalJSON ¶ added in v0.34.0
func (s ListViewsResponse) MarshalJSON() ([]byte, error)
type Location ¶ added in v0.35.0
type Location struct { // DisplayName: The friendly name for this location, typically a nearby city // name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available capacity at // the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (Location) MarshalJSON ¶ added in v0.35.0
type LocationMetadata ¶ added in v0.111.0
type LocationMetadata struct { // LogAnalyticsEnabled: Indicates whether or not Log Analytics features are // supported in the given location. LogAnalyticsEnabled bool `json:"logAnalyticsEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. "LogAnalyticsEnabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LogAnalyticsEnabled") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LocationMetadata: Cloud Logging specific location metadata.
func (LocationMetadata) MarshalJSON ¶ added in v0.111.0
func (s LocationMetadata) MarshalJSON() ([]byte, error)
type LocationsBucketsCreateAsyncCall ¶ added in v0.111.0
type LocationsBucketsCreateAsyncCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsCreateAsyncCall) BucketId ¶ added in v0.111.0
func (c *LocationsBucketsCreateAsyncCall) BucketId(bucketId string) *LocationsBucketsCreateAsyncCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*LocationsBucketsCreateAsyncCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsCreateAsyncCall) Context(ctx context.Context) *LocationsBucketsCreateAsyncCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsCreateAsyncCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.locations.buckets.createAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*LocationsBucketsCreateAsyncCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *LocationsBucketsCreateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsCreateAsyncCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsCreateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsCreateCall ¶ added in v0.31.0
type LocationsBucketsCreateCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsCreateCall) BucketId ¶ added in v0.31.0
func (c *LocationsBucketsCreateCall) BucketId(bucketId string) *LocationsBucketsCreateCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*LocationsBucketsCreateCall) Context ¶ added in v0.31.0
func (c *LocationsBucketsCreateCall) Context(ctx context.Context) *LocationsBucketsCreateCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsCreateCall) Do ¶ added in v0.31.0
func (c *LocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.locations.buckets.create" call. 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 (*LocationsBucketsCreateCall) Fields ¶ added in v0.31.0
func (c *LocationsBucketsCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsCreateCall) Header ¶ added in v0.31.0
func (c *LocationsBucketsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsDeleteCall ¶ added in v0.31.0
type LocationsBucketsDeleteCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsDeleteCall) Context ¶ added in v0.31.0
func (c *LocationsBucketsDeleteCall) Context(ctx context.Context) *LocationsBucketsDeleteCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsDeleteCall) Do ¶ added in v0.31.0
func (c *LocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.locations.buckets.delete" call. 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 (*LocationsBucketsDeleteCall) Fields ¶ added in v0.31.0
func (c *LocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsDeleteCall) Header ¶ added in v0.31.0
func (c *LocationsBucketsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsGetCall ¶ added in v0.18.0
type LocationsBucketsGetCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsGetCall) Context ¶ added in v0.18.0
func (c *LocationsBucketsGetCall) Context(ctx context.Context) *LocationsBucketsGetCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsGetCall) Do ¶ added in v0.18.0
func (c *LocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.locations.buckets.get" call. 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 ¶ added in v0.18.0
func (c *LocationsBucketsGetCall) Fields(s ...googleapi.Field) *LocationsBucketsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsGetCall) Header ¶ added in v0.18.0
func (c *LocationsBucketsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *LocationsBucketsGetCall) IfNoneMatch(entityTag string) *LocationsBucketsGetCall
IfNoneMatch sets an 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.
type LocationsBucketsLinksCreateCall ¶ added in v0.111.0
type LocationsBucketsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsLinksCreateCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsLinksCreateCall) Context(ctx context.Context) *LocationsBucketsLinksCreateCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsLinksCreateCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.locations.buckets.links.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*LocationsBucketsLinksCreateCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsLinksCreateCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsLinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsLinksCreateCall) LinkId ¶ added in v0.111.0
func (c *LocationsBucketsLinksCreateCall) LinkId(linkId string) *LocationsBucketsLinksCreateCall
LinkId sets the optional parameter "linkId": Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
type LocationsBucketsLinksDeleteCall ¶ added in v0.111.0
type LocationsBucketsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsLinksDeleteCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsLinksDeleteCall) Context(ctx context.Context) *LocationsBucketsLinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsLinksDeleteCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.locations.buckets.links.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*LocationsBucketsLinksDeleteCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsLinksDeleteCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsLinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsLinksGetCall ¶ added in v0.111.0
type LocationsBucketsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsLinksGetCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsLinksGetCall) Context(ctx context.Context) *LocationsBucketsLinksGetCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsLinksGetCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
Do executes the "logging.locations.buckets.links.get" call. Any non-2xx status code is an error. Response headers are in either *Link.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 (*LocationsBucketsLinksGetCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsLinksGetCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsLinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsLinksGetCall) IfNoneMatch ¶ added in v0.111.0
func (c *LocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *LocationsBucketsLinksGetCall
IfNoneMatch sets an 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.
type LocationsBucketsLinksListCall ¶ added in v0.111.0
type LocationsBucketsLinksListCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsLinksListCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) Context(ctx context.Context) *LocationsBucketsLinksListCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsLinksListCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
Do executes the "logging.locations.buckets.links.list" call. Any non-2xx status code is an error. Response headers are in either *ListLinksResponse.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 (*LocationsBucketsLinksListCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *LocationsBucketsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsLinksListCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsLinksListCall) IfNoneMatch ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *LocationsBucketsLinksListCall
IfNoneMatch sets an 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.
func (*LocationsBucketsLinksListCall) PageSize ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) PageSize(pageSize int64) *LocationsBucketsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.
func (*LocationsBucketsLinksListCall) PageToken ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) PageToken(pageToken string) *LocationsBucketsLinksListCall
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.
func (*LocationsBucketsLinksListCall) Pages ¶ added in v0.111.0
func (c *LocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
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 LocationsBucketsLinksService ¶ added in v0.111.0
type LocationsBucketsLinksService struct {
// contains filtered or unexported fields
}
func NewLocationsBucketsLinksService ¶ added in v0.111.0
func NewLocationsBucketsLinksService(s *Service) *LocationsBucketsLinksService
func (*LocationsBucketsLinksService) Create ¶ added in v0.111.0
func (r *LocationsBucketsLinksService) Create(parent string, link *Link) *LocationsBucketsLinksCreateCall
Create: Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
- parent: The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*LocationsBucketsLinksService) Delete ¶ added in v0.111.0
func (r *LocationsBucketsLinksService) Delete(name string) *LocationsBucketsLinksDeleteCall
Delete: Deletes a link. This will also delete the corresponding BigQuery linked dataset.
- name: The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*LocationsBucketsLinksService) Get ¶ added in v0.111.0
func (r *LocationsBucketsLinksService) Get(name string) *LocationsBucketsLinksGetCall
Get: Gets a link.
- name: The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*LocationsBucketsLinksService) List ¶ added in v0.111.0
func (r *LocationsBucketsLinksService) List(parent string) *LocationsBucketsLinksListCall
List: Lists links.
- parent: The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
type LocationsBucketsListCall ¶ added in v0.18.0
type LocationsBucketsListCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsListCall) Context ¶ added in v0.18.0
func (c *LocationsBucketsListCall) Context(ctx context.Context) *LocationsBucketsListCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsListCall) Do ¶ added in v0.18.0
func (c *LocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
Do executes the "logging.locations.buckets.list" call. 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 ¶ added in v0.18.0
func (c *LocationsBucketsListCall) Fields(s ...googleapi.Field) *LocationsBucketsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsListCall) Header ¶ added in v0.18.0
func (c *LocationsBucketsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *LocationsBucketsListCall) IfNoneMatch(entityTag string) *LocationsBucketsListCall
IfNoneMatch sets an 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.
func (*LocationsBucketsListCall) PageSize ¶ added in v0.18.0
func (c *LocationsBucketsListCall) PageSize(pageSize int64) *LocationsBucketsListCall
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 ¶ added in v0.18.0
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 ¶ added in v0.18.0
func (c *LocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
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 ¶ added in v0.18.0
type LocationsBucketsPatchCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsPatchCall) Context ¶ added in v0.18.0
func (c *LocationsBucketsPatchCall) Context(ctx context.Context) *LocationsBucketsPatchCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsPatchCall) Do ¶ added in v0.18.0
func (c *LocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.locations.buckets.patch" call. 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 ¶ added in v0.18.0
func (c *LocationsBucketsPatchCall) Fields(s ...googleapi.Field) *LocationsBucketsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsPatchCall) Header ¶ added in v0.18.0
func (c *LocationsBucketsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsPatchCall) UpdateMask ¶ added in v0.18.0
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.FieldMaskFor example: updateMask=retention_days
type LocationsBucketsService ¶ added in v0.18.0
type LocationsBucketsService struct { Links *LocationsBucketsLinksService Views *LocationsBucketsViewsService // contains filtered or unexported fields }
func NewLocationsBucketsService ¶ added in v0.18.0
func NewLocationsBucketsService(s *Service) *LocationsBucketsService
func (*LocationsBucketsService) Create ¶ added in v0.31.0
func (r *LocationsBucketsService) Create(parent string, logbucket *LogBucket) *LocationsBucketsCreateCall
Create: Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*LocationsBucketsService) CreateAsync ¶ added in v0.111.0
func (r *LocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *LocationsBucketsCreateAsyncCall
CreateAsync: Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*LocationsBucketsService) Delete ¶ added in v0.31.0
func (r *LocationsBucketsService) Delete(name string) *LocationsBucketsDeleteCall
Delete: Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.
- name: The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*LocationsBucketsService) Get ¶ added in v0.18.0
func (r *LocationsBucketsService) Get(name string) *LocationsBucketsGetCall
Get: Gets a log bucket.
- name: The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*LocationsBucketsService) List ¶ added in v0.18.0
func (r *LocationsBucketsService) List(parent string) *LocationsBucketsListCall
List: Lists log buckets.
- parent: The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
func (*LocationsBucketsService) Patch ¶ added in v0.18.0
func (r *LocationsBucketsService) Patch(name string, logbucket *LogBucket) *LocationsBucketsPatchCall
Patch: Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*LocationsBucketsService) Undelete ¶ added in v0.31.0
func (r *LocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *LocationsBucketsUndeleteCall
Undelete: Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
- name: The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*LocationsBucketsService) UpdateAsync ¶ added in v0.111.0
func (r *LocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *LocationsBucketsUpdateAsyncCall
UpdateAsync: Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
type LocationsBucketsUndeleteCall ¶ added in v0.31.0
type LocationsBucketsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsUndeleteCall) Context ¶ added in v0.31.0
func (c *LocationsBucketsUndeleteCall) Context(ctx context.Context) *LocationsBucketsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsUndeleteCall) Do ¶ added in v0.31.0
func (c *LocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.locations.buckets.undelete" call. 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 (*LocationsBucketsUndeleteCall) Fields ¶ added in v0.31.0
func (c *LocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsUndeleteCall) Header ¶ added in v0.31.0
func (c *LocationsBucketsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsUpdateAsyncCall ¶ added in v0.111.0
type LocationsBucketsUpdateAsyncCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsUpdateAsyncCall) Context ¶ added in v0.111.0
func (c *LocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *LocationsBucketsUpdateAsyncCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsUpdateAsyncCall) Do ¶ added in v0.111.0
func (c *LocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.locations.buckets.updateAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*LocationsBucketsUpdateAsyncCall) Fields ¶ added in v0.111.0
func (c *LocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *LocationsBucketsUpdateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsUpdateAsyncCall) Header ¶ added in v0.111.0
func (c *LocationsBucketsUpdateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsUpdateAsyncCall) UpdateMask ¶ added in v0.111.0
func (c *LocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *LocationsBucketsUpdateAsyncCall
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.FieldMaskFor example: updateMask=retention_days
type LocationsBucketsViewsCreateCall ¶ added in v0.34.0
type LocationsBucketsViewsCreateCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsCreateCall) Context ¶ added in v0.34.0
func (c *LocationsBucketsViewsCreateCall) Context(ctx context.Context) *LocationsBucketsViewsCreateCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsCreateCall) Do ¶ added in v0.34.0
func (c *LocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.locations.buckets.views.create" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsBucketsViewsCreateCall) Fields ¶ added in v0.34.0
func (c *LocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsCreateCall) Header ¶ added in v0.34.0
func (c *LocationsBucketsViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsViewsCreateCall) ViewId ¶ added in v0.34.0
func (c *LocationsBucketsViewsCreateCall) ViewId(viewId string) *LocationsBucketsViewsCreateCall
ViewId sets the optional parameter "viewId": Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
type LocationsBucketsViewsDeleteCall ¶ added in v0.34.0
type LocationsBucketsViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsDeleteCall) Context ¶ added in v0.34.0
func (c *LocationsBucketsViewsDeleteCall) Context(ctx context.Context) *LocationsBucketsViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsDeleteCall) Do ¶ added in v0.34.0
func (c *LocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.locations.buckets.views.delete" call. 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 (*LocationsBucketsViewsDeleteCall) Fields ¶ added in v0.34.0
func (c *LocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsDeleteCall) Header ¶ added in v0.34.0
func (c *LocationsBucketsViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsViewsGetCall ¶ added in v0.34.0
type LocationsBucketsViewsGetCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsGetCall) Context ¶ added in v0.34.0
func (c *LocationsBucketsViewsGetCall) Context(ctx context.Context) *LocationsBucketsViewsGetCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsGetCall) Do ¶ added in v0.34.0
func (c *LocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.locations.buckets.views.get" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsBucketsViewsGetCall) Fields ¶ added in v0.34.0
func (c *LocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsGetCall) Header ¶ added in v0.34.0
func (c *LocationsBucketsViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsViewsGetCall) IfNoneMatch ¶ added in v0.34.0
func (c *LocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *LocationsBucketsViewsGetCall
IfNoneMatch sets an 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.
type LocationsBucketsViewsGetIamPolicyCall ¶ added in v0.178.0
type LocationsBucketsViewsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsGetIamPolicyCall) Context ¶ added in v0.178.0
func (c *LocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *LocationsBucketsViewsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsGetIamPolicyCall) Do ¶ added in v0.178.0
func (c *LocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.locations.buckets.views.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*LocationsBucketsViewsGetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *LocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsGetIamPolicyCall) Header ¶ added in v0.178.0
func (c *LocationsBucketsViewsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsViewsListCall ¶ added in v0.34.0
type LocationsBucketsViewsListCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsListCall) Context ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) Context(ctx context.Context) *LocationsBucketsViewsListCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsListCall) Do ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
Do executes the "logging.locations.buckets.views.list" call. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsBucketsViewsListCall) Fields ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsListCall) Header ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsViewsListCall) IfNoneMatch ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *LocationsBucketsViewsListCall
IfNoneMatch sets an 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.
func (*LocationsBucketsViewsListCall) PageSize ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) PageSize(pageSize int64) *LocationsBucketsViewsListCall
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 (*LocationsBucketsViewsListCall) PageToken ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) PageToken(pageToken string) *LocationsBucketsViewsListCall
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 (*LocationsBucketsViewsListCall) Pages ¶ added in v0.34.0
func (c *LocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
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 LocationsBucketsViewsPatchCall ¶ added in v0.34.0
type LocationsBucketsViewsPatchCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsPatchCall) Context ¶ added in v0.34.0
func (c *LocationsBucketsViewsPatchCall) Context(ctx context.Context) *LocationsBucketsViewsPatchCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsPatchCall) Do ¶ added in v0.34.0
func (c *LocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.locations.buckets.views.patch" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsBucketsViewsPatchCall) Fields ¶ added in v0.34.0
func (c *LocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsPatchCall) Header ¶ added in v0.34.0
func (c *LocationsBucketsViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsBucketsViewsPatchCall) UpdateMask ¶ added in v0.34.0
func (c *LocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *LocationsBucketsViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
type LocationsBucketsViewsService ¶ added in v0.34.0
type LocationsBucketsViewsService struct {
// contains filtered or unexported fields
}
func NewLocationsBucketsViewsService ¶ added in v0.34.0
func NewLocationsBucketsViewsService(s *Service) *LocationsBucketsViewsService
func (*LocationsBucketsViewsService) Create ¶ added in v0.34.0
func (r *LocationsBucketsViewsService) Create(parent string, logview *LogView) *LocationsBucketsViewsCreateCall
Create: Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
- parent: The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*LocationsBucketsViewsService) Delete ¶ added in v0.34.0
func (r *LocationsBucketsViewsService) Delete(name string) *LocationsBucketsViewsDeleteCall
Delete: Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*LocationsBucketsViewsService) Get ¶ added in v0.34.0
func (r *LocationsBucketsViewsService) Get(name string) *LocationsBucketsViewsGetCall
Get: Gets a view on a log bucket.
- name: The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*LocationsBucketsViewsService) GetIamPolicy ¶ added in v0.178.0
func (r *LocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *LocationsBucketsViewsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*LocationsBucketsViewsService) List ¶ added in v0.34.0
func (r *LocationsBucketsViewsService) List(parent string) *LocationsBucketsViewsListCall
List: Lists views on a log bucket.
- parent: The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*LocationsBucketsViewsService) Patch ¶ added in v0.34.0
func (r *LocationsBucketsViewsService) Patch(name string, logview *LogView) *LocationsBucketsViewsPatchCall
Patch: Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*LocationsBucketsViewsService) SetIamPolicy ¶ added in v0.178.0
func (r *LocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *LocationsBucketsViewsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*LocationsBucketsViewsService) TestIamPermissions ¶ added in v0.178.0
func (r *LocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *LocationsBucketsViewsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type LocationsBucketsViewsSetIamPolicyCall ¶ added in v0.178.0
type LocationsBucketsViewsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsSetIamPolicyCall) Context ¶ added in v0.178.0
func (c *LocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *LocationsBucketsViewsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsSetIamPolicyCall) Do ¶ added in v0.178.0
func (c *LocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.locations.buckets.views.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*LocationsBucketsViewsSetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *LocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsSetIamPolicyCall) Header ¶ added in v0.178.0
func (c *LocationsBucketsViewsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsBucketsViewsTestIamPermissionsCall ¶ added in v0.178.0
type LocationsBucketsViewsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*LocationsBucketsViewsTestIamPermissionsCall) Context ¶ added in v0.178.0
func (c *LocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *LocationsBucketsViewsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*LocationsBucketsViewsTestIamPermissionsCall) Do ¶ added in v0.178.0
func (c *LocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "logging.locations.buckets.views.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*LocationsBucketsViewsTestIamPermissionsCall) Fields ¶ added in v0.178.0
func (c *LocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *LocationsBucketsViewsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsBucketsViewsTestIamPermissionsCall) Header ¶ added in v0.178.0
func (c *LocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsGetCall ¶ added in v0.35.0
type LocationsGetCall struct {
// contains filtered or unexported fields
}
func (*LocationsGetCall) Context ¶ added in v0.35.0
func (c *LocationsGetCall) Context(ctx context.Context) *LocationsGetCall
Context sets the context to be used in this call's Do method.
func (*LocationsGetCall) Do ¶ added in v0.35.0
func (c *LocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "logging.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsGetCall) Fields ¶ added in v0.35.0
func (c *LocationsGetCall) Fields(s ...googleapi.Field) *LocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsGetCall) Header ¶ added in v0.35.0
func (c *LocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsGetCall) IfNoneMatch ¶ added in v0.35.0
func (c *LocationsGetCall) IfNoneMatch(entityTag string) *LocationsGetCall
IfNoneMatch sets an 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.
type LocationsListCall ¶ added in v0.35.0
type LocationsListCall struct {
// contains filtered or unexported fields
}
func (*LocationsListCall) Context ¶ added in v0.35.0
func (c *LocationsListCall) Context(ctx context.Context) *LocationsListCall
Context sets the context to be used in this call's Do method.
func (*LocationsListCall) Do ¶ added in v0.35.0
func (c *LocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "logging.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*LocationsListCall) Fields ¶ added in v0.35.0
func (c *LocationsListCall) Fields(s ...googleapi.Field) *LocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsListCall) Filter ¶ added in v0.35.0
func (c *LocationsListCall) Filter(filter string) *LocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*LocationsListCall) Header ¶ added in v0.35.0
func (c *LocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsListCall) IfNoneMatch ¶ added in v0.35.0
func (c *LocationsListCall) IfNoneMatch(entityTag string) *LocationsListCall
IfNoneMatch sets an 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.
func (*LocationsListCall) PageSize ¶ added in v0.35.0
func (c *LocationsListCall) PageSize(pageSize int64) *LocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*LocationsListCall) PageToken ¶ added in v0.35.0
func (c *LocationsListCall) PageToken(pageToken string) *LocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
func (*LocationsListCall) Pages ¶ added in v0.35.0
func (c *LocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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 LocationsOperationsCancelCall ¶ added in v0.51.0
type LocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*LocationsOperationsCancelCall) Context ¶ added in v0.51.0
func (c *LocationsOperationsCancelCall) Context(ctx context.Context) *LocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*LocationsOperationsCancelCall) Do ¶ added in v0.51.0
func (c *LocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.locations.operations.cancel" call. 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 (*LocationsOperationsCancelCall) Fields ¶ added in v0.51.0
func (c *LocationsOperationsCancelCall) Fields(s ...googleapi.Field) *LocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsOperationsCancelCall) Header ¶ added in v0.51.0
func (c *LocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LocationsOperationsGetCall ¶ added in v0.51.0
type LocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*LocationsOperationsGetCall) Context ¶ added in v0.51.0
func (c *LocationsOperationsGetCall) Context(ctx context.Context) *LocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*LocationsOperationsGetCall) Do ¶ added in v0.51.0
func (c *LocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*LocationsOperationsGetCall) Fields ¶ added in v0.51.0
func (c *LocationsOperationsGetCall) Fields(s ...googleapi.Field) *LocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsOperationsGetCall) Header ¶ added in v0.51.0
func (c *LocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsOperationsGetCall) IfNoneMatch ¶ added in v0.51.0
func (c *LocationsOperationsGetCall) IfNoneMatch(entityTag string) *LocationsOperationsGetCall
IfNoneMatch sets an 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.
type LocationsOperationsListCall ¶ added in v0.51.0
type LocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*LocationsOperationsListCall) Context ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Context(ctx context.Context) *LocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*LocationsOperationsListCall) Do ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "logging.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*LocationsOperationsListCall) Fields ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Fields(s ...googleapi.Field) *LocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LocationsOperationsListCall) Filter ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Filter(filter string) *LocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*LocationsOperationsListCall) Header ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LocationsOperationsListCall) IfNoneMatch ¶ added in v0.51.0
func (c *LocationsOperationsListCall) IfNoneMatch(entityTag string) *LocationsOperationsListCall
IfNoneMatch sets an 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.
func (*LocationsOperationsListCall) PageSize ¶ added in v0.51.0
func (c *LocationsOperationsListCall) PageSize(pageSize int64) *LocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*LocationsOperationsListCall) PageToken ¶ added in v0.51.0
func (c *LocationsOperationsListCall) PageToken(pageToken string) *LocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*LocationsOperationsListCall) Pages ¶ added in v0.51.0
func (c *LocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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 LocationsOperationsService ¶ added in v0.51.0
type LocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewLocationsOperationsService ¶ added in v0.51.0
func NewLocationsOperationsService(s *Service) *LocationsOperationsService
func (*LocationsOperationsService) Cancel ¶ added in v0.51.0
func (r *LocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *LocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*LocationsOperationsService) Get ¶ added in v0.51.0
func (r *LocationsOperationsService) Get(name string) *LocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*LocationsOperationsService) List ¶ added in v0.51.0
func (r *LocationsOperationsService) List(name string) *LocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
type LocationsService ¶ added in v0.18.0
type LocationsService struct { Buckets *LocationsBucketsService Operations *LocationsOperationsService // contains filtered or unexported fields }
func NewLocationsService ¶ added in v0.18.0
func NewLocationsService(s *Service) *LocationsService
func (*LocationsService) Get ¶ added in v0.35.0
func (r *LocationsService) Get(name string) *LocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*LocationsService) List ¶ added in v0.35.0
func (r *LocationsService) List(name string) *LocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type LogBucket ¶ added in v0.18.0
type LogBucket struct { // AnalyticsEnabled: Whether log analytics is enabled for this bucket.Once // enabled, log analytics features cannot be disabled. AnalyticsEnabled bool `json:"analyticsEnabled,omitempty"` // CmekSettings: Optional. The CMEK settings of the log bucket. If present, new // log entries written to this log bucket are encrypted using the CMEK key // provided in this configuration. If a log bucket has CMEK settings, the CMEK // settings cannot be disabled later by updating the log bucket. Changing the // KMS key is allowed. CmekSettings *CmekSettings `json:"cmekSettings,omitempty"` // 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: Optional. Describes this bucket. Description string `json:"description,omitempty"` // IndexConfigs: Optional. A list of indexed fields and related configuration // data. IndexConfigs []*IndexConfig `json:"indexConfigs,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 resource has been marked for deletion by the // user. For some resources (e.g. buckets), this can be reversed by an // un-delete operation. // "UPDATING" - The resource has been marked for an update by the user. It // will remain in this state until the update is complete. // "CREATING" - The resource has been marked for creation by the user. It // will remain in this state until the creation is complete. // "FAILED" - The resource is in an INTERNAL error state. LifecycleState string `json:"lifecycleState,omitempty"` // Locked: Optional. Whether the bucket is locked.The retention period on a // locked bucket cannot be changed. Locked buckets may only be deleted if they // are empty. Locked bool `json:"locked,omitempty"` // Name: Output only. The resource name of the bucket.For // example:projects/my-project/locations/global/buckets/my-bucketFor a list of // supported locations, see Supported Regions // (https://cloud.google.com/logging/docs/region-support)For the location of // global it is unspecified where log entries are actually stored.After a // bucket has been created, the location cannot be changed. Name string `json:"name,omitempty"` // RestrictedFields: Optional. Log entry field paths that are denied access in // this bucket.The following fields and their children are eligible: // textPayload, jsonPayload, protoPayload, httpRequest, labels, // sourceLocation.Restricting a repeated field will restrict all values. Adding // a parent will block all child fields. (e.g. foo.bar will block foo.bar.baz) RestrictedFields []string `json:"restrictedFields,omitempty"` // RetentionDays: Optional. 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. "AnalyticsEnabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnalyticsEnabled") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogBucket: Describes a repository in which log entries are stored.
func (LogBucket) MarshalJSON ¶ added in v0.18.0
type LogEntry ¶
type LogEntry struct { // ErrorGroups: Output only. The Error Reporting // (https://cloud.google.com/error-reporting) error groups associated with this // LogEntry. Error Reporting sets the values for this field during error group // creation.For more information, see View error details( // https://cloud.google.com/error-reporting/docs/viewing-errors#view_error_details)This // field isn't available during log routing // (https://cloud.google.com/logging/docs/routing/overview) ErrorGroups []*LogErrorGroup `json:"errorGroups,omitempty"` // 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 map of key, value pairs that provides additional // information about the log entry. The labels can be user-defined or // system-defined.User-defined labels are arbitrary key, value pairs that you // can use to classify logs.System-defined labels are defined by GCP services // for platform logs. They have two components - a service namespace component // and the attribute name. For example: // compute.googleapis.com/resource_name.Cloud Logging truncates label keys that // exceed 512 B and label values that exceed 64 KB upon their associated log // entry being written. The truncation is indicated by an ellipsis at the end // of the character string. 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/[ORGANIZATION_ID]/logs/[LOG_ID]" // "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_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%2Factivity // ".[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 processed 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. This field is not used by Logging. Any // value written to it is cleared. 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 ID of the Cloud Trace (https://cloud.google.com/trace) // span associated with the current operation in which the log is being // written. For example, if a span has the REST resource name of // "projects/some-project/traces/some-trace/spans/some-span-id", then the // span_id field is "some-span-id".A Span // (https://cloud.google.com/trace/docs/reference/v2/rest/v2/projects.traces/batchWrite#Span) // represents a single operation within a trace. Whereas a trace may involve // multiple different microservices running on multiple different machines, a // span generally corresponds to a single logical operation being performed in // a single instance of a microservice on one specific machine. Spans are the // nodes within the tree that is a trace.Applications that are instrumented for // tracing (https://cloud.google.com/trace/docs/setup) will generally assign a // new, unique span ID on each incoming request. It is also common to create // and record additional spans corresponding to internal processing elements as // well as issuing requests to dependencies.The span ID is expected to be a // 16-character, hexadecimal encoding of an 8-byte array and should not be // zero. It should be unique within the trace and should, ideally, be generated // in a manner that is uniformly random.Example values: 000000000000004a // 7a2190356c3fc94b 0000f00300090021 d39223e101960076 SpanId string `json:"spanId,omitempty"` // Split: Optional. Information indicating this LogEntry is part of a sequence // of multiple log entries split from a single LogEntry. Split *LogSplit `json:"split,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 are rejected by Logging. Timestamp string `json:"timestamp,omitempty"` // Trace: Optional. The REST resource name of the trace being written to Cloud // Trace (https://cloud.google.com/trace) in association with this log entry. // For example, if your trace data is stored in the Cloud project // "my-trace-project" and if the service that is creating the log entry // receives a trace header that includes the trace ID "12345", then the service // should use "projects/my-trace-project/traces/12345".The trace field provides // the link between logs and traces. By using this field, you can navigate from // a log entry to a trace. Trace string `json:"trace,omitempty"` // TraceSampled: Optional. The sampling decision of the span associated with // the log entry at the time the log entry was created. This field corresponds // to the sampled flag in the W3C trace-context specification // (https://www.w3.org/TR/trace-context/#sampled-flag). 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. "ErrorGroups") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorGroups") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogEntry: An individual entry in a log.
func (LogEntry) MarshalJSON ¶
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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 LogErrorGroup ¶ added in v0.150.0
type LogErrorGroup struct { // Id: The id is a unique identifier for a particular error group; it is the // last part of the error group resource name: // /project/[PROJECT_ID]/errors/[ERROR_GROUP_ID]. Example: COShysOX0r_51QE. The // id is derived from key parts of the error-log content and is treated as // Service Data. For information about how Service Data is handled, see Google // Cloud Privacy Notice (https://cloud.google.com/terms/cloud-privacy-notice). Id string `json:"id,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogErrorGroup: Contains metadata that associates the LogEntry to Error Reporting error groups.
func (LogErrorGroup) MarshalJSON ¶ added in v0.150.0
func (s LogErrorGroup) 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: Output only. 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 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogExclusion: Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.
func (LogExclusion) MarshalJSON ¶
func (s LogExclusion) MarshalJSON() ([]byte, error)
type LogLine ¶
type LogLine struct { // LogMessage: App-provided log message. LogMessage string `json:"logMessage,omitempty"` // Severity: Severity of this log entry. // // 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: Where in the source code this log message was written. SourceLocation *SourceLocation `json:"sourceLocation,omitempty"` // Time: Approximate time when this log entry was made. Time string `json:"time,omitempty"` // ForceSendFields is a list of field names (e.g. "LogMessage") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LogMessage") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogLine: Application log line emitted while processing a request.
func (LogLine) MarshalJSON ¶
type LogMetric ¶
type LogMetric struct { // BucketName: Optional. The resource name of the Log Bucket that owns the Log // Metric. Only Log Buckets in projects are supported. The bucket has to be in // the same project as the metric.For // example:projects/my-project/locations/global/buckets/my-bucketIf empty, then // the Log Metric is considered a non-Bucket Log Metric. BucketName string `json:"bucketName,omitempty"` // BucketOptions: Optional. The bucket_options are required when the logs-based // metric is using a DISTRIBUTION value type and it describes the bucket // boundaries used to create a histogram of the extracted values. BucketOptions *BucketOptions `json:"bucketOptions,omitempty"` // CreateTime: Output only. The creation timestamp of the metric.This field may // not be present for older metrics. CreateTime string `json:"createTime,omitempty"` // Description: Optional. A description of this metric, which is used in // documentation. The maximum length of the description is 8000 characters. Description string `json:"description,omitempty"` // Disabled: Optional. If set to True, then this metric is disabled and it does // not generate any points. Disabled bool `json:"disabled,omitempty"` // Filter: Required. An advanced logs filter // (https://cloud.google.com/logging/docs/view/advanced_filters) which is used // to match log entries. Example: "resource.type=gae_app AND severity>=ERROR" // The maximum length of the filter is 20000 characters. Filter string `json:"filter,omitempty"` // LabelExtractors: Optional. A map from a label key string to an extractor // expression which is used to extract data from a log entry field and assign // as the label value. Each label key specified in the LabelDescriptor must // have an associated extractor expression in this map. The syntax of the // extractor expression is the same as for the value_extractor field.The // extracted value is converted to the type defined in the label descriptor. If // either the extraction or the type conversion fails, the label will have a // default value. The default value for a string label is an empty string, for // an integer label its 0, and for a boolean label its false.Note that there // are upper bounds on the maximum number of labels and the number of active // time series that are allowed in a project. LabelExtractors map[string]string `json:"labelExtractors,omitempty"` // MetricDescriptor: Optional. The metric descriptor associated with the // logs-based metric. If unspecified, it uses a default metric descriptor with // a DELTA metric kind, INT64 value type, with no labels and a unit of "1". // Such a metric counts the number of log entries matching the filter // expression.The name, type, and description fields in the metric_descriptor // are output only, and is constructed using the name and description field in // the LogMetric.To create a logs-based metric that records a distribution of // log values, a DELTA metric kind with a DISTRIBUTION value type must be used // along with a value_extractor expression in the LogMetric.Each label in the // metric descriptor must have a matching label name as the key and an // extractor expression as the value in the label_extractors map.The // metric_kind and value_type fields in the metric_descriptor cannot be updated // once initially configured. New labels can be added in the metric_descriptor, // but existing labels cannot be modified except for their description. MetricDescriptor *MetricDescriptor `json:"metricDescriptor,omitempty"` // Name: Required. The client-assigned metric identifier. Examples: // "error_count", "nginx/requests".Metric identifiers are limited to 100 // characters and can include only the following characters: A-Z, a-z, 0-9, and // the special characters _-.,+!*',()%/. The forward-slash character (/) // denotes a hierarchy of name pieces, and it cannot be the first character of // the name.This field is the [METRIC_ID] part of a metric resource name in the // format "projects/PROJECT_ID/metrics/METRIC_ID". Example: If the resource // name of a metric is "projects/my-project/metrics/nginx%2Frequests", this // field's value is "nginx/requests". Name string `json:"name,omitempty"` // ResourceName: Output only. The resource name of the metric: // "projects/[PROJECT_ID]/metrics/[METRIC_ID]" ResourceName string `json:"resourceName,omitempty"` // UpdateTime: Output only. The last update timestamp of the metric.This field // may not be present for older metrics. UpdateTime string `json:"updateTime,omitempty"` // ValueExtractor: Optional. A value_extractor is required when using a // distribution logs-based metric to extract the values to record from a log // entry. Two functions are supported for value extraction: EXTRACT(field) or // REGEXP_EXTRACT(field, regex). The arguments are: field: The name of the log // entry field from which the value is to be extracted. regex: A regular // expression using the Google RE2 syntax // (https://github.com/google/re2/wiki/Syntax) with a single capture group to // extract data from the specified log entry field. The value of the field is // converted to a string before applying the regex. It is an error to specify a // regex that does not include exactly one capture group.The result of the // extraction must be convertible to a double type, as the distribution always // records double values. If either the extraction or the conversion to double // fails, then those values are not recorded in the distribution.Example: // REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*") ValueExtractor string `json:"valueExtractor,omitempty"` // Version: Deprecated. The API version that created or updated this metric. // The v2 format is used by default and cannot be changed. // // Possible values: // "V2" - Logging API v2. // "V1" - Logging API v1. Version string `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BucketName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BucketName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogMetric: Describes a logs-based metric. The value of the metric is the number of log entries that match a logs filter in a given time interval.Logs-based metrics can also be used to extract values from logs and create a distribution of the values. The distribution records the statistics of the extracted values along with an optional histogram of the values as specified by the bucket options.
func (LogMetric) MarshalJSON ¶
type LogSink ¶
type LogSink struct { // BigqueryOptions: Optional. Options that affect sinks exporting data to // BigQuery. BigqueryOptions *BigQueryOptions `json:"bigqueryOptions,omitempty"` // CreateTime: Output only. The creation timestamp of the sink.This field may // not be present for older sinks. CreateTime string `json:"createTime,omitempty"` // Description: Optional. A description of this sink.The maximum length of the // description is 8000 characters. Description string `json:"description,omitempty"` // Destination: Required. The export destination: // "storage.googleapis.com/[GCS_BUCKET]" // "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]" // "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" // "logging.googleapis.com/projects/[PROJECT_ID]" // "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets // /[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must // have permission to write to the destination or else the log entries are not // exported. For more information, see Exporting Logs with Sinks // (https://cloud.google.com/logging/docs/api/tasks/exporting-logs). Destination string `json:"destination,omitempty"` // Disabled: Optional. If set to true, then this sink is disabled and it does // not export any log entries. Disabled bool `json:"disabled,omitempty"` // Exclusions: Optional. Log entries that match any of these exclusion filters // will not be exported.If a log entry is matched by both filter and one of // exclusion_filters it will not be exported. Exclusions []*LogExclusion `json:"exclusions,omitempty"` // Filter: Optional. An advanced logs filter // (https://cloud.google.com/logging/docs/view/advanced-queries). The only // exported log entries are those that are in the resource owning the sink and // that match the filter.For // example:logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR Filter string `json:"filter,omitempty"` // IncludeChildren: Optional. This field applies only to sinks owned by // organizations and folders. If the field is false, the default, only the logs // owned by the sink's parent resource are available for export. If the field // is true, then log entries from all the projects, folders, and billing // accounts contained in the sink's parent resource are also available for // export. Whether a particular log entry from the children is exported depends // on the sink's filter expression.For example, if this field is true, then the // filter resource.type=gce_instance would export all Compute Engine VM // instance log entries from all projects in the sink's parent.To only export // entries from certain child projects, filter on the project part of the log // name:logName:("projects/test-project1/" OR "projects/test-project2/") AND // resource.type=gce_instance IncludeChildren bool `json:"includeChildren,omitempty"` // InterceptChildren: Optional. This field applies only to sinks owned by // organizations and folders.When the value of 'intercept_children' is true, // the following restrictions apply: The sink must have the include_children // flag set to true. The sink destination must be a Cloud project.Also, the // following behaviors apply: Any logs matched by the sink won't be included by // non-_Required sinks owned by child resources. The sink appears in the // results of a ListSinks call from a child resource if the value of the filter // field in its request is either 'in_scope("ALL")' or 'in_scope("ANCESTOR")'. InterceptChildren bool `json:"interceptChildren,omitempty"` // Name: Output only. The client-assigned sink identifier, unique within the // project.For example: "my-syslog-errors-to-pubsub".Sink identifiers are // limited to 100 characters and can include only the following characters: // upper and lower-case alphanumeric characters, underscores, hyphens, // periods.First character has to be alphanumeric. Name string `json:"name,omitempty"` // OutputVersionFormat: Deprecated. This field is unused. // // Possible values: // "VERSION_FORMAT_UNSPECIFIED" - An unspecified format version that will // default to V2. // "V2" - LogEntry version 2 format. // "V1" - LogEntry version 1 format. OutputVersionFormat string `json:"outputVersionFormat,omitempty"` // ResourceName: Output only. The resource name of the sink. // "projects/[PROJECT_ID]/sinks/[SINK_NAME] // "organizations/[ORGANIZATION_ID]/sinks/[SINK_NAME] // "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_NAME] // "folders/[FOLDER_ID]/sinks/[SINK_NAME] For example: // projects/my_project/sinks/SINK_NAME ResourceName string `json:"resourceName,omitempty"` // UpdateTime: Output only. The last update timestamp of the sink.This field // may not be present for older sinks. UpdateTime string `json:"updateTime,omitempty"` // WriterIdentity: Output only. An IAM identity—a service account or // group—under which Cloud Logging writes the exported log entries to the // sink's destination. This field is either set by specifying // custom_writer_identity or set automatically by sinks.create and sinks.update // based on the value of unique_writer_identity in those methods.Until you // grant this identity write-access to the destination, log entry exports from // this sink will fail. For more information, see Granting Access for a // Resource // (https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource). // Consult the destination service's documentation to determine the appropriate // IAM roles to assign to the identity.Sinks that have a destination that is a // log bucket in the same project as the sink cannot have a writer_identity and // no additional permissions are required. WriterIdentity string `json:"writerIdentity,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "BigqueryOptions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryOptions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogSink: Describes a sink used to export log entries to one of the following destinations: a Cloud Logging log bucket, a Cloud Storage bucket, a BigQuery dataset, a Pub/Sub topic, a Cloud project.A logs filter controls which log entries are exported. The sink must be created within a project, organization, billing account, or folder.
func (LogSink) MarshalJSON ¶
type LogSplit ¶ added in v0.69.0
type LogSplit struct { // Index: The index of this LogEntry in the sequence of split log entries. Log // entries are given |index| values 0, 1, ..., n-1 for a sequence of n log // entries. Index int64 `json:"index,omitempty"` // TotalSplits: The total number of log entries that the original LogEntry was // split into. TotalSplits int64 `json:"totalSplits,omitempty"` // Uid: A globally unique identifier for all log entries in a sequence of split // log entries. All log entries with the same |LogSplit.uid| are assumed to be // part of the same sequence of split log entries. Uid string `json:"uid,omitempty"` // ForceSendFields is a list of field names (e.g. "Index") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Index") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogSplit: Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.
func (LogSplit) MarshalJSON ¶ added in v0.69.0
type LogView ¶ added in v0.34.0
type LogView struct { // CreateTime: Output only. The creation timestamp of the view. CreateTime string `json:"createTime,omitempty"` // Description: Optional. Describes this view. Description string `json:"description,omitempty"` // Filter: Optional. Filter that restricts which log entries in a bucket are // visible in this view.Filters must be logical conjunctions that use the AND // operator, and they can use any of the following qualifiers: SOURCE(), which // specifies a project, folder, organization, or billing account of origin. // resource.type, which specifies the resource type. LOG_ID(), which identifies // the log.They can also use the negations of these qualifiers with the NOT // operator.For example:SOURCE("projects/myproject") AND resource.type = // "gce_instance" AND NOT LOG_ID("stdout") Filter string `json:"filter,omitempty"` // Name: Output only. The resource name of the view.For // example:projects/my-project/locations/global/buckets/my-bucket/views/my-view Name string `json:"name,omitempty"` // UpdateTime: Output only. The last update timestamp of the view. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LogView: Describes a view over log entries in a bucket.
func (LogView) MarshalJSON ¶ added in v0.34.0
type LoggingQuery ¶ added in v0.152.0
type LoggingQuery struct { // Filter: Required. An advanced query using the Logging Query Language // (https://cloud.google.com/logging/docs/view/logging-query-language). The // maximum length of the filter is 20000 characters. Filter string `json:"filter,omitempty"` // SummaryFieldEnd: Characters will be counted from the end of the string. SummaryFieldEnd int64 `json:"summaryFieldEnd,omitempty"` // SummaryFieldStart: Characters will be counted from the start of the string. SummaryFieldStart int64 `json:"summaryFieldStart,omitempty"` // SummaryFields: Optional. The set of summary fields to display for this saved // query. SummaryFields []*SummaryField `json:"summaryFields,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
LoggingQuery: Describes a Cloud Logging query that can be run in Logs Explorer UI or via the logging API.In addition to the query itself, additional information may be stored to capture the display configuration and other UI state used in association with analysis of query results.
func (LoggingQuery) MarshalJSON ¶ added in v0.152.0
func (s LoggingQuery) MarshalJSON() ([]byte, error)
type LogsDeleteCall ¶
type LogsDeleteCall struct {
// contains filtered or unexported fields
}
func (*LogsDeleteCall) Context ¶
func (c *LogsDeleteCall) Context(ctx context.Context) *LogsDeleteCall
Context sets the context to be used in this call's Do method.
func (*LogsDeleteCall) Do ¶
func (c *LogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.logs.delete" call. 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 (*LogsDeleteCall) Fields ¶
func (c *LogsDeleteCall) Fields(s ...googleapi.Field) *LogsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LogsDeleteCall) Header ¶
func (c *LogsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type LogsListCall ¶
type LogsListCall struct {
// contains filtered or unexported fields
}
func (*LogsListCall) Context ¶
func (c *LogsListCall) Context(ctx context.Context) *LogsListCall
Context sets the context to be used in this call's Do method.
func (*LogsListCall) Do ¶
func (c *LogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.logs.list" call. 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 (*LogsListCall) Fields ¶
func (c *LogsListCall) Fields(s ...googleapi.Field) *LogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*LogsListCall) Header ¶
func (c *LogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*LogsListCall) IfNoneMatch ¶
func (c *LogsListCall) IfNoneMatch(entityTag string) *LogsListCall
IfNoneMatch sets an 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.
func (*LogsListCall) PageSize ¶
func (c *LogsListCall) PageSize(pageSize int64) *LogsListCall
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 (*LogsListCall) PageToken ¶
func (c *LogsListCall) PageToken(pageToken string) *LogsListCall
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 (*LogsListCall) Pages ¶
func (c *LogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*LogsListCall) ResourceNames ¶ added in v0.35.0
func (c *LogsListCall) ResourceNames(resourceNames ...string) *LogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type LogsService ¶
type LogsService struct {
// contains filtered or unexported fields
}
func NewLogsService ¶
func NewLogsService(s *Service) *LogsService
func (*LogsService) Delete ¶
func (r *LogsService) Delete(logName string) *LogsDeleteCall
Delete: Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
- logName: The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
func (*LogsService) List ¶
func (r *LogsService) List(parent string) *LogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type MetricDescriptor ¶
type MetricDescriptor struct { // Description: A detailed description of the metric, which can be used in // documentation. Description string `json:"description,omitempty"` // DisplayName: A concise name for the metric, which can be displayed in user // interfaces. Use sentence case without an ending period, for example "Request // count". This field is optional but it is recommended to be set for any // metrics associated with user-visible concepts, such as Quota. DisplayName string `json:"displayName,omitempty"` // Labels: The set of labels that can be used to describe a specific instance // of this metric type. For example, the // appengine.googleapis.com/http/server/response_latencies metric type has a // label for the HTTP response code, response_code, so you can look at // latencies for successful responses or just for responses that failed. Labels []*LabelDescriptor `json:"labels,omitempty"` // LaunchStage: Optional. The launch stage of the metric definition. // // Possible values: // "LAUNCH_STAGE_UNSPECIFIED" - Do not use this default value. // "UNIMPLEMENTED" - The feature is not yet implemented. Users can not use // it. // "PRELAUNCH" - Prelaunch features are hidden from users and are only // visible internally. // "EARLY_ACCESS" - Early Access features are limited to a closed group of // testers. To use these features, you must sign up in advance and sign a // Trusted Tester agreement (which includes confidentiality provisions). These // features may be unstable, changed in backward-incompatible ways, and are not // guaranteed to be released. // "ALPHA" - Alpha is a limited availability test for releases before they // are cleared for widespread use. By Alpha, all significant design issues are // resolved and we are in the process of verifying functionality. Alpha // customers need to apply for access, agree to applicable terms, and have // their projects allowlisted. Alpha releases don't have to be feature // complete, no SLAs are provided, and there are no technical support // obligations, but they will be far enough along that customers can actually // use them in test environments or for limited-use tests -- just like they // would in normal production cases. // "BETA" - Beta is the point at which we are ready to open a release for any // customer to use. There are no SLA or technical support obligations in a Beta // release. Products will be complete from a feature perspective, but may have // some open outstanding issues. Beta releases are suitable for limited // production use cases. // "GA" - GA features are open to all developers and are considered stable // and fully qualified for production use. // "DEPRECATED" - Deprecated features are scheduled to be shut down and // removed. For more information, see the "Deprecation Policy" section of our // Terms of Service (https://cloud.google.com/terms/) and the Google Cloud // Platform Subject to the Deprecation Policy // (https://cloud.google.com/terms/deprecation) documentation. LaunchStage string `json:"launchStage,omitempty"` // Metadata: Optional. Metadata which can be used to guide usage of the metric. Metadata *MetricDescriptorMetadata `json:"metadata,omitempty"` // MetricKind: Whether the metric records instantaneous values, changes to a // value, etc. Some combinations of metric_kind and value_type might not be // supported. // // Possible values: // "METRIC_KIND_UNSPECIFIED" - Do not use this default value. // "GAUGE" - An instantaneous measurement of a value. // "DELTA" - The change in a value during a time interval. // "CUMULATIVE" - A value accumulated over a time interval. Cumulative // measurements in a time series should have the same start time and increasing // end times, until an event resets the cumulative value to zero and sets a new // start time for the following points. MetricKind string `json:"metricKind,omitempty"` // MonitoredResourceTypes: Read-only. If present, then a time series, which is // identified partially by a metric type and a MonitoredResourceDescriptor, // that is associated with this metric type can only be associated with one of // the monitored resource types listed here. MonitoredResourceTypes []string `json:"monitoredResourceTypes,omitempty"` // Name: The resource name of the metric descriptor. Name string `json:"name,omitempty"` // Type: The metric type, including its DNS name prefix. The type is not // URL-encoded. All user-defined metric types have the DNS name // custom.googleapis.com or external.googleapis.com. Metric types should use a // natural hierarchical grouping. For example: // "custom.googleapis.com/invoice/paid/amount" // "external.googleapis.com/prometheus/up" // "appengine.googleapis.com/http/server/response_latencies" Type string `json:"type,omitempty"` // Unit: The units in which the metric value is reported. It is only applicable // if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the // representation of the stored metric values.Different systems might scale the // values to be more easily displayed (so a value of 0.02kBy might be displayed // as 20By, and a value of 3523kBy might be displayed as 3.5MBy). However, if // the unit is kBy, then the value of the metric is always in thousands of // bytes, no matter how it might be displayed.If you want a custom metric to // record the exact number of CPU-seconds used by a job, you can create an // INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or // just s). If the job uses 12,005 CPU-seconds, then the value is written as // 12005.Alternatively, if you want a custom metric to record data in a more // granular way, you can create a DOUBLE CUMULATIVE metric whose unit is // ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use // Kis{CPU} and write 11.723 (which is 12005/1024).The supported units are a // subset of The Unified Code for Units of Measure // (https://unitsofmeasure.org/ucum.html) standard:Basic units (UNIT) bit bit // By byte s second min minute h hour d day 1 dimensionlessPrefixes (PREFIX) k // kilo (10^3) M mega (10^6) G giga (10^9) T tera (10^12) P peta (10^15) E exa // (10^18) Z zetta (10^21) Y yotta (10^24) m milli (10^-3) u micro (10^-6) n // nano (10^-9) p pico (10^-12) f femto (10^-15) a atto (10^-18) z zepto // (10^-21) y yocto (10^-24) Ki kibi (2^10) Mi mebi (2^20) Gi gibi (2^30) Ti // tebi (2^40) Pi pebi (2^50)GrammarThe grammar also includes these connectors: // / division or ratio (as an infix operator). For examples, kBy/{email} or // MiBy/10ms (although you should almost never have /s in a metric unit; rates // should always be computed at query time from the underlying cumulative or // delta value). . multiplication or composition (as an infix operator). For // examples, GBy.d or k{watt}.h.The grammar for a unit is as follows: // Expression = Component { "." Component } { "/" Component } ; Component = ( [ // PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" // NAME "}" ; Notes: Annotation is just a comment if it follows a UNIT. If the // annotation is used alone, then the unit is equivalent to 1. For examples, // {request}/s == 1/s, By{transmitted}/s == By/s. NAME is a sequence of // non-blank printable ASCII characters not containing { or }. 1 represents a // unitary dimensionless unit // (https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in 1/s. // It is typically used when none of the basic units are appropriate. For // example, "new users per day" can be represented as 1/d or {new-users}/d (and // a metric value 5 would mean "5 new users). Alternatively, "thousands of page // views per day" would be represented as 1000/d or k1/d or k{page_views}/d // (and a metric value of 5.3 would mean "5300 page views per day"). % // represents dimensionless value of 1/100, and annotates values giving a // percentage (so the metric values are typically in the range of 0..100, and a // metric value 3 means "3 percent"). 10^2.% indicates a metric contains a // ratio, typically in the range 0..1, that will be multiplied by 100 and // displayed as a percentage (so a metric value 0.03 means "3 percent"). Unit string `json:"unit,omitempty"` // ValueType: Whether the measurement is an integer, a floating-point number, // etc. Some combinations of metric_kind and value_type might not be supported. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - Do not use this default value. // "BOOL" - The value is a boolean. This value type can be used only if the // metric kind is GAUGE. // "INT64" - The value is a signed 64-bit integer. // "DOUBLE" - The value is a double precision floating point number. // "STRING" - The value is a text string. This value type can be used only if // the metric kind is GAUGE. // "DISTRIBUTION" - The value is a Distribution. // "MONEY" - The value is money. 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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MetricDescriptor: Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
func (MetricDescriptor) MarshalJSON ¶
func (s MetricDescriptor) MarshalJSON() ([]byte, error)
type MetricDescriptorMetadata ¶
type MetricDescriptorMetadata struct { // IngestDelay: The delay of data points caused by ingestion. Data points older // than this age are guaranteed to be ingested and available to be read, // excluding data loss due to errors. IngestDelay string `json:"ingestDelay,omitempty"` // LaunchStage: Deprecated. Must use the MetricDescriptor.launch_stage instead. // // Possible values: // "LAUNCH_STAGE_UNSPECIFIED" - Do not use this default value. // "UNIMPLEMENTED" - The feature is not yet implemented. Users can not use // it. // "PRELAUNCH" - Prelaunch features are hidden from users and are only // visible internally. // "EARLY_ACCESS" - Early Access features are limited to a closed group of // testers. To use these features, you must sign up in advance and sign a // Trusted Tester agreement (which includes confidentiality provisions). These // features may be unstable, changed in backward-incompatible ways, and are not // guaranteed to be released. // "ALPHA" - Alpha is a limited availability test for releases before they // are cleared for widespread use. By Alpha, all significant design issues are // resolved and we are in the process of verifying functionality. Alpha // customers need to apply for access, agree to applicable terms, and have // their projects allowlisted. Alpha releases don't have to be feature // complete, no SLAs are provided, and there are no technical support // obligations, but they will be far enough along that customers can actually // use them in test environments or for limited-use tests -- just like they // would in normal production cases. // "BETA" - Beta is the point at which we are ready to open a release for any // customer to use. There are no SLA or technical support obligations in a Beta // release. Products will be complete from a feature perspective, but may have // some open outstanding issues. Beta releases are suitable for limited // production use cases. // "GA" - GA features are open to all developers and are considered stable // and fully qualified for production use. // "DEPRECATED" - Deprecated features are scheduled to be shut down and // removed. For more information, see the "Deprecation Policy" section of our // Terms of Service (https://cloud.google.com/terms/) and the Google Cloud // Platform Subject to the Deprecation Policy // (https://cloud.google.com/terms/deprecation) documentation. LaunchStage string `json:"launchStage,omitempty"` // SamplePeriod: The sampling period of metric data points. For metrics which // are written periodically, consecutive data points are stored at this time // interval, excluding data loss due to errors. Metrics with a higher // granularity have a smaller sampling period. SamplePeriod string `json:"samplePeriod,omitempty"` // ForceSendFields is a list of field names (e.g. "IngestDelay") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IngestDelay") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MetricDescriptorMetadata: Additional annotations that can be used to guide the usage of a metric.
func (MetricDescriptorMetadata) MarshalJSON ¶
func (s MetricDescriptorMetadata) MarshalJSON() ([]byte, error)
type MonitoredResource ¶
type MonitoredResource struct { // Labels: Required. Values for all of the labels listed in the associated // monitored resource descriptor. For example, Compute Engine VM instances use // the labels "project_id", "instance_id", and "zone". Labels map[string]string `json:"labels,omitempty"` // Type: Required. The monitored resource type. This field must match the type // field of a MonitoredResourceDescriptor object. For example, the type of a // Compute Engine VM instance is gce_instance. Some descriptors include the // service name in the type; for example, the type of a Datastream stream is // datastream.googleapis.com/Stream. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Labels") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MonitoredResource: An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The type field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the labels field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }}
func (MonitoredResource) MarshalJSON ¶
func (s MonitoredResource) MarshalJSON() ([]byte, error)
type MonitoredResourceDescriptor ¶
type MonitoredResourceDescriptor struct { // Description: Optional. A detailed description of the monitored resource type // that might be used in documentation. Description string `json:"description,omitempty"` // DisplayName: Optional. A concise name for the monitored resource type that // might be displayed in user interfaces. It should be a Title Cased Noun // Phrase, without any article or other determiners. For example, "Google Cloud // SQL Database". DisplayName string `json:"displayName,omitempty"` // Labels: Required. A set of labels used to describe instances of this // monitored resource type. For example, an individual Google Cloud SQL // database is identified by values for the labels "database_id" and "zone". Labels []*LabelDescriptor `json:"labels,omitempty"` // LaunchStage: Optional. The launch stage of the monitored resource // definition. // // Possible values: // "LAUNCH_STAGE_UNSPECIFIED" - Do not use this default value. // "UNIMPLEMENTED" - The feature is not yet implemented. Users can not use // it. // "PRELAUNCH" - Prelaunch features are hidden from users and are only // visible internally. // "EARLY_ACCESS" - Early Access features are limited to a closed group of // testers. To use these features, you must sign up in advance and sign a // Trusted Tester agreement (which includes confidentiality provisions). These // features may be unstable, changed in backward-incompatible ways, and are not // guaranteed to be released. // "ALPHA" - Alpha is a limited availability test for releases before they // are cleared for widespread use. By Alpha, all significant design issues are // resolved and we are in the process of verifying functionality. Alpha // customers need to apply for access, agree to applicable terms, and have // their projects allowlisted. Alpha releases don't have to be feature // complete, no SLAs are provided, and there are no technical support // obligations, but they will be far enough along that customers can actually // use them in test environments or for limited-use tests -- just like they // would in normal production cases. // "BETA" - Beta is the point at which we are ready to open a release for any // customer to use. There are no SLA or technical support obligations in a Beta // release. Products will be complete from a feature perspective, but may have // some open outstanding issues. Beta releases are suitable for limited // production use cases. // "GA" - GA features are open to all developers and are considered stable // and fully qualified for production use. // "DEPRECATED" - Deprecated features are scheduled to be shut down and // removed. For more information, see the "Deprecation Policy" section of our // Terms of Service (https://cloud.google.com/terms/) and the Google Cloud // Platform Subject to the Deprecation Policy // (https://cloud.google.com/terms/deprecation) documentation. LaunchStage string `json:"launchStage,omitempty"` // Name: Optional. The resource name of the monitored resource descriptor: // "projects/{project_id}/monitoredResourceDescriptors/{type}" where {type} is // the value of the type field in this object and {project_id} is a project ID // that provides API-specific context for accessing the type. APIs that do not // use project information can use the resource name format // "monitoredResourceDescriptors/{type}". Name string `json:"name,omitempty"` // Type: Required. The monitored resource type. For example, the type // "cloudsql_database" represents databases in Google Cloud SQL. For a list of // types, see Monitored resource types // (https://cloud.google.com/monitoring/api/resources) and Logging resource // types (https://cloud.google.com/logging/docs/api/v2/resource-list). Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MonitoredResourceDescriptor: An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of "gce_instance" and specifies the use of the labels "instance_id" and "zone" to identify particular VM instances.Different APIs can support different monitored resource types. APIs generally provide a list method that returns the monitored resource descriptors used by the API.
func (MonitoredResourceDescriptor) MarshalJSON ¶
func (s MonitoredResourceDescriptor) MarshalJSON() ([]byte, error)
type MonitoredResourceDescriptorsListCall ¶
type MonitoredResourceDescriptorsListCall struct {
// contains filtered or unexported fields
}
func (*MonitoredResourceDescriptorsListCall) Context ¶
func (c *MonitoredResourceDescriptorsListCall) Context(ctx context.Context) *MonitoredResourceDescriptorsListCall
Context sets the context to be used in this call's Do method.
func (*MonitoredResourceDescriptorsListCall) Do ¶
func (c *MonitoredResourceDescriptorsListCall) Do(opts ...googleapi.CallOption) (*ListMonitoredResourceDescriptorsResponse, error)
Do executes the "logging.monitoredResourceDescriptors.list" call. Any non-2xx status code is an error. Response headers are in either *ListMonitoredResourceDescriptorsResponse.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 (*MonitoredResourceDescriptorsListCall) Fields ¶
func (c *MonitoredResourceDescriptorsListCall) Fields(s ...googleapi.Field) *MonitoredResourceDescriptorsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*MonitoredResourceDescriptorsListCall) Header ¶
func (c *MonitoredResourceDescriptorsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*MonitoredResourceDescriptorsListCall) IfNoneMatch ¶
func (c *MonitoredResourceDescriptorsListCall) IfNoneMatch(entityTag string) *MonitoredResourceDescriptorsListCall
IfNoneMatch sets an 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.
func (*MonitoredResourceDescriptorsListCall) PageSize ¶
func (c *MonitoredResourceDescriptorsListCall) PageSize(pageSize int64) *MonitoredResourceDescriptorsListCall
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 (*MonitoredResourceDescriptorsListCall) PageToken ¶
func (c *MonitoredResourceDescriptorsListCall) PageToken(pageToken string) *MonitoredResourceDescriptorsListCall
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 (*MonitoredResourceDescriptorsListCall) Pages ¶
func (c *MonitoredResourceDescriptorsListCall) Pages(ctx context.Context, f func(*ListMonitoredResourceDescriptorsResponse) error) error
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 MonitoredResourceDescriptorsService ¶
type MonitoredResourceDescriptorsService struct {
// contains filtered or unexported fields
}
func NewMonitoredResourceDescriptorsService ¶
func NewMonitoredResourceDescriptorsService(s *Service) *MonitoredResourceDescriptorsService
func (*MonitoredResourceDescriptorsService) List ¶
func (r *MonitoredResourceDescriptorsService) List() *MonitoredResourceDescriptorsListCall
List: Lists the descriptors for monitored resource types used by Logging.
type MonitoredResourceMetadata ¶
type MonitoredResourceMetadata struct { // SystemLabels: Output only. Values for predefined system metadata labels. // System labels are a kind of metadata extracted by Google, including // "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System // label values can be only strings, Boolean values, or a list of strings. For // example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], // "spot_instance": false } SystemLabels googleapi.RawMessage `json:"systemLabels,omitempty"` // UserLabels: Output only. A map of user-defined metadata labels. UserLabels map[string]string `json:"userLabels,omitempty"` // ForceSendFields is a list of field names (e.g. "SystemLabels") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SystemLabels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
MonitoredResourceMetadata: Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.
func (MonitoredResourceMetadata) MarshalJSON ¶
func (s MonitoredResourceMetadata) MarshalJSON() ([]byte, error)
type Operation ¶ added in v0.51.0
type Operation struct { // Done: If the value is false, it means the operation is still in progress. If // true, the operation is completed, and either error or response is available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or cancellation. Error *Status `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as create // time. Some services might not provide such metadata. Any method that returns // a long-running operation should document the metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same service // that originally returns it. If you use the default HTTP mapping, the name // should be a resource name ending with operations/{unique_id}. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. If the original // method returns no data on success, such as Delete, the response is // google.protobuf.Empty. If the original method is standard Get/Create/Update, // the response should be the resource. For other methods, the response should // have the type XxxResponse, where Xxx is the original method name. For // example, if the original method name is TakeSnapshot(), the inferred // response type is TakeSnapshotResponse. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Operation: This resource represents a long-running operation that is the result of a network API call.
func (Operation) MarshalJSON ¶ added in v0.51.0
type OpsAnalyticsQuery ¶ added in v0.152.0
type OpsAnalyticsQuery struct { // SqlQueryText: Required. A logs analytics SQL query, which generally follows // BigQuery format.This is the SQL query that appears in the Log Analytics UI's // query editor. SqlQueryText string `json:"sqlQueryText,omitempty"` // ForceSendFields is a list of field names (e.g. "SqlQueryText") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SqlQueryText") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
OpsAnalyticsQuery: Describes an analytics query that can be run in the Log Analytics page of Google Cloud console.Preview: This is a preview feature and may be subject to change before final release.
func (OpsAnalyticsQuery) MarshalJSON ¶ added in v0.152.0
func (s OpsAnalyticsQuery) MarshalJSON() ([]byte, error)
type OrganizationsExclusionsCreateCall ¶
type OrganizationsExclusionsCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsExclusionsCreateCall) Context ¶
func (c *OrganizationsExclusionsCreateCall) Context(ctx context.Context) *OrganizationsExclusionsCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsExclusionsCreateCall) Do ¶
func (c *OrganizationsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.organizations.exclusions.create" call. 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 (*OrganizationsExclusionsCreateCall) Fields ¶
func (c *OrganizationsExclusionsCreateCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsExclusionsCreateCall) Header ¶
func (c *OrganizationsExclusionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsExclusionsDeleteCall ¶
type OrganizationsExclusionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsExclusionsDeleteCall) Context ¶
func (c *OrganizationsExclusionsDeleteCall) Context(ctx context.Context) *OrganizationsExclusionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsExclusionsDeleteCall) Do ¶
func (c *OrganizationsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.exclusions.delete" call. 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 (*OrganizationsExclusionsDeleteCall) Fields ¶
func (c *OrganizationsExclusionsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsExclusionsDeleteCall) Header ¶
func (c *OrganizationsExclusionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsExclusionsGetCall ¶
type OrganizationsExclusionsGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsExclusionsGetCall) Context ¶
func (c *OrganizationsExclusionsGetCall) Context(ctx context.Context) *OrganizationsExclusionsGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsExclusionsGetCall) Do ¶
func (c *OrganizationsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.organizations.exclusions.get" call. 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 (*OrganizationsExclusionsGetCall) Fields ¶
func (c *OrganizationsExclusionsGetCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsExclusionsGetCall) Header ¶
func (c *OrganizationsExclusionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsExclusionsGetCall) IfNoneMatch ¶
func (c *OrganizationsExclusionsGetCall) IfNoneMatch(entityTag string) *OrganizationsExclusionsGetCall
IfNoneMatch sets an 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.
type OrganizationsExclusionsListCall ¶
type OrganizationsExclusionsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsExclusionsListCall) Context ¶
func (c *OrganizationsExclusionsListCall) Context(ctx context.Context) *OrganizationsExclusionsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsExclusionsListCall) Do ¶
func (c *OrganizationsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
Do executes the "logging.organizations.exclusions.list" call. 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 (*OrganizationsExclusionsListCall) Fields ¶
func (c *OrganizationsExclusionsListCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsExclusionsListCall) Header ¶
func (c *OrganizationsExclusionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsExclusionsListCall) IfNoneMatch ¶
func (c *OrganizationsExclusionsListCall) IfNoneMatch(entityTag string) *OrganizationsExclusionsListCall
IfNoneMatch sets an 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.
func (*OrganizationsExclusionsListCall) PageSize ¶
func (c *OrganizationsExclusionsListCall) PageSize(pageSize int64) *OrganizationsExclusionsListCall
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 (*OrganizationsExclusionsListCall) PageToken ¶
func (c *OrganizationsExclusionsListCall) PageToken(pageToken string) *OrganizationsExclusionsListCall
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 (*OrganizationsExclusionsListCall) Pages ¶
func (c *OrganizationsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
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 OrganizationsExclusionsPatchCall ¶
type OrganizationsExclusionsPatchCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsExclusionsPatchCall) Context ¶
func (c *OrganizationsExclusionsPatchCall) Context(ctx context.Context) *OrganizationsExclusionsPatchCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsExclusionsPatchCall) Do ¶
func (c *OrganizationsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.organizations.exclusions.patch" call. 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 (*OrganizationsExclusionsPatchCall) Fields ¶
func (c *OrganizationsExclusionsPatchCall) Fields(s ...googleapi.Field) *OrganizationsExclusionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsExclusionsPatchCall) Header ¶
func (c *OrganizationsExclusionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsExclusionsPatchCall) UpdateMask ¶
func (c *OrganizationsExclusionsPatchCall) UpdateMask(updateMask string) *OrganizationsExclusionsPatchCall
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 OrganizationsExclusionsService ¶
type OrganizationsExclusionsService struct {
// contains filtered or unexported fields
}
func NewOrganizationsExclusionsService ¶
func NewOrganizationsExclusionsService(s *Service) *OrganizationsExclusionsService
func (*OrganizationsExclusionsService) Create ¶
func (r *OrganizationsExclusionsService) Create(parent string, logexclusion *LogExclusion) *OrganizationsExclusionsCreateCall
Create: Creates a new exclusion in the _Default sink 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.
- parent: The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789".
func (*OrganizationsExclusionsService) Delete ¶
func (r *OrganizationsExclusionsService) Delete(name string) *OrganizationsExclusionsDeleteCall
Delete: Deletes an exclusion in the _Default sink.
- name: The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*OrganizationsExclusionsService) Get ¶
func (r *OrganizationsExclusionsService) Get(name string) *OrganizationsExclusionsGetCall
Get: Gets the description of an exclusion in the _Default sink.
- name: The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*OrganizationsExclusionsService) List ¶
func (r *OrganizationsExclusionsService) List(parent string) *OrganizationsExclusionsListCall
List: Lists all the exclusions on the _Default sink in a parent resource.
- parent: The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*OrganizationsExclusionsService) Patch ¶
func (r *OrganizationsExclusionsService) Patch(name string, logexclusion *LogExclusion) *OrganizationsExclusionsPatchCall
Patch: Changes one or more properties of an existing exclusion in the _Default sink.
- name: The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
type OrganizationsGetCmekSettingsCall ¶ added in v0.16.0
type OrganizationsGetCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsGetCmekSettingsCall) Context ¶ added in v0.16.0
func (c *OrganizationsGetCmekSettingsCall) Context(ctx context.Context) *OrganizationsGetCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsGetCmekSettingsCall) Do ¶ added in v0.16.0
func (c *OrganizationsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.organizations.getCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*OrganizationsGetCmekSettingsCall) Fields ¶ added in v0.16.0
func (c *OrganizationsGetCmekSettingsCall) Fields(s ...googleapi.Field) *OrganizationsGetCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsGetCmekSettingsCall) Header ¶ added in v0.16.0
func (c *OrganizationsGetCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsGetCmekSettingsCall) IfNoneMatch ¶ added in v0.16.0
func (c *OrganizationsGetCmekSettingsCall) IfNoneMatch(entityTag string) *OrganizationsGetCmekSettingsCall
IfNoneMatch sets an 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.
type OrganizationsGetSettingsCall ¶ added in v0.67.0
type OrganizationsGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsGetSettingsCall) Context ¶ added in v0.67.0
func (c *OrganizationsGetSettingsCall) Context(ctx context.Context) *OrganizationsGetSettingsCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsGetSettingsCall) Do ¶ added in v0.67.0
func (c *OrganizationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.organizations.getSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*OrganizationsGetSettingsCall) Fields ¶ added in v0.67.0
func (c *OrganizationsGetSettingsCall) Fields(s ...googleapi.Field) *OrganizationsGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsGetSettingsCall) Header ¶ added in v0.67.0
func (c *OrganizationsGetSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsGetSettingsCall) IfNoneMatch ¶ added in v0.67.0
func (c *OrganizationsGetSettingsCall) IfNoneMatch(entityTag string) *OrganizationsGetSettingsCall
IfNoneMatch sets an 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.
type OrganizationsLocationsBucketsCreateAsyncCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsCreateAsyncCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsCreateAsyncCall) BucketId ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *OrganizationsLocationsBucketsCreateAsyncCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*OrganizationsLocationsBucketsCreateAsyncCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *OrganizationsLocationsBucketsCreateAsyncCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsCreateAsyncCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.organizations.locations.buckets.createAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*OrganizationsLocationsBucketsCreateAsyncCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsCreateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsCreateAsyncCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsCreateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsCreateCall ¶ added in v0.31.0
type OrganizationsLocationsBucketsCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsCreateCall) BucketId ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsCreateCall) BucketId(bucketId string) *OrganizationsLocationsBucketsCreateCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*OrganizationsLocationsBucketsCreateCall) Context ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsCreateCall) Do ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.organizations.locations.buckets.create" call. 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 (*OrganizationsLocationsBucketsCreateCall) Fields ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsCreateCall) Header ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsDeleteCall ¶ added in v0.31.0
type OrganizationsLocationsBucketsDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsDeleteCall) Context ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsDeleteCall) Do ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.locations.buckets.delete" call. 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 (*OrganizationsLocationsBucketsDeleteCall) Fields ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsDeleteCall) Header ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsGetCall ¶ added in v0.18.0
type OrganizationsLocationsBucketsGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsGetCall) Context ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsGetCall) Do ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.organizations.locations.buckets.get" call. 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 (*OrganizationsLocationsBucketsGetCall) Fields ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsGetCall) Header ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsBucketsLinksCreateCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsLinksCreateCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsLinksCreateCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.organizations.locations.buckets.links.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*OrganizationsLocationsBucketsLinksCreateCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsLinksCreateCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsLinksCreateCall) LinkId ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksCreateCall) LinkId(linkId string) *OrganizationsLocationsBucketsLinksCreateCall
LinkId sets the optional parameter "linkId": Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
type OrganizationsLocationsBucketsLinksDeleteCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsLinksDeleteCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsLinksDeleteCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.organizations.locations.buckets.links.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*OrganizationsLocationsBucketsLinksDeleteCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsLinksDeleteCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsLinksGetCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsLinksGetCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsLinksGetCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
Do executes the "logging.organizations.locations.buckets.links.get" call. Any non-2xx status code is an error. Response headers are in either *Link.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 (*OrganizationsLocationsBucketsLinksGetCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsLinksGetCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsLinksGetCall) IfNoneMatch ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsLinksGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsBucketsLinksListCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsLinksListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsLinksListCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsLinksListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsLinksListCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
Do executes the "logging.organizations.locations.buckets.links.list" call. Any non-2xx status code is an error. Response headers are in either *ListLinksResponse.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 (*OrganizationsLocationsBucketsLinksListCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsLinksListCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsLinksListCall) IfNoneMatch ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsLinksListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsBucketsLinksListCall) PageSize ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.
func (*OrganizationsLocationsBucketsLinksListCall) PageToken ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsLinksListCall
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.
func (*OrganizationsLocationsBucketsLinksListCall) Pages ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
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 OrganizationsLocationsBucketsLinksService ¶ added in v0.111.0
type OrganizationsLocationsBucketsLinksService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLocationsBucketsLinksService ¶ added in v0.111.0
func NewOrganizationsLocationsBucketsLinksService(s *Service) *OrganizationsLocationsBucketsLinksService
func (*OrganizationsLocationsBucketsLinksService) Create ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsLinksService) Create(parent string, link *Link) *OrganizationsLocationsBucketsLinksCreateCall
Create: Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
- parent: The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*OrganizationsLocationsBucketsLinksService) Delete ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsLinksService) Delete(name string) *OrganizationsLocationsBucketsLinksDeleteCall
Delete: Deletes a link. This will also delete the corresponding BigQuery linked dataset.
- name: The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*OrganizationsLocationsBucketsLinksService) Get ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsLinksService) Get(name string) *OrganizationsLocationsBucketsLinksGetCall
Get: Gets a link.
- name: The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*OrganizationsLocationsBucketsLinksService) List ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsLinksService) List(parent string) *OrganizationsLocationsBucketsLinksListCall
List: Lists links.
- parent: The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
type OrganizationsLocationsBucketsListCall ¶ added in v0.18.0
type OrganizationsLocationsBucketsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsListCall) Context ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsListCall) Do ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
Do executes the "logging.organizations.locations.buckets.list" call. 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 (*OrganizationsLocationsBucketsListCall) Fields ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsListCall) Header ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsBucketsListCall) PageSize ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsListCall
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 (*OrganizationsLocationsBucketsListCall) PageToken ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsListCall
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 (*OrganizationsLocationsBucketsListCall) Pages ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
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 OrganizationsLocationsBucketsPatchCall ¶ added in v0.18.0
type OrganizationsLocationsBucketsPatchCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsPatchCall) Context ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsPatchCall) Context(ctx context.Context) *OrganizationsLocationsBucketsPatchCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsPatchCall) Do ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.organizations.locations.buckets.patch" call. 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 (*OrganizationsLocationsBucketsPatchCall) Fields ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsPatchCall) Header ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *OrganizationsLocationsBucketsPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsPatchCall
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.FieldMaskFor example: updateMask=retention_days
type OrganizationsLocationsBucketsService ¶ added in v0.18.0
type OrganizationsLocationsBucketsService struct { Links *OrganizationsLocationsBucketsLinksService Views *OrganizationsLocationsBucketsViewsService // contains filtered or unexported fields }
func NewOrganizationsLocationsBucketsService ¶ added in v0.18.0
func NewOrganizationsLocationsBucketsService(s *Service) *OrganizationsLocationsBucketsService
func (*OrganizationsLocationsBucketsService) Create ¶ added in v0.31.0
func (r *OrganizationsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *OrganizationsLocationsBucketsCreateCall
Create: Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*OrganizationsLocationsBucketsService) CreateAsync ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *OrganizationsLocationsBucketsCreateAsyncCall
CreateAsync: Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*OrganizationsLocationsBucketsService) Delete ¶ added in v0.31.0
func (r *OrganizationsLocationsBucketsService) Delete(name string) *OrganizationsLocationsBucketsDeleteCall
Delete: Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.
- name: The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*OrganizationsLocationsBucketsService) Get ¶ added in v0.18.0
func (r *OrganizationsLocationsBucketsService) Get(name string) *OrganizationsLocationsBucketsGetCall
Get: Gets a log bucket.
- name: The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*OrganizationsLocationsBucketsService) List ¶ added in v0.18.0
func (r *OrganizationsLocationsBucketsService) List(parent string) *OrganizationsLocationsBucketsListCall
List: Lists log buckets.
- parent: The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
func (*OrganizationsLocationsBucketsService) Patch ¶ added in v0.18.0
func (r *OrganizationsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *OrganizationsLocationsBucketsPatchCall
Patch: Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*OrganizationsLocationsBucketsService) Undelete ¶ added in v0.31.0
func (r *OrganizationsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *OrganizationsLocationsBucketsUndeleteCall
Undelete: Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
- name: The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*OrganizationsLocationsBucketsService) UpdateAsync ¶ added in v0.111.0
func (r *OrganizationsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *OrganizationsLocationsBucketsUpdateAsyncCall
UpdateAsync: Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
type OrganizationsLocationsBucketsUndeleteCall ¶ added in v0.31.0
type OrganizationsLocationsBucketsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsUndeleteCall) Context ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsUndeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsUndeleteCall) Do ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.locations.buckets.undelete" call. 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 (*OrganizationsLocationsBucketsUndeleteCall) Fields ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsUndeleteCall) Header ¶ added in v0.31.0
func (c *OrganizationsLocationsBucketsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsUpdateAsyncCall ¶ added in v0.111.0
type OrganizationsLocationsBucketsUpdateAsyncCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsUpdateAsyncCall) Context ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *OrganizationsLocationsBucketsUpdateAsyncCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsUpdateAsyncCall) Do ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.organizations.locations.buckets.updateAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*OrganizationsLocationsBucketsUpdateAsyncCall) Fields ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsUpdateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsUpdateAsyncCall) Header ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsUpdateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsUpdateAsyncCall) UpdateMask ¶ added in v0.111.0
func (c *OrganizationsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsUpdateAsyncCall
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.FieldMaskFor example: updateMask=retention_days
type OrganizationsLocationsBucketsViewsCreateCall ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsCreateCall) Context ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsCreateCall) Do ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.organizations.locations.buckets.views.create" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsBucketsViewsCreateCall) Fields ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsCreateCall) Header ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsViewsCreateCall) ViewId ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsCreateCall) ViewId(viewId string) *OrganizationsLocationsBucketsViewsCreateCall
ViewId sets the optional parameter "viewId": Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
type OrganizationsLocationsBucketsViewsDeleteCall ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsDeleteCall) Context ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsDeleteCall) Do ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.locations.buckets.views.delete" call. 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 (*OrganizationsLocationsBucketsViewsDeleteCall) Fields ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsDeleteCall) Header ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsViewsGetCall ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsGetCall) Context ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsGetCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsGetCall) Do ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.organizations.locations.buckets.views.get" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsBucketsViewsGetCall) Fields ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsGetCall) Header ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsViewsGetCall) IfNoneMatch ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsBucketsViewsGetIamPolicyCall ¶ added in v0.178.0
type OrganizationsLocationsBucketsViewsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsGetIamPolicyCall) Context ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsGetIamPolicyCall) Do ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.organizations.locations.buckets.views.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*OrganizationsLocationsBucketsViewsGetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsGetIamPolicyCall) Header ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsViewsListCall ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsListCall) Context ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsListCall) Do ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
Do executes the "logging.organizations.locations.buckets.views.list" call. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsBucketsViewsListCall) Fields ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsListCall) Header ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsViewsListCall) IfNoneMatch ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsBucketsViewsListCall) PageSize ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsViewsListCall
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 (*OrganizationsLocationsBucketsViewsListCall) PageToken ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsViewsListCall
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 (*OrganizationsLocationsBucketsViewsListCall) Pages ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
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 OrganizationsLocationsBucketsViewsLogsListCall ¶ added in v0.75.0
type OrganizationsLocationsBucketsViewsLogsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsLogsListCall) Context ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsLogsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsLogsListCall) Do ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.organizations.locations.buckets.views.logs.list" call. 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 (*OrganizationsLocationsBucketsViewsLogsListCall) Fields ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsLogsListCall) Header ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsViewsLogsListCall) IfNoneMatch ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsBucketsViewsLogsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsBucketsViewsLogsListCall) PageSize ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *OrganizationsLocationsBucketsViewsLogsListCall
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 (*OrganizationsLocationsBucketsViewsLogsListCall) PageToken ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *OrganizationsLocationsBucketsViewsLogsListCall
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 (*OrganizationsLocationsBucketsViewsLogsListCall) Pages ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*OrganizationsLocationsBucketsViewsLogsListCall) ResourceNames ¶ added in v0.75.0
func (c *OrganizationsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *OrganizationsLocationsBucketsViewsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type OrganizationsLocationsBucketsViewsLogsService ¶ added in v0.75.0
type OrganizationsLocationsBucketsViewsLogsService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLocationsBucketsViewsLogsService ¶ added in v0.75.0
func NewOrganizationsLocationsBucketsViewsLogsService(s *Service) *OrganizationsLocationsBucketsViewsLogsService
func (*OrganizationsLocationsBucketsViewsLogsService) List ¶ added in v0.75.0
func (r *OrganizationsLocationsBucketsViewsLogsService) List(parent string) *OrganizationsLocationsBucketsViewsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type OrganizationsLocationsBucketsViewsPatchCall ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsPatchCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsPatchCall) Context ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsPatchCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsPatchCall) Do ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.organizations.locations.buckets.views.patch" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsBucketsViewsPatchCall) Fields ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsPatchCall) Header ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsBucketsViewsPatchCall) UpdateMask ¶ added in v0.34.0
func (c *OrganizationsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsBucketsViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
type OrganizationsLocationsBucketsViewsService ¶ added in v0.34.0
type OrganizationsLocationsBucketsViewsService struct { Logs *OrganizationsLocationsBucketsViewsLogsService // contains filtered or unexported fields }
func NewOrganizationsLocationsBucketsViewsService ¶ added in v0.34.0
func NewOrganizationsLocationsBucketsViewsService(s *Service) *OrganizationsLocationsBucketsViewsService
func (*OrganizationsLocationsBucketsViewsService) Create ¶ added in v0.34.0
func (r *OrganizationsLocationsBucketsViewsService) Create(parent string, logview *LogView) *OrganizationsLocationsBucketsViewsCreateCall
Create: Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
- parent: The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*OrganizationsLocationsBucketsViewsService) Delete ¶ added in v0.34.0
func (r *OrganizationsLocationsBucketsViewsService) Delete(name string) *OrganizationsLocationsBucketsViewsDeleteCall
Delete: Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*OrganizationsLocationsBucketsViewsService) Get ¶ added in v0.34.0
func (r *OrganizationsLocationsBucketsViewsService) Get(name string) *OrganizationsLocationsBucketsViewsGetCall
Get: Gets a view on a log bucket.
- name: The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*OrganizationsLocationsBucketsViewsService) GetIamPolicy ¶ added in v0.178.0
func (r *OrganizationsLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *OrganizationsLocationsBucketsViewsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*OrganizationsLocationsBucketsViewsService) List ¶ added in v0.34.0
func (r *OrganizationsLocationsBucketsViewsService) List(parent string) *OrganizationsLocationsBucketsViewsListCall
List: Lists views on a log bucket.
- parent: The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*OrganizationsLocationsBucketsViewsService) Patch ¶ added in v0.34.0
func (r *OrganizationsLocationsBucketsViewsService) Patch(name string, logview *LogView) *OrganizationsLocationsBucketsViewsPatchCall
Patch: Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*OrganizationsLocationsBucketsViewsService) SetIamPolicy ¶ added in v0.178.0
func (r *OrganizationsLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*OrganizationsLocationsBucketsViewsService) TestIamPermissions ¶ added in v0.178.0
func (r *OrganizationsLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type OrganizationsLocationsBucketsViewsSetIamPolicyCall ¶ added in v0.178.0
type OrganizationsLocationsBucketsViewsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsSetIamPolicyCall) Context ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsSetIamPolicyCall) Do ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.organizations.locations.buckets.views.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*OrganizationsLocationsBucketsViewsSetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsSetIamPolicyCall) Header ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsBucketsViewsTestIamPermissionsCall ¶ added in v0.178.0
type OrganizationsLocationsBucketsViewsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Context ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Do ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "logging.organizations.locations.buckets.views.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Fields ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *OrganizationsLocationsBucketsViewsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Header ¶ added in v0.178.0
func (c *OrganizationsLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsGetCall ¶ added in v0.35.0
type OrganizationsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsGetCall) Context ¶ added in v0.35.0
func (c *OrganizationsLocationsGetCall) Context(ctx context.Context) *OrganizationsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsGetCall) Do ¶ added in v0.35.0
func (c *OrganizationsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "logging.organizations.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsGetCall) Fields ¶ added in v0.35.0
func (c *OrganizationsLocationsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsGetCall) Header ¶ added in v0.35.0
func (c *OrganizationsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsGetCall) IfNoneMatch ¶ added in v0.35.0
func (c *OrganizationsLocationsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsListCall ¶ added in v0.35.0
type OrganizationsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsListCall) Context ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Context(ctx context.Context) *OrganizationsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsListCall) Do ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "logging.organizations.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*OrganizationsLocationsListCall) Fields ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsListCall) Filter ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Filter(filter string) *OrganizationsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*OrganizationsLocationsListCall) Header ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsListCall) IfNoneMatch ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsListCall) PageSize ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) PageSize(pageSize int64) *OrganizationsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*OrganizationsLocationsListCall) PageToken ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) PageToken(pageToken string) *OrganizationsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
func (*OrganizationsLocationsListCall) Pages ¶ added in v0.35.0
func (c *OrganizationsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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 OrganizationsLocationsOperationsCancelCall ¶ added in v0.51.0
type OrganizationsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsOperationsCancelCall) Context ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsCancelCall) Context(ctx context.Context) *OrganizationsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsOperationsCancelCall) Do ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.locations.operations.cancel" call. 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 (*OrganizationsLocationsOperationsCancelCall) Fields ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsOperationsCancelCall) Header ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsOperationsGetCall ¶ added in v0.51.0
type OrganizationsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsOperationsGetCall) Context ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsGetCall) Context(ctx context.Context) *OrganizationsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsOperationsGetCall) Do ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.organizations.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*OrganizationsLocationsOperationsGetCall) Fields ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsOperationsGetCall) Header ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsOperationsGetCall) IfNoneMatch ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsOperationsGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsOperationsListCall ¶ added in v0.51.0
type OrganizationsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsOperationsListCall) Context ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Context(ctx context.Context) *OrganizationsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsOperationsListCall) Do ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "logging.organizations.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*OrganizationsLocationsOperationsListCall) Fields ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsOperationsListCall) Filter ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Filter(filter string) *OrganizationsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*OrganizationsLocationsOperationsListCall) Header ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsOperationsListCall) IfNoneMatch ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsOperationsListCall) PageSize ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) PageSize(pageSize int64) *OrganizationsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*OrganizationsLocationsOperationsListCall) PageToken ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) PageToken(pageToken string) *OrganizationsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*OrganizationsLocationsOperationsListCall) Pages ¶ added in v0.51.0
func (c *OrganizationsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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 OrganizationsLocationsOperationsService ¶ added in v0.51.0
type OrganizationsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLocationsOperationsService ¶ added in v0.51.0
func NewOrganizationsLocationsOperationsService(s *Service) *OrganizationsLocationsOperationsService
func (*OrganizationsLocationsOperationsService) Cancel ¶ added in v0.51.0
func (r *OrganizationsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OrganizationsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*OrganizationsLocationsOperationsService) Get ¶ added in v0.51.0
func (r *OrganizationsLocationsOperationsService) Get(name string) *OrganizationsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*OrganizationsLocationsOperationsService) List ¶ added in v0.51.0
func (r *OrganizationsLocationsOperationsService) List(name string) *OrganizationsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
type OrganizationsLocationsRecentQueriesListCall ¶ added in v0.152.0
type OrganizationsLocationsRecentQueriesListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsRecentQueriesListCall) Context ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) Context(ctx context.Context) *OrganizationsLocationsRecentQueriesListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsRecentQueriesListCall) Do ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
Do executes the "logging.organizations.locations.recentQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListRecentQueriesResponse.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 (*OrganizationsLocationsRecentQueriesListCall) Fields ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsRecentQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsRecentQueriesListCall) Filter ¶ added in v0.187.0
func (c *OrganizationsLocationsRecentQueriesListCall) Filter(filter string) *OrganizationsLocationsRecentQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics")
func (*OrganizationsLocationsRecentQueriesListCall) Header ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsRecentQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsRecentQueriesListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsRecentQueriesListCall) PageSize ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) PageSize(pageSize int64) *OrganizationsLocationsRecentQueriesListCall
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 (*OrganizationsLocationsRecentQueriesListCall) PageToken ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) PageToken(pageToken string) *OrganizationsLocationsRecentQueriesListCall
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 (*OrganizationsLocationsRecentQueriesListCall) Pages ¶ added in v0.152.0
func (c *OrganizationsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
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 OrganizationsLocationsRecentQueriesService ¶ added in v0.152.0
type OrganizationsLocationsRecentQueriesService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLocationsRecentQueriesService ¶ added in v0.152.0
func NewOrganizationsLocationsRecentQueriesService(s *Service) *OrganizationsLocationsRecentQueriesService
func (*OrganizationsLocationsRecentQueriesService) List ¶ added in v0.152.0
func (r *OrganizationsLocationsRecentQueriesService) List(parent string) *OrganizationsLocationsRecentQueriesListCall
List: Lists the RecentQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.
type OrganizationsLocationsSavedQueriesCreateCall ¶ added in v0.152.0
type OrganizationsLocationsSavedQueriesCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsSavedQueriesCreateCall) Context ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsSavedQueriesCreateCall) Do ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.organizations.locations.savedQueries.create" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*OrganizationsLocationsSavedQueriesCreateCall) Fields ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsSavedQueriesCreateCall) Header ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsSavedQueriesCreateCall) SavedQueryId ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *OrganizationsLocationsSavedQueriesCreateCall
SavedQueryId sets the optional parameter "savedQueryId": The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.
type OrganizationsLocationsSavedQueriesDeleteCall ¶ added in v0.152.0
type OrganizationsLocationsSavedQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsSavedQueriesDeleteCall) Context ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsSavedQueriesDeleteCall) Do ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.locations.savedQueries.delete" call. 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 (*OrganizationsLocationsSavedQueriesDeleteCall) Fields ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsSavedQueriesDeleteCall) Header ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLocationsSavedQueriesGetCall ¶ added in v0.187.0
type OrganizationsLocationsSavedQueriesGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsSavedQueriesGetCall) Context ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesGetCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsSavedQueriesGetCall) Do ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.organizations.locations.savedQueries.get" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*OrganizationsLocationsSavedQueriesGetCall) Fields ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsSavedQueriesGetCall) Header ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsSavedQueriesGetCall) IfNoneMatch ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *OrganizationsLocationsSavedQueriesGetCall
IfNoneMatch sets an 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.
type OrganizationsLocationsSavedQueriesListCall ¶ added in v0.152.0
type OrganizationsLocationsSavedQueriesListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsSavedQueriesListCall) Context ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsSavedQueriesListCall) Do ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
Do executes the "logging.organizations.locations.savedQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListSavedQueriesResponse.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 (*OrganizationsLocationsSavedQueriesListCall) Fields ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsSavedQueriesListCall) Filter ¶ added in v0.189.0
func (c *OrganizationsLocationsSavedQueriesListCall) Filter(filter string) *OrganizationsLocationsSavedQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED
func (*OrganizationsLocationsSavedQueriesListCall) Header ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsSavedQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *OrganizationsLocationsSavedQueriesListCall
IfNoneMatch sets an 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.
func (*OrganizationsLocationsSavedQueriesListCall) PageSize ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) PageSize(pageSize int64) *OrganizationsLocationsSavedQueriesListCall
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 (*OrganizationsLocationsSavedQueriesListCall) PageToken ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) PageToken(pageToken string) *OrganizationsLocationsSavedQueriesListCall
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 (*OrganizationsLocationsSavedQueriesListCall) Pages ¶ added in v0.152.0
func (c *OrganizationsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
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 OrganizationsLocationsSavedQueriesPatchCall ¶ added in v0.187.0
type OrganizationsLocationsSavedQueriesPatchCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLocationsSavedQueriesPatchCall) Context ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *OrganizationsLocationsSavedQueriesPatchCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLocationsSavedQueriesPatchCall) Do ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.organizations.locations.savedQueries.patch" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*OrganizationsLocationsSavedQueriesPatchCall) Fields ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *OrganizationsLocationsSavedQueriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLocationsSavedQueriesPatchCall) Header ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLocationsSavedQueriesPatchCall) UpdateMask ¶ added in v0.187.0
func (c *OrganizationsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *OrganizationsLocationsSavedQueriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter".
type OrganizationsLocationsSavedQueriesService ¶ added in v0.152.0
type OrganizationsLocationsSavedQueriesService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLocationsSavedQueriesService ¶ added in v0.152.0
func NewOrganizationsLocationsSavedQueriesService(s *Service) *OrganizationsLocationsSavedQueriesService
func (*OrganizationsLocationsSavedQueriesService) Create ¶ added in v0.152.0
func (r *OrganizationsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *OrganizationsLocationsSavedQueriesCreateCall
Create: Creates a new SavedQuery for the user making the request.
- parent: The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1".
func (*OrganizationsLocationsSavedQueriesService) Delete ¶ added in v0.152.0
func (r *OrganizationsLocationsSavedQueriesService) Delete(name string) *OrganizationsLocationsSavedQueriesDeleteCall
Delete: Deletes an existing SavedQuery that was created by the user making the request.
- name: The full resource name of the saved query to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*OrganizationsLocationsSavedQueriesService) Get ¶ added in v0.187.0
func (r *OrganizationsLocationsSavedQueriesService) Get(name string) *OrganizationsLocationsSavedQueriesGetCall
Get: Returns all data associated with the requested query.
- name: The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*OrganizationsLocationsSavedQueriesService) List ¶ added in v0.152.0
func (r *OrganizationsLocationsSavedQueriesService) List(parent string) *OrganizationsLocationsSavedQueriesListCall
List: Lists the SavedQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/us-central1" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: "projects/my-project/locations/-".
func (*OrganizationsLocationsSavedQueriesService) Patch ¶ added in v0.187.0
func (r *OrganizationsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *OrganizationsLocationsSavedQueriesPatchCall
Patch: Updates an existing SavedQuery.
- name: Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.
type OrganizationsLocationsService ¶ added in v0.18.0
type OrganizationsLocationsService struct { Buckets *OrganizationsLocationsBucketsService Operations *OrganizationsLocationsOperationsService RecentQueries *OrganizationsLocationsRecentQueriesService SavedQueries *OrganizationsLocationsSavedQueriesService // contains filtered or unexported fields }
func NewOrganizationsLocationsService ¶ added in v0.18.0
func NewOrganizationsLocationsService(s *Service) *OrganizationsLocationsService
func (*OrganizationsLocationsService) Get ¶ added in v0.35.0
func (r *OrganizationsLocationsService) Get(name string) *OrganizationsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*OrganizationsLocationsService) List ¶ added in v0.35.0
func (r *OrganizationsLocationsService) List(name string) *OrganizationsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type OrganizationsLogsDeleteCall ¶
type OrganizationsLogsDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLogsDeleteCall) Context ¶
func (c *OrganizationsLogsDeleteCall) Context(ctx context.Context) *OrganizationsLogsDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLogsDeleteCall) Do ¶
func (c *OrganizationsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.logs.delete" call. 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 (*OrganizationsLogsDeleteCall) Fields ¶
func (c *OrganizationsLogsDeleteCall) Fields(s ...googleapi.Field) *OrganizationsLogsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLogsDeleteCall) Header ¶
func (c *OrganizationsLogsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsLogsListCall ¶
type OrganizationsLogsListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsLogsListCall) Context ¶
func (c *OrganizationsLogsListCall) Context(ctx context.Context) *OrganizationsLogsListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsLogsListCall) Do ¶
func (c *OrganizationsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.organizations.logs.list" call. 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 (*OrganizationsLogsListCall) Fields ¶
func (c *OrganizationsLogsListCall) Fields(s ...googleapi.Field) *OrganizationsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsLogsListCall) Header ¶
func (c *OrganizationsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsLogsListCall) IfNoneMatch ¶
func (c *OrganizationsLogsListCall) IfNoneMatch(entityTag string) *OrganizationsLogsListCall
IfNoneMatch sets an 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.
func (*OrganizationsLogsListCall) PageSize ¶
func (c *OrganizationsLogsListCall) PageSize(pageSize int64) *OrganizationsLogsListCall
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 (*OrganizationsLogsListCall) PageToken ¶
func (c *OrganizationsLogsListCall) PageToken(pageToken string) *OrganizationsLogsListCall
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 (*OrganizationsLogsListCall) Pages ¶
func (c *OrganizationsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*OrganizationsLogsListCall) ResourceNames ¶ added in v0.35.0
func (c *OrganizationsLogsListCall) ResourceNames(resourceNames ...string) *OrganizationsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type OrganizationsLogsService ¶
type OrganizationsLogsService struct {
// contains filtered or unexported fields
}
func NewOrganizationsLogsService ¶
func NewOrganizationsLogsService(s *Service) *OrganizationsLogsService
func (*OrganizationsLogsService) Delete ¶
func (r *OrganizationsLogsService) Delete(logName string) *OrganizationsLogsDeleteCall
Delete: Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
- logName: The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
func (*OrganizationsLogsService) List ¶
func (r *OrganizationsLogsService) List(parent string) *OrganizationsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type OrganizationsService ¶
type OrganizationsService struct { Exclusions *OrganizationsExclusionsService Locations *OrganizationsLocationsService Logs *OrganizationsLogsService Sinks *OrganizationsSinksService // contains filtered or unexported fields }
func NewOrganizationsService ¶
func NewOrganizationsService(s *Service) *OrganizationsService
func (*OrganizationsService) GetCmekSettings ¶ added in v0.16.0
func (r *OrganizationsService) GetCmekSettings(name string) *OrganizationsGetCmekSettingsCall
GetCmekSettings: Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
func (*OrganizationsService) GetSettings ¶ added in v0.67.0
func (r *OrganizationsService) GetSettings(name string) *OrganizationsGetSettingsCall
GetSettings: Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
- name: The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.
func (*OrganizationsService) UpdateCmekSettings ¶ added in v0.16.0
func (r *OrganizationsService) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *OrganizationsUpdateCmekSettingsCall
UpdateCmekSettings: Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
func (*OrganizationsService) UpdateSettings ¶ added in v0.67.0
func (r *OrganizationsService) UpdateSettings(name string, settings *Settings) *OrganizationsUpdateSettingsCall
UpdateSettings: Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
- name: The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings".
type OrganizationsSinksCreateCall ¶
type OrganizationsSinksCreateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksCreateCall) Context ¶
func (c *OrganizationsSinksCreateCall) Context(ctx context.Context) *OrganizationsSinksCreateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksCreateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *OrganizationsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksCreateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*OrganizationsSinksCreateCall) Do ¶
func (c *OrganizationsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.organizations.sinks.create" call. 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 (*OrganizationsSinksCreateCall) Fields ¶
func (c *OrganizationsSinksCreateCall) Fields(s ...googleapi.Field) *OrganizationsSinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksCreateCall) Header ¶
func (c *OrganizationsSinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsSinksCreateCall) UniqueWriterIdentity ¶
func (c *OrganizationsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksCreateCall
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 Cloud 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
type OrganizationsSinksDeleteCall ¶
type OrganizationsSinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksDeleteCall) Context ¶
func (c *OrganizationsSinksDeleteCall) Context(ctx context.Context) *OrganizationsSinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksDeleteCall) Do ¶
func (c *OrganizationsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.organizations.sinks.delete" call. 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 (*OrganizationsSinksDeleteCall) Fields ¶
func (c *OrganizationsSinksDeleteCall) Fields(s ...googleapi.Field) *OrganizationsSinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksDeleteCall) Header ¶
func (c *OrganizationsSinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type OrganizationsSinksGetCall ¶
type OrganizationsSinksGetCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksGetCall) Context ¶
func (c *OrganizationsSinksGetCall) Context(ctx context.Context) *OrganizationsSinksGetCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksGetCall) Do ¶
func (c *OrganizationsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.organizations.sinks.get" call. 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 (*OrganizationsSinksGetCall) Fields ¶
func (c *OrganizationsSinksGetCall) Fields(s ...googleapi.Field) *OrganizationsSinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksGetCall) Header ¶
func (c *OrganizationsSinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsSinksGetCall) IfNoneMatch ¶
func (c *OrganizationsSinksGetCall) IfNoneMatch(entityTag string) *OrganizationsSinksGetCall
IfNoneMatch sets an 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.
type OrganizationsSinksListCall ¶
type OrganizationsSinksListCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksListCall) Context ¶
func (c *OrganizationsSinksListCall) Context(ctx context.Context) *OrganizationsSinksListCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksListCall) Do ¶
func (c *OrganizationsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
Do executes the "logging.organizations.sinks.list" call. 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 (*OrganizationsSinksListCall) Fields ¶
func (c *OrganizationsSinksListCall) Fields(s ...googleapi.Field) *OrganizationsSinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksListCall) Filter ¶ added in v0.171.0
func (c *OrganizationsSinksListCall) Filter(filter string) *OrganizationsSinksListCall
Filter sets the optional parameter "filter": A filter expression to constrain the sinks returned. Today, this only supports the following strings: ” 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied.
func (*OrganizationsSinksListCall) Header ¶
func (c *OrganizationsSinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsSinksListCall) IfNoneMatch ¶
func (c *OrganizationsSinksListCall) IfNoneMatch(entityTag string) *OrganizationsSinksListCall
IfNoneMatch sets an 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.
func (*OrganizationsSinksListCall) PageSize ¶
func (c *OrganizationsSinksListCall) PageSize(pageSize int64) *OrganizationsSinksListCall
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 (*OrganizationsSinksListCall) PageToken ¶
func (c *OrganizationsSinksListCall) PageToken(pageToken string) *OrganizationsSinksListCall
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 (*OrganizationsSinksListCall) Pages ¶
func (c *OrganizationsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
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 OrganizationsSinksPatchCall ¶
type OrganizationsSinksPatchCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksPatchCall) Context ¶
func (c *OrganizationsSinksPatchCall) Context(ctx context.Context) *OrganizationsSinksPatchCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksPatchCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *OrganizationsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksPatchCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*OrganizationsSinksPatchCall) Do ¶
func (c *OrganizationsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.organizations.sinks.patch" call. 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 (*OrganizationsSinksPatchCall) Fields ¶
func (c *OrganizationsSinksPatchCall) Fields(s ...googleapi.Field) *OrganizationsSinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksPatchCall) Header ¶
func (c *OrganizationsSinksPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsSinksPatchCall) UniqueWriterIdentity ¶
func (c *OrganizationsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksPatchCall
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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
func (*OrganizationsSinksPatchCall) UpdateMask ¶
func (c *OrganizationsSinksPatchCall) UpdateMask(updateMask string) *OrganizationsSinksPatchCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type OrganizationsSinksService ¶
type OrganizationsSinksService struct {
// contains filtered or unexported fields
}
func NewOrganizationsSinksService ¶
func NewOrganizationsSinksService(s *Service) *OrganizationsSinksService
func (*OrganizationsSinksService) Create ¶
func (r *OrganizationsSinksService) Create(parent string, logsink *LogSink) *OrganizationsSinksCreateCall
Create: Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
- parent: The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789".
func (*OrganizationsSinksService) Delete ¶
func (r *OrganizationsSinksService) Delete(sinkNameid string) *OrganizationsSinksDeleteCall
Delete: Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
- sinkName: The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*OrganizationsSinksService) Get ¶
func (r *OrganizationsSinksService) Get(sinkName string) *OrganizationsSinksGetCall
Get: Gets a sink.
- sinkName: The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*OrganizationsSinksService) List ¶
func (r *OrganizationsSinksService) List(parent string) *OrganizationsSinksListCall
List: Lists sinks.
- parent: The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*OrganizationsSinksService) Patch ¶
func (r *OrganizationsSinksService) Patch(sinkNameid string, logsink *LogSink) *OrganizationsSinksPatchCall
Patch: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*OrganizationsSinksService) Update ¶
func (r *OrganizationsSinksService) Update(sinkNameid string, logsink *LogSink) *OrganizationsSinksUpdateCall
Update: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
type OrganizationsSinksUpdateCall ¶
type OrganizationsSinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsSinksUpdateCall) Context ¶
func (c *OrganizationsSinksUpdateCall) Context(ctx context.Context) *OrganizationsSinksUpdateCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsSinksUpdateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *OrganizationsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *OrganizationsSinksUpdateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*OrganizationsSinksUpdateCall) Do ¶
func (c *OrganizationsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.organizations.sinks.update" call. 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 (*OrganizationsSinksUpdateCall) Fields ¶
func (c *OrganizationsSinksUpdateCall) Fields(s ...googleapi.Field) *OrganizationsSinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsSinksUpdateCall) Header ¶
func (c *OrganizationsSinksUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsSinksUpdateCall) UniqueWriterIdentity ¶
func (c *OrganizationsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *OrganizationsSinksUpdateCall
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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
func (*OrganizationsSinksUpdateCall) UpdateMask ¶
func (c *OrganizationsSinksUpdateCall) UpdateMask(updateMask string) *OrganizationsSinksUpdateCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type OrganizationsUpdateCmekSettingsCall ¶ added in v0.16.0
type OrganizationsUpdateCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsUpdateCmekSettingsCall) Context ¶ added in v0.16.0
func (c *OrganizationsUpdateCmekSettingsCall) Context(ctx context.Context) *OrganizationsUpdateCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsUpdateCmekSettingsCall) Do ¶ added in v0.16.0
func (c *OrganizationsUpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.organizations.updateCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*OrganizationsUpdateCmekSettingsCall) Fields ¶ added in v0.16.0
func (c *OrganizationsUpdateCmekSettingsCall) Fields(s ...googleapi.Field) *OrganizationsUpdateCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsUpdateCmekSettingsCall) Header ¶ added in v0.16.0
func (c *OrganizationsUpdateCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsUpdateCmekSettingsCall) UpdateMask ¶ added in v0.16.0
func (c *OrganizationsUpdateCmekSettingsCall) UpdateMask(updateMask string) *OrganizationsUpdateCmekSettingsCall
UpdateMask sets the optional parameter "updateMask": Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
type OrganizationsUpdateSettingsCall ¶ added in v0.67.0
type OrganizationsUpdateSettingsCall struct {
// contains filtered or unexported fields
}
func (*OrganizationsUpdateSettingsCall) Context ¶ added in v0.67.0
func (c *OrganizationsUpdateSettingsCall) Context(ctx context.Context) *OrganizationsUpdateSettingsCall
Context sets the context to be used in this call's Do method.
func (*OrganizationsUpdateSettingsCall) Do ¶ added in v0.67.0
func (c *OrganizationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.organizations.updateSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*OrganizationsUpdateSettingsCall) Fields ¶ added in v0.67.0
func (c *OrganizationsUpdateSettingsCall) Fields(s ...googleapi.Field) *OrganizationsUpdateSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*OrganizationsUpdateSettingsCall) Header ¶ added in v0.67.0
func (c *OrganizationsUpdateSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*OrganizationsUpdateSettingsCall) UpdateMask ¶ added in v0.67.0
func (c *OrganizationsUpdateSettingsCall) UpdateMask(updateMask string) *OrganizationsUpdateSettingsCall
UpdateMask sets the optional parameter "updateMask": Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
type Policy ¶ added in v0.178.0
type Policy struct { // AuditConfigs: Specifies cloud audit logging configuration for this policy. AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"` // Bindings: Associates a list of members, or principals, with a role. // Optionally, may specify a condition that determines how and when the // bindings are applied. Each of the bindings must contain at least one // principal.The bindings in a Policy can refer to up to 1,500 principals; up // to 250 of these principals can be Google groups. Each occurrence of a // principal counts towards these limits. For example, if the bindings grant 50 // different roles to user:alice@example.com, and not to any other principal, // then you can add another 1,450 principals to the bindings in the Policy. Bindings []*Binding `json:"bindings,omitempty"` // Etag: etag is used for optimistic concurrency control as a way to help // prevent simultaneous updates of a policy from overwriting each other. It is // strongly suggested that systems make use of the etag in the // read-modify-write cycle to perform policy updates in order to avoid race // conditions: An etag is returned in the response to getIamPolicy, and systems // are expected to put that etag in the request to setIamPolicy to ensure that // their change will be applied to the same version of the policy.Important: If // you use IAM Conditions, you must include the etag field whenever you call // setIamPolicy. If you omit this field, then IAM allows you to overwrite a // version 3 policy with a version 1 policy, and all of the conditions in the // version 3 policy are lost. Etag string `json:"etag,omitempty"` // Version: Specifies the format of the policy.Valid values are 0, 1, and 3. // Requests that specify an invalid value are rejected.Any operation that // affects conditional role bindings must specify version 3. This requirement // applies to the following operations: Getting a policy that includes a // conditional role binding Adding a conditional role binding to a policy // Changing a conditional role binding in a policy Removing any role binding, // with or without a condition, from a policy that includes // conditionsImportant: If you use IAM Conditions, you must include the etag // field whenever you call setIamPolicy. If you omit this field, then IAM // allows you to overwrite a version 3 policy with a version 1 policy, and all // of the conditions in the version 3 policy are lost.If a policy does not // include any conditions, operations on that policy may specify any valid // version or leave the field unset.To learn which resources support conditions // in their IAM policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Version int64 `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AuditConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuditConfigs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources.A Policy is a collection of bindings. A binding binds one or more members, or principals, to a single role. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A role is a named list of permissions; each role can be an IAM predefined role or a user-created custom role.For some types of Google Cloud resources, a binding can also specify a condition, which is a logical expression that allows access to a resource only if the expression evaluates to true. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).JSON example: { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } YAML example: bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
func (Policy) MarshalJSON ¶ added in v0.178.0
type ProjectsExclusionsCreateCall ¶
type ProjectsExclusionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsExclusionsCreateCall) Context ¶
func (c *ProjectsExclusionsCreateCall) Context(ctx context.Context) *ProjectsExclusionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsExclusionsCreateCall) Do ¶
func (c *ProjectsExclusionsCreateCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.projects.exclusions.create" call. 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 (*ProjectsExclusionsCreateCall) Fields ¶
func (c *ProjectsExclusionsCreateCall) Fields(s ...googleapi.Field) *ProjectsExclusionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsExclusionsCreateCall) Header ¶
func (c *ProjectsExclusionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsExclusionsDeleteCall ¶
type ProjectsExclusionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsExclusionsDeleteCall) Context ¶
func (c *ProjectsExclusionsDeleteCall) Context(ctx context.Context) *ProjectsExclusionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsExclusionsDeleteCall) Do ¶
func (c *ProjectsExclusionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.exclusions.delete" call. 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 (*ProjectsExclusionsDeleteCall) Fields ¶
func (c *ProjectsExclusionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsExclusionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsExclusionsDeleteCall) Header ¶
func (c *ProjectsExclusionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsExclusionsGetCall ¶
type ProjectsExclusionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsExclusionsGetCall) Context ¶
func (c *ProjectsExclusionsGetCall) Context(ctx context.Context) *ProjectsExclusionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsExclusionsGetCall) Do ¶
func (c *ProjectsExclusionsGetCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.projects.exclusions.get" call. 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 (*ProjectsExclusionsGetCall) Fields ¶
func (c *ProjectsExclusionsGetCall) Fields(s ...googleapi.Field) *ProjectsExclusionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsExclusionsGetCall) Header ¶
func (c *ProjectsExclusionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsExclusionsGetCall) IfNoneMatch ¶
func (c *ProjectsExclusionsGetCall) IfNoneMatch(entityTag string) *ProjectsExclusionsGetCall
IfNoneMatch sets an 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.
type ProjectsExclusionsListCall ¶
type ProjectsExclusionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsExclusionsListCall) Context ¶
func (c *ProjectsExclusionsListCall) Context(ctx context.Context) *ProjectsExclusionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsExclusionsListCall) Do ¶
func (c *ProjectsExclusionsListCall) Do(opts ...googleapi.CallOption) (*ListExclusionsResponse, error)
Do executes the "logging.projects.exclusions.list" call. 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 (*ProjectsExclusionsListCall) Fields ¶
func (c *ProjectsExclusionsListCall) Fields(s ...googleapi.Field) *ProjectsExclusionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsExclusionsListCall) Header ¶
func (c *ProjectsExclusionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsExclusionsListCall) IfNoneMatch ¶
func (c *ProjectsExclusionsListCall) IfNoneMatch(entityTag string) *ProjectsExclusionsListCall
IfNoneMatch sets an 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.
func (*ProjectsExclusionsListCall) PageSize ¶
func (c *ProjectsExclusionsListCall) PageSize(pageSize int64) *ProjectsExclusionsListCall
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 (*ProjectsExclusionsListCall) PageToken ¶
func (c *ProjectsExclusionsListCall) PageToken(pageToken string) *ProjectsExclusionsListCall
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 (*ProjectsExclusionsListCall) Pages ¶
func (c *ProjectsExclusionsListCall) Pages(ctx context.Context, f func(*ListExclusionsResponse) error) error
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 ProjectsExclusionsPatchCall ¶
type ProjectsExclusionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsExclusionsPatchCall) Context ¶
func (c *ProjectsExclusionsPatchCall) Context(ctx context.Context) *ProjectsExclusionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsExclusionsPatchCall) Do ¶
func (c *ProjectsExclusionsPatchCall) Do(opts ...googleapi.CallOption) (*LogExclusion, error)
Do executes the "logging.projects.exclusions.patch" call. 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 (*ProjectsExclusionsPatchCall) Fields ¶
func (c *ProjectsExclusionsPatchCall) Fields(s ...googleapi.Field) *ProjectsExclusionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsExclusionsPatchCall) Header ¶
func (c *ProjectsExclusionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsExclusionsPatchCall) UpdateMask ¶
func (c *ProjectsExclusionsPatchCall) UpdateMask(updateMask string) *ProjectsExclusionsPatchCall
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 ProjectsExclusionsService ¶
type ProjectsExclusionsService struct {
// contains filtered or unexported fields
}
func NewProjectsExclusionsService ¶
func NewProjectsExclusionsService(s *Service) *ProjectsExclusionsService
func (*ProjectsExclusionsService) Create ¶
func (r *ProjectsExclusionsService) Create(parent string, logexclusion *LogExclusion) *ProjectsExclusionsCreateCall
Create: Creates a new exclusion in the _Default sink 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.
- parent: The parent resource in which to create the exclusion: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-logging-project" "organizations/123456789".
func (*ProjectsExclusionsService) Delete ¶
func (r *ProjectsExclusionsService) Delete(name string) *ProjectsExclusionsDeleteCall
Delete: Deletes an exclusion in the _Default sink.
- name: The resource name of an existing exclusion to delete: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*ProjectsExclusionsService) Get ¶
func (r *ProjectsExclusionsService) Get(name string) *ProjectsExclusionsGetCall
Get: Gets the description of an exclusion in the _Default sink.
- name: The resource name of an existing exclusion: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
func (*ProjectsExclusionsService) List ¶
func (r *ProjectsExclusionsService) List(parent string) *ProjectsExclusionsListCall
List: Lists all the exclusions on the _Default sink in a parent resource.
- parent: The parent resource whose exclusions are to be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*ProjectsExclusionsService) Patch ¶
func (r *ProjectsExclusionsService) Patch(name string, logexclusion *LogExclusion) *ProjectsExclusionsPatchCall
Patch: Changes one or more properties of an existing exclusion in the _Default sink.
- name: The resource name of the exclusion to update: "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" For example:"projects/my-project/exclusions/my-exclusion".
type ProjectsGetCmekSettingsCall ¶ added in v0.61.0
type ProjectsGetCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsGetCmekSettingsCall) Context ¶ added in v0.61.0
func (c *ProjectsGetCmekSettingsCall) Context(ctx context.Context) *ProjectsGetCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsGetCmekSettingsCall) Do ¶ added in v0.61.0
func (c *ProjectsGetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.projects.getCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*ProjectsGetCmekSettingsCall) Fields ¶ added in v0.61.0
func (c *ProjectsGetCmekSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsGetCmekSettingsCall) Header ¶ added in v0.61.0
func (c *ProjectsGetCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsGetCmekSettingsCall) IfNoneMatch ¶ added in v0.61.0
func (c *ProjectsGetCmekSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetCmekSettingsCall
IfNoneMatch sets an 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.
type ProjectsGetSettingsCall ¶ added in v0.67.0
type ProjectsGetSettingsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsGetSettingsCall) Context ¶ added in v0.67.0
func (c *ProjectsGetSettingsCall) Context(ctx context.Context) *ProjectsGetSettingsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsGetSettingsCall) Do ¶ added in v0.67.0
func (c *ProjectsGetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.projects.getSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*ProjectsGetSettingsCall) Fields ¶ added in v0.67.0
func (c *ProjectsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsGetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsGetSettingsCall) Header ¶ added in v0.67.0
func (c *ProjectsGetSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsGetSettingsCall) IfNoneMatch ¶ added in v0.67.0
func (c *ProjectsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsGetSettingsCall
IfNoneMatch sets an 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.
type ProjectsLocationsBucketsCreateAsyncCall ¶ added in v0.111.0
type ProjectsLocationsBucketsCreateAsyncCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsCreateAsyncCall) BucketId ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsCreateAsyncCall) BucketId(bucketId string) *ProjectsLocationsBucketsCreateAsyncCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*ProjectsLocationsBucketsCreateAsyncCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsCreateAsyncCall) Context(ctx context.Context) *ProjectsLocationsBucketsCreateAsyncCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsCreateAsyncCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsCreateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.projects.locations.buckets.createAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*ProjectsLocationsBucketsCreateAsyncCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsCreateAsyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsCreateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsCreateAsyncCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsCreateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsCreateCall ¶ added in v0.31.0
type ProjectsLocationsBucketsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsCreateCall) BucketId ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsCreateCall) BucketId(bucketId string) *ProjectsLocationsBucketsCreateCall
BucketId sets the optional parameter "bucketId": Required. A client-assigned identifier such as "my-bucket". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. Bucket identifiers must start with an alphanumeric character.
func (*ProjectsLocationsBucketsCreateCall) Context ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsCreateCall) Do ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsCreateCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.projects.locations.buckets.create" call. 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 (*ProjectsLocationsBucketsCreateCall) Fields ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsCreateCall) Header ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsDeleteCall ¶ added in v0.31.0
type ProjectsLocationsBucketsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsDeleteCall) Context ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsDeleteCall) Do ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.locations.buckets.delete" call. 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 (*ProjectsLocationsBucketsDeleteCall) Fields ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsDeleteCall) Header ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsGetCall ¶ added in v0.18.0
type ProjectsLocationsBucketsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsGetCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsGetCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsGetCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.projects.locations.buckets.get" call. 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 (*ProjectsLocationsBucketsGetCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsGetCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBucketsLinksCreateCall ¶ added in v0.111.0
type ProjectsLocationsBucketsLinksCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsLinksCreateCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsLinksCreateCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.projects.locations.buckets.links.create" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*ProjectsLocationsBucketsLinksCreateCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsLinksCreateCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsLinksCreateCall) LinkId ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksCreateCall) LinkId(linkId string) *ProjectsLocationsBucketsLinksCreateCall
LinkId sets the optional parameter "linkId": Required. The ID to use for the link. The link_id can have up to 100 characters. A valid link_id must only have alphanumeric characters and underscores within it.
type ProjectsLocationsBucketsLinksDeleteCall ¶ added in v0.111.0
type ProjectsLocationsBucketsLinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsLinksDeleteCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsLinksDeleteCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.projects.locations.buckets.links.delete" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*ProjectsLocationsBucketsLinksDeleteCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsLinksDeleteCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsLinksGetCall ¶ added in v0.111.0
type ProjectsLocationsBucketsLinksGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsLinksGetCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsLinksGetCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksGetCall) Do(opts ...googleapi.CallOption) (*Link, error)
Do executes the "logging.projects.locations.buckets.links.get" call. Any non-2xx status code is an error. Response headers are in either *Link.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 (*ProjectsLocationsBucketsLinksGetCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsLinksGetCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsLinksGetCall) IfNoneMatch ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsLinksGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBucketsLinksListCall ¶ added in v0.111.0
type ProjectsLocationsBucketsLinksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsLinksListCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) Context(ctx context.Context) *ProjectsLocationsBucketsLinksListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsLinksListCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) Do(opts ...googleapi.CallOption) (*ListLinksResponse, error)
Do executes the "logging.projects.locations.buckets.links.list" call. Any non-2xx status code is an error. Response headers are in either *ListLinksResponse.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 (*ProjectsLocationsBucketsLinksListCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsLinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsLinksListCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsLinksListCall) IfNoneMatch ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsLinksListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBucketsLinksListCall) PageSize ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsLinksListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return from this request.
func (*ProjectsLocationsBucketsLinksListCall) PageToken ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) PageToken(pageToken string) *ProjectsLocationsBucketsLinksListCall
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.
func (*ProjectsLocationsBucketsLinksListCall) Pages ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsLinksListCall) Pages(ctx context.Context, f func(*ListLinksResponse) error) error
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 ProjectsLocationsBucketsLinksService ¶ added in v0.111.0
type ProjectsLocationsBucketsLinksService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBucketsLinksService ¶ added in v0.111.0
func NewProjectsLocationsBucketsLinksService(s *Service) *ProjectsLocationsBucketsLinksService
func (*ProjectsLocationsBucketsLinksService) Create ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsLinksService) Create(parent string, link *Link) *ProjectsLocationsBucketsLinksCreateCall
Create: Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link.
- parent: The full resource name of the bucket to create a link for. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*ProjectsLocationsBucketsLinksService) Delete ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsLinksService) Delete(name string) *ProjectsLocationsBucketsLinksDeleteCall
Delete: Deletes a link. This will also delete the corresponding BigQuery linked dataset.
- name: The full resource name of the link to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*ProjectsLocationsBucketsLinksService) Get ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsLinksService) Get(name string) *ProjectsLocationsBucketsLinksGetCall
Get: Gets a link.
- name: The resource name of the link: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[L INK_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]/links/[LINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]/links/[LINK_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/links/[LIN K_ID]".
func (*ProjectsLocationsBucketsLinksService) List ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsLinksService) List(parent string) *ProjectsLocationsBucketsLinksListCall
List: Lists links.
- parent: The parent resource whose links are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
type ProjectsLocationsBucketsListCall ¶ added in v0.18.0
type ProjectsLocationsBucketsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsListCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsListCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) Do(opts ...googleapi.CallOption) (*ListBucketsResponse, error)
Do executes the "logging.projects.locations.buckets.list" call. 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 (*ProjectsLocationsBucketsListCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsListCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBucketsListCall) PageSize ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsListCall
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 (*ProjectsLocationsBucketsListCall) PageToken ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsListCall
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 (*ProjectsLocationsBucketsListCall) Pages ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsListCall) Pages(ctx context.Context, f func(*ListBucketsResponse) error) error
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 ProjectsLocationsBucketsPatchCall ¶ added in v0.18.0
type ProjectsLocationsBucketsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsPatchCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsPatchCall) Context(ctx context.Context) *ProjectsLocationsBucketsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsPatchCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsPatchCall) Do(opts ...googleapi.CallOption) (*LogBucket, error)
Do executes the "logging.projects.locations.buckets.patch" call. 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 (*ProjectsLocationsBucketsPatchCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsPatchCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsLocationsBucketsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsPatchCall
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.FieldMaskFor example: updateMask=retention_days
type ProjectsLocationsBucketsService ¶ added in v0.18.0
type ProjectsLocationsBucketsService struct { Links *ProjectsLocationsBucketsLinksService Views *ProjectsLocationsBucketsViewsService // contains filtered or unexported fields }
func NewProjectsLocationsBucketsService ¶ added in v0.18.0
func NewProjectsLocationsBucketsService(s *Service) *ProjectsLocationsBucketsService
func (*ProjectsLocationsBucketsService) Create ¶ added in v0.31.0
func (r *ProjectsLocationsBucketsService) Create(parent string, logbucket *LogBucket) *ProjectsLocationsBucketsCreateCall
Create: Creates a log bucket that can be used to store log entries. After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*ProjectsLocationsBucketsService) CreateAsync ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsService) CreateAsync(parent string, logbucket *LogBucket) *ProjectsLocationsBucketsCreateAsyncCall
CreateAsync: Creates a log bucket asynchronously that can be used to store log entries.After a bucket has been created, the bucket's location cannot be changed.
- parent: The resource in which to create the log bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global".
func (*ProjectsLocationsBucketsService) Delete ¶ added in v0.31.0
func (r *ProjectsLocationsBucketsService) Delete(name string) *ProjectsLocationsBucketsDeleteCall
Delete: Deletes a log bucket.Changes the bucket's lifecycle_state to the DELETE_REQUESTED state. After 7 days, the bucket will be purged and all log entries in the bucket will be permanently deleted.
- name: The full resource name of the bucket to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*ProjectsLocationsBucketsService) Get ¶ added in v0.18.0
func (r *ProjectsLocationsBucketsService) Get(name string) *ProjectsLocationsBucketsGetCall
Get: Gets a log bucket.
- name: The resource name of the bucket: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*ProjectsLocationsBucketsService) List ¶ added in v0.18.0
func (r *ProjectsLocationsBucketsService) List(parent string) *ProjectsLocationsBucketsListCall
List: Lists log buckets.
- parent: The parent resource whose buckets are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The locations portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all buckets.
func (*ProjectsLocationsBucketsService) Patch ¶ added in v0.18.0
func (r *ProjectsLocationsBucketsService) Patch(name string, logbucket *LogBucket) *ProjectsLocationsBucketsPatchCall
Patch: Updates a log bucket.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*ProjectsLocationsBucketsService) Undelete ¶ added in v0.31.0
func (r *ProjectsLocationsBucketsService) Undelete(name string, undeletebucketrequest *UndeleteBucketRequest) *ProjectsLocationsBucketsUndeleteCall
Undelete: Undeletes a log bucket. A bucket that has been deleted can be undeleted within the grace period of 7 days.
- name: The full resource name of the bucket to undelete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*ProjectsLocationsBucketsService) UpdateAsync ¶ added in v0.111.0
func (r *ProjectsLocationsBucketsService) UpdateAsync(name string, logbucket *LogBucket) *ProjectsLocationsBucketsUpdateAsyncCall
UpdateAsync: Updates a log bucket asynchronously.If the bucket has a lifecycle_state of DELETE_REQUESTED, then FAILED_PRECONDITION will be returned.After a bucket has been created, the bucket's location cannot be changed.
- name: The full resource name of the bucket to update. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID ]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCK ET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
type ProjectsLocationsBucketsUndeleteCall ¶ added in v0.31.0
type ProjectsLocationsBucketsUndeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsUndeleteCall) Context ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsUndeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsUndeleteCall) Do ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsUndeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.locations.buckets.undelete" call. 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 (*ProjectsLocationsBucketsUndeleteCall) Fields ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsUndeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsUndeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsUndeleteCall) Header ¶ added in v0.31.0
func (c *ProjectsLocationsBucketsUndeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsUpdateAsyncCall ¶ added in v0.111.0
type ProjectsLocationsBucketsUpdateAsyncCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsUpdateAsyncCall) Context ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsUpdateAsyncCall) Context(ctx context.Context) *ProjectsLocationsBucketsUpdateAsyncCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsUpdateAsyncCall) Do ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsUpdateAsyncCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.projects.locations.buckets.updateAsync" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*ProjectsLocationsBucketsUpdateAsyncCall) Fields ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsUpdateAsyncCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsUpdateAsyncCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsUpdateAsyncCall) Header ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsUpdateAsyncCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsUpdateAsyncCall) UpdateMask ¶ added in v0.111.0
func (c *ProjectsLocationsBucketsUpdateAsyncCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsUpdateAsyncCall
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.FieldMaskFor example: updateMask=retention_days
type ProjectsLocationsBucketsViewsCreateCall ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsCreateCall) Context ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsCreateCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsCreateCall) Do ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsCreateCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.projects.locations.buckets.views.create" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBucketsViewsCreateCall) Fields ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsCreateCall) Header ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsViewsCreateCall) ViewId ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsCreateCall) ViewId(viewId string) *ProjectsLocationsBucketsViewsCreateCall
ViewId sets the optional parameter "viewId": Required. A client-assigned identifier such as "my-view". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods.
type ProjectsLocationsBucketsViewsDeleteCall ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsDeleteCall) Context ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsDeleteCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsDeleteCall) Do ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.locations.buckets.views.delete" call. 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 (*ProjectsLocationsBucketsViewsDeleteCall) Fields ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsDeleteCall) Header ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsViewsGetCall ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsGetCall) Context ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsGetCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsGetCall) Do ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsGetCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.projects.locations.buckets.views.get" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBucketsViewsGetCall) Fields ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsGetCall) Header ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsViewsGetCall) IfNoneMatch ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsBucketsViewsGetIamPolicyCall ¶ added in v0.178.0
type ProjectsLocationsBucketsViewsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsGetIamPolicyCall) Context ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsGetIamPolicyCall) Do ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.projects.locations.buckets.views.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBucketsViewsGetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsGetIamPolicyCall) Header ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsGetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsViewsListCall ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsListCall) Context ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsListCall) Do ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) Do(opts ...googleapi.CallOption) (*ListViewsResponse, error)
Do executes the "logging.projects.locations.buckets.views.list" call. Any non-2xx status code is an error. Response headers are in either *ListViewsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBucketsViewsListCall) Fields ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsListCall) Header ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsViewsListCall) IfNoneMatch ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBucketsViewsListCall) PageSize ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsViewsListCall
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 (*ProjectsLocationsBucketsViewsListCall) PageToken ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsViewsListCall
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 (*ProjectsLocationsBucketsViewsListCall) Pages ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsListCall) Pages(ctx context.Context, f func(*ListViewsResponse) error) error
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 ProjectsLocationsBucketsViewsLogsListCall ¶ added in v0.75.0
type ProjectsLocationsBucketsViewsLogsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsLogsListCall) Context ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsLogsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsLogsListCall) Do ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.projects.locations.buckets.views.logs.list" call. 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 (*ProjectsLocationsBucketsViewsLogsListCall) Fields ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsLogsListCall) Header ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsViewsLogsListCall) IfNoneMatch ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsBucketsViewsLogsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsBucketsViewsLogsListCall) PageSize ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) PageSize(pageSize int64) *ProjectsLocationsBucketsViewsLogsListCall
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 (*ProjectsLocationsBucketsViewsLogsListCall) PageToken ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) PageToken(pageToken string) *ProjectsLocationsBucketsViewsLogsListCall
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 (*ProjectsLocationsBucketsViewsLogsListCall) Pages ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsBucketsViewsLogsListCall) ResourceNames ¶ added in v0.75.0
func (c *ProjectsLocationsBucketsViewsLogsListCall) ResourceNames(resourceNames ...string) *ProjectsLocationsBucketsViewsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type ProjectsLocationsBucketsViewsLogsService ¶ added in v0.75.0
type ProjectsLocationsBucketsViewsLogsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsBucketsViewsLogsService ¶ added in v0.75.0
func NewProjectsLocationsBucketsViewsLogsService(s *Service) *ProjectsLocationsBucketsViewsLogsService
func (*ProjectsLocationsBucketsViewsLogsService) List ¶ added in v0.75.0
func (r *ProjectsLocationsBucketsViewsLogsService) List(parent string) *ProjectsLocationsBucketsViewsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type ProjectsLocationsBucketsViewsPatchCall ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsPatchCall) Context ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsPatchCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsPatchCall) Do ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsPatchCall) Do(opts ...googleapi.CallOption) (*LogView, error)
Do executes the "logging.projects.locations.buckets.views.patch" call. Any non-2xx status code is an error. Response headers are in either *LogView.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsBucketsViewsPatchCall) Fields ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsPatchCall) Header ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsBucketsViewsPatchCall) UpdateMask ¶ added in v0.34.0
func (c *ProjectsLocationsBucketsViewsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsBucketsViewsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask that specifies the fields in view that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=filter
type ProjectsLocationsBucketsViewsService ¶ added in v0.34.0
type ProjectsLocationsBucketsViewsService struct { Logs *ProjectsLocationsBucketsViewsLogsService // contains filtered or unexported fields }
func NewProjectsLocationsBucketsViewsService ¶ added in v0.34.0
func NewProjectsLocationsBucketsViewsService(s *Service) *ProjectsLocationsBucketsViewsService
func (*ProjectsLocationsBucketsViewsService) Create ¶ added in v0.34.0
func (r *ProjectsLocationsBucketsViewsService) Create(parent string, logview *LogView) *ProjectsLocationsBucketsViewsCreateCall
Create: Creates a view over log entries in a log bucket. A bucket may contain a maximum of 30 views.
- parent: The bucket in which to create the view "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket".
func (*ProjectsLocationsBucketsViewsService) Delete ¶ added in v0.34.0
func (r *ProjectsLocationsBucketsViewsService) Delete(name string) *ProjectsLocationsBucketsViewsDeleteCall
Delete: Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can delete the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*ProjectsLocationsBucketsViewsService) Get ¶ added in v0.34.0
func (r *ProjectsLocationsBucketsViewsService) Get(name string) *ProjectsLocationsBucketsViewsGetCall
Get: Gets a view on a log bucket.
- name: The resource name of the policy: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*ProjectsLocationsBucketsViewsService) GetIamPolicy ¶ added in v0.178.0
func (r *ProjectsLocationsBucketsViewsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsBucketsViewsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBucketsViewsService) List ¶ added in v0.34.0
func (r *ProjectsLocationsBucketsViewsService) List(parent string) *ProjectsLocationsBucketsViewsListCall
List: Lists views on a log bucket.
- parent: The bucket whose views are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]".
func (*ProjectsLocationsBucketsViewsService) Patch ¶ added in v0.34.0
func (r *ProjectsLocationsBucketsViewsService) Patch(name string, logview *LogView) *ProjectsLocationsBucketsViewsPatchCall
Patch: Updates a view on a log bucket. This method replaces the value of the filter field from the existing view with the corresponding value from the new view. If an UNAVAILABLE error is returned, this indicates that system is not in a state where it can update the view. If this occurs, please try again in a few minutes.
- name: The full resource name of the view to update "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[V IEW_ID]" For example:"projects/my-project/locations/global/buckets/my-bucket/views/my-vi ew".
func (*ProjectsLocationsBucketsViewsService) SetIamPolicy ¶ added in v0.178.0
func (r *ProjectsLocationsBucketsViewsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsBucketsViewsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsBucketsViewsService) TestIamPermissions ¶ added in v0.178.0
func (r *ProjectsLocationsBucketsViewsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsBucketsViewsSetIamPolicyCall ¶ added in v0.178.0
type ProjectsLocationsBucketsViewsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsSetIamPolicyCall) Context ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsSetIamPolicyCall) Do ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "logging.projects.locations.buckets.views.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsBucketsViewsSetIamPolicyCall) Fields ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsSetIamPolicyCall) Header ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsSetIamPolicyCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsBucketsViewsTestIamPermissionsCall ¶ added in v0.178.0
type ProjectsLocationsBucketsViewsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsBucketsViewsTestIamPermissionsCall) Context ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsBucketsViewsTestIamPermissionsCall) Do ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "logging.projects.locations.buckets.views.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsBucketsViewsTestIamPermissionsCall) Fields ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsBucketsViewsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsBucketsViewsTestIamPermissionsCall) Header ¶ added in v0.178.0
func (c *ProjectsLocationsBucketsViewsTestIamPermissionsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsGetCall ¶ added in v0.35.0
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶ added in v0.35.0
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall) Do ¶ added in v0.35.0
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "logging.projects.locations.get" call. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall) Fields ¶ added in v0.35.0
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsGetCall) Header ¶ added in v0.35.0
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶ added in v0.35.0
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsListCall ¶ added in v0.35.0
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall) Do ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "logging.projects.locations.list" call. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsListCall) Fields ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsListCall) Filter ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsListCall) PageSize ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶ added in v0.35.0
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
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 ProjectsLocationsOperationsCancelCall ¶ added in v0.51.0
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall) Do ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.locations.operations.cancel" call. 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 (*ProjectsLocationsOperationsCancelCall) Fields ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsCancelCall) Header ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsGetCall ¶ added in v0.51.0
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall) Do ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "logging.projects.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *Operation.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 (*ProjectsLocationsOperationsGetCall) Fields ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsGetCall) Header ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsOperationsListCall ¶ added in v0.51.0
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall) Do ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "logging.projects.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.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 (*ProjectsLocationsOperationsListCall) Fields ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsListCall) Filter ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsOperationsListCall) PageSize ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶ added in v0.51.0
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
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 ProjectsLocationsOperationsService ¶ added in v0.51.0
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶ added in v0.51.0
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶ added in v0.51.0
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Get ¶ added in v0.51.0
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶ added in v0.51.0
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
- name: The name of the operation's parent resource.
type ProjectsLocationsRecentQueriesListCall ¶ added in v0.152.0
type ProjectsLocationsRecentQueriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRecentQueriesListCall) Context ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) Context(ctx context.Context) *ProjectsLocationsRecentQueriesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRecentQueriesListCall) Do ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) Do(opts ...googleapi.CallOption) (*ListRecentQueriesResponse, error)
Do executes the "logging.projects.locations.recentQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListRecentQueriesResponse.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 (*ProjectsLocationsRecentQueriesListCall) Fields ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRecentQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRecentQueriesListCall) Filter ¶ added in v0.187.0
func (c *ProjectsLocationsRecentQueriesListCall) Filter(filter string) *ProjectsLocationsRecentQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics")
func (*ProjectsLocationsRecentQueriesListCall) Header ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRecentQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRecentQueriesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsRecentQueriesListCall) PageSize ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsRecentQueriesListCall
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 (*ProjectsLocationsRecentQueriesListCall) PageToken ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) PageToken(pageToken string) *ProjectsLocationsRecentQueriesListCall
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 (*ProjectsLocationsRecentQueriesListCall) Pages ¶ added in v0.152.0
func (c *ProjectsLocationsRecentQueriesListCall) Pages(ctx context.Context, f func(*ListRecentQueriesResponse) error) error
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 ProjectsLocationsRecentQueriesService ¶ added in v0.152.0
type ProjectsLocationsRecentQueriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRecentQueriesService ¶ added in v0.152.0
func NewProjectsLocationsRecentQueriesService(s *Service) *ProjectsLocationsRecentQueriesService
func (*ProjectsLocationsRecentQueriesService) List ¶ added in v0.152.0
func (r *ProjectsLocationsRecentQueriesService) List(parent string) *ProjectsLocationsRecentQueriesListCall
List: Lists the RecentQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries.
type ProjectsLocationsSavedQueriesCreateCall ¶ added in v0.152.0
type ProjectsLocationsSavedQueriesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSavedQueriesCreateCall) Context ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesCreateCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSavedQueriesCreateCall) Do ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesCreateCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.projects.locations.savedQueries.create" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*ProjectsLocationsSavedQueriesCreateCall) Fields ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSavedQueriesCreateCall) Header ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSavedQueriesCreateCall) SavedQueryId ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesCreateCall) SavedQueryId(savedQueryId string) *ProjectsLocationsSavedQueriesCreateCall
SavedQueryId sets the optional parameter "savedQueryId": The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric.
type ProjectsLocationsSavedQueriesDeleteCall ¶ added in v0.152.0
type ProjectsLocationsSavedQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSavedQueriesDeleteCall) Context ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSavedQueriesDeleteCall) Do ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.locations.savedQueries.delete" call. 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 (*ProjectsLocationsSavedQueriesDeleteCall) Fields ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSavedQueriesDeleteCall) Header ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSavedQueriesGetCall ¶ added in v0.187.0
type ProjectsLocationsSavedQueriesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSavedQueriesGetCall) Context ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesGetCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSavedQueriesGetCall) Do ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesGetCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.projects.locations.savedQueries.get" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*ProjectsLocationsSavedQueriesGetCall) Fields ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSavedQueriesGetCall) Header ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSavedQueriesGetCall) IfNoneMatch ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSavedQueriesGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsSavedQueriesListCall ¶ added in v0.152.0
type ProjectsLocationsSavedQueriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSavedQueriesListCall) Context ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSavedQueriesListCall) Do ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) Do(opts ...googleapi.CallOption) (*ListSavedQueriesResponse, error)
Do executes the "logging.projects.locations.savedQueries.list" call. Any non-2xx status code is an error. Response headers are in either *ListSavedQueriesResponse.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 (*ProjectsLocationsSavedQueriesListCall) Fields ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSavedQueriesListCall) Filter ¶ added in v0.189.0
func (c *ProjectsLocationsSavedQueriesListCall) Filter(filter string) *ProjectsLocationsSavedQueriesListCall
Filter sets the optional parameter "filter": Specifies the type ("Logging" or "OpsAnalytics") and the visibility (PRIVATE or SHARED) of the saved queries to list. If provided, the filter must contain either the type function or a visibility token, or both. If both are chosen, they can be placed in any order, but they must be joined by the AND operator or the empty character.The two supported type function calls are: type("Logging") type("OpsAnalytics")The two supported visibility tokens are: visibility = PRIVATE visibility = SHAREDFor example:type("Logging") AND visibility = PRIVATE visibility=SHARED type("OpsAnalytics") type("OpsAnalytics)" visibility = PRIVATE visibility = SHARED
func (*ProjectsLocationsSavedQueriesListCall) Header ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSavedQueriesListCall) IfNoneMatch ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSavedQueriesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsSavedQueriesListCall) PageSize ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsSavedQueriesListCall
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 (*ProjectsLocationsSavedQueriesListCall) PageToken ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) PageToken(pageToken string) *ProjectsLocationsSavedQueriesListCall
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 (*ProjectsLocationsSavedQueriesListCall) Pages ¶ added in v0.152.0
func (c *ProjectsLocationsSavedQueriesListCall) Pages(ctx context.Context, f func(*ListSavedQueriesResponse) error) error
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 ProjectsLocationsSavedQueriesPatchCall ¶ added in v0.187.0
type ProjectsLocationsSavedQueriesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSavedQueriesPatchCall) Context ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesPatchCall) Context(ctx context.Context) *ProjectsLocationsSavedQueriesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSavedQueriesPatchCall) Do ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesPatchCall) Do(opts ...googleapi.CallOption) (*SavedQuery, error)
Do executes the "logging.projects.locations.savedQueries.patch" call. Any non-2xx status code is an error. Response headers are in either *SavedQuery.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 (*ProjectsLocationsSavedQueriesPatchCall) Fields ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSavedQueriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSavedQueriesPatchCall) Header ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSavedQueriesPatchCall) UpdateMask ¶ added in v0.187.0
func (c *ProjectsLocationsSavedQueriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSavedQueriesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. A non-empty list of fields to change in the existing saved query. Fields are relative to the saved_query and new values for the fields are taken from the corresponding fields in the SavedQuery included in this request. Fields not mentioned in update_mask are not changed and are ignored in the request.To update all mutable fields, specify an update_mask of *.For example, to change the description and query filter text of a saved query, specify an update_mask of "description, query.filter".
type ProjectsLocationsSavedQueriesService ¶ added in v0.152.0
type ProjectsLocationsSavedQueriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSavedQueriesService ¶ added in v0.152.0
func NewProjectsLocationsSavedQueriesService(s *Service) *ProjectsLocationsSavedQueriesService
func (*ProjectsLocationsSavedQueriesService) Create ¶ added in v0.152.0
func (r *ProjectsLocationsSavedQueriesService) Create(parent string, savedquery *SavedQuery) *ProjectsLocationsSavedQueriesCreateCall
Create: Creates a new SavedQuery for the user making the request.
- parent: The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1".
func (*ProjectsLocationsSavedQueriesService) Delete ¶ added in v0.152.0
func (r *ProjectsLocationsSavedQueriesService) Delete(name string) *ProjectsLocationsSavedQueriesDeleteCall
Delete: Deletes an existing SavedQuery that was created by the user making the request.
- name: The full resource name of the saved query to delete. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*ProjectsLocationsSavedQueriesService) Get ¶ added in v0.187.0
func (r *ProjectsLocationsSavedQueriesService) Get(name string) *ProjectsLocationsSavedQueriesGetCall
Get: Returns all data associated with the requested query.
- name: The resource name of the saved query. "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/savedQueries/[QUER Y_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/savedQueries/ [QUERY_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For example: "projects/my-project/locations/global/savedQueries/my-saved-query".
func (*ProjectsLocationsSavedQueriesService) List ¶ added in v0.152.0
func (r *ProjectsLocationsSavedQueriesService) List(parent string) *ProjectsLocationsSavedQueriesListCall
List: Lists the SavedQueries that were created by the user making the request.
- parent: The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/us-central1" Note: The locations portion of the resource must be specified. To get a list of all saved queries, a wildcard character - can be used for LOCATION_ID, for example: "projects/my-project/locations/-".
func (*ProjectsLocationsSavedQueriesService) Patch ¶ added in v0.187.0
func (r *ProjectsLocationsSavedQueriesService) Patch(name string, savedquery *SavedQuery) *ProjectsLocationsSavedQueriesPatchCall
Patch: Updates an existing SavedQuery.
- name: Output only. Resource name of the saved query.In the format: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn't provide a QUERY_ID, the system will generate an alphanumeric ID.
type ProjectsLocationsService ¶ added in v0.18.0
type ProjectsLocationsService struct { Buckets *ProjectsLocationsBucketsService Operations *ProjectsLocationsOperationsService RecentQueries *ProjectsLocationsRecentQueriesService SavedQueries *ProjectsLocationsSavedQueriesService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶ added in v0.18.0
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶ added in v0.35.0
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) List ¶ added in v0.35.0
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLogsDeleteCall ¶
type ProjectsLogsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLogsDeleteCall) Context ¶
func (c *ProjectsLogsDeleteCall) Context(ctx context.Context) *ProjectsLogsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLogsDeleteCall) Do ¶
func (c *ProjectsLogsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.logs.delete" call. 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 (*ProjectsLogsDeleteCall) Fields ¶
func (c *ProjectsLogsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLogsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLogsDeleteCall) Header ¶
func (c *ProjectsLogsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLogsListCall ¶
type ProjectsLogsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLogsListCall) Context ¶
func (c *ProjectsLogsListCall) Context(ctx context.Context) *ProjectsLogsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLogsListCall) Do ¶
func (c *ProjectsLogsListCall) Do(opts ...googleapi.CallOption) (*ListLogsResponse, error)
Do executes the "logging.projects.logs.list" call. 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 (*ProjectsLogsListCall) Fields ¶
func (c *ProjectsLogsListCall) Fields(s ...googleapi.Field) *ProjectsLogsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLogsListCall) Header ¶
func (c *ProjectsLogsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLogsListCall) IfNoneMatch ¶
func (c *ProjectsLogsListCall) IfNoneMatch(entityTag string) *ProjectsLogsListCall
IfNoneMatch sets an 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.
func (*ProjectsLogsListCall) PageSize ¶
func (c *ProjectsLogsListCall) PageSize(pageSize int64) *ProjectsLogsListCall
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 (*ProjectsLogsListCall) PageToken ¶
func (c *ProjectsLogsListCall) PageToken(pageToken string) *ProjectsLogsListCall
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 (*ProjectsLogsListCall) Pages ¶
func (c *ProjectsLogsListCall) Pages(ctx context.Context, f func(*ListLogsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*ProjectsLogsListCall) ResourceNames ¶ added in v0.35.0
func (c *ProjectsLogsListCall) ResourceNames(resourceNames ...string) *ProjectsLogsListCall
ResourceNames sets the optional parameter "resourceNames": List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW _ID] organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v iews/[VIEW_ID] billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ ID]/views/[VIEW_ID] folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I D]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
type ProjectsLogsService ¶
type ProjectsLogsService struct {
// contains filtered or unexported fields
}
func NewProjectsLogsService ¶
func NewProjectsLogsService(s *Service) *ProjectsLogsService
func (*ProjectsLogsService) Delete ¶
func (r *ProjectsLogsService) Delete(logName string) *ProjectsLogsDeleteCall
Delete: Deletes all the log entries in a log for the _Default Log Bucket. The log reappears if it receives new entries. Log entries written shortly before the delete operation might not be deleted. Entries received after the delete operation with a timestamp before the operation will be deleted.
- logName: The resource name of the log to delete: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "organizations/123/logs/cloudaudit.googleapis.com%2Factivity".For more information about log names, see LogEntry.
func (*ProjectsLogsService) List ¶
func (r *ProjectsLogsService) List(parent string) *ProjectsLogsListCall
List: Lists the logs in projects, organizations, folders, or billing accounts. Only logs that have entries are listed.
- parent: The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID].
type ProjectsMetricsCreateCall ¶
type ProjectsMetricsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsMetricsCreateCall) Context ¶
func (c *ProjectsMetricsCreateCall) Context(ctx context.Context) *ProjectsMetricsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsMetricsCreateCall) Do ¶
func (c *ProjectsMetricsCreateCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
Do executes the "logging.projects.metrics.create" call. Any non-2xx status code is an error. Response headers are in either *LogMetric.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 (*ProjectsMetricsCreateCall) Fields ¶
func (c *ProjectsMetricsCreateCall) Fields(s ...googleapi.Field) *ProjectsMetricsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsMetricsCreateCall) Header ¶
func (c *ProjectsMetricsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsMetricsDeleteCall ¶
type ProjectsMetricsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsMetricsDeleteCall) Context ¶
func (c *ProjectsMetricsDeleteCall) Context(ctx context.Context) *ProjectsMetricsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsMetricsDeleteCall) Do ¶
func (c *ProjectsMetricsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.metrics.delete" call. 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 (*ProjectsMetricsDeleteCall) Fields ¶
func (c *ProjectsMetricsDeleteCall) Fields(s ...googleapi.Field) *ProjectsMetricsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsMetricsDeleteCall) Header ¶
func (c *ProjectsMetricsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsMetricsGetCall ¶
type ProjectsMetricsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsMetricsGetCall) Context ¶
func (c *ProjectsMetricsGetCall) Context(ctx context.Context) *ProjectsMetricsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsMetricsGetCall) Do ¶
func (c *ProjectsMetricsGetCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
Do executes the "logging.projects.metrics.get" call. Any non-2xx status code is an error. Response headers are in either *LogMetric.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 (*ProjectsMetricsGetCall) Fields ¶
func (c *ProjectsMetricsGetCall) Fields(s ...googleapi.Field) *ProjectsMetricsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsMetricsGetCall) Header ¶
func (c *ProjectsMetricsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsMetricsGetCall) IfNoneMatch ¶
func (c *ProjectsMetricsGetCall) IfNoneMatch(entityTag string) *ProjectsMetricsGetCall
IfNoneMatch sets an 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.
type ProjectsMetricsListCall ¶
type ProjectsMetricsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsMetricsListCall) Context ¶
func (c *ProjectsMetricsListCall) Context(ctx context.Context) *ProjectsMetricsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsMetricsListCall) Do ¶
func (c *ProjectsMetricsListCall) Do(opts ...googleapi.CallOption) (*ListLogMetricsResponse, error)
Do executes the "logging.projects.metrics.list" call. Any non-2xx status code is an error. Response headers are in either *ListLogMetricsResponse.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 (*ProjectsMetricsListCall) Fields ¶
func (c *ProjectsMetricsListCall) Fields(s ...googleapi.Field) *ProjectsMetricsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsMetricsListCall) Header ¶
func (c *ProjectsMetricsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsMetricsListCall) IfNoneMatch ¶
func (c *ProjectsMetricsListCall) IfNoneMatch(entityTag string) *ProjectsMetricsListCall
IfNoneMatch sets an 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.
func (*ProjectsMetricsListCall) PageSize ¶
func (c *ProjectsMetricsListCall) PageSize(pageSize int64) *ProjectsMetricsListCall
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 (*ProjectsMetricsListCall) PageToken ¶
func (c *ProjectsMetricsListCall) PageToken(pageToken string) *ProjectsMetricsListCall
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 (*ProjectsMetricsListCall) Pages ¶
func (c *ProjectsMetricsListCall) Pages(ctx context.Context, f func(*ListLogMetricsResponse) error) error
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 ProjectsMetricsService ¶
type ProjectsMetricsService struct {
// contains filtered or unexported fields
}
func NewProjectsMetricsService ¶
func NewProjectsMetricsService(s *Service) *ProjectsMetricsService
func (*ProjectsMetricsService) Create ¶
func (r *ProjectsMetricsService) Create(parent string, logmetric *LogMetric) *ProjectsMetricsCreateCall
Create: Creates a logs-based metric.
- parent: The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
func (*ProjectsMetricsService) Delete ¶
func (r *ProjectsMetricsService) Delete(metricName string) *ProjectsMetricsDeleteCall
Delete: Deletes a logs-based metric.
- metricName: The resource name of the metric to delete: "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
func (*ProjectsMetricsService) Get ¶
func (r *ProjectsMetricsService) Get(metricName string) *ProjectsMetricsGetCall
Get: Gets a logs-based metric.
- metricName: The resource name of the desired metric: "projects/[PROJECT_ID]/metrics/[METRIC_ID]".
func (*ProjectsMetricsService) List ¶
func (r *ProjectsMetricsService) List(parent string) *ProjectsMetricsListCall
List: Lists logs-based metrics.
- parent: The name of the project containing the metrics: "projects/[PROJECT_ID]".
func (*ProjectsMetricsService) Update ¶
func (r *ProjectsMetricsService) Update(metricName string, logmetric *LogMetric) *ProjectsMetricsUpdateCall
Update: Creates or updates a logs-based metric.
- metricName: The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.
type ProjectsMetricsUpdateCall ¶
type ProjectsMetricsUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsMetricsUpdateCall) Context ¶
func (c *ProjectsMetricsUpdateCall) Context(ctx context.Context) *ProjectsMetricsUpdateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsMetricsUpdateCall) Do ¶
func (c *ProjectsMetricsUpdateCall) Do(opts ...googleapi.CallOption) (*LogMetric, error)
Do executes the "logging.projects.metrics.update" call. Any non-2xx status code is an error. Response headers are in either *LogMetric.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 (*ProjectsMetricsUpdateCall) Fields ¶
func (c *ProjectsMetricsUpdateCall) Fields(s ...googleapi.Field) *ProjectsMetricsUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsMetricsUpdateCall) Header ¶
func (c *ProjectsMetricsUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsService ¶
type ProjectsService struct { Exclusions *ProjectsExclusionsService Locations *ProjectsLocationsService Logs *ProjectsLogsService Metrics *ProjectsMetricsService Sinks *ProjectsSinksService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) GetCmekSettings ¶ added in v0.61.0
func (r *ProjectsService) GetCmekSettings(name string) *ProjectsGetCmekSettingsCall
GetCmekSettings: Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
func (*ProjectsService) GetSettings ¶ added in v0.67.0
func (r *ProjectsService) GetSettings(name string) *ProjectsGetSettingsCall
GetSettings: Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
- name: The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.
type ProjectsSinksCreateCall ¶
type ProjectsSinksCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksCreateCall) Context ¶
func (c *ProjectsSinksCreateCall) Context(ctx context.Context) *ProjectsSinksCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksCreateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *ProjectsSinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksCreateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*ProjectsSinksCreateCall) Do ¶
func (c *ProjectsSinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.projects.sinks.create" call. 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 (*ProjectsSinksCreateCall) Fields ¶
func (c *ProjectsSinksCreateCall) Fields(s ...googleapi.Field) *ProjectsSinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksCreateCall) Header ¶
func (c *ProjectsSinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsSinksCreateCall) UniqueWriterIdentity ¶
func (c *ProjectsSinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksCreateCall
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 Cloud 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
type ProjectsSinksDeleteCall ¶
type ProjectsSinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksDeleteCall) Context ¶
func (c *ProjectsSinksDeleteCall) Context(ctx context.Context) *ProjectsSinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksDeleteCall) Do ¶
func (c *ProjectsSinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.projects.sinks.delete" call. 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 (*ProjectsSinksDeleteCall) Fields ¶
func (c *ProjectsSinksDeleteCall) Fields(s ...googleapi.Field) *ProjectsSinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksDeleteCall) Header ¶
func (c *ProjectsSinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsSinksGetCall ¶
type ProjectsSinksGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksGetCall) Context ¶
func (c *ProjectsSinksGetCall) Context(ctx context.Context) *ProjectsSinksGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksGetCall) Do ¶
func (c *ProjectsSinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.projects.sinks.get" call. 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 (*ProjectsSinksGetCall) Fields ¶
func (c *ProjectsSinksGetCall) Fields(s ...googleapi.Field) *ProjectsSinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksGetCall) Header ¶
func (c *ProjectsSinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsSinksGetCall) IfNoneMatch ¶
func (c *ProjectsSinksGetCall) IfNoneMatch(entityTag string) *ProjectsSinksGetCall
IfNoneMatch sets an 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.
type ProjectsSinksListCall ¶
type ProjectsSinksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksListCall) Context ¶
func (c *ProjectsSinksListCall) Context(ctx context.Context) *ProjectsSinksListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksListCall) Do ¶
func (c *ProjectsSinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
Do executes the "logging.projects.sinks.list" call. 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 (*ProjectsSinksListCall) Fields ¶
func (c *ProjectsSinksListCall) Fields(s ...googleapi.Field) *ProjectsSinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksListCall) Filter ¶ added in v0.171.0
func (c *ProjectsSinksListCall) Filter(filter string) *ProjectsSinksListCall
Filter sets the optional parameter "filter": A filter expression to constrain the sinks returned. Today, this only supports the following strings: ” 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied.
func (*ProjectsSinksListCall) Header ¶
func (c *ProjectsSinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsSinksListCall) IfNoneMatch ¶
func (c *ProjectsSinksListCall) IfNoneMatch(entityTag string) *ProjectsSinksListCall
IfNoneMatch sets an 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.
func (*ProjectsSinksListCall) PageSize ¶
func (c *ProjectsSinksListCall) PageSize(pageSize int64) *ProjectsSinksListCall
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 (*ProjectsSinksListCall) PageToken ¶
func (c *ProjectsSinksListCall) PageToken(pageToken string) *ProjectsSinksListCall
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 (*ProjectsSinksListCall) Pages ¶
func (c *ProjectsSinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
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 ProjectsSinksPatchCall ¶
type ProjectsSinksPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksPatchCall) Context ¶
func (c *ProjectsSinksPatchCall) Context(ctx context.Context) *ProjectsSinksPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksPatchCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *ProjectsSinksPatchCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksPatchCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*ProjectsSinksPatchCall) Do ¶
func (c *ProjectsSinksPatchCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.projects.sinks.patch" call. 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 (*ProjectsSinksPatchCall) Fields ¶
func (c *ProjectsSinksPatchCall) Fields(s ...googleapi.Field) *ProjectsSinksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksPatchCall) Header ¶
func (c *ProjectsSinksPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsSinksPatchCall) UniqueWriterIdentity ¶
func (c *ProjectsSinksPatchCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksPatchCall
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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
func (*ProjectsSinksPatchCall) UpdateMask ¶
func (c *ProjectsSinksPatchCall) UpdateMask(updateMask string) *ProjectsSinksPatchCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type ProjectsSinksService ¶
type ProjectsSinksService struct {
// contains filtered or unexported fields
}
func NewProjectsSinksService ¶
func NewProjectsSinksService(s *Service) *ProjectsSinksService
func (*ProjectsSinksService) Create ¶
func (r *ProjectsSinksService) Create(parent string, logsink *LogSink) *ProjectsSinksCreateCall
Create: Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
- parent: The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789".
func (*ProjectsSinksService) Delete ¶
func (r *ProjectsSinksService) Delete(sinkNameid string) *ProjectsSinksDeleteCall
Delete: Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
- sinkName: The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*ProjectsSinksService) Get ¶
func (r *ProjectsSinksService) Get(sinkName string) *ProjectsSinksGetCall
Get: Gets a sink.
- sinkName: The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*ProjectsSinksService) List ¶
func (r *ProjectsSinksService) List(parent string) *ProjectsSinksListCall
List: Lists sinks.
- parent: The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*ProjectsSinksService) Patch ¶
func (r *ProjectsSinksService) Patch(sinkNameid string, logsink *LogSink) *ProjectsSinksPatchCall
Patch: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*ProjectsSinksService) Update ¶
func (r *ProjectsSinksService) Update(sinkNameid string, logsink *LogSink) *ProjectsSinksUpdateCall
Update: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
type ProjectsSinksUpdateCall ¶
type ProjectsSinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSinksUpdateCall) Context ¶
func (c *ProjectsSinksUpdateCall) Context(ctx context.Context) *ProjectsSinksUpdateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsSinksUpdateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *ProjectsSinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *ProjectsSinksUpdateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*ProjectsSinksUpdateCall) Do ¶
func (c *ProjectsSinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.projects.sinks.update" call. 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 (*ProjectsSinksUpdateCall) Fields ¶
func (c *ProjectsSinksUpdateCall) Fields(s ...googleapi.Field) *ProjectsSinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsSinksUpdateCall) Header ¶
func (c *ProjectsSinksUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsSinksUpdateCall) UniqueWriterIdentity ¶
func (c *ProjectsSinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *ProjectsSinksUpdateCall
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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
func (*ProjectsSinksUpdateCall) UpdateMask ¶
func (c *ProjectsSinksUpdateCall) UpdateMask(updateMask string) *ProjectsSinksUpdateCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type RecentQuery ¶ added in v0.152.0
type RecentQuery struct { // LastRunTime: Output only. The timestamp when this query was last run. LastRunTime string `json:"lastRunTime,omitempty"` // LoggingQuery: Logging query that can be executed in Logs Explorer or via // Logging API. LoggingQuery *LoggingQuery `json:"loggingQuery,omitempty"` // Name: Output only. Resource name of the recent query.In the format: // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]" For // a list of supported locations, see Supported Regions // (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a // system generated alphanumeric ID. Name string `json:"name,omitempty"` // OpsAnalyticsQuery: Analytics query that can be executed in Log Analytics. OpsAnalyticsQuery *OpsAnalyticsQuery `json:"opsAnalyticsQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "LastRunTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LastRunTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
RecentQuery: Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.
func (RecentQuery) MarshalJSON ¶ added in v0.152.0
func (s RecentQuery) MarshalJSON() ([]byte, error)
type RequestLog ¶
type RequestLog struct { // AppEngineRelease: App Engine release version. AppEngineRelease string `json:"appEngineRelease,omitempty"` // AppId: Application that handled this request. AppId string `json:"appId,omitempty"` // Cost: An indication of the relative cost of serving this request. Cost float64 `json:"cost,omitempty"` // EndTime: Time when the request finished. EndTime string `json:"endTime,omitempty"` // Finished: Whether this request is finished or active. Finished bool `json:"finished,omitempty"` // First: Whether this is the first RequestLog entry for this request. If an // active request has several RequestLog entries written to Stackdriver // Logging, then this field will be set for one of them. First bool `json:"first,omitempty"` // Host: Internet host and port number of the resource being requested. Host string `json:"host,omitempty"` // HttpVersion: HTTP version of request. Example: "HTTP/1.1". HttpVersion string `json:"httpVersion,omitempty"` // InstanceId: An identifier for the instance that handled the request. InstanceId string `json:"instanceId,omitempty"` // InstanceIndex: If the instance processing this request belongs to a manually // scaled module, then this is the 0-based index of the instance. Otherwise, // this value is -1. InstanceIndex int64 `json:"instanceIndex,omitempty"` // Ip: Origin IP address. Ip string `json:"ip,omitempty"` // Latency: Latency of the request. Latency string `json:"latency,omitempty"` // Line: A list of log lines emitted by the application while serving this // request. Line []*LogLine `json:"line,omitempty"` // MegaCycles: Number of CPU megacycles used to process request. MegaCycles int64 `json:"megaCycles,omitempty,string"` // Method: Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE". Method string `json:"method,omitempty"` // ModuleId: Module of the application that handled this request. ModuleId string `json:"moduleId,omitempty"` // Nickname: The logged-in user who made the request.Most likely, this is the // part of the user's email before the @ sign. The field value is the same for // different requests from the same user, but different users can have similar // names. This information is also available to the application via the App // Engine Users API.This field will be populated starting with App Engine // 1.9.21. Nickname string `json:"nickname,omitempty"` // PendingTime: Time this request spent in the pending request queue. PendingTime string `json:"pendingTime,omitempty"` // Referrer: Referrer URL of request. Referrer string `json:"referrer,omitempty"` // RequestId: Globally unique identifier for a request, which is based on the // request start time. Request IDs for requests which started later will // compare greater as strings than those for requests which started earlier. RequestId string `json:"requestId,omitempty"` // Resource: Contains the path and query portion of the URL that was requested. // For example, if the URL was "http://example.com/app?name=val", the resource // would be "/app?name=val". The fragment identifier, which is identified by // the # character, is not included. Resource string `json:"resource,omitempty"` // ResponseSize: Size in bytes sent back to client by request. ResponseSize int64 `json:"responseSize,omitempty,string"` // SourceReference: Source code for the application that handled this request. // There can be more than one source reference per deployed application if // source code is distributed among multiple repositories. SourceReference []*SourceReference `json:"sourceReference,omitempty"` // SpanId: Stackdriver Trace span identifier for this request. SpanId string `json:"spanId,omitempty"` // StartTime: Time when the request started. StartTime string `json:"startTime,omitempty"` // Status: HTTP response status code. Example: 200, 404. Status int64 `json:"status,omitempty"` // TaskName: Task name of the request, in the case of an offline request. TaskName string `json:"taskName,omitempty"` // TaskQueueName: Queue name of the request, in the case of an offline request. TaskQueueName string `json:"taskQueueName,omitempty"` // TraceId: Stackdriver Trace identifier for this request. TraceId string `json:"traceId,omitempty"` // TraceSampled: If true, the value in the 'trace_id' field was sampled for // storage in a trace backend. TraceSampled bool `json:"traceSampled,omitempty"` // UrlMapEntry: File or class that handled the request. UrlMapEntry string `json:"urlMapEntry,omitempty"` // UserAgent: User agent that made the request. UserAgent string `json:"userAgent,omitempty"` // VersionId: Version of the application that handled this request. VersionId string `json:"versionId,omitempty"` // WasLoadingRequest: Whether this was a loading request for the instance. WasLoadingRequest bool `json:"wasLoadingRequest,omitempty"` // ForceSendFields is a list of field names (e.g. "AppEngineRelease") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AppEngineRelease") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
RequestLog: Complete log information about a single HTTP request to an App Engine application.
func (RequestLog) MarshalJSON ¶
func (s RequestLog) MarshalJSON() ([]byte, error)
func (*RequestLog) UnmarshalJSON ¶
func (s *RequestLog) UnmarshalJSON(data []byte) error
type SavedQuery ¶ added in v0.152.0
type SavedQuery struct { // CreateTime: Output only. The timestamp when the saved query was created. CreateTime string `json:"createTime,omitempty"` // Description: Optional. A human readable description of the saved query. Description string `json:"description,omitempty"` // DisplayName: Required. The user specified title for the SavedQuery. DisplayName string `json:"displayName,omitempty"` // LoggingQuery: Logging query that can be executed in Logs Explorer or via // Logging API. LoggingQuery *LoggingQuery `json:"loggingQuery,omitempty"` // Name: Output only. Resource name of the saved query.In the format: // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]" For // a list of supported locations, see Supported Regions // (https://cloud.google.com/logging/docs/region-support#bucket-regions)After // the saved query is created, the location cannot be changed.If the user // doesn't provide a QUERY_ID, the system will generate an alphanumeric ID. Name string `json:"name,omitempty"` // OpsAnalyticsQuery: Analytics query that can be executed in Log Analytics. OpsAnalyticsQuery *OpsAnalyticsQuery `json:"opsAnalyticsQuery,omitempty"` // UpdateTime: Output only. The timestamp when the saved query was last // updated. UpdateTime string `json:"updateTime,omitempty"` // Visibility: Required. The visibility status of this query, which determines // its ownership. // // Possible values: // "VISIBILITY_UNSPECIFIED" - The saved query visibility is unspecified. A // CreateSavedQuery request with an unspecified visibility will be rejected. // "PRIVATE" - The saved query is only visible to the user that created it. // "SHARED" - The saved query is visible to anyone in the project. Visibility string `json:"visibility,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 or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SavedQuery: Describes a query that has been saved by a user.
func (SavedQuery) MarshalJSON ¶ added in v0.152.0
func (s SavedQuery) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment BillingAccounts *BillingAccountsService Entries *EntriesService Exclusions *ExclusionsService Folders *FoldersService Locations *LocationsService Logs *LogsService MonitoredResourceDescriptors *MonitoredResourceDescriptorsService Organizations *OrganizationsService Projects *ProjectsService Sinks *SinksService V2 *V2Service // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶ added in v0.3.0
NewService creates a new Service.
type SetIamPolicyRequest ¶ added in v0.178.0
type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the resource. The // size of the policy is limited to a few 10s of KB. An empty policy is a valid // policy but certain Google Cloud services (such as Projects) might reject // them. Policy *Policy `json:"policy,omitempty"` // UpdateMask: OPTIONAL: A FieldMask specifying which fields of the policy to // modify. Only the fields in the mask will be modified. If no mask is // provided, the following default mask is used:paths: "bindings, etag" UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Policy") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SetIamPolicyRequest: Request message for SetIamPolicy method.
func (SetIamPolicyRequest) MarshalJSON ¶ added in v0.178.0
func (s SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type Settings ¶ added in v0.67.0
type Settings struct { // DefaultSinkConfig: Optional. Overrides the built-in configuration for // _Default sink. DefaultSinkConfig *DefaultSinkConfig `json:"defaultSinkConfig,omitempty"` // DisableDefaultSink: Optional. If set to true, the _Default sink in newly // created projects and folders will created in a disabled state. This can be // used to automatically disable log storage if there is already an aggregated // sink configured in the hierarchy. The _Default sink can be re-enabled // manually if needed. DisableDefaultSink bool `json:"disableDefaultSink,omitempty"` // KmsKeyName: Optional. 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/locations/us-central1/keyRings/my-ring/cryptoKey // s/my-key"To enable CMEK, 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.To disable CMEK for the Log Router, set // this field to an empty string.See Enabling CMEK for Log Router // (https://cloud.google.com/logging/docs/routing/managed-encryption) for more // information. KmsKeyName string `json:"kmsKeyName,omitempty"` // KmsServiceAccountId: Output only. The service account that will be used by // the Log Router to access your Cloud KMS key.Before enabling CMEK, you must // first assign the role roles/cloudkms.cryptoKeyEncrypterDecrypter to the // service account that will be used to access your Cloud KMS key. Use // GetSettings to obtain the service account ID.See Enabling CMEK for Log // Router (https://cloud.google.com/logging/docs/routing/managed-encryption) // for more information. KmsServiceAccountId string `json:"kmsServiceAccountId,omitempty"` // LoggingServiceAccountId: Output only. The service account for the given // resource container, such as project or folder. Log sinks use this service // account as their writer_identity if no custom service account is provided in // the request when calling the create sink method. LoggingServiceAccountId string `json:"loggingServiceAccountId,omitempty"` // Name: Output only. The resource name of the settings. Name string `json:"name,omitempty"` // StorageLocation: Optional. The storage location for the _Default and // _Required log buckets of newly created projects and folders, unless the // storage location is explicitly provided.Example value: europe-west1.Note: // this setting does not affect the location of resources where a location is // explicitly provided when created, such as custom log buckets. StorageLocation string `json:"storageLocation,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DefaultSinkConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultSinkConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Settings: Describes the settings associated with a project, folder, organization, or billing account.
func (Settings) MarshalJSON ¶ added in v0.67.0
type SinksCreateCall ¶
type SinksCreateCall struct {
// contains filtered or unexported fields
}
func (*SinksCreateCall) Context ¶
func (c *SinksCreateCall) Context(ctx context.Context) *SinksCreateCall
Context sets the context to be used in this call's Do method.
func (*SinksCreateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *SinksCreateCall) CustomWriterIdentity(customWriterIdentity string) *SinksCreateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*SinksCreateCall) Do ¶
func (c *SinksCreateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.sinks.create" call. 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 (*SinksCreateCall) Fields ¶
func (c *SinksCreateCall) Fields(s ...googleapi.Field) *SinksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*SinksCreateCall) Header ¶
func (c *SinksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*SinksCreateCall) UniqueWriterIdentity ¶
func (c *SinksCreateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *SinksCreateCall
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 Cloud 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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information, see writer_identity in LogSink.
type SinksDeleteCall ¶
type SinksDeleteCall struct {
// contains filtered or unexported fields
}
func (*SinksDeleteCall) Context ¶
func (c *SinksDeleteCall) Context(ctx context.Context) *SinksDeleteCall
Context sets the context to be used in this call's Do method.
func (*SinksDeleteCall) Do ¶
func (c *SinksDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "logging.sinks.delete" call. 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 (*SinksDeleteCall) Fields ¶
func (c *SinksDeleteCall) Fields(s ...googleapi.Field) *SinksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*SinksDeleteCall) Header ¶
func (c *SinksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type SinksGetCall ¶
type SinksGetCall struct {
// contains filtered or unexported fields
}
func (*SinksGetCall) Context ¶
func (c *SinksGetCall) Context(ctx context.Context) *SinksGetCall
Context sets the context to be used in this call's Do method.
func (*SinksGetCall) Do ¶
func (c *SinksGetCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.sinks.get" call. 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 (*SinksGetCall) Fields ¶
func (c *SinksGetCall) Fields(s ...googleapi.Field) *SinksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*SinksGetCall) Header ¶
func (c *SinksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*SinksGetCall) IfNoneMatch ¶
func (c *SinksGetCall) IfNoneMatch(entityTag string) *SinksGetCall
IfNoneMatch sets an 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.
type SinksListCall ¶
type SinksListCall struct {
// contains filtered or unexported fields
}
func (*SinksListCall) Context ¶
func (c *SinksListCall) Context(ctx context.Context) *SinksListCall
Context sets the context to be used in this call's Do method.
func (*SinksListCall) Do ¶
func (c *SinksListCall) Do(opts ...googleapi.CallOption) (*ListSinksResponse, error)
Do executes the "logging.sinks.list" call. 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 (*SinksListCall) Fields ¶
func (c *SinksListCall) Fields(s ...googleapi.Field) *SinksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*SinksListCall) Filter ¶ added in v0.171.0
func (c *SinksListCall) Filter(filter string) *SinksListCall
Filter sets the optional parameter "filter": A filter expression to constrain the sinks returned. Today, this only supports the following strings: ” 'in_scope("ALL")', 'in_scope("ANCESTOR")', 'in_scope("DEFAULT")'.Description of scopes below. ALL: Includes all of the sinks which can be returned in any other scope. ANCESTOR: Includes intercepting sinks owned by ancestor resources. DEFAULT: Includes sinks owned by parent.When the empty string is provided, then the filter 'in_scope("DEFAULT")' is applied.
func (*SinksListCall) Header ¶
func (c *SinksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*SinksListCall) IfNoneMatch ¶
func (c *SinksListCall) IfNoneMatch(entityTag string) *SinksListCall
IfNoneMatch sets an 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.
func (*SinksListCall) PageSize ¶
func (c *SinksListCall) PageSize(pageSize int64) *SinksListCall
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 (*SinksListCall) PageToken ¶
func (c *SinksListCall) PageToken(pageToken string) *SinksListCall
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 (*SinksListCall) Pages ¶
func (c *SinksListCall) Pages(ctx context.Context, f func(*ListSinksResponse) error) error
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 SinksService ¶
type SinksService struct {
// contains filtered or unexported fields
}
func NewSinksService ¶
func NewSinksService(s *Service) *SinksService
func (*SinksService) Create ¶
func (r *SinksService) Create(parent string, logsink *LogSink) *SinksCreateCall
Create: Creates a sink that exports specified log entries to a destination. The export begins upon ingress, 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.
- parent: The resource in which to create the sink: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" For examples:"projects/my-project" "organizations/123456789".
func (*SinksService) Delete ¶
func (r *SinksService) Delete(sinkNameid string) *SinksDeleteCall
Delete: Deletes a sink. If the sink has a unique writer_identity, then that service account is also deleted.
- sinkName: The full resource name of the sink to delete, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*SinksService) Get ¶
func (r *SinksService) Get(sinkName string) *SinksGetCall
Get: Gets a sink.
- sinkName: The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
func (*SinksService) List ¶
func (r *SinksService) List(parent string) *SinksListCall
List: Lists sinks.
- parent: The parent resource whose sinks are to be listed: "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]".
func (*SinksService) Update ¶
func (r *SinksService) Update(sinkNameid string, logsink *LogSink) *SinksUpdateCall
Update: Updates a sink. This method replaces the values of the destination and filter fields of the existing sink with the corresponding values from the new sink.The updated sink might also have a new writer_identity; see the unique_writer_identity field.
- sinkName: The full resource name of the sink to update, including the parent resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]" For example:"projects/my-project/sinks/my-sink".
type SinksUpdateCall ¶
type SinksUpdateCall struct {
// contains filtered or unexported fields
}
func (*SinksUpdateCall) Context ¶
func (c *SinksUpdateCall) Context(ctx context.Context) *SinksUpdateCall
Context sets the context to be used in this call's Do method.
func (*SinksUpdateCall) CustomWriterIdentity ¶ added in v0.127.0
func (c *SinksUpdateCall) CustomWriterIdentity(customWriterIdentity string) *SinksUpdateCall
CustomWriterIdentity sets the optional parameter "customWriterIdentity": The service account provided by the caller that will be used to write the log entries. The format must be serviceAccount:some@email. This field can only be specified when you are routing logs to a log bucket that is in a different project than the sink. When not specified, a Logging service account will automatically be generated.
func (*SinksUpdateCall) Do ¶
func (c *SinksUpdateCall) Do(opts ...googleapi.CallOption) (*LogSink, error)
Do executes the "logging.sinks.update" call. 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 (*SinksUpdateCall) Fields ¶
func (c *SinksUpdateCall) Fields(s ...googleapi.Field) *SinksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*SinksUpdateCall) Header ¶
func (c *SinksUpdateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*SinksUpdateCall) UniqueWriterIdentity ¶
func (c *SinksUpdateCall) UniqueWriterIdentity(uniqueWriterIdentity bool) *SinksUpdateCall
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 service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) owned by Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
func (*SinksUpdateCall) UpdateMask ¶
func (c *SinksUpdateCall) UpdateMask(updateMask string) *SinksUpdateCall
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,includeChildrenAt 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.FieldMaskFor example: updateMask=filter
type SourceLocation ¶
type SourceLocation struct { // File: Source file name. Depending on the runtime environment, this might be // a simple name or a fully-qualified name. File string `json:"file,omitempty"` // FunctionName: Human-readable name of the function or method being invoked, // with optional context such as the class or package name. This information is // 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). FunctionName string `json:"functionName,omitempty"` // Line: Line within the source file. 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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SourceLocation: Specifies a location in a source code file.
func (SourceLocation) MarshalJSON ¶
func (s SourceLocation) MarshalJSON() ([]byte, error)
type SourceReference ¶
type SourceReference struct { // Repository: Optional. A URI string identifying the repository. Example: // "https://github.com/GoogleCloudPlatform/kubernetes.git" Repository string `json:"repository,omitempty"` // RevisionId: The canonical and persistent identifier of the deployed // revision. Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" RevisionId string `json:"revisionId,omitempty"` // ForceSendFields is a list of field names (e.g. "Repository") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Repository") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SourceReference: A reference to a particular snapshot of the source tree used to build and deploy an application.
func (SourceReference) MarshalJSON ¶
func (s SourceReference) MarshalJSON() ([]byte, error)
type Status ¶ added in v0.51.0
type Status struct { // Code: The status code, which should be an enum value of google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a common // set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in English. Any // user-facing error message should be localized and sent in the // google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
Status: The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (Status) MarshalJSON ¶ added in v0.51.0
type SummaryField ¶ added in v0.152.0
type SummaryField struct { // Field: Optional. The field from the LogEntry to include in the summary line, // for example resource.type or jsonPayload.name. Field string `json:"field,omitempty"` // ForceSendFields is a list of field names (e.g. "Field") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Field") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SummaryField: A field from the LogEntry that is added to the summary line (https://cloud.google.com/logging/docs/view/logs-explorer-interface#add-summary-fields) for a query in the Logs Explorer.
func (SummaryField) MarshalJSON ¶ added in v0.152.0
func (s SummaryField) MarshalJSON() ([]byte, error)
type SuppressionInfo ¶ added in v0.35.0
type SuppressionInfo struct { // Reason: The reason that entries were omitted from the session. // // Possible values: // "REASON_UNSPECIFIED" - Unexpected default. // "RATE_LIMIT" - Indicates suppression occurred due to relevant entries // being received in excess of rate limits. For quotas and limits, see Logging // API quotas and limits (https://cloud.google.com/logging/quotas#api-limits). // "NOT_CONSUMED" - Indicates suppression occurred due to the client not // consuming responses quickly enough. Reason string `json:"reason,omitempty"` // SuppressedCount: A lower bound on the count of entries omitted due to // reason. SuppressedCount int64 `json:"suppressedCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Reason") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Reason") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
SuppressionInfo: Information about entries that were omitted from the session.
func (SuppressionInfo) MarshalJSON ¶ added in v0.35.0
func (s SuppressionInfo) MarshalJSON() ([]byte, error)
type TailLogEntriesRequest ¶ added in v0.35.0
type TailLogEntriesRequest struct { // BufferWindow: Optional. The amount of time to buffer log entries at the // server before being returned to prevent out of order results due to late // arriving log entries. Valid values are between 0-60000 milliseconds. // Defaults to 2000 milliseconds. BufferWindow string `json:"bufferWindow,omitempty"` // Filter: Optional. 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 a filter is 20,000 characters. Filter string `json:"filter,omitempty"` // ResourceNames: Required. Name of a parent resource from which to retrieve // log entries: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] // billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]May alternatively be // one or more views: // projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW // _ID] // organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/v // iews/[VIEW_ID] // billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ // ID]/views/[VIEW_ID] // folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_I // D] ResourceNames []string `json:"resourceNames,omitempty"` // ForceSendFields is a list of field names (e.g. "BufferWindow") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BufferWindow") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TailLogEntriesRequest: The parameters to TailLogEntries.
func (TailLogEntriesRequest) MarshalJSON ¶ added in v0.35.0
func (s TailLogEntriesRequest) MarshalJSON() ([]byte, error)
type TailLogEntriesResponse ¶ added in v0.35.0
type TailLogEntriesResponse struct { // Entries: A list of log entries. Each response in the stream will order // entries with increasing values of LogEntry.timestamp. Ordering is not // guaranteed between separate responses. Entries []*LogEntry `json:"entries,omitempty"` // SuppressionInfo: If entries that otherwise would have been included in the // session were not sent back to the client, counts of relevant entries omitted // from the session with the reason that they were not included. There will be // at most one of each reason per response. The counts represent the number of // suppressed entries since the last streamed response. SuppressionInfo []*SuppressionInfo `json:"suppressionInfo,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 or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TailLogEntriesResponse: Result returned from TailLogEntries.
func (TailLogEntriesResponse) MarshalJSON ¶ added in v0.35.0
func (s TailLogEntriesResponse) MarshalJSON() ([]byte, error)
type TestIamPermissionsRequest ¶ added in v0.178.0
type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the resource. Permissions // with wildcards (such as * or storage.*) are not allowed. For more // information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TestIamPermissionsRequest: Request message for TestIamPermissions method.
func (TestIamPermissionsRequest) MarshalJSON ¶ added in v0.178.0
func (s TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶ added in v0.178.0
type TestIamPermissionsResponse struct { // Permissions: A subset of TestPermissionsRequest.permissions that the caller // is allowed. Permissions []string `json:"permissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
TestIamPermissionsResponse: Response message for TestIamPermissions method.
func (TestIamPermissionsResponse) MarshalJSON ¶ added in v0.178.0
func (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type UndeleteBucketRequest ¶ added in v0.31.0
type UndeleteBucketRequest struct { }
UndeleteBucketRequest: The parameters to UndeleteBucket.
type UpdateBucketRequest ¶ added in v0.111.0
type UpdateBucketRequest struct { // Bucket: Required. The updated bucket. Bucket *LogBucket `json:"bucket,omitempty"` // Name: Required. The full resource name of the bucket to update. // "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" // "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" // // "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET // _ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" For // example:"projects/my-project/locations/global/buckets/my-bucket" Name string `json:"name,omitempty"` // 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.FieldMaskFor // example: updateMask=retention_days UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Bucket") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bucket") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
UpdateBucketRequest: The parameters to UpdateBucket.
func (UpdateBucketRequest) MarshalJSON ¶ added in v0.111.0
func (s UpdateBucketRequest) MarshalJSON() ([]byte, error)
type V2GetCmekSettingsCall ¶ added in v0.16.0
type V2GetCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*V2GetCmekSettingsCall) Context ¶ added in v0.16.0
func (c *V2GetCmekSettingsCall) Context(ctx context.Context) *V2GetCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*V2GetCmekSettingsCall) Do ¶ added in v0.16.0
func (c *V2GetCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.getCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*V2GetCmekSettingsCall) Fields ¶ added in v0.16.0
func (c *V2GetCmekSettingsCall) Fields(s ...googleapi.Field) *V2GetCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*V2GetCmekSettingsCall) Header ¶ added in v0.16.0
func (c *V2GetCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*V2GetCmekSettingsCall) IfNoneMatch ¶ added in v0.16.0
func (c *V2GetCmekSettingsCall) IfNoneMatch(entityTag string) *V2GetCmekSettingsCall
IfNoneMatch sets an 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.
type V2GetSettingsCall ¶ added in v0.67.0
type V2GetSettingsCall struct {
// contains filtered or unexported fields
}
func (*V2GetSettingsCall) Context ¶ added in v0.67.0
func (c *V2GetSettingsCall) Context(ctx context.Context) *V2GetSettingsCall
Context sets the context to be used in this call's Do method.
func (*V2GetSettingsCall) Do ¶ added in v0.67.0
func (c *V2GetSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.getSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*V2GetSettingsCall) Fields ¶ added in v0.67.0
func (c *V2GetSettingsCall) Fields(s ...googleapi.Field) *V2GetSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*V2GetSettingsCall) Header ¶ added in v0.67.0
func (c *V2GetSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*V2GetSettingsCall) IfNoneMatch ¶ added in v0.67.0
func (c *V2GetSettingsCall) IfNoneMatch(entityTag string) *V2GetSettingsCall
IfNoneMatch sets an 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.
type V2Service ¶ added in v0.16.0
type V2Service struct {
// contains filtered or unexported fields
}
func NewV2Service ¶ added in v0.16.0
func (*V2Service) GetCmekSettings ¶ added in v0.16.0
func (r *V2Service) GetCmekSettings(name string) *V2GetCmekSettingsCall
GetCmekSettings: Gets the Logging CMEK settings for the given resource.Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource for which to retrieve CMEK settings. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can be configured for Google Cloud projects, folders, organizations, and billing accounts. Once configured for an organization, it applies to all projects and folders in the Google Cloud organization.
func (*V2Service) GetSettings ¶ added in v0.67.0
func (r *V2Service) GetSettings(name string) *V2GetSettingsCall
GetSettings: Gets the settings for the given resource.Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.See View default resource settings for Logging (https://cloud.google.com/logging/docs/default-settings#view-org-settings) for more information.
- name: The resource for which to retrieve settings. "projects/[PROJECT_ID]/settings" "organizations/[ORGANIZATION_ID]/settings" "billingAccounts/[BILLING_ACCOUNT_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings"Note: Settings can be retrieved for Google Cloud projects, folders, organizations, and billing accounts.
func (*V2Service) UpdateCmekSettings ¶ added in v0.16.0
func (r *V2Service) UpdateCmekSettings(name string, cmeksettings *CmekSettings) *V2UpdateCmekSettingsCall
UpdateCmekSettings: Updates the Log Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.UpdateCmekSettings fails when any of the following are true: The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Enabling CMEK for Log Router (https://cloud.google.com/logging/docs/routing/managed-encryption) for more information.
- name: The resource name for the CMEK settings to update. "projects/[PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/cmekSettings" For example:"organizations/12345/cmekSettings"Note: CMEK for the Log Router can currently only be configured for Google Cloud organizations. Once configured, it applies to all projects and folders in the Google Cloud organization.
func (*V2Service) UpdateSettings ¶ added in v0.67.0
func (r *V2Service) UpdateSettings(name string, settings *Settings) *V2UpdateSettingsCall
UpdateSettings: Updates the settings for the given resource. This method applies to all feature configurations for organization and folders.UpdateSettings fails when any of the following are true: The value of storage_location either isn't supported by Logging or violates the location OrgPolicy. The default_sink_config field is set, but it has an unspecified filter write mode. The value of kms_key_name is invalid. The associated service account doesn't have the required roles/cloudkms.cryptoKeyEncrypterDecrypter role assigned for the key. Access to the key is disabled.See Configure default settings for organizations and folders (https://cloud.google.com/logging/docs/default-settings) for more information.
- name: The resource name for the settings to update. "organizations/[ORGANIZATION_ID]/settings" "folders/[FOLDER_ID]/settings" For example:"organizations/12345/settings".
type V2UpdateCmekSettingsCall ¶ added in v0.16.0
type V2UpdateCmekSettingsCall struct {
// contains filtered or unexported fields
}
func (*V2UpdateCmekSettingsCall) Context ¶ added in v0.16.0
func (c *V2UpdateCmekSettingsCall) Context(ctx context.Context) *V2UpdateCmekSettingsCall
Context sets the context to be used in this call's Do method.
func (*V2UpdateCmekSettingsCall) Do ¶ added in v0.16.0
func (c *V2UpdateCmekSettingsCall) Do(opts ...googleapi.CallOption) (*CmekSettings, error)
Do executes the "logging.updateCmekSettings" call. Any non-2xx status code is an error. Response headers are in either *CmekSettings.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 (*V2UpdateCmekSettingsCall) Fields ¶ added in v0.16.0
func (c *V2UpdateCmekSettingsCall) Fields(s ...googleapi.Field) *V2UpdateCmekSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*V2UpdateCmekSettingsCall) Header ¶ added in v0.16.0
func (c *V2UpdateCmekSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*V2UpdateCmekSettingsCall) UpdateMask ¶ added in v0.16.0
func (c *V2UpdateCmekSettingsCall) UpdateMask(updateMask string) *V2UpdateCmekSettingsCall
UpdateMask sets the optional parameter "updateMask": Field mask identifying which fields from cmek_settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
type V2UpdateSettingsCall ¶ added in v0.67.0
type V2UpdateSettingsCall struct {
// contains filtered or unexported fields
}
func (*V2UpdateSettingsCall) Context ¶ added in v0.67.0
func (c *V2UpdateSettingsCall) Context(ctx context.Context) *V2UpdateSettingsCall
Context sets the context to be used in this call's Do method.
func (*V2UpdateSettingsCall) Do ¶ added in v0.67.0
func (c *V2UpdateSettingsCall) Do(opts ...googleapi.CallOption) (*Settings, error)
Do executes the "logging.updateSettings" call. Any non-2xx status code is an error. Response headers are in either *Settings.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 (*V2UpdateSettingsCall) Fields ¶ added in v0.67.0
func (c *V2UpdateSettingsCall) Fields(s ...googleapi.Field) *V2UpdateSettingsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*V2UpdateSettingsCall) Header ¶ added in v0.67.0
func (c *V2UpdateSettingsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*V2UpdateSettingsCall) UpdateMask ¶ added in v0.67.0
func (c *V2UpdateSettingsCall) UpdateMask(updateMask string) *V2UpdateSettingsCall
UpdateMask sets the optional parameter "updateMask": Field mask identifying which fields from settings should be updated. A field will be overwritten if and only if it is in the update mask. Output only fields cannot be updated.See FieldMask for more information.For example: "updateMask=kmsKeyName"
type WriteLogEntriesRequest ¶
type WriteLogEntriesRequest struct { // DryRun: Optional. If true, the request should expect normal response, but // the entries won't be persisted nor exported. Useful for checking whether the // logging API endpoints are working properly before sending valuable data. DryRun bool `json:"dryRun,omitempty"` // Entries: Required. The log entries to send to Logging. The order of log // entries in this list does not matter. Values supplied in this method's // log_name, resource, and labels fields are copied into those log entries in // this list that do not include values for their corresponding fields. For // more information, see the LogEntry type.If the timestamp or insert_id fields // are missing in log entries, then this method supplies the current time or a // unique identifier, respectively. The supplied values are chosen so that, // among the log entries that did not supply their own values, the entries // earlier in the list will sort before the entries later in the list. See the // entries.list method.Log entries with timestamps that are more than the logs // retention period (https://cloud.google.com/logging/quotas) in the past or // more than 24 hours in the future will not be available when calling // entries.list. However, those log entries can still be exported with LogSinks // (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).To improve // throughput and to avoid exceeding the quota limit // (https://cloud.google.com/logging/quotas) for calls to entries.write, you // should try to include several log entries in this list, rather than calling // this method for each individual log entry. Entries []*LogEntry `json:"entries,omitempty"` // Labels: Optional. Default labels that are added to the labels field of all // log entries in entries. If a log entry already has a label with the same key // as a label in this parameter, then the log entry's label is not changed. See // LogEntry. Labels map[string]string `json:"labels,omitempty"` // LogName: Optional. A default log resource name that is assigned to all log // entries in entries that do not specify a value for log_name: // projects/[PROJECT_ID]/logs/[LOG_ID] // organizations/[ORGANIZATION_ID]/logs/[LOG_ID] // billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] // folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded. For example: // "projects/my-project-id/logs/syslog" // "organizations/123/logs/cloudaudit.googleapis.com%2Factivity" The permission // logging.logEntries.create is needed on each project, organization, billing // account, or folder that is receiving new log entries, whether the resource // is specified in logName or in an individual log entry. LogName string `json:"logName,omitempty"` // PartialSuccess: Optional. Whether a batch's valid entries should be written // even if some other entry failed due to a permanent error such as // INVALID_ARGUMENT or PERMISSION_DENIED. If any entry failed, then the // response status is the response status of one of the failed entries. The // response will include error details in // WriteLogEntriesPartialErrors.log_entry_errors keyed by the entries' // zero-based index in the entries. Failed requests for which no entries are // written will not include per-entry errors. PartialSuccess bool `json:"partialSuccess,omitempty"` // Resource: Optional. A default monitored resource object that is assigned to // all log entries in entries that do not specify a value for resource. // Example: { "type": "gce_instance", "labels": { "zone": "us-central1-a", // "instance_id": "00000000000000000000" }} See LogEntry. Resource *MonitoredResource `json:"resource,omitempty"` // ForceSendFields is a list of field names (e.g. "DryRun") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DryRun") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
WriteLogEntriesRequest: The parameters to WriteLogEntries.
func (WriteLogEntriesRequest) MarshalJSON ¶
func (s WriteLogEntriesRequest) MarshalJSON() ([]byte, error)
type WriteLogEntriesResponse ¶
type WriteLogEntriesResponse struct { // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` }
WriteLogEntriesResponse: Result returned from WriteLogEntries.