Documentation ¶
Overview ¶
Package datacatalog provides access to the Google Cloud Data Catalog API.
For product documentation, see: https://cloud.google.com/data-catalog/docs/
Creating a client ¶
Usage example:
import "google.golang.org/api/datacatalog/v1" ... ctx := context.Background() datacatalogService, err := datacatalog.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 ¶
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
datacatalogService, err := datacatalog.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) datacatalogService, err := datacatalog.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type Binding
- type CatalogSearchCall
- func (c *CatalogSearchCall) Context(ctx context.Context) *CatalogSearchCall
- func (c *CatalogSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1SearchCatalogResponse, error)
- func (c *CatalogSearchCall) Fields(s ...googleapi.Field) *CatalogSearchCall
- func (c *CatalogSearchCall) Header() http.Header
- func (c *CatalogSearchCall) Pages(ctx context.Context, ...) error
- type CatalogService
- type Empty
- type EntriesLookupCall
- func (c *EntriesLookupCall) Context(ctx context.Context) *EntriesLookupCall
- func (c *EntriesLookupCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
- func (c *EntriesLookupCall) Fields(s ...googleapi.Field) *EntriesLookupCall
- func (c *EntriesLookupCall) FullyQualifiedName(fullyQualifiedName string) *EntriesLookupCall
- func (c *EntriesLookupCall) Header() http.Header
- func (c *EntriesLookupCall) IfNoneMatch(entityTag string) *EntriesLookupCall
- func (c *EntriesLookupCall) LinkedResource(linkedResource string) *EntriesLookupCall
- func (c *EntriesLookupCall) SqlResource(sqlResource string) *EntriesLookupCall
- type EntriesService
- type Expr
- type GetIamPolicyRequest
- type GetPolicyOptions
- type GoogleCloudDatacatalogV1BigQueryConnectionSpec
- type GoogleCloudDatacatalogV1BigQueryDateShardedSpec
- type GoogleCloudDatacatalogV1BigQueryRoutineSpec
- type GoogleCloudDatacatalogV1BigQueryTableSpec
- type GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec
- type GoogleCloudDatacatalogV1ColumnSchema
- type GoogleCloudDatacatalogV1CrossRegionalSource
- type GoogleCloudDatacatalogV1DataSource
- type GoogleCloudDatacatalogV1DataSourceConnectionSpec
- type GoogleCloudDatacatalogV1DatabaseTableSpec
- type GoogleCloudDatacatalogV1Entry
- type GoogleCloudDatacatalogV1EntryGroup
- type GoogleCloudDatacatalogV1ExportTaxonomiesResponse
- type GoogleCloudDatacatalogV1FieldType
- type GoogleCloudDatacatalogV1FieldTypeEnumType
- type GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue
- type GoogleCloudDatacatalogV1GcsFileSpec
- type GoogleCloudDatacatalogV1GcsFilesetSpec
- type GoogleCloudDatacatalogV1ImportTaxonomiesRequest
- type GoogleCloudDatacatalogV1ImportTaxonomiesResponse
- type GoogleCloudDatacatalogV1InlineSource
- type GoogleCloudDatacatalogV1ListEntriesResponse
- type GoogleCloudDatacatalogV1ListEntryGroupsResponse
- type GoogleCloudDatacatalogV1ListPolicyTagsResponse
- type GoogleCloudDatacatalogV1ListTagsResponse
- type GoogleCloudDatacatalogV1ListTaxonomiesResponse
- type GoogleCloudDatacatalogV1PolicyTag
- type GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest
- type GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest
- type GoogleCloudDatacatalogV1ReplaceTaxonomyRequest
- type GoogleCloudDatacatalogV1RoutineSpec
- type GoogleCloudDatacatalogV1RoutineSpecArgument
- type GoogleCloudDatacatalogV1Schema
- type GoogleCloudDatacatalogV1SearchCatalogRequest
- type GoogleCloudDatacatalogV1SearchCatalogRequestScope
- type GoogleCloudDatacatalogV1SearchCatalogResponse
- type GoogleCloudDatacatalogV1SearchCatalogResult
- type GoogleCloudDatacatalogV1SerializedPolicyTag
- type GoogleCloudDatacatalogV1SerializedTaxonomy
- type GoogleCloudDatacatalogV1SystemTimestamps
- type GoogleCloudDatacatalogV1TableSpec
- type GoogleCloudDatacatalogV1Tag
- type GoogleCloudDatacatalogV1TagField
- type GoogleCloudDatacatalogV1TagFieldEnumValue
- type GoogleCloudDatacatalogV1TagTemplate
- type GoogleCloudDatacatalogV1TagTemplateField
- type GoogleCloudDatacatalogV1Taxonomy
- type GoogleCloudDatacatalogV1UsageSignal
- type GoogleCloudDatacatalogV1UsageStats
- type GoogleCloudDatacatalogV1ViewSpec
- type Policy
- type ProjectsLocationsEntryGroupsCreateCall
- func (c *ProjectsLocationsEntryGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsCreateCall
- func (c *ProjectsLocationsEntryGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
- func (c *ProjectsLocationsEntryGroupsCreateCall) EntryGroupId(entryGroupId string) *ProjectsLocationsEntryGroupsCreateCall
- func (c *ProjectsLocationsEntryGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsCreateCall
- func (c *ProjectsLocationsEntryGroupsCreateCall) Header() http.Header
- type ProjectsLocationsEntryGroupsDeleteCall
- func (c *ProjectsLocationsEntryGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsDeleteCall
- func (c *ProjectsLocationsEntryGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsEntryGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsDeleteCall
- func (c *ProjectsLocationsEntryGroupsDeleteCall) Force(force bool) *ProjectsLocationsEntryGroupsDeleteCall
- func (c *ProjectsLocationsEntryGroupsDeleteCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
- func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) EntryId(entryId string) *ProjectsLocationsEntryGroupsEntriesCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesGetCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesGetCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
- func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesGetCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsEntriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesGetCall
- type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListEntriesResponse, error)
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsEntriesListCall
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) Pages(ctx context.Context, ...) error
- func (c *ProjectsLocationsEntryGroupsEntriesListCall) ReadMask(readMask string) *ProjectsLocationsEntryGroupsEntriesListCall
- type ProjectsLocationsEntryGroupsEntriesPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
- func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsEntriesPatchCall
- type ProjectsLocationsEntryGroupsEntriesService
- func (r *ProjectsLocationsEntryGroupsEntriesService) Create(parent string, googleclouddatacatalogv1entry *GoogleCloudDatacatalogV1Entry) *ProjectsLocationsEntryGroupsEntriesCreateCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) Delete(name string) *ProjectsLocationsEntryGroupsEntriesDeleteCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) Get(name string) *ProjectsLocationsEntryGroupsEntriesGetCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) List(parent string) *ProjectsLocationsEntryGroupsEntriesListCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) Patch(name string, googleclouddatacatalogv1entry *GoogleCloudDatacatalogV1Entry) *ProjectsLocationsEntryGroupsEntriesPatchCall
- func (r *ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
- type ProjectsLocationsEntryGroupsEntriesTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
- func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header() http.Header
- type ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTagsResponse, error)
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListTagsResponse) error) error
- type ProjectsLocationsEntryGroupsEntriesTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
- func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
- type ProjectsLocationsEntryGroupsEntriesTagsService
- func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Create(parent string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
- func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Delete(name string) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
- func (r *ProjectsLocationsEntryGroupsEntriesTagsService) List(parent string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
- func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Patch(nameid string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
- type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsEntryGroupsGetCall
- func (c *ProjectsLocationsEntryGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsGetCall
- func (c *ProjectsLocationsEntryGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
- func (c *ProjectsLocationsEntryGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsGetCall
- func (c *ProjectsLocationsEntryGroupsGetCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsGetCall
- func (c *ProjectsLocationsEntryGroupsGetCall) ReadMask(readMask string) *ProjectsLocationsEntryGroupsGetCall
- type ProjectsLocationsEntryGroupsGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsGetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListEntryGroupsResponse, error)
- func (c *ProjectsLocationsEntryGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsListCall
- func (c *ProjectsLocationsEntryGroupsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsEntryGroupsPatchCall
- func (c *ProjectsLocationsEntryGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsPatchCall
- func (c *ProjectsLocationsEntryGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
- func (c *ProjectsLocationsEntryGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsPatchCall
- func (c *ProjectsLocationsEntryGroupsPatchCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsPatchCall
- type ProjectsLocationsEntryGroupsService
- func (r *ProjectsLocationsEntryGroupsService) Create(parent string, ...) *ProjectsLocationsEntryGroupsCreateCall
- func (r *ProjectsLocationsEntryGroupsService) Delete(name string) *ProjectsLocationsEntryGroupsDeleteCall
- func (r *ProjectsLocationsEntryGroupsService) Get(name string) *ProjectsLocationsEntryGroupsGetCall
- func (r *ProjectsLocationsEntryGroupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsGetIamPolicyCall
- func (r *ProjectsLocationsEntryGroupsService) List(parent string) *ProjectsLocationsEntryGroupsListCall
- func (r *ProjectsLocationsEntryGroupsService) Patch(name string, ...) *ProjectsLocationsEntryGroupsPatchCall
- func (r *ProjectsLocationsEntryGroupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEntryGroupsSetIamPolicyCall
- func (r *ProjectsLocationsEntryGroupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
- type ProjectsLocationsEntryGroupsSetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsSetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsSetIamPolicyCall
- func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsEntryGroupsTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
- func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsCreateCall
- func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Header() http.Header
- type ProjectsLocationsEntryGroupsTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsDeleteCall
- func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Header() http.Header
- type ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTagsResponse, error)
- func (c *ProjectsLocationsEntryGroupsTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsTagsListCall
- func (c *ProjectsLocationsEntryGroupsTagsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListTagsResponse) error) error
- type ProjectsLocationsEntryGroupsTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
- func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsPatchCall
- func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Header() http.Header
- func (c *ProjectsLocationsEntryGroupsTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsTagsPatchCall
- type ProjectsLocationsEntryGroupsTagsService
- func (r *ProjectsLocationsEntryGroupsTagsService) Create(parent string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsTagsCreateCall
- func (r *ProjectsLocationsEntryGroupsTagsService) Delete(name string) *ProjectsLocationsEntryGroupsTagsDeleteCall
- func (r *ProjectsLocationsEntryGroupsTagsService) List(parent string) *ProjectsLocationsEntryGroupsTagsListCall
- func (r *ProjectsLocationsEntryGroupsTagsService) Patch(nameid string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsTagsPatchCall
- type ProjectsLocationsEntryGroupsTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
- func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsService
- type ProjectsLocationsTagTemplatesCreateCall
- func (c *ProjectsLocationsTagTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesCreateCall
- func (c *ProjectsLocationsTagTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
- func (c *ProjectsLocationsTagTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesCreateCall
- func (c *ProjectsLocationsTagTemplatesCreateCall) Header() http.Header
- func (c *ProjectsLocationsTagTemplatesCreateCall) TagTemplateId(tagTemplateId string) *ProjectsLocationsTagTemplatesCreateCall
- type ProjectsLocationsTagTemplatesDeleteCall
- func (c *ProjectsLocationsTagTemplatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesDeleteCall
- func (c *ProjectsLocationsTagTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsTagTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesDeleteCall
- func (c *ProjectsLocationsTagTemplatesDeleteCall) Force(force bool) *ProjectsLocationsTagTemplatesDeleteCall
- func (c *ProjectsLocationsTagTemplatesDeleteCall) Header() http.Header
- type ProjectsLocationsTagTemplatesFieldsCreateCall
- func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsCreateCall
- func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
- func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsCreateCall
- func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Header() http.Header
- func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) TagTemplateFieldId(tagTemplateFieldId string) *ProjectsLocationsTagTemplatesFieldsCreateCall
- type ProjectsLocationsTagTemplatesFieldsDeleteCall
- func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsDeleteCall
- func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsDeleteCall
- func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Force(force bool) *ProjectsLocationsTagTemplatesFieldsDeleteCall
- func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Header() http.Header
- type ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
- func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header() http.Header
- type ProjectsLocationsTagTemplatesFieldsEnumValuesService
- type ProjectsLocationsTagTemplatesFieldsPatchCall
- func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsPatchCall
- func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
- func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsPatchCall
- func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Header() http.Header
- func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTagTemplatesFieldsPatchCall
- type ProjectsLocationsTagTemplatesFieldsRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
- func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsRenameCall
- func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Header() http.Header
- type ProjectsLocationsTagTemplatesFieldsService
- func (r *ProjectsLocationsTagTemplatesFieldsService) Create(parent string, ...) *ProjectsLocationsTagTemplatesFieldsCreateCall
- func (r *ProjectsLocationsTagTemplatesFieldsService) Delete(name string) *ProjectsLocationsTagTemplatesFieldsDeleteCall
- func (r *ProjectsLocationsTagTemplatesFieldsService) Patch(name string, ...) *ProjectsLocationsTagTemplatesFieldsPatchCall
- func (r *ProjectsLocationsTagTemplatesFieldsService) Rename(name string, ...) *ProjectsLocationsTagTemplatesFieldsRenameCall
- type ProjectsLocationsTagTemplatesGetCall
- func (c *ProjectsLocationsTagTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesGetCall
- func (c *ProjectsLocationsTagTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
- func (c *ProjectsLocationsTagTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesGetCall
- func (c *ProjectsLocationsTagTemplatesGetCall) Header() http.Header
- func (c *ProjectsLocationsTagTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTagTemplatesGetCall
- type ProjectsLocationsTagTemplatesGetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesGetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesGetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTagTemplatesPatchCall
- func (c *ProjectsLocationsTagTemplatesPatchCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesPatchCall
- func (c *ProjectsLocationsTagTemplatesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
- func (c *ProjectsLocationsTagTemplatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesPatchCall
- func (c *ProjectsLocationsTagTemplatesPatchCall) Header() http.Header
- func (c *ProjectsLocationsTagTemplatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTagTemplatesPatchCall
- type ProjectsLocationsTagTemplatesService
- func (r *ProjectsLocationsTagTemplatesService) Create(parent string, ...) *ProjectsLocationsTagTemplatesCreateCall
- func (r *ProjectsLocationsTagTemplatesService) Delete(name string) *ProjectsLocationsTagTemplatesDeleteCall
- func (r *ProjectsLocationsTagTemplatesService) Get(name string) *ProjectsLocationsTagTemplatesGetCall
- func (r *ProjectsLocationsTagTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTagTemplatesGetIamPolicyCall
- func (r *ProjectsLocationsTagTemplatesService) Patch(name string, ...) *ProjectsLocationsTagTemplatesPatchCall
- func (r *ProjectsLocationsTagTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTagTemplatesSetIamPolicyCall
- func (r *ProjectsLocationsTagTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
- type ProjectsLocationsTagTemplatesSetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesSetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesSetIamPolicyCall
- func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTagTemplatesTestIamPermissionsCall
- func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
- func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
- func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsTaxonomiesCreateCall
- func (c *ProjectsLocationsTaxonomiesCreateCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesCreateCall
- func (c *ProjectsLocationsTaxonomiesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
- func (c *ProjectsLocationsTaxonomiesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesCreateCall
- func (c *ProjectsLocationsTaxonomiesCreateCall) Header() http.Header
- type ProjectsLocationsTaxonomiesDeleteCall
- func (c *ProjectsLocationsTaxonomiesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesDeleteCall
- func (c *ProjectsLocationsTaxonomiesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsTaxonomiesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesDeleteCall
- func (c *ProjectsLocationsTaxonomiesDeleteCall) Header() http.Header
- type ProjectsLocationsTaxonomiesExportCall
- func (c *ProjectsLocationsTaxonomiesExportCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesExportCall
- func (c *ProjectsLocationsTaxonomiesExportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ExportTaxonomiesResponse, error)
- func (c *ProjectsLocationsTaxonomiesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesExportCall
- func (c *ProjectsLocationsTaxonomiesExportCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesExportCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesExportCall
- func (c *ProjectsLocationsTaxonomiesExportCall) SerializedTaxonomies(serializedTaxonomies bool) *ProjectsLocationsTaxonomiesExportCall
- func (c *ProjectsLocationsTaxonomiesExportCall) Taxonomies(taxonomies ...string) *ProjectsLocationsTaxonomiesExportCall
- type ProjectsLocationsTaxonomiesGetCall
- func (c *ProjectsLocationsTaxonomiesGetCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesGetCall
- func (c *ProjectsLocationsTaxonomiesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
- func (c *ProjectsLocationsTaxonomiesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesGetCall
- func (c *ProjectsLocationsTaxonomiesGetCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesGetCall
- type ProjectsLocationsTaxonomiesGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTaxonomiesImportCall
- func (c *ProjectsLocationsTaxonomiesImportCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesImportCall
- func (c *ProjectsLocationsTaxonomiesImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ImportTaxonomiesResponse, error)
- func (c *ProjectsLocationsTaxonomiesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesImportCall
- func (c *ProjectsLocationsTaxonomiesImportCall) Header() http.Header
- type ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTaxonomiesResponse, error)
- func (c *ProjectsLocationsTaxonomiesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) PageSize(pageSize int64) *ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) PageToken(pageToken string) *ProjectsLocationsTaxonomiesListCall
- func (c *ProjectsLocationsTaxonomiesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsTaxonomiesPatchCall
- func (c *ProjectsLocationsTaxonomiesPatchCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPatchCall
- func (c *ProjectsLocationsTaxonomiesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
- func (c *ProjectsLocationsTaxonomiesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPatchCall
- func (c *ProjectsLocationsTaxonomiesPatchCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTaxonomiesPatchCall
- type ProjectsLocationsTaxonomiesPolicyTagsCreateCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header() http.Header
- type ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header() http.Header
- type ProjectsLocationsTaxonomiesPolicyTagsGetCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
- type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListPolicyTagsResponse, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) PageSize(pageSize int64) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) PageToken(pageToken string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsTaxonomiesPolicyTagsPatchCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header() http.Header
- func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
- type ProjectsLocationsTaxonomiesPolicyTagsService
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Create(parent string, ...) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Delete(name string) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Get(name string) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) List(parent string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Patch(name string, ...) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
- func (r *ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
- type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsTaxonomiesReplaceCall
- func (c *ProjectsLocationsTaxonomiesReplaceCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesReplaceCall
- func (c *ProjectsLocationsTaxonomiesReplaceCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
- func (c *ProjectsLocationsTaxonomiesReplaceCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesReplaceCall
- func (c *ProjectsLocationsTaxonomiesReplaceCall) Header() http.Header
- type ProjectsLocationsTaxonomiesService
- func (r *ProjectsLocationsTaxonomiesService) Create(parent string, ...) *ProjectsLocationsTaxonomiesCreateCall
- func (r *ProjectsLocationsTaxonomiesService) Delete(name string) *ProjectsLocationsTaxonomiesDeleteCall
- func (r *ProjectsLocationsTaxonomiesService) Export(parent string) *ProjectsLocationsTaxonomiesExportCall
- func (r *ProjectsLocationsTaxonomiesService) Get(name string) *ProjectsLocationsTaxonomiesGetCall
- func (r *ProjectsLocationsTaxonomiesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesGetIamPolicyCall
- func (r *ProjectsLocationsTaxonomiesService) Import(parent string, ...) *ProjectsLocationsTaxonomiesImportCall
- func (r *ProjectsLocationsTaxonomiesService) List(parent string) *ProjectsLocationsTaxonomiesListCall
- func (r *ProjectsLocationsTaxonomiesService) Patch(name string, ...) *ProjectsLocationsTaxonomiesPatchCall
- func (r *ProjectsLocationsTaxonomiesService) Replace(name string, ...) *ProjectsLocationsTaxonomiesReplaceCall
- func (r *ProjectsLocationsTaxonomiesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesSetIamPolicyCall
- func (r *ProjectsLocationsTaxonomiesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
- type ProjectsLocationsTaxonomiesSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesSetIamPolicyCall
- func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTaxonomiesTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
- func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header() http.Header
- type ProjectsService
- type Service
- type SetIamPolicyRequest
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
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" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binding ¶
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 members // 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 identities requesting access for a Cloud // Platform 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. * // `user:{emailid}`: An email address that represents a specific Google // account. For example, `alice@example.com` . * // `serviceAccount:{emailid}`: An email address that represents a // service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An // email address that represents a Google group. For example, // `admins@example.com`. * `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. * `domain:{domain}`: The G // Suite domain (primary) that represents all the users of that domain. // For example, `google.com` or `example.com`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to `members`. For example, // `roles/viewer`, `roles/editor`, or `roles/owner`. 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Binding: Associates `members` with a `role`.
func (*Binding) MarshalJSON ¶
type CatalogSearchCall ¶
type CatalogSearchCall struct {
// contains filtered or unexported fields
}
func (*CatalogSearchCall) Context ¶
func (c *CatalogSearchCall) Context(ctx context.Context) *CatalogSearchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*CatalogSearchCall) Do ¶
func (c *CatalogSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1SearchCatalogResponse, error)
Do executes the "datacatalog.catalog.search" call. Exactly one of *GoogleCloudDatacatalogV1SearchCatalogResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1SearchCatalogResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*CatalogSearchCall) Fields ¶
func (c *CatalogSearchCall) Fields(s ...googleapi.Field) *CatalogSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CatalogSearchCall) Header ¶
func (c *CatalogSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CatalogSearchCall) Pages ¶
func (c *CatalogSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1SearchCatalogResponse) 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 CatalogService ¶
type CatalogService struct {
// contains filtered or unexported fields
}
func NewCatalogService ¶
func NewCatalogService(s *Service) *CatalogService
func (*CatalogService) Search ¶
func (r *CatalogService) Search(googleclouddatacatalogv1searchcatalogrequest *GoogleCloudDatacatalogV1SearchCatalogRequest) *CatalogSearchCall
Search: Searches Data Catalog for multiple resources like entries and tags that match a query. This is a [Custom Method] (https://cloud.google.com/apis/design/custom_methods) that doesn't return all information on a resource, only its ID and high level fields. To get more information, you can subsequently call specific get methods. Note: Data Catalog search queries don't guarantee full recall. Results that match your query might not be returned, even in subsequent result pages. Additionally, returned (and not returned) results can vary if you repeat search queries. For more information, see [Data Catalog search syntax] (https://cloud.google.com/data-catalog/docs/how-to/search-reference).
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
type EntriesLookupCall ¶
type EntriesLookupCall struct {
// contains filtered or unexported fields
}
func (*EntriesLookupCall) Context ¶
func (c *EntriesLookupCall) Context(ctx context.Context) *EntriesLookupCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*EntriesLookupCall) Do ¶
func (c *EntriesLookupCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
Do executes the "datacatalog.entries.lookup" call. Exactly one of *GoogleCloudDatacatalogV1Entry or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Entry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*EntriesLookupCall) Fields ¶
func (c *EntriesLookupCall) Fields(s ...googleapi.Field) *EntriesLookupCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*EntriesLookupCall) FullyQualifiedName ¶
func (c *EntriesLookupCall) FullyQualifiedName(fullyQualifiedName string) *EntriesLookupCall
FullyQualifiedName sets the optional parameter "fullyQualifiedName": Fully qualified name (FQN) of the resource. FQNs take two forms: * For non-regionalized resources: `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For regionalized resources: `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOT S}` Example for a DPMS table: `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE _ID}.{TABLE_ID}`
func (*EntriesLookupCall) Header ¶
func (c *EntriesLookupCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*EntriesLookupCall) IfNoneMatch ¶
func (c *EntriesLookupCall) IfNoneMatch(entityTag string) *EntriesLookupCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*EntriesLookupCall) LinkedResource ¶
func (c *EntriesLookupCall) LinkedResource(linkedResource string) *EntriesLookupCall
LinkedResource sets the optional parameter "linkedResource": The full name of the Google Cloud Platform resource the Data Catalog entry represents. For more information, see [Full Resource Name] (https://cloud.google.com/apis/design/resource_names#full_resource_name). Full names are case-sensitive. For example: * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID} /tables/{TABLE_ID}` * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}`
func (*EntriesLookupCall) SqlResource ¶
func (c *EntriesLookupCall) SqlResource(sqlResource string) *EntriesLookupCall
SqlResource sets the optional parameter "sqlResource": The SQL name of the entry. SQL names are case-sensitive. Examples: * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` * `pubsub.topic.{PROJECT_ID}.`\“{TOPIC.ID.SEPARATED.WITH.DOTS}`\` * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ ID}` Identifiers (`*_ID`) should comply with the [Lexical structure in Standard SQL] (https://cloud.google.com/bigquery/docs/reference/standard-sql/lexical).
type EntriesService ¶
type EntriesService struct {
// contains filtered or unexported fields
}
func NewEntriesService ¶
func NewEntriesService(s *Service) *EntriesService
func (*EntriesService) Lookup ¶
func (r *EntriesService) Lookup() *EntriesLookupCall
Lookup: Gets an entry by its target resource name. The resource name comes from the source Google Cloud Platform service.
type Expr ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
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 ¶
type GetIamPolicyRequest ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Options") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GetIamPolicyRequest: Request message for `GetIamPolicy` method.
func (*GetIamPolicyRequest) MarshalJSON ¶
func (s *GetIamPolicyRequest) MarshalJSON() ([]byte, error)
type GetPolicyOptions ¶
type GetPolicyOptions struct { // RequestedPolicyVersion: Optional. The policy format version to be // returned. Valid values are 0, 1, and 3. Requests specifying an // invalid value will be rejected. Requests for policies with any // conditional bindings must specify version 3. Policies without any // conditional bindings may specify any valid value 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). 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. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RequestedPolicyVersion") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.
func (*GetPolicyOptions) MarshalJSON ¶
func (s *GetPolicyOptions) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1BigQueryConnectionSpec ¶ added in v0.51.0
type GoogleCloudDatacatalogV1BigQueryConnectionSpec struct { // CloudSql: Specification for the BigQuery connection to a Cloud SQL // instance. CloudSql *GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec `json:"cloudSql,omitempty"` // ConnectionType: The type of the BigQuery connection. // // Possible values: // "CONNECTION_TYPE_UNSPECIFIED" - Unspecified type. // "CLOUD_SQL" - Cloud SQL connection. ConnectionType string `json:"connectionType,omitempty"` // HasCredential: True if there are credentials attached to the BigQuery // connection; false otherwise. HasCredential bool `json:"hasCredential,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudSql") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudSql") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1BigQueryConnectionSpec: Specification for the BigQuery connection.
func (*GoogleCloudDatacatalogV1BigQueryConnectionSpec) MarshalJSON ¶ added in v0.51.0
func (s *GoogleCloudDatacatalogV1BigQueryConnectionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1BigQueryDateShardedSpec ¶
type GoogleCloudDatacatalogV1BigQueryDateShardedSpec struct { // Dataset: Output only. The Data Catalog resource name of the dataset // entry the current table belongs to. For example: // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_I // D}/entries/{ENTRY_ID}`. Dataset string `json:"dataset,omitempty"` // ShardCount: Output only. Total number of shards. ShardCount int64 `json:"shardCount,omitempty,string"` // TablePrefix: Output only. The table name prefix of the shards. The // name of any given shard is `[table_prefix]YYYYMMDD`. For example, for // the `MyTable20180101` shard, the `table_prefix` is `MyTable`. TablePrefix string `json:"tablePrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1BigQueryDateShardedSpec: Specification for a group of BigQuery tables with the `[prefix]YYYYMMDD` name pattern. For more information, see [Introduction to partitioned tables] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).
func (*GoogleCloudDatacatalogV1BigQueryDateShardedSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1BigQueryDateShardedSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1BigQueryRoutineSpec ¶ added in v0.50.0
type GoogleCloudDatacatalogV1BigQueryRoutineSpec struct { // ImportedLibraries: Paths of the imported libraries. ImportedLibraries []string `json:"importedLibraries,omitempty"` // ForceSendFields is a list of field names (e.g. "ImportedLibraries") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImportedLibraries") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1BigQueryRoutineSpec: Fields specific for BigQuery routines.
func (*GoogleCloudDatacatalogV1BigQueryRoutineSpec) MarshalJSON ¶ added in v0.50.0
func (s *GoogleCloudDatacatalogV1BigQueryRoutineSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1BigQueryTableSpec ¶
type GoogleCloudDatacatalogV1BigQueryTableSpec struct { // TableSourceType: Output only. The table source type. // // Possible values: // "TABLE_SOURCE_TYPE_UNSPECIFIED" - Default unknown type. // "BIGQUERY_VIEW" - Table view. // "BIGQUERY_TABLE" - BigQuery native table. // "BIGQUERY_MATERIALIZED_VIEW" - BigQuery materialized view. TableSourceType string `json:"tableSourceType,omitempty"` // TableSpec: Specification of a BigQuery table. Populated only if the // `table_source_type` is `BIGQUERY_TABLE`. TableSpec *GoogleCloudDatacatalogV1TableSpec `json:"tableSpec,omitempty"` // ViewSpec: Table view specification. Populated only if the // `table_source_type` is `BIGQUERY_VIEW`. ViewSpec *GoogleCloudDatacatalogV1ViewSpec `json:"viewSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "TableSourceType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TableSourceType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1BigQueryTableSpec: Describes a BigQuery table.
func (*GoogleCloudDatacatalogV1BigQueryTableSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1BigQueryTableSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec ¶ added in v0.51.0
type GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec struct { // Database: Database name. Database string `json:"database,omitempty"` // InstanceId: Cloud SQL instance ID in the format of // `project:location:instance`. InstanceId string `json:"instanceId,omitempty"` // Type: Type of the Cloud SQL database. // // Possible values: // "DATABASE_TYPE_UNSPECIFIED" - Unspecified database type. // "POSTGRES" - Cloud SQL for PostgreSQL. // "MYSQL" - Cloud SQL for MySQL. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Database") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Database") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec: Specification for the BigQuery connection to a Cloud SQL instance.
func (*GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec) MarshalJSON ¶ added in v0.51.0
func (s *GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ColumnSchema ¶
type GoogleCloudDatacatalogV1ColumnSchema struct { // Column: Required. Name of the column. Must be a UTF-8 string without // dots (.). The maximum size is 64 bytes. Column string `json:"column,omitempty"` // Description: Optional. Description of the column. Default value is an // empty string. The description must be a UTF-8 string with the maximum // size of 2000 bytes. Description string `json:"description,omitempty"` // Mode: Optional. A column's mode indicates whether values in this // column are required, nullable, or repeated. Only `NULLABLE`, // `REQUIRED`, and `REPEATED` values are supported. Default mode is // `NULLABLE`. Mode string `json:"mode,omitempty"` // Subcolumns: Optional. Schema of sub-columns. A column can have zero // or more sub-columns. Subcolumns []*GoogleCloudDatacatalogV1ColumnSchema `json:"subcolumns,omitempty"` // Type: Required. Type of the column. Must be a UTF-8 string with the // maximum size of 128 bytes. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Column") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Column") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ColumnSchema: A column within a schema. Columns can be nested inside other columns.
func (*GoogleCloudDatacatalogV1ColumnSchema) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ColumnSchema) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1CrossRegionalSource ¶
type GoogleCloudDatacatalogV1CrossRegionalSource struct { // Taxonomy: Required. The resource name of the source taxonomy to // import. Taxonomy string `json:"taxonomy,omitempty"` // ForceSendFields is a list of field names (e.g. "Taxonomy") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Taxonomy") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1CrossRegionalSource: Cross-regional source used to import an existing taxonomy into a different region.
func (*GoogleCloudDatacatalogV1CrossRegionalSource) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1CrossRegionalSource) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1DataSource ¶
type GoogleCloudDatacatalogV1DataSource struct { // Resource: Full name of a resource as defined by the service. For // example: // `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/ // datasets/{DATASET_ID}/tables/{TABLE_ID}` Resource string `json:"resource,omitempty"` // Service: Service that physically stores the data. // // Possible values: // "SERVICE_UNSPECIFIED" - Default unknown service. // "CLOUD_STORAGE" - Google Cloud Storage service. // "BIGQUERY" - BigQuery service. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Resource") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Resource") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1DataSource: Physical location of an entry.
func (*GoogleCloudDatacatalogV1DataSource) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1DataSource) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1DataSourceConnectionSpec ¶ added in v0.51.0
type GoogleCloudDatacatalogV1DataSourceConnectionSpec struct { // BigqueryConnectionSpec: Fields specific to BigQuery connections. BigqueryConnectionSpec *GoogleCloudDatacatalogV1BigQueryConnectionSpec `json:"bigqueryConnectionSpec,omitempty"` // ForceSendFields is a list of field names (e.g. // "BigqueryConnectionSpec") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryConnectionSpec") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1DataSourceConnectionSpec: Specification that applies to a data source connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` type.
func (*GoogleCloudDatacatalogV1DataSourceConnectionSpec) MarshalJSON ¶ added in v0.51.0
func (s *GoogleCloudDatacatalogV1DataSourceConnectionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1DatabaseTableSpec ¶
type GoogleCloudDatacatalogV1DatabaseTableSpec struct { // Type: Type of this table. // // Possible values: // "TABLE_TYPE_UNSPECIFIED" - Default unknown table type. // "NATIVE" - Native table. // "EXTERNAL" - External table. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1DatabaseTableSpec: Specification that applies to a table resource. Valid only for entries with the `TABLE` type.
func (*GoogleCloudDatacatalogV1DatabaseTableSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1DatabaseTableSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1Entry ¶
type GoogleCloudDatacatalogV1Entry struct { // BigqueryDateShardedSpec: Specification for a group of BigQuery tables // with the `[prefix]YYYYMMDD` name pattern. For more information, see // [Introduction to partitioned tables] // (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding). BigqueryDateShardedSpec *GoogleCloudDatacatalogV1BigQueryDateShardedSpec `json:"bigqueryDateShardedSpec,omitempty"` // BigqueryTableSpec: Specification that applies to a BigQuery table. // Valid only for entries with the `TABLE` type. BigqueryTableSpec *GoogleCloudDatacatalogV1BigQueryTableSpec `json:"bigqueryTableSpec,omitempty"` // DataSource: Output only. Physical location of the entry. DataSource *GoogleCloudDatacatalogV1DataSource `json:"dataSource,omitempty"` // DataSourceConnectionSpec: Specification that applies to a data source // connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` // type. DataSourceConnectionSpec *GoogleCloudDatacatalogV1DataSourceConnectionSpec `json:"dataSourceConnectionSpec,omitempty"` // DatabaseTableSpec: Specification that applies to a table resource. // Valid only for entries with the `TABLE` type. DatabaseTableSpec *GoogleCloudDatacatalogV1DatabaseTableSpec `json:"databaseTableSpec,omitempty"` // Description: Entry description that can consist of several sentences // or paragraphs that describe entry contents. The description must not // contain Unicode non-characters as well as C0 and C1 control codes // except tabs (HT), new lines (LF), carriage returns (CR), and page // breaks (FF). The maximum size is 2000 bytes when encoded in UTF-8. // Default value is an empty string. Description string `json:"description,omitempty"` // DisplayName: Display name of an entry. The name must contain only // Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces ( // ), and can't start or end with spaces. The maximum size is 200 bytes // when encoded in UTF-8. Default value is an empty string. DisplayName string `json:"displayName,omitempty"` // FullyQualifiedName: Fully qualified name (FQN) of the resource. Set // automatically for entries representing resources from synced systems. // Settable only during creation and read-only afterwards. Can be used // for search and lookup of the entries. FQNs take two forms: * For // non-regionalized resources: // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For // regionalized resources: // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOT // S}` Example for a DPMS table: // `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE // _ID}.{TABLE_ID}` FullyQualifiedName string `json:"fullyQualifiedName,omitempty"` // GcsFilesetSpec: Specification that applies to a Cloud Storage // fileset. Valid only for entries with the `FILESET` type. GcsFilesetSpec *GoogleCloudDatacatalogV1GcsFilesetSpec `json:"gcsFilesetSpec,omitempty"` // IntegratedSystem: Output only. Indicates the entry's source system // that Data Catalog integrates with, such as BigQuery, Pub/Sub, or // Dataproc Metastore. // // Possible values: // "INTEGRATED_SYSTEM_UNSPECIFIED" - Default unknown system. // "BIGQUERY" - BigQuery. // "CLOUD_PUBSUB" - Cloud Pub/Sub. // "DATAPROC_METASTORE" - Dataproc Metastore. IntegratedSystem string `json:"integratedSystem,omitempty"` // Labels: Cloud labels attached to the entry. In Data Catalog, you can // create and modify labels attached only to custom entries. Synced // entries have unmodifiable labels that come from the source system. Labels map[string]string `json:"labels,omitempty"` // LinkedResource: The resource this metadata entry refers to. For // Google Cloud Platform resources, `linked_resource` is the [Full // Resource Name] // (https://cloud.google.com/apis/design/resource_names#full_resource_name). // For example, the `linked_resource` for a table resource from BigQuery // is: // `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID} // /tables/{TABLE_ID}` Output only when the entry is one of the types in // the `EntryType` enum. For entries with a `user_specified_type`, this // field is optional and defaults to an empty string. The resource // string must contain only letters (a-z, A-Z), numbers (0-9), // underscores (_), periods (.), colons (:), slashes (/), dashes (-), // and hashes (#). The maximum size is 200 bytes when encoded in UTF-8. LinkedResource string `json:"linkedResource,omitempty"` // Name: Output only. The resource name of an entry in URL format. Note: // The entry itself and its child resources might not be stored in the // location specified in its name. Name string `json:"name,omitempty"` // RoutineSpec: Specification that applies to a user-defined function or // procedure. Valid only for entries with the `ROUTINE` type. RoutineSpec *GoogleCloudDatacatalogV1RoutineSpec `json:"routineSpec,omitempty"` // Schema: Schema of the entry. An entry might not have any schema // attached to it. Schema *GoogleCloudDatacatalogV1Schema `json:"schema,omitempty"` // SourceSystemTimestamps: Timestamps from the underlying resource, not // from the Data Catalog entry. Output only when the entry has a type // listed in the `EntryType` enum. For entries with // `user_specified_type`, this field is optional and defaults to an // empty timestamp. SourceSystemTimestamps *GoogleCloudDatacatalogV1SystemTimestamps `json:"sourceSystemTimestamps,omitempty"` // Type: The type of the entry. Only used for entries with types listed // in the `EntryType` enum. Currently, only `FILESET` enum value is // allowed. All other entries created in Data Catalog must use the // `user_specified_type`. // // Possible values: // "ENTRY_TYPE_UNSPECIFIED" - Default unknown type. // "TABLE" - Output only. The entry type that has a GoogleSQL schema, // including logical views. // "MODEL" - Output only. The type of models. For more information, // see [Supported models in BigQuery ML] // (https://cloud.google.com/bigquery-ml/docs/introduction#supported_models_in). // "DATA_STREAM" - An entry type for streaming entries. For example, a // Pub/Sub topic. // "FILESET" - An entry type for a set of files or objects. For // example, a Cloud Storage fileset. // "CLUSTER" - A group of servers that work together. For example, a // Kafka cluster. // "DATABASE" - A database. // "DATA_SOURCE_CONNECTION" - Output only. Connection to a data // source. For example, a BigQuery connection. // "ROUTINE" - Output only. Routine, for example, a BigQuery routine. // "SERVICE" - A service, for example, a Dataproc Metastore service. Type string `json:"type,omitempty"` // UsageSignal: Output only. Resource usage statistics. UsageSignal *GoogleCloudDatacatalogV1UsageSignal `json:"usageSignal,omitempty"` // UserSpecifiedSystem: Indicates the entry's source system that Data // Catalog doesn't automatically integrate with. The // `user_specified_system` string has the following limitations: * Is // case insensitive. * Must begin with a letter or underscore. * Can // only contain letters, numbers, and underscores. * Must be at least 1 // character and at most 64 characters long. UserSpecifiedSystem string `json:"userSpecifiedSystem,omitempty"` // UserSpecifiedType: Custom entry type that doesn't match any of the // values allowed for input and listed in the `EntryType` enum. When // creating an entry, first check the type values in the enum. If there // are no appropriate types for the new entry, provide a custom value, // for example, `my_special_type`. The `user_specified_type` string has // the following limitations: * Is case insensitive. * Must begin with a // letter or underscore. * Can only contain letters, numbers, and // underscores. * Must be at least 1 character and at most 64 characters // long. UserSpecifiedType string `json:"userSpecifiedType,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "BigqueryDateShardedSpec") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryDateShardedSpec") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1Entry: Entry metadata. A Data Catalog entry represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or outside of it. You can use the `linked_resource` field in the entry resource to refer to the original resource ID of the source system. An entry resource contains resource details, for example, its schema. Additionally, you can attach flexible metadata to an entry in the form of a Tag.
func (*GoogleCloudDatacatalogV1Entry) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1Entry) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1EntryGroup ¶
type GoogleCloudDatacatalogV1EntryGroup struct { // DataCatalogTimestamps: Output only. Timestamps of the entry group. // Default value is empty. DataCatalogTimestamps *GoogleCloudDatacatalogV1SystemTimestamps `json:"dataCatalogTimestamps,omitempty"` // Description: Entry group description. Can consist of several // sentences or paragraphs that describe the entry group contents. // Default value is an empty string. Description string `json:"description,omitempty"` // DisplayName: A short name to identify the entry group, for example, // "analytics data - jan 2011". Default value is an empty string. DisplayName string `json:"displayName,omitempty"` // Name: The resource name of the entry group in URL format. Note: The // entry group itself and its child resources might not be stored in the // location specified in its name. 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. // "DataCatalogTimestamps") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataCatalogTimestamps") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1EntryGroup: Entry group metadata. An `EntryGroup` resource represents a logical grouping of zero or more Data Catalog Entry resources.
func (*GoogleCloudDatacatalogV1EntryGroup) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1EntryGroup) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ExportTaxonomiesResponse ¶
type GoogleCloudDatacatalogV1ExportTaxonomiesResponse struct { // Taxonomies: List of taxonomies and policy tags as nested protocol // buffers. Taxonomies []*GoogleCloudDatacatalogV1SerializedTaxonomy `json:"taxonomies,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Taxonomies") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Taxonomies") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ExportTaxonomiesResponse: Response message for ExportTaxonomies.
func (*GoogleCloudDatacatalogV1ExportTaxonomiesResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ExportTaxonomiesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1FieldType ¶
type GoogleCloudDatacatalogV1FieldType struct { // EnumType: An enum type. EnumType *GoogleCloudDatacatalogV1FieldTypeEnumType `json:"enumType,omitempty"` // PrimitiveType: Primitive types, such as string, boolean, etc. // // Possible values: // "PRIMITIVE_TYPE_UNSPECIFIED" - The default invalid value for a // type. // "DOUBLE" - A double precision number. // "STRING" - An UTF-8 string. // "BOOL" - A boolean value. // "TIMESTAMP" - A timestamp. // "RICHTEXT" - A Richtext description. PrimitiveType string `json:"primitiveType,omitempty"` // ForceSendFields is a list of field names (e.g. "EnumType") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnumType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatacatalogV1FieldType) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1FieldType) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1FieldTypeEnumType ¶
type GoogleCloudDatacatalogV1FieldTypeEnumType struct { // AllowedValues: The set of allowed values for this enum. This set must // not be empty and can include up to 100 allowed values. The display // names of the values in this set must not be empty and must be // case-insensitively unique within this set. The order of items in this // set is preserved. This field can be used to create, remove, and // reorder enum values. To rename enum values, use the // `RenameTagTemplateFieldEnumValue` method. AllowedValues []*GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue `json:"allowedValues,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowedValues") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowedValues") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatacatalogV1FieldTypeEnumType) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1FieldTypeEnumType) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue ¶
type GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue struct { // DisplayName: Required. The display name of the enum value. Must not // be an empty string. The name must contain only Unicode letters, // numbers (0-9), underscores (_), dashes (-), spaces ( ), and can't // start or end with spaces. The maximum length is 200 characters. DisplayName string `json:"displayName,omitempty"` // 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
func (*GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1FieldTypeEnumTypeEnumValue) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1GcsFileSpec ¶
type GoogleCloudDatacatalogV1GcsFileSpec struct { // FilePath: Required. Full file path. Example: // `gs://bucket_name/a/b.txt`. FilePath string `json:"filePath,omitempty"` // GcsTimestamps: Output only. Creation, modification, and expiration // timestamps of a Cloud Storage file. GcsTimestamps *GoogleCloudDatacatalogV1SystemTimestamps `json:"gcsTimestamps,omitempty"` // SizeBytes: Output only. File size in bytes. SizeBytes int64 `json:"sizeBytes,omitempty,string"` // ForceSendFields is a list of field names (e.g. "FilePath") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilePath") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1GcsFileSpec: Specification of a single file in Cloud Storage.
func (*GoogleCloudDatacatalogV1GcsFileSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1GcsFileSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1GcsFilesetSpec ¶
type GoogleCloudDatacatalogV1GcsFilesetSpec struct { // FilePatterns: Required. Patterns to identify a set of files in Google // Cloud Storage. For more information, see [Wildcard Names] // (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). // Note: Currently, bucket wildcards are not supported. Examples of // valid `file_patterns`: * `gs://bucket_name/dir/*`: matches all files // in `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches // all files in `bucket_name/dir` and all subdirectories * // `gs://bucket_name/file*`: matches files prefixed by `file` in // `bucket_name` * `gs://bucket_name/??.txt`: matches files with two // characters followed by `.txt` in `bucket_name` * // `gs://bucket_name/[aeiou].txt`: matches files that contain a single // vowel character followed by `.txt` in `bucket_name` * // `gs://bucket_name/[a-m].txt`: matches files that contain `a`, `b`, // ... or `m` followed by `.txt` in `bucket_name` * // `gs://bucket_name/a/*/b`: matches all files in `bucket_name` that // match the `a/*/b` pattern, such as `a/c/b`, `a/d/b` * // `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` You // can combine wildcards to match complex sets of files, for example: // `gs://bucket_name/[a-m]??.j*g` FilePatterns []string `json:"filePatterns,omitempty"` // SampleGcsFileSpecs: Output only. Sample files contained in this // fileset, not all files contained in this fileset are represented // here. SampleGcsFileSpecs []*GoogleCloudDatacatalogV1GcsFileSpec `json:"sampleGcsFileSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. "FilePatterns") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilePatterns") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1GcsFilesetSpec: Describes a Cloud Storage fileset entry.
func (*GoogleCloudDatacatalogV1GcsFilesetSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1GcsFilesetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ImportTaxonomiesRequest ¶
type GoogleCloudDatacatalogV1ImportTaxonomiesRequest struct { // CrossRegionalSource: Cross-regional source taxonomy to import. CrossRegionalSource *GoogleCloudDatacatalogV1CrossRegionalSource `json:"crossRegionalSource,omitempty"` // InlineSource: Inline source taxonomy to import. InlineSource *GoogleCloudDatacatalogV1InlineSource `json:"inlineSource,omitempty"` // ForceSendFields is a list of field names (e.g. "CrossRegionalSource") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CrossRegionalSource") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ImportTaxonomiesRequest: Request message for ImportTaxonomies.
func (*GoogleCloudDatacatalogV1ImportTaxonomiesRequest) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ImportTaxonomiesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ImportTaxonomiesResponse ¶
type GoogleCloudDatacatalogV1ImportTaxonomiesResponse struct { // Taxonomies: Imported taxonomies. Taxonomies []*GoogleCloudDatacatalogV1Taxonomy `json:"taxonomies,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Taxonomies") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Taxonomies") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ImportTaxonomiesResponse: Response message for ImportTaxonomies.
func (*GoogleCloudDatacatalogV1ImportTaxonomiesResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ImportTaxonomiesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1InlineSource ¶
type GoogleCloudDatacatalogV1InlineSource struct { // Taxonomies: Required. Taxonomies to import. Taxonomies []*GoogleCloudDatacatalogV1SerializedTaxonomy `json:"taxonomies,omitempty"` // ForceSendFields is a list of field names (e.g. "Taxonomies") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Taxonomies") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1InlineSource: Inline source containing taxonomies to import.
func (*GoogleCloudDatacatalogV1InlineSource) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1InlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ListEntriesResponse ¶
type GoogleCloudDatacatalogV1ListEntriesResponse struct { // Entries: Entry details. Entries []*GoogleCloudDatacatalogV1Entry `json:"entries,omitempty"` // NextPageToken: Pagination token of the next results page. Empty if // there are no more items in results. 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ListEntriesResponse: Response message for ListEntries.
func (*GoogleCloudDatacatalogV1ListEntriesResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ListEntryGroupsResponse ¶
type GoogleCloudDatacatalogV1ListEntryGroupsResponse struct { // EntryGroups: Entry group details. EntryGroups []*GoogleCloudDatacatalogV1EntryGroup `json:"entryGroups,omitempty"` // NextPageToken: Pagination token to specify in the next call to // retrieve the next page of results. Empty if there are no more items. 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. "EntryGroups") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntryGroups") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ListEntryGroupsResponse: Response message for ListEntryGroups.
func (*GoogleCloudDatacatalogV1ListEntryGroupsResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ListEntryGroupsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ListPolicyTagsResponse ¶
type GoogleCloudDatacatalogV1ListPolicyTagsResponse struct { // NextPageToken: Pagination token of the next results page. Empty if // there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // PolicyTags: The policy tags that belong to the taxonomy. PolicyTags []*GoogleCloudDatacatalogV1PolicyTag `json:"policyTags,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ListPolicyTagsResponse: Response message for ListPolicyTags.
func (*GoogleCloudDatacatalogV1ListPolicyTagsResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ListPolicyTagsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ListTagsResponse ¶
type GoogleCloudDatacatalogV1ListTagsResponse struct { // NextPageToken: Pagination token of the next results page. Empty if // there are no more items in results. NextPageToken string `json:"nextPageToken,omitempty"` // Tags: Tag details. Tags []*GoogleCloudDatacatalogV1Tag `json:"tags,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ListTagsResponse: Response message for ListTags.
func (*GoogleCloudDatacatalogV1ListTagsResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ListTagsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ListTaxonomiesResponse ¶
type GoogleCloudDatacatalogV1ListTaxonomiesResponse struct { // NextPageToken: Pagination token of the next results page. Empty if // there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Taxonomies: Taxonomies that the project contains. Taxonomies []*GoogleCloudDatacatalogV1Taxonomy `json:"taxonomies,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ListTaxonomiesResponse: Response message for ListTaxonomies.
func (*GoogleCloudDatacatalogV1ListTaxonomiesResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ListTaxonomiesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1PolicyTag ¶
type GoogleCloudDatacatalogV1PolicyTag struct { // ChildPolicyTags: Output only. Resource names of child policy tags of // this policy tag. ChildPolicyTags []string `json:"childPolicyTags,omitempty"` // Description: Description of this policy tag. If not set, defaults to // empty. The description must contain only Unicode characters, tabs, // newlines, carriage returns and page breaks, and be at most 2000 bytes // long when encoded in UTF-8. Description string `json:"description,omitempty"` // DisplayName: Required. User-defined name of this policy tag. The name // can't start or end with spaces and must be unique within the parent // taxonomy, contain only Unicode letters, numbers, underscores, dashes // and spaces, and be at most 200 bytes long when encoded in UTF-8. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Resource name of this policy tag in the URL // format. The policy tag manager generates unique taxonomy IDs and // policy tag IDs. Name string `json:"name,omitempty"` // ParentPolicyTag: Resource name of this policy tag's parent policy // tag. If empty, this is a top level tag. If not set, defaults to an // empty string. For example, for the "LatLong" policy tag in the // example above, this field contains the resource name of the // "Geolocation" policy tag, and, for "Geolocation", this field is // empty. ParentPolicyTag string `json:"parentPolicyTag,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ChildPolicyTags") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChildPolicyTags") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1PolicyTag: Denotes one policy tag in a taxonomy, for example, SSN. Policy tags can be defined in a hierarchy. For example: ``` + Geolocation + LatLong + City + ZipCode ``` Where the "Geolocation" policy tag contains three children.
func (*GoogleCloudDatacatalogV1PolicyTag) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1PolicyTag) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest ¶
type GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest struct { // NewEnumValueDisplayName: Required. The new display name of the enum // value. For example, `my_new_enum_value`. NewEnumValueDisplayName string `json:"newEnumValueDisplayName,omitempty"` // ForceSendFields is a list of field names (e.g. // "NewEnumValueDisplayName") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NewEnumValueDisplayName") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest: Request message for RenameTagTemplateFieldEnumValue.
func (*GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest ¶
type GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest struct { // NewTagTemplateFieldId: Required. The new ID of this tag template // field. For example, `my_new_field`. NewTagTemplateFieldId string `json:"newTagTemplateFieldId,omitempty"` // ForceSendFields is a list of field names (e.g. // "NewTagTemplateFieldId") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NewTagTemplateFieldId") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest: Request message for RenameTagTemplateField.
func (*GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1ReplaceTaxonomyRequest ¶
type GoogleCloudDatacatalogV1ReplaceTaxonomyRequest struct { // SerializedTaxonomy: Required. Taxonomy to update along with its child // policy tags. SerializedTaxonomy *GoogleCloudDatacatalogV1SerializedTaxonomy `json:"serializedTaxonomy,omitempty"` // ForceSendFields is a list of field names (e.g. "SerializedTaxonomy") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SerializedTaxonomy") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ReplaceTaxonomyRequest: Request message for ReplaceTaxonomy.
func (*GoogleCloudDatacatalogV1ReplaceTaxonomyRequest) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ReplaceTaxonomyRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1RoutineSpec ¶ added in v0.50.0
type GoogleCloudDatacatalogV1RoutineSpec struct { // BigqueryRoutineSpec: Fields specific for BigQuery routines. BigqueryRoutineSpec *GoogleCloudDatacatalogV1BigQueryRoutineSpec `json:"bigqueryRoutineSpec,omitempty"` // DefinitionBody: The body of the routine. DefinitionBody string `json:"definitionBody,omitempty"` // Language: The language the routine is written in. The exact value // depends on the source system. For BigQuery routines, possible values // are: * `SQL` * `JAVASCRIPT` Language string `json:"language,omitempty"` // ReturnType: Return type of the argument. The exact value depends on // the source system and the language. ReturnType string `json:"returnType,omitempty"` // RoutineArguments: Arguments of the routine. RoutineArguments []*GoogleCloudDatacatalogV1RoutineSpecArgument `json:"routineArguments,omitempty"` // RoutineType: The type of the routine. // // Possible values: // "ROUTINE_TYPE_UNSPECIFIED" - Unspecified type. // "SCALAR_FUNCTION" - Non-builtin permanent scalar function. // "PROCEDURE" - Stored procedure. RoutineType string `json:"routineType,omitempty"` // ForceSendFields is a list of field names (e.g. "BigqueryRoutineSpec") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigqueryRoutineSpec") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1RoutineSpec: Specification that applies to a routine. Valid only for entries with the `ROUTINE` type.
func (*GoogleCloudDatacatalogV1RoutineSpec) MarshalJSON ¶ added in v0.50.0
func (s *GoogleCloudDatacatalogV1RoutineSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1RoutineSpecArgument ¶ added in v0.50.0
type GoogleCloudDatacatalogV1RoutineSpecArgument struct { // Mode: Specifies whether the argument is input or output. // // Possible values: // "MODE_UNSPECIFIED" - Unspecified mode. // "IN" - The argument is input-only. // "OUT" - The argument is output-only. // "INOUT" - The argument is both an input and an output. Mode string `json:"mode,omitempty"` // Name: The name of the argument. A return argument of a function might // not have a name. Name string `json:"name,omitempty"` // Type: Type of the argument. The exact value depends on the source // system and the language. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1RoutineSpecArgument: Input or output argument of a function or stored procedure.
func (*GoogleCloudDatacatalogV1RoutineSpecArgument) MarshalJSON ¶ added in v0.50.0
func (s *GoogleCloudDatacatalogV1RoutineSpecArgument) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1Schema ¶
type GoogleCloudDatacatalogV1Schema struct { // Columns: The unified GoogleSQL-like schema of columns. The overall // maximum number of columns and nested columns is 10,000. The maximum // nested depth is 15 levels. Columns []*GoogleCloudDatacatalogV1ColumnSchema `json:"columns,omitempty"` // ForceSendFields is a list of field names (e.g. "Columns") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Columns") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1Schema: Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.
func (*GoogleCloudDatacatalogV1Schema) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1Schema) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SearchCatalogRequest ¶
type GoogleCloudDatacatalogV1SearchCatalogRequest struct { // OrderBy: Specifies the order of results. Currently supported // case-sensitive values are: * `relevance` that can only be descending // * `last_modified_timestamp [asc|desc]` with descending (`desc`) as // default If this parameter is omitted, it defaults to the descending // `relevance`. OrderBy string `json:"orderBy,omitempty"` // PageSize: Number of results to return in a single search page. Can't // be negative or 0, defaults to 10 in this case. The maximum number is // 1000. If exceeded, throws an "invalid argument" exception. PageSize int64 `json:"pageSize,omitempty"` // PageToken: Optional. Pagination token that, if specified, returns the // next page of search results. If empty, returns the first page. This // token is returned in the SearchCatalogResponse.next_page_token field // of the response to a previous SearchCatalogRequest call. PageToken string `json:"pageToken,omitempty"` // Query: Optional. The query string with a minimum of 3 characters and // specific syntax. For more information, see Data Catalog search syntax // (/data-catalog/docs/how-to/search-reference). An empty query string // returns all data assets (in the specified scope) that you have access // to. A query string can be a simple `xyz` or qualified by predicates: // * `name:x` * `column:y` * `description:z` Query string `json:"query,omitempty"` // Scope: Required. The scope of this search request. The `scope` is // invalid if `include_org_ids`, `include_project_ids` are empty AND // `include_gcp_public_datasets` is set to `false`. In this case, the // request returns an error. Scope *GoogleCloudDatacatalogV1SearchCatalogRequestScope `json:"scope,omitempty"` // ForceSendFields is a list of field names (e.g. "OrderBy") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OrderBy") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SearchCatalogRequest: Request message for SearchCatalog.
func (*GoogleCloudDatacatalogV1SearchCatalogRequest) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SearchCatalogRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SearchCatalogRequestScope ¶
type GoogleCloudDatacatalogV1SearchCatalogRequestScope struct { // IncludeGcpPublicDatasets: If `true`, include Google Cloud Platform // (GCP) public datasets in search results. By default, they are // excluded. See Google Cloud Public Datasets (/public-datasets) for // more information. IncludeGcpPublicDatasets bool `json:"includeGcpPublicDatasets,omitempty"` // IncludeOrgIds: The list of organization IDs to search within. To find // your organization ID, follow the steps from [Creating and managing // organizations] // (/resource-manager/docs/creating-managing-organization). IncludeOrgIds []string `json:"includeOrgIds,omitempty"` // IncludeProjectIds: The list of project IDs to search within. For more // information on the distinction between project names, IDs, and // numbers, see Projects (/docs/overview/#projects). IncludeProjectIds []string `json:"includeProjectIds,omitempty"` // IncludePublicTagTemplates: Optional. If `true`, include public tag // templates in the search results. By default, they are included only // if you have explicit permissions on them to view them. For example, // if you are the owner. Other scope fields, for example, // “include_org_ids“, still restrict the returned public tag templates // and at least one of them is required. IncludePublicTagTemplates bool `json:"includePublicTagTemplates,omitempty"` // RestrictedLocations: Optional. The list of locations to search // within. If empty, all locations are searched. Returns an error if any // location in the list isn't one of the Supported regions // (https://cloud.google.com/data-catalog/docs/concepts/regions#supported_regions). // If a location is unreachable, its name is returned in the // `SearchCatalogResponse.unreachable` field. To get additional // information on the error, repeat the search request and set the // location name as the value of this parameter. RestrictedLocations []string `json:"restrictedLocations,omitempty"` // ForceSendFields is a list of field names (e.g. // "IncludeGcpPublicDatasets") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IncludeGcpPublicDatasets") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SearchCatalogRequestScope: The criteria that select the subspace used for query matching.
func (*GoogleCloudDatacatalogV1SearchCatalogRequestScope) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SearchCatalogRequestScope) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SearchCatalogResponse ¶
type GoogleCloudDatacatalogV1SearchCatalogResponse struct { // NextPageToken: Pagination token that can be used in subsequent calls // to retrieve the next page of results. NextPageToken string `json:"nextPageToken,omitempty"` // Results: Search results. Results []*GoogleCloudDatacatalogV1SearchCatalogResult `json:"results,omitempty"` // Unreachable: Unreachable locations. Search results don't include data // from those locations. To get additional information on an error, // repeat the search request and restrict it to specific locations by // setting the `SearchCatalogRequest.scope.restricted_locations` // parameter. 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SearchCatalogResponse: Response message for SearchCatalog.
func (*GoogleCloudDatacatalogV1SearchCatalogResponse) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SearchCatalogResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SearchCatalogResult ¶
type GoogleCloudDatacatalogV1SearchCatalogResult struct { // FullyQualifiedName: Fully qualified name (FQN) of the resource. FQNs // take two forms: * For non-regionalized resources: // `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` * For // regionalized resources: // `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOT // S}` Example for a DPMS table: // `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TAB // LE_ID` FullyQualifiedName string `json:"fullyQualifiedName,omitempty"` // IntegratedSystem: Output only. The source system that Data Catalog // automatically integrates with, such as BigQuery, Cloud Pub/Sub, or // Dataproc Metastore. // // Possible values: // "INTEGRATED_SYSTEM_UNSPECIFIED" - Default unknown system. // "BIGQUERY" - BigQuery. // "CLOUD_PUBSUB" - Cloud Pub/Sub. // "DATAPROC_METASTORE" - Dataproc Metastore. IntegratedSystem string `json:"integratedSystem,omitempty"` // LinkedResource: The full name of the Google Cloud resource the entry // belongs to. For more information, see [Full Resource Name] // (/apis/design/resource_names#full_resource_name). Example: // `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tab // les/TABLE_ID` LinkedResource string `json:"linkedResource,omitempty"` // ModifyTime: The last modification timestamp of the entry in the // source system. ModifyTime string `json:"modifyTime,omitempty"` // RelativeResourceName: The relative name of the resource in URL // format. Examples: * // `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROU // P_ID}/entries/{ENTRY_ID}` * // `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}` RelativeResourceName string `json:"relativeResourceName,omitempty"` // SearchResultSubtype: Sub-type of the search result. A dot-delimited // full type of the resource. The same type you specify in the `type` // search predicate. Examples: `entry.table`, `entry.dataStream`, // `tagTemplate`. SearchResultSubtype string `json:"searchResultSubtype,omitempty"` // SearchResultType: Type of the search result. You can use this field // to determine which get method to call to fetch the full resource. // // Possible values: // "SEARCH_RESULT_TYPE_UNSPECIFIED" - Default unknown type. // "ENTRY" - An Entry. // "TAG_TEMPLATE" - A TagTemplate. // "ENTRY_GROUP" - An EntryGroup. SearchResultType string `json:"searchResultType,omitempty"` // UserSpecifiedSystem: Custom source system that you can manually // integrate Data Catalog with. UserSpecifiedSystem string `json:"userSpecifiedSystem,omitempty"` // ForceSendFields is a list of field names (e.g. "FullyQualifiedName") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FullyQualifiedName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SearchCatalogResult: Result in the response to a search request. Each result captures details of one entry that matches the search.
func (*GoogleCloudDatacatalogV1SearchCatalogResult) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SearchCatalogResult) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SerializedPolicyTag ¶
type GoogleCloudDatacatalogV1SerializedPolicyTag struct { // ChildPolicyTags: Children of the policy tag, if any. ChildPolicyTags []*GoogleCloudDatacatalogV1SerializedPolicyTag `json:"childPolicyTags,omitempty"` // Description: Description of the serialized policy tag. At most 2000 // bytes when encoded in UTF-8. If not set, defaults to an empty // description. Description string `json:"description,omitempty"` // DisplayName: Required. Display name of the policy tag. At most 200 // bytes when encoded in UTF-8. DisplayName string `json:"displayName,omitempty"` // PolicyTag: Resource name of the policy tag. This field is ignored // when calling `ImportTaxonomies`. PolicyTag string `json:"policyTag,omitempty"` // ForceSendFields is a list of field names (e.g. "ChildPolicyTags") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChildPolicyTags") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SerializedPolicyTag: A nested protocol buffer that represents a policy tag and all its descendants.
func (*GoogleCloudDatacatalogV1SerializedPolicyTag) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SerializedPolicyTag) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SerializedTaxonomy ¶
type GoogleCloudDatacatalogV1SerializedTaxonomy struct { // ActivatedPolicyTypes: A list of policy types that are activated per // taxonomy. // // Possible values: // "POLICY_TYPE_UNSPECIFIED" - Unspecified policy type. // "FINE_GRAINED_ACCESS_CONTROL" - Fine-grained access control policy // that enables access control on tagged sub-resources. ActivatedPolicyTypes []string `json:"activatedPolicyTypes,omitempty"` // Description: Description of the serialized taxonomy. At most 2000 // bytes when encoded in UTF-8. If not set, defaults to an empty // description. Description string `json:"description,omitempty"` // DisplayName: Required. Display name of the taxonomy. At most 200 // bytes when encoded in UTF-8. DisplayName string `json:"displayName,omitempty"` // PolicyTags: Top level policy tags associated with the taxonomy, if // any. PolicyTags []*GoogleCloudDatacatalogV1SerializedPolicyTag `json:"policyTags,omitempty"` // ForceSendFields is a list of field names (e.g. // "ActivatedPolicyTypes") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActivatedPolicyTypes") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SerializedTaxonomy: A nested protocol buffer that represents a taxonomy and the hierarchy of its policy tags. Used for taxonomy replacement, import, and export.
func (*GoogleCloudDatacatalogV1SerializedTaxonomy) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SerializedTaxonomy) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1SystemTimestamps ¶
type GoogleCloudDatacatalogV1SystemTimestamps struct { // CreateTime: Creation timestamp of the resource within the given // system. CreateTime string `json:"createTime,omitempty"` // ExpireTime: Output only. Expiration timestamp of the resource within // the given system. Currently only applicable to BigQuery resources. ExpireTime string `json:"expireTime,omitempty"` // UpdateTime: Timestamp of the last modification of the resource or its // metadata within a given system. Note: Depending on the source system, // not every modification updates this timestamp. For example, BigQuery // timestamps every metadata modification but not data or permission // changes. UpdateTime string `json:"updateTime,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1SystemTimestamps: Timestamps associated with this resource in a particular system.
func (*GoogleCloudDatacatalogV1SystemTimestamps) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1SystemTimestamps) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1TableSpec ¶
type GoogleCloudDatacatalogV1TableSpec struct { // GroupedEntry: Output only. If the table is date-sharded, that is, it // matches the `[prefix]YYYYMMDD` name pattern, this field is the Data // Catalog resource name of the date-sharded grouped entry. For example: // `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_I // D}/entries/{ENTRY_ID}`. Otherwise, `grouped_entry` is empty. GroupedEntry string `json:"groupedEntry,omitempty"` // ForceSendFields is a list of field names (e.g. "GroupedEntry") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GroupedEntry") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1TableSpec: Normal BigQuery table specification.
func (*GoogleCloudDatacatalogV1TableSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TableSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1Tag ¶
type GoogleCloudDatacatalogV1Tag struct { // Column: Resources like entry can have schemas associated with them. // This scope allows you to attach tags to an individual column based on // that schema. To attach a tag to a nested column, separate column // names with a dot (`.`). Example: `column.nested_column`. Column string `json:"column,omitempty"` // Fields: Required. Maps the ID of a tag field to its value and // additional information about that field. Tag template defines valid // field IDs. A tag must have at least 1 field and at most 500 fields. Fields map[string]GoogleCloudDatacatalogV1TagField `json:"fields,omitempty"` // Name: The resource name of the tag in URL format where tag ID is a // system-generated identifier. Note: The tag itself might not be stored // in the location specified in its name. Name string `json:"name,omitempty"` // Template: Required. The resource name of the tag template this tag // uses. Example: // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE // _ID}` This field cannot be modified after creation. Template string `json:"template,omitempty"` // TemplateDisplayName: Output only. The display name of the tag // template. TemplateDisplayName string `json:"templateDisplayName,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Column") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Column") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1Tag: Tags contain custom metadata and are attached to Data Catalog resources. Tags conform with the specification of their tag template. See Data Catalog IAM (https://cloud.google.com/data-catalog/docs/concepts/iam) for information on the permissions needed to create or view tags.
func (*GoogleCloudDatacatalogV1Tag) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1Tag) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1TagField ¶
type GoogleCloudDatacatalogV1TagField struct { // BoolValue: The value of a tag field with a boolean type. BoolValue bool `json:"boolValue,omitempty"` // DisplayName: Output only. The display name of this field. DisplayName string `json:"displayName,omitempty"` // DoubleValue: The value of a tag field with a double type. DoubleValue float64 `json:"doubleValue,omitempty"` // EnumValue: The value of a tag field with an enum type. This value // must be one of the allowed values listed in this enum. EnumValue *GoogleCloudDatacatalogV1TagFieldEnumValue `json:"enumValue,omitempty"` // Order: Output only. The order of this field with respect to other // fields in this tag. Can be set by Tag. For example, a higher value // can indicate a more important field. The value can be negative. // Multiple fields can have the same order, and field orders within a // tag don't have to be sequential. Order int64 `json:"order,omitempty"` // RichtextValue: The value of a tag field with a rich text type. The // maximum length is 10 MiB as this value holds HTML descriptions // including encoded images. The maximum length of the text without // images is 100 KiB. RichtextValue string `json:"richtextValue,omitempty"` // StringValue: The value of a tag field with a string type. The maximum // length is 2000 UTF-8 characters. StringValue string `json:"stringValue,omitempty"` // TimestampValue: The value of a tag field with a timestamp type. TimestampValue string `json:"timestampValue,omitempty"` // ForceSendFields is a list of field names (e.g. "BoolValue") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoolValue") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1TagField: Contains the value and additional information on a field within a Tag.
func (*GoogleCloudDatacatalogV1TagField) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TagField) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatacatalogV1TagField) UnmarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TagField) UnmarshalJSON(data []byte) error
type GoogleCloudDatacatalogV1TagFieldEnumValue ¶
type GoogleCloudDatacatalogV1TagFieldEnumValue struct { // DisplayName: The display name of the enum value. DisplayName string `json:"displayName,omitempty"` // 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1TagFieldEnumValue: An enum value.
func (*GoogleCloudDatacatalogV1TagFieldEnumValue) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TagFieldEnumValue) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1TagTemplate ¶
type GoogleCloudDatacatalogV1TagTemplate struct { // DisplayName: Display name for this template. Defaults to an empty // string. The name must contain only Unicode letters, numbers (0-9), // underscores (_), dashes (-), spaces ( ), and can't start or end with // spaces. The maximum length is 200 characters. DisplayName string `json:"displayName,omitempty"` // Fields: Required. Map of tag template field IDs to the settings for // the field. This map is an exhaustive list of the allowed fields. The // map must contain at least one field and at most 500 fields. The keys // to this map are tag template field IDs. The IDs have the following // limitations: * Can contain uppercase and lowercase letters, numbers // (0-9) and underscores (_). * Must be at least 1 character and at most // 64 characters long. * Must start with a letter or underscore. Fields map[string]GoogleCloudDatacatalogV1TagTemplateField `json:"fields,omitempty"` // IsPubliclyReadable: Indicates whether this is a public tag template. // Every user has view access to a *public* tag template by default. // This means that: * Every user can use this tag template to tag an // entry. * If an entry is tagged using the tag template, the tag is // always shown in the response to “ListTags“ called on the entry. * // To get the template using the GetTagTemplate method, you need view // access either on the project or the organization the tag template // resides in but no other permission is needed. * Operations on the tag // template other than viewing (for example, editing IAM policies) // follow standard IAM structures. Tags created with a public tag // template are referred to as public tags. You can search for a public // tag by value with a simple search query instead of using a “tag:“ // predicate. Public tag templates may not appear in search results // depending on scope, see: include_public_tag_templates Note: If an IAM // domain restriction // (https://cloud.google.com/resource-manager/docs/organization-policy/restricting-domains) // is configured in the tag template's location, the public access will // not be enabled but the simple search for tag values will still work. IsPubliclyReadable bool `json:"isPubliclyReadable,omitempty"` // Name: The resource name of the tag template in URL format. Note: The // tag template itself and its child resources might not be stored in // the location specified in its name. 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1TagTemplate: A tag template defines a tag that can have one or more typed fields. The template is used to create tags that are attached to GCP resources. [Tag template roles] (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. For example, see the [TagTemplate User] (https://cloud.google.com/data-catalog/docs/how-to/template-user) role that includes a permission to use the tag template to tag resources.
func (*GoogleCloudDatacatalogV1TagTemplate) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TagTemplate) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1TagTemplateField ¶
type GoogleCloudDatacatalogV1TagTemplateField struct { // Description: The description for this field. Defaults to an empty // string. Description string `json:"description,omitempty"` // DisplayName: The display name for this field. Defaults to an empty // string. The name must contain only Unicode letters, numbers (0-9), // underscores (_), dashes (-), spaces ( ), and can't start or end with // spaces. The maximum length is 200 characters. DisplayName string `json:"displayName,omitempty"` // IsRequired: If true, this field is required. Defaults to false. IsRequired bool `json:"isRequired,omitempty"` // Name: Output only. The resource name of the tag template field in URL // format. Example: // `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE // }/fields/{FIELD}` Note: The tag template field itself might not be // stored in the location specified in its name. The name must contain // only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must // start with a letter or underscore. The maximum length is 64 // characters. Name string `json:"name,omitempty"` // Order: The order of this field with respect to other fields in this // tag template. For example, a higher value can indicate a more // important field. The value can be negative. Multiple fields can have // the same order and field orders within a tag don't have to be // sequential. Order int64 `json:"order,omitempty"` // Type: Required. The type of value this tag field can contain. Type *GoogleCloudDatacatalogV1FieldType `json:"type,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // 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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1TagTemplateField: The template for an individual field within a tag template.
func (*GoogleCloudDatacatalogV1TagTemplateField) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1TagTemplateField) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1Taxonomy ¶
type GoogleCloudDatacatalogV1Taxonomy struct { // ActivatedPolicyTypes: Optional. A list of policy types that are // activated for this taxonomy. If not set, defaults to an empty list. // // Possible values: // "POLICY_TYPE_UNSPECIFIED" - Unspecified policy type. // "FINE_GRAINED_ACCESS_CONTROL" - Fine-grained access control policy // that enables access control on tagged sub-resources. ActivatedPolicyTypes []string `json:"activatedPolicyTypes,omitempty"` // Description: Optional. Description of this taxonomy. If not set, // defaults to empty. The description must contain only Unicode // characters, tabs, newlines, carriage returns, and page breaks, and be // at most 2000 bytes long when encoded in UTF-8. Description string `json:"description,omitempty"` // DisplayName: Required. User-defined name of this taxonomy. The name // can't start or end with spaces, must contain only Unicode letters, // numbers, underscores, dashes, and spaces, and be at most 200 bytes // long when encoded in UTF-8. DisplayName string `json:"displayName,omitempty"` // Name: Output only. Resource name of this taxonomy in URL format. // Note: Policy tag manager generates unique taxonomy IDs. Name string `json:"name,omitempty"` // PolicyTagCount: Output only. Number of policy tags in this taxonomy. PolicyTagCount int64 `json:"policyTagCount,omitempty"` // TaxonomyTimestamps: Output only. Creation and modification timestamps // of this taxonomy. TaxonomyTimestamps *GoogleCloudDatacatalogV1SystemTimestamps `json:"taxonomyTimestamps,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ActivatedPolicyTypes") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActivatedPolicyTypes") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1Taxonomy: A taxonomy is a collection of hierarchical policy tags that classify data along a common axis. For example, a "data sensitivity" taxonomy might contain the following policy tags: ``` + PII + Account number + Age + SSN + Zipcode + Financials + Revenue ``` A "data origin" taxonomy might contain the following policy tags: ``` + User data + Employee data + Partner data + Public data ```
func (*GoogleCloudDatacatalogV1Taxonomy) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1Taxonomy) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1UsageSignal ¶
type GoogleCloudDatacatalogV1UsageSignal struct { // UpdateTime: The end timestamp of the duration of usage statistics. UpdateTime string `json:"updateTime,omitempty"` // UsageWithinTimeRange: Usage statistics over each of the predefined // time ranges. Supported time ranges are `{"24H", "7D", "30D"}`. UsageWithinTimeRange map[string]GoogleCloudDatacatalogV1UsageStats `json:"usageWithinTimeRange,omitempty"` // ForceSendFields is a list of field names (e.g. "UpdateTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UpdateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1UsageSignal: The set of all usage signals that Data Catalog stores. Note: Usually, these signals are updated daily. In rare cases, an update may fail but will be performed again on the next day.
func (*GoogleCloudDatacatalogV1UsageSignal) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1UsageSignal) MarshalJSON() ([]byte, error)
type GoogleCloudDatacatalogV1UsageStats ¶
type GoogleCloudDatacatalogV1UsageStats struct { // TotalCancellations: The number of cancelled attempts to use the // underlying entry. TotalCancellations float64 `json:"totalCancellations,omitempty"` // TotalCompletions: The number of successful uses of the underlying // entry. TotalCompletions float64 `json:"totalCompletions,omitempty"` // TotalExecutionTimeForCompletionsMillis: Total time spent only on // successful uses, in milliseconds. TotalExecutionTimeForCompletionsMillis float64 `json:"totalExecutionTimeForCompletionsMillis,omitempty"` // TotalFailures: The number of failed attempts to use the underlying // entry. TotalFailures float64 `json:"totalFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "TotalCancellations") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalCancellations") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1UsageStats: Detailed statistics on the entry's usage. Usage statistics have the following limitations: - Only BigQuery tables have them. - They only include BigQuery query jobs. - They might be underestimated because wildcard table references are not yet counted. For more information, see [Querying multiple tables using a wildcard table] (https://cloud.google.com/bigquery/docs/querying-wildcard-tables)
func (*GoogleCloudDatacatalogV1UsageStats) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1UsageStats) MarshalJSON() ([]byte, error)
func (*GoogleCloudDatacatalogV1UsageStats) UnmarshalJSON ¶
func (s *GoogleCloudDatacatalogV1UsageStats) UnmarshalJSON(data []byte) error
type GoogleCloudDatacatalogV1ViewSpec ¶
type GoogleCloudDatacatalogV1ViewSpec struct { // ViewQuery: Output only. The query that defines the table view. ViewQuery string `json:"viewQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "ViewQuery") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ViewQuery") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDatacatalogV1ViewSpec: Table view specification.
func (*GoogleCloudDatacatalogV1ViewSpec) MarshalJSON ¶
func (s *GoogleCloudDatacatalogV1ViewSpec) MarshalJSON() ([]byte, error)
type Policy ¶
type Policy struct { // Bindings: Associates a list of `members` to 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 member. 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 conditions **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. 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. "Bindings") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bindings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
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` to a single `role`. Members 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 ¶
type ProjectsLocationsEntryGroupsCreateCall ¶
type ProjectsLocationsEntryGroupsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsCreateCall) Context ¶
func (c *ProjectsLocationsEntryGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsCreateCall) Do ¶
func (c *ProjectsLocationsEntryGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
Do executes the "datacatalog.projects.locations.entryGroups.create" call. Exactly one of *GoogleCloudDatacatalogV1EntryGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1EntryGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsCreateCall) EntryGroupId ¶
func (c *ProjectsLocationsEntryGroupsCreateCall) EntryGroupId(entryGroupId string) *ProjectsLocationsEntryGroupsCreateCall
EntryGroupId sets the optional parameter "entryGroupId": Required. The ID of the entry group to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.
func (*ProjectsLocationsEntryGroupsCreateCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsCreateCall) Header ¶
func (c *ProjectsLocationsEntryGroupsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsDeleteCall ¶
type ProjectsLocationsEntryGroupsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsDeleteCall) Context ¶
func (c *ProjectsLocationsEntryGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsDeleteCall) Do ¶
func (c *ProjectsLocationsEntryGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.entryGroups.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsDeleteCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsDeleteCall) Force ¶
func (c *ProjectsLocationsEntryGroupsDeleteCall) Force(force bool) *ProjectsLocationsEntryGroupsDeleteCall
Force sets the optional parameter "force": If true, deletes all entries in the entry group.
func (*ProjectsLocationsEntryGroupsDeleteCall) Header ¶
func (c *ProjectsLocationsEntryGroupsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesCreateCall ¶
type ProjectsLocationsEntryGroupsEntriesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.create" call. Exactly one of *GoogleCloudDatacatalogV1Entry or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Entry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesCreateCall) EntryId ¶
func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) EntryId(entryId string) *ProjectsLocationsEntryGroupsEntriesCreateCall
EntryId sets the optional parameter "entryId": Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.
func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesDeleteCall ¶
type ProjectsLocationsEntryGroupsEntriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesGetCall ¶
type ProjectsLocationsEntryGroupsEntriesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesGetCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesGetCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.get" call. Exactly one of *GoogleCloudDatacatalogV1Entry or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Entry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesGetCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesGetCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsEntriesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall ¶
type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesListCall ¶
type ProjectsLocationsEntryGroupsEntriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesListCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesListCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListEntriesResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.list" call. Exactly one of *GoogleCloudDatacatalogV1ListEntriesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListEntriesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesListCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesListCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsEntriesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsEntryGroupsEntriesListCall) PageSize ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsEntriesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return. Default is 10. Maximum limit is 1000. Throws an invalid argument if `page_size` is more than 1000.
func (*ProjectsLocationsEntryGroupsEntriesListCall) PageToken ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsEntriesListCall
PageToken sets the optional parameter "pageToken": Pagination token that specifies the next page to return. If empty, the first page is returned.
func (*ProjectsLocationsEntryGroupsEntriesListCall) Pages ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListEntriesResponse) 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 (*ProjectsLocationsEntryGroupsEntriesListCall) ReadMask ¶
func (c *ProjectsLocationsEntryGroupsEntriesListCall) ReadMask(readMask string) *ProjectsLocationsEntryGroupsEntriesListCall
ReadMask sets the optional parameter "readMask": The fields to return for each entry. If empty or omitted, all fields are returned. For example, to return a list of entries with only the `name` field, set `read_mask` to only one path with the `name` value.
type ProjectsLocationsEntryGroupsEntriesPatchCall ¶
type ProjectsLocationsEntryGroupsEntriesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Entry, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.patch" call. Exactly one of *GoogleCloudDatacatalogV1Entry or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Entry.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsEntriesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsEntryGroupsEntriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsEntriesPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on an entry. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied. You can modify only the fields listed below. For entries with type `DATA_STREAM`: * `schema` For entries with type `FILESET`: * `schema` * `display_name` * `description` * `gcs_fileset_spec` * `gcs_fileset_spec.file_patterns` For entries with `user_specified_type`: * `schema` * `display_name` * `description` * `user_specified_type` * `user_specified_system` * `linked_resource` * `source_system_timestamps`
type ProjectsLocationsEntryGroupsEntriesService ¶
type ProjectsLocationsEntryGroupsEntriesService struct { Tags *ProjectsLocationsEntryGroupsEntriesTagsService // contains filtered or unexported fields }
func NewProjectsLocationsEntryGroupsEntriesService ¶
func NewProjectsLocationsEntryGroupsEntriesService(s *Service) *ProjectsLocationsEntryGroupsEntriesService
func (*ProjectsLocationsEntryGroupsEntriesService) Create ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) Create(parent string, googleclouddatacatalogv1entry *GoogleCloudDatacatalogV1Entry) *ProjectsLocationsEntryGroupsEntriesCreateCall
Create: Creates an entry. You can create entries only with 'FILESET', 'CLUSTER', 'DATA_STREAM', or custom types. Data Catalog automatically creates entries with other types during metadata ingestion from integrated systems. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project). An entry group can have a maximum of 100,000 entries.
- parent: The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsEntriesService) Delete ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) Delete(name string) *ProjectsLocationsEntryGroupsEntriesDeleteCall
Delete: Deletes an existing entry. You can delete only the entries created by the CreateEntry method. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the entry to delete.
func (*ProjectsLocationsEntryGroupsEntriesService) Get ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) Get(name string) *ProjectsLocationsEntryGroupsEntriesGetCall
Get: Gets an entry.
- name: The name of the entry to get.
func (*ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
- resource: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsEntryGroupsEntriesService) List ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) List(parent string) *ProjectsLocationsEntryGroupsEntriesListCall
List: Lists entries.
- parent: The name of the entry group that contains the entries to list. Can be provided in URL format.
func (*ProjectsLocationsEntryGroupsEntriesService) Patch ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) Patch(name string, googleclouddatacatalogv1entry *GoogleCloudDatacatalogV1Entry) *ProjectsLocationsEntryGroupsEntriesPatchCall
Patch: Updates an existing entry. You must enable the Data Catalog API in the project identified by the `entry.name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: Output only. The resource name of an entry in URL format. Note: The entry itself and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions ¶
func (r *ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
TestIamPermissions: Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
- resource: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
type ProjectsLocationsEntryGroupsEntriesTagsCreateCall ¶
type ProjectsLocationsEntryGroupsEntriesTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.create" call. Exactly one of *GoogleCloudDatacatalogV1Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesTagsDeleteCall ¶
type ProjectsLocationsEntryGroupsEntriesTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsEntriesTagsListCall ¶
type ProjectsLocationsEntryGroupsEntriesTagsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTagsResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.list" call. Exactly one of *GoogleCloudDatacatalogV1ListTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) PageSize ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsEntriesTagsListCall
PageSize sets the optional parameter "pageSize": The maximum number of tags to return. Default is 10. Maximum limit is 1000.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) PageToken ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
PageToken sets the optional parameter "pageToken": Pagination token that specifies the next page to return. If empty, the first page is returned.
func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Pages ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListTagsResponse) 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 ProjectsLocationsEntryGroupsEntriesTagsPatchCall ¶
type ProjectsLocationsEntryGroupsEntriesTagsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.patch" call. Exactly one of *GoogleCloudDatacatalogV1Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsEntryGroupsEntriesTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
type ProjectsLocationsEntryGroupsEntriesTagsService ¶
type ProjectsLocationsEntryGroupsEntriesTagsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsEntryGroupsEntriesTagsService ¶
func NewProjectsLocationsEntryGroupsEntriesTagsService(s *Service) *ProjectsLocationsEntryGroupsEntriesTagsService
func (*ProjectsLocationsEntryGroupsEntriesTagsService) Create ¶
func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Create(parent string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsEntriesTagsCreateCall
Create: Creates a tag and assigns it to: * An Entry if the method name is “projects.locations.entryGroups.entries.tags.create“. * Or EntryGroupif the method name is “projects.locations.entryGroups.tags.create“. Note: The project identified by the `parent` parameter for the [tag] (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template] (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be in the same organization.
- parent: The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsEntriesTagsService) Delete ¶
func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Delete(name string) *ProjectsLocationsEntryGroupsEntriesTagsDeleteCall
Delete: Deletes a tag.
- name: The name of the tag to delete.
func (*ProjectsLocationsEntryGroupsEntriesTagsService) List ¶
func (r *ProjectsLocationsEntryGroupsEntriesTagsService) List(parent string) *ProjectsLocationsEntryGroupsEntriesTagsListCall
List: Lists tags assigned to an Entry.
- parent: The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end).
func (*ProjectsLocationsEntryGroupsEntriesTagsService) Patch ¶
func (r *ProjectsLocationsEntryGroupsEntriesTagsService) Patch(nameid string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsEntriesTagsPatchCall
Patch: Updates an existing tag.
- name: The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.
type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall ¶
type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.entries.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. 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 (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsGetCall ¶
type ProjectsLocationsEntryGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsGetCall) Context ¶
func (c *ProjectsLocationsEntryGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsGetCall) Do ¶
func (c *ProjectsLocationsEntryGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
Do executes the "datacatalog.projects.locations.entryGroups.get" call. Exactly one of *GoogleCloudDatacatalogV1EntryGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1EntryGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsGetCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsGetCall) Header ¶
func (c *ProjectsLocationsEntryGroupsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsEntryGroupsGetCall) ReadMask ¶
func (c *ProjectsLocationsEntryGroupsGetCall) ReadMask(readMask string) *ProjectsLocationsEntryGroupsGetCall
ReadMask sets the optional parameter "readMask": The fields to return. If empty or omitted, all fields are returned.
type ProjectsLocationsEntryGroupsGetIamPolicyCall ¶
type ProjectsLocationsEntryGroupsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.entryGroups.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsEntryGroupsGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsListCall ¶
type ProjectsLocationsEntryGroupsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsListCall) Context ¶
func (c *ProjectsLocationsEntryGroupsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsListCall) Do ¶
func (c *ProjectsLocationsEntryGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListEntryGroupsResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.list" call. Exactly one of *GoogleCloudDatacatalogV1ListEntryGroupsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListEntryGroupsResponse.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsListCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsListCall) Header ¶
func (c *ProjectsLocationsEntryGroupsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsEntryGroupsListCall) PageSize ¶
func (c *ProjectsLocationsEntryGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return. Default is 10. Maximum limit is 1000. Throws an invalid argument if `page_size` is greater than 1000.
func (*ProjectsLocationsEntryGroupsListCall) PageToken ¶
func (c *ProjectsLocationsEntryGroupsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsListCall
PageToken sets the optional parameter "pageToken": Pagination token that specifies the next page to return. If empty, returns the first page.
func (*ProjectsLocationsEntryGroupsListCall) Pages ¶
func (c *ProjectsLocationsEntryGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListEntryGroupsResponse) 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 ProjectsLocationsEntryGroupsPatchCall ¶
type ProjectsLocationsEntryGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsPatchCall) Context ¶
func (c *ProjectsLocationsEntryGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsPatchCall) Do ¶
func (c *ProjectsLocationsEntryGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1EntryGroup, error)
Do executes the "datacatalog.projects.locations.entryGroups.patch" call. Exactly one of *GoogleCloudDatacatalogV1EntryGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1EntryGroup.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsPatchCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsPatchCall) Header ¶
func (c *ProjectsLocationsEntryGroupsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsEntryGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on an entry group. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
type ProjectsLocationsEntryGroupsService ¶
type ProjectsLocationsEntryGroupsService struct { Entries *ProjectsLocationsEntryGroupsEntriesService Tags *ProjectsLocationsEntryGroupsTagsService // contains filtered or unexported fields }
func NewProjectsLocationsEntryGroupsService ¶
func NewProjectsLocationsEntryGroupsService(s *Service) *ProjectsLocationsEntryGroupsService
func (*ProjectsLocationsEntryGroupsService) Create ¶
func (r *ProjectsLocationsEntryGroupsService) Create(parent string, googleclouddatacatalogv1entrygroup *GoogleCloudDatacatalogV1EntryGroup) *ProjectsLocationsEntryGroupsCreateCall
Create: Creates an entry group. An entry group contains logically related entries together with Cloud Identity and Access Management (/data-catalog/docs/concepts/iam) policies. These policies specify users who can create, edit, and view entries within entry groups. Data Catalog automatically creates entry groups with names that start with the `@` symbol for the following resources: * BigQuery entries (`@bigquery`) * Pub/Sub topics (`@pubsub`) * Dataproc Metastore services (`@dataproc_metastore_{SERVICE_NAME_HASH}`) You can create your own entry groups for Cloud Storage fileset entries and custom entries together with the corresponding IAM policies. User-created entry groups can't contain the `@` symbol, it is reserved for automatically created groups. Entry groups, like entries, can be searched. A maximum of 10,000 entry groups may be created per organization across all locations. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- parent: The names of the project and location that the new entry group belongs to. Note: The entry group itself and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsService) Delete ¶
func (r *ProjectsLocationsEntryGroupsService) Delete(name string) *ProjectsLocationsEntryGroupsDeleteCall
Delete: Deletes an entry group. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the entry group to delete.
func (*ProjectsLocationsEntryGroupsService) Get ¶
func (r *ProjectsLocationsEntryGroupsService) Get(name string) *ProjectsLocationsEntryGroupsGetCall
Get: Gets an entry group.
- name: The name of the entry group to get.
func (*ProjectsLocationsEntryGroupsService) GetIamPolicy ¶
func (r *ProjectsLocationsEntryGroupsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsEntryGroupsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
- resource: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsEntryGroupsService) List ¶
func (r *ProjectsLocationsEntryGroupsService) List(parent string) *ProjectsLocationsEntryGroupsListCall
List: Lists entry groups.
- parent: The name of the location that contains the entry groups to list. Can be provided as a URL.
func (*ProjectsLocationsEntryGroupsService) Patch ¶
func (r *ProjectsLocationsEntryGroupsService) Patch(name string, googleclouddatacatalogv1entrygroup *GoogleCloudDatacatalogV1EntryGroup) *ProjectsLocationsEntryGroupsPatchCall
Patch: Updates an entry group. You must enable the Data Catalog API in the project identified by the `entry_group.name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The resource name of the entry group in URL format. Note: The entry group itself and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsService) SetIamPolicy ¶
func (r *ProjectsLocationsEntryGroupsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsEntryGroupsSetIamPolicyCall
SetIamPolicy: Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
- resource: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsEntryGroupsService) TestIamPermissions ¶
func (r *ProjectsLocationsEntryGroupsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
TestIamPermissions: Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
- resource: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
type ProjectsLocationsEntryGroupsSetIamPolicyCall ¶
type ProjectsLocationsEntryGroupsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.entryGroups.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsEntryGroupsSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsTagsCreateCall ¶
type ProjectsLocationsEntryGroupsTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsTagsCreateCall) Context ¶
func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsTagsCreateCall) Do ¶
func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
Do executes the "datacatalog.projects.locations.entryGroups.tags.create" call. Exactly one of *GoogleCloudDatacatalogV1Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsTagsCreateCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsTagsCreateCall) Header ¶
func (c *ProjectsLocationsEntryGroupsTagsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsTagsDeleteCall ¶
type ProjectsLocationsEntryGroupsTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Context ¶
func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Do ¶
func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.entryGroups.tags.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Header ¶
func (c *ProjectsLocationsEntryGroupsTagsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsEntryGroupsTagsListCall ¶
type ProjectsLocationsEntryGroupsTagsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsTagsListCall) Context ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsTagsListCall) Do ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTagsResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.tags.list" call. Exactly one of *GoogleCloudDatacatalogV1ListTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsTagsListCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsTagsListCall) Header ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsTagsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEntryGroupsTagsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsEntryGroupsTagsListCall) PageSize ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) PageSize(pageSize int64) *ProjectsLocationsEntryGroupsTagsListCall
PageSize sets the optional parameter "pageSize": The maximum number of tags to return. Default is 10. Maximum limit is 1000.
func (*ProjectsLocationsEntryGroupsTagsListCall) PageToken ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) PageToken(pageToken string) *ProjectsLocationsEntryGroupsTagsListCall
PageToken sets the optional parameter "pageToken": Pagination token that specifies the next page to return. If empty, the first page is returned.
func (*ProjectsLocationsEntryGroupsTagsListCall) Pages ¶
func (c *ProjectsLocationsEntryGroupsTagsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListTagsResponse) 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 ProjectsLocationsEntryGroupsTagsPatchCall ¶
type ProjectsLocationsEntryGroupsTagsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsTagsPatchCall) Context ¶
func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTagsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsTagsPatchCall) Do ¶
func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Tag, error)
Do executes the "datacatalog.projects.locations.entryGroups.tags.patch" call. Exactly one of *GoogleCloudDatacatalogV1Tag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Tag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEntryGroupsTagsPatchCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTagsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsTagsPatchCall) Header ¶
func (c *ProjectsLocationsEntryGroupsTagsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsEntryGroupsTagsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsEntryGroupsTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsEntryGroupsTagsPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on a tag. Currently, a tag has the only modifiable field with the name `fields`. In general, if this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
type ProjectsLocationsEntryGroupsTagsService ¶
type ProjectsLocationsEntryGroupsTagsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsEntryGroupsTagsService ¶
func NewProjectsLocationsEntryGroupsTagsService(s *Service) *ProjectsLocationsEntryGroupsTagsService
func (*ProjectsLocationsEntryGroupsTagsService) Create ¶
func (r *ProjectsLocationsEntryGroupsTagsService) Create(parent string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsTagsCreateCall
Create: Creates a tag and assigns it to: * An Entry if the method name is “projects.locations.entryGroups.entries.tags.create“. * Or EntryGroupif the method name is “projects.locations.entryGroups.tags.create“. Note: The project identified by the `parent` parameter for the [tag] (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the [tag template] (https://cloud.google.com/data-catalog/docs/reference/rest/v1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be in the same organization.
- parent: The name of the resource to attach this tag to. Tags can be attached to entries or entry groups. An entry can have up to 1000 attached tags. Note: The tag and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsEntryGroupsTagsService) Delete ¶
func (r *ProjectsLocationsEntryGroupsTagsService) Delete(name string) *ProjectsLocationsEntryGroupsTagsDeleteCall
Delete: Deletes a tag.
- name: The name of the tag to delete.
func (*ProjectsLocationsEntryGroupsTagsService) List ¶
func (r *ProjectsLocationsEntryGroupsTagsService) List(parent string) *ProjectsLocationsEntryGroupsTagsListCall
List: Lists tags assigned to an Entry.
- parent: The name of the Data Catalog resource to list the tags of. The resource can be an Entry or an EntryGroup (without `/entries/{entries}` at the end).
func (*ProjectsLocationsEntryGroupsTagsService) Patch ¶
func (r *ProjectsLocationsEntryGroupsTagsService) Patch(nameid string, googleclouddatacatalogv1tag *GoogleCloudDatacatalogV1Tag) *ProjectsLocationsEntryGroupsTagsPatchCall
Patch: Updates an existing tag.
- name: The resource name of the tag in URL format where tag ID is a system-generated identifier. Note: The tag itself might not be stored in the location specified in its name.
type ProjectsLocationsEntryGroupsTestIamPermissionsCall ¶
type ProjectsLocationsEntryGroupsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "datacatalog.projects.locations.entryGroups.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. 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 (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEntryGroupsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { EntryGroups *ProjectsLocationsEntryGroupsService TagTemplates *ProjectsLocationsTagTemplatesService Taxonomies *ProjectsLocationsTaxonomiesService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
type ProjectsLocationsTagTemplatesCreateCall ¶
type ProjectsLocationsTagTemplatesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesCreateCall) Context ¶
func (c *ProjectsLocationsTagTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesCreateCall) Do ¶
func (c *ProjectsLocationsTagTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
Do executes the "datacatalog.projects.locations.tagTemplates.create" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesCreateCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesCreateCall) Header ¶
func (c *ProjectsLocationsTagTemplatesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTagTemplatesCreateCall) TagTemplateId ¶
func (c *ProjectsLocationsTagTemplatesCreateCall) TagTemplateId(tagTemplateId string) *ProjectsLocationsTagTemplatesCreateCall
TagTemplateId sets the optional parameter "tagTemplateId": Required. The ID of the tag template to create. The ID must contain only lowercase letters (a-z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum size is 64 bytes when encoded in UTF-8.
type ProjectsLocationsTagTemplatesDeleteCall ¶
type ProjectsLocationsTagTemplatesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesDeleteCall) Context ¶
func (c *ProjectsLocationsTagTemplatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesDeleteCall) Do ¶
func (c *ProjectsLocationsTagTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.tagTemplates.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesDeleteCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesDeleteCall) Force ¶
func (c *ProjectsLocationsTagTemplatesDeleteCall) Force(force bool) *ProjectsLocationsTagTemplatesDeleteCall
Force sets the optional parameter "force": Required. If true, deletes all tags that use this template. Currently, `true` is the only supported value.
func (*ProjectsLocationsTagTemplatesDeleteCall) Header ¶
func (c *ProjectsLocationsTagTemplatesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesFieldsCreateCall ¶
type ProjectsLocationsTagTemplatesFieldsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Context ¶
func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Do ¶
func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
Do executes the "datacatalog.projects.locations.tagTemplates.fields.create" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplateField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplateField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Header ¶
func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTagTemplatesFieldsCreateCall) TagTemplateFieldId ¶
func (c *ProjectsLocationsTagTemplatesFieldsCreateCall) TagTemplateFieldId(tagTemplateFieldId string) *ProjectsLocationsTagTemplatesFieldsCreateCall
TagTemplateFieldId sets the optional parameter "tagTemplateFieldId": Required. The ID of the tag template field to create. Note: Adding a required field to an existing template is *not* allowed. Field IDs can contain letters (both uppercase and lowercase), numbers (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 character long and at most 128 characters long. Field IDs must also be unique within their template.
type ProjectsLocationsTagTemplatesFieldsDeleteCall ¶
type ProjectsLocationsTagTemplatesFieldsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Context ¶
func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Do ¶
func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.tagTemplates.fields.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Force ¶
func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Force(force bool) *ProjectsLocationsTagTemplatesFieldsDeleteCall
Force sets the optional parameter "force": Required. If true, deletes this field from any tags that use it. Currently, `true` is the only supported value.
func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Header ¶
func (c *ProjectsLocationsTagTemplatesFieldsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall ¶
type ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Context ¶
func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Do ¶
func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
Do executes the "datacatalog.projects.locations.tagTemplates.fields.enumValues.rename" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplateField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplateField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header ¶
func (c *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesFieldsEnumValuesService ¶
type ProjectsLocationsTagTemplatesFieldsEnumValuesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTagTemplatesFieldsEnumValuesService ¶
func NewProjectsLocationsTagTemplatesFieldsEnumValuesService(s *Service) *ProjectsLocationsTagTemplatesFieldsEnumValuesService
func (*ProjectsLocationsTagTemplatesFieldsEnumValuesService) Rename ¶
func (r *ProjectsLocationsTagTemplatesFieldsEnumValuesService) Rename(name string, googleclouddatacatalogv1renametagtemplatefieldenumvaluerequest *GoogleCloudDatacatalogV1RenameTagTemplateFieldEnumValueRequest) *ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall
Rename: Renames an enum value in a tag template. Within a single enum field, enum values must be unique.
- name: The name of the enum field value.
type ProjectsLocationsTagTemplatesFieldsPatchCall ¶
type ProjectsLocationsTagTemplatesFieldsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Context ¶
func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Do ¶
func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
Do executes the "datacatalog.projects.locations.tagTemplates.fields.patch" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplateField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplateField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Header ¶
func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTagTemplatesFieldsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsTagTemplatesFieldsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTagTemplatesFieldsPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on an individual field of a tag template. The following fields are modifiable: * `display_name` * `type.enum_type` * `is_required` If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied with one exception: when updating an enum type, the provided values are merged with the existing values. Therefore, enum values can only be added, existing enum values cannot be deleted or renamed. Additionally, updating a template field from optional to required is *not* allowed.
type ProjectsLocationsTagTemplatesFieldsRenameCall ¶
type ProjectsLocationsTagTemplatesFieldsRenameCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Context ¶
func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesFieldsRenameCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Do ¶
func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplateField, error)
Do executes the "datacatalog.projects.locations.tagTemplates.fields.rename" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplateField or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplateField.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesFieldsRenameCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Header ¶
func (c *ProjectsLocationsTagTemplatesFieldsRenameCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesFieldsService ¶
type ProjectsLocationsTagTemplatesFieldsService struct { EnumValues *ProjectsLocationsTagTemplatesFieldsEnumValuesService // contains filtered or unexported fields }
func NewProjectsLocationsTagTemplatesFieldsService ¶
func NewProjectsLocationsTagTemplatesFieldsService(s *Service) *ProjectsLocationsTagTemplatesFieldsService
func (*ProjectsLocationsTagTemplatesFieldsService) Create ¶
func (r *ProjectsLocationsTagTemplatesFieldsService) Create(parent string, googleclouddatacatalogv1tagtemplatefield *GoogleCloudDatacatalogV1TagTemplateField) *ProjectsLocationsTagTemplatesFieldsCreateCall
Create: Creates a field in a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- parent: The name of the project and the template location region (https://cloud.google.com/data-catalog/docs/concepts/regions).
func (*ProjectsLocationsTagTemplatesFieldsService) Delete ¶
func (r *ProjectsLocationsTagTemplatesFieldsService) Delete(name string) *ProjectsLocationsTagTemplatesFieldsDeleteCall
Delete: Deletes a field in a tag template and all uses of this field from the tags based on this template. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the tag template field to delete.
func (*ProjectsLocationsTagTemplatesFieldsService) Patch ¶
func (r *ProjectsLocationsTagTemplatesFieldsService) Patch(name string, googleclouddatacatalogv1tagtemplatefield *GoogleCloudDatacatalogV1TagTemplateField) *ProjectsLocationsTagTemplatesFieldsPatchCall
Patch: Updates a field in a tag template. You can't update the field type with this method. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the tag template field.
func (*ProjectsLocationsTagTemplatesFieldsService) Rename ¶
func (r *ProjectsLocationsTagTemplatesFieldsService) Rename(name string, googleclouddatacatalogv1renametagtemplatefieldrequest *GoogleCloudDatacatalogV1RenameTagTemplateFieldRequest) *ProjectsLocationsTagTemplatesFieldsRenameCall
Rename: Renames a field in a tag template. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see [Data Catalog resource project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the tag template.
type ProjectsLocationsTagTemplatesGetCall ¶
type ProjectsLocationsTagTemplatesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesGetCall) Context ¶
func (c *ProjectsLocationsTagTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesGetCall) Do ¶
func (c *ProjectsLocationsTagTemplatesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
Do executes the "datacatalog.projects.locations.tagTemplates.get" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesGetCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesGetCall) Header ¶
func (c *ProjectsLocationsTagTemplatesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTagTemplatesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsTagTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTagTemplatesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsTagTemplatesGetIamPolicyCall ¶
type ProjectsLocationsTagTemplatesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.tagTemplates.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTagTemplatesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesPatchCall ¶
type ProjectsLocationsTagTemplatesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesPatchCall) Context ¶
func (c *ProjectsLocationsTagTemplatesPatchCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesPatchCall) Do ¶
func (c *ProjectsLocationsTagTemplatesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1TagTemplate, error)
Do executes the "datacatalog.projects.locations.tagTemplates.patch" call. Exactly one of *GoogleCloudDatacatalogV1TagTemplate or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1TagTemplate.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTagTemplatesPatchCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesPatchCall) Header ¶
func (c *ProjectsLocationsTagTemplatesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTagTemplatesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsTagTemplatesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTagTemplatesPatchCall
UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on a tag template. Currently, only `display_name` can be overwritten. If this parameter is absent or empty, all modifiable fields are overwritten. If such fields are non-required and omitted in the request body, their values are emptied.
type ProjectsLocationsTagTemplatesService ¶
type ProjectsLocationsTagTemplatesService struct { Fields *ProjectsLocationsTagTemplatesFieldsService // contains filtered or unexported fields }
func NewProjectsLocationsTagTemplatesService ¶
func NewProjectsLocationsTagTemplatesService(s *Service) *ProjectsLocationsTagTemplatesService
func (*ProjectsLocationsTagTemplatesService) Create ¶
func (r *ProjectsLocationsTagTemplatesService) Create(parent string, googleclouddatacatalogv1tagtemplate *GoogleCloudDatacatalogV1TagTemplate) *ProjectsLocationsTagTemplatesCreateCall
Create: Creates a tag template. You must enable the Data Catalog API in the project identified by the `parent` parameter. For more information, see [Data Catalog resource project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- parent: The name of the project and the template location region (https://cloud.google.com/data-catalog/docs/concepts/regions).
func (*ProjectsLocationsTagTemplatesService) Delete ¶
func (r *ProjectsLocationsTagTemplatesService) Delete(name string) *ProjectsLocationsTagTemplatesDeleteCall
Delete: Deletes a tag template and all tags that use it. You must enable the Data Catalog API in the project identified by the `name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The name of the tag template to delete.
func (*ProjectsLocationsTagTemplatesService) Get ¶
func (r *ProjectsLocationsTagTemplatesService) Get(name string) *ProjectsLocationsTagTemplatesGetCall
Get: Gets a tag template.
- name: The name of the tag template to get.
func (*ProjectsLocationsTagTemplatesService) GetIamPolicy ¶
func (r *ProjectsLocationsTagTemplatesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTagTemplatesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. May return: * A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it. * An empty policy if the resource exists but doesn't have a set policy. Supported resources are: - Tag templates - Entry groups Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.
- resource: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTagTemplatesService) Patch ¶
func (r *ProjectsLocationsTagTemplatesService) Patch(name string, googleclouddatacatalogv1tagtemplate *GoogleCloudDatacatalogV1TagTemplate) *ProjectsLocationsTagTemplatesPatchCall
Patch: Updates a tag template. You can't update template fields with this method. These fields are separate resources with their own create, update, and delete methods. You must enable the Data Catalog API in the project identified by the `tag_template.name` parameter. For more information, see Data Catalog resource project (https://cloud.google.com/data-catalog/docs/concepts/resource-project).
- name: The resource name of the tag template in URL format. Note: The tag template itself and its child resources might not be stored in the location specified in its name.
func (*ProjectsLocationsTagTemplatesService) SetIamPolicy ¶
func (r *ProjectsLocationsTagTemplatesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTagTemplatesSetIamPolicyCall
SetIamPolicy: Sets an access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates - Entry groups Note: This method sets policies only within Data Catalog and can't be used to manage policies in BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources synced with the Data Catalog. To call this method, you must have the following Google IAM permissions: - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.
- resource: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTagTemplatesService) TestIamPermissions ¶
func (r *ProjectsLocationsTagTemplatesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
TestIamPermissions: Gets your permissions on a resource. Returns an empty set of permissions if the resource doesn't exist. Supported resources are: - Tag templates - Entry groups Note: This method gets policies only within Data Catalog and can't be used to get policies from BigQuery, Pub/Sub, Dataproc Metastore, and any external Google Cloud Platform resources ingested into Data Catalog. No Google IAM permissions are required to call this method.
- resource: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
type ProjectsLocationsTagTemplatesSetIamPolicyCall ¶
type ProjectsLocationsTagTemplatesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.tagTemplates.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTagTemplatesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTagTemplatesTestIamPermissionsCall ¶
type ProjectsLocationsTagTemplatesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "datacatalog.projects.locations.tagTemplates.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. 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 (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTagTemplatesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesCreateCall ¶
type ProjectsLocationsTaxonomiesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesCreateCall) Context ¶
func (c *ProjectsLocationsTaxonomiesCreateCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesCreateCall) Do ¶
func (c *ProjectsLocationsTaxonomiesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
Do executes the "datacatalog.projects.locations.taxonomies.create" call. Exactly one of *GoogleCloudDatacatalogV1Taxonomy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Taxonomy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesCreateCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesCreateCall) Header ¶
func (c *ProjectsLocationsTaxonomiesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesDeleteCall ¶
type ProjectsLocationsTaxonomiesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesDeleteCall) Context ¶
func (c *ProjectsLocationsTaxonomiesDeleteCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesDeleteCall) Do ¶
func (c *ProjectsLocationsTaxonomiesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.taxonomies.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesDeleteCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesDeleteCall) Header ¶
func (c *ProjectsLocationsTaxonomiesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesExportCall ¶
type ProjectsLocationsTaxonomiesExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesExportCall) Context ¶
func (c *ProjectsLocationsTaxonomiesExportCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesExportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesExportCall) Do ¶
func (c *ProjectsLocationsTaxonomiesExportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ExportTaxonomiesResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.export" call. Exactly one of *GoogleCloudDatacatalogV1ExportTaxonomiesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ExportTaxonomiesResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesExportCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesExportCall) Header ¶
func (c *ProjectsLocationsTaxonomiesExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesExportCall) IfNoneMatch ¶
func (c *ProjectsLocationsTaxonomiesExportCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesExportCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsTaxonomiesExportCall) SerializedTaxonomies ¶
func (c *ProjectsLocationsTaxonomiesExportCall) SerializedTaxonomies(serializedTaxonomies bool) *ProjectsLocationsTaxonomiesExportCall
SerializedTaxonomies sets the optional parameter "serializedTaxonomies": Serialized export taxonomies that contain all the policy tags as nested protocol buffers.
func (*ProjectsLocationsTaxonomiesExportCall) Taxonomies ¶
func (c *ProjectsLocationsTaxonomiesExportCall) Taxonomies(taxonomies ...string) *ProjectsLocationsTaxonomiesExportCall
Taxonomies sets the optional parameter "taxonomies": Required. Resource names of the taxonomies to export.
type ProjectsLocationsTaxonomiesGetCall ¶
type ProjectsLocationsTaxonomiesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesGetCall) Context ¶
func (c *ProjectsLocationsTaxonomiesGetCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesGetCall) Do ¶
func (c *ProjectsLocationsTaxonomiesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
Do executes the "datacatalog.projects.locations.taxonomies.get" call. Exactly one of *GoogleCloudDatacatalogV1Taxonomy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Taxonomy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesGetCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesGetCall) Header ¶
func (c *ProjectsLocationsTaxonomiesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsTaxonomiesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsTaxonomiesGetIamPolicyCall ¶
type ProjectsLocationsTaxonomiesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.taxonomies.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTaxonomiesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesImportCall ¶
type ProjectsLocationsTaxonomiesImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesImportCall) Context ¶
func (c *ProjectsLocationsTaxonomiesImportCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesImportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesImportCall) Do ¶
func (c *ProjectsLocationsTaxonomiesImportCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ImportTaxonomiesResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.import" call. Exactly one of *GoogleCloudDatacatalogV1ImportTaxonomiesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ImportTaxonomiesResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesImportCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesImportCall) Header ¶
func (c *ProjectsLocationsTaxonomiesImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesListCall ¶
type ProjectsLocationsTaxonomiesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesListCall) Context ¶
func (c *ProjectsLocationsTaxonomiesListCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesListCall) Do ¶
func (c *ProjectsLocationsTaxonomiesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListTaxonomiesResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.list" call. Exactly one of *GoogleCloudDatacatalogV1ListTaxonomiesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListTaxonomiesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesListCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesListCall) Header ¶
func (c *ProjectsLocationsTaxonomiesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsTaxonomiesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsTaxonomiesListCall) PageSize ¶
func (c *ProjectsLocationsTaxonomiesListCall) PageSize(pageSize int64) *ProjectsLocationsTaxonomiesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.
func (*ProjectsLocationsTaxonomiesListCall) PageToken ¶
func (c *ProjectsLocationsTaxonomiesListCall) PageToken(pageToken string) *ProjectsLocationsTaxonomiesListCall
PageToken sets the optional parameter "pageToken": The pagination token of the next results page. If not set, the first page is returned. The token is returned in the response to a previous list request.
func (*ProjectsLocationsTaxonomiesListCall) Pages ¶
func (c *ProjectsLocationsTaxonomiesListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListTaxonomiesResponse) 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 ProjectsLocationsTaxonomiesPatchCall ¶
type ProjectsLocationsTaxonomiesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPatchCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPatchCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPatchCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
Do executes the "datacatalog.projects.locations.taxonomies.patch" call. Exactly one of *GoogleCloudDatacatalogV1Taxonomy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Taxonomy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPatchCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPatchCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsTaxonomiesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTaxonomiesPatchCall
UpdateMask sets the optional parameter "updateMask": Specifies fields to update. If not set, defaults to all fields you can update. For more information, see [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
type ProjectsLocationsTaxonomiesPolicyTagsCreateCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.create" call. Exactly one of *GoogleCloudDatacatalogV1PolicyTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1PolicyTag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesPolicyTagsDeleteCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesPolicyTagsGetCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.get" call. Exactly one of *GoogleCloudDatacatalogV1PolicyTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1PolicyTag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesPolicyTagsListCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1ListPolicyTagsResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.list" call. Exactly one of *GoogleCloudDatacatalogV1ListPolicyTagsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1ListPolicyTagsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) PageSize ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) PageSize(pageSize int64) *ProjectsLocationsTaxonomiesPolicyTagsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return. Must be a value between 1 and 1000 inclusively. If not set, defaults to 50.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) PageToken ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) PageToken(pageToken string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
PageToken sets the optional parameter "pageToken": The pagination token of the next results page. If not set, returns the first page. The token is returned in the response to a previous list request.
func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Pages ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsListCall) Pages(ctx context.Context, f func(*GoogleCloudDatacatalogV1ListPolicyTagsResponse) 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 ProjectsLocationsTaxonomiesPolicyTagsPatchCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1PolicyTag, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.patch" call. Exactly one of *GoogleCloudDatacatalogV1PolicyTag or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1PolicyTag.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
UpdateMask sets the optional parameter "updateMask": Specifies the fields to update. You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see [FieldMask] (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask).
type ProjectsLocationsTaxonomiesPolicyTagsService ¶
type ProjectsLocationsTaxonomiesPolicyTagsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTaxonomiesPolicyTagsService ¶
func NewProjectsLocationsTaxonomiesPolicyTagsService(s *Service) *ProjectsLocationsTaxonomiesPolicyTagsService
func (*ProjectsLocationsTaxonomiesPolicyTagsService) Create ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Create(parent string, googleclouddatacatalogv1policytag *GoogleCloudDatacatalogV1PolicyTag) *ProjectsLocationsTaxonomiesPolicyTagsCreateCall
Create: Creates a policy tag in a taxonomy.
- parent: Resource name of the taxonomy that the policy tag will belong to.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) Delete ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Delete(name string) *ProjectsLocationsTaxonomiesPolicyTagsDeleteCall
Delete: Deletes a policy tag together with the following: * All of its descendant policy tags, if any * Policies associated with the policy tag and its descendants * References from BigQuery table schema of the policy tag and its descendants
- name: Resource name of the policy tag to delete. Note: All of its descendant policy tags are also deleted.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) Get ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Get(name string) *ProjectsLocationsTaxonomiesPolicyTagsGetCall
Get: Gets a policy tag.
- name: Resource name of the policy tag.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall
GetIamPolicy: Gets the IAM policy for a policy tag or a taxonomy.
- resource: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) List ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) List(parent string) *ProjectsLocationsTaxonomiesPolicyTagsListCall
List: Lists all policy tags in a taxonomy.
- parent: Resource name of the taxonomy to list the policy tags of.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) Patch ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) Patch(name string, googleclouddatacatalogv1policytag *GoogleCloudDatacatalogV1PolicyTag) *ProjectsLocationsTaxonomiesPolicyTagsPatchCall
Patch: Updates a policy tag, including its display name, description, and parent policy tag.
- name: Output only. Resource name of this policy tag in the URL format. The policy tag manager generates unique taxonomy IDs and policy tag IDs.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
SetIamPolicy: Sets the IAM policy for a policy tag or a taxonomy.
- resource: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions ¶
func (r *ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
TestIamPermissions: Returns your permissions on a specified policy tag or taxonomy.
- resource: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall ¶
type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.policyTags.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesReplaceCall ¶
type ProjectsLocationsTaxonomiesReplaceCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesReplaceCall) Context ¶
func (c *ProjectsLocationsTaxonomiesReplaceCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesReplaceCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesReplaceCall) Do ¶
func (c *ProjectsLocationsTaxonomiesReplaceCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDatacatalogV1Taxonomy, error)
Do executes the "datacatalog.projects.locations.taxonomies.replace" call. Exactly one of *GoogleCloudDatacatalogV1Taxonomy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1Taxonomy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTaxonomiesReplaceCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesReplaceCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesReplaceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesReplaceCall) Header ¶
func (c *ProjectsLocationsTaxonomiesReplaceCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesService ¶
type ProjectsLocationsTaxonomiesService struct { PolicyTags *ProjectsLocationsTaxonomiesPolicyTagsService // contains filtered or unexported fields }
func NewProjectsLocationsTaxonomiesService ¶
func NewProjectsLocationsTaxonomiesService(s *Service) *ProjectsLocationsTaxonomiesService
func (*ProjectsLocationsTaxonomiesService) Create ¶
func (r *ProjectsLocationsTaxonomiesService) Create(parent string, googleclouddatacatalogv1taxonomy *GoogleCloudDatacatalogV1Taxonomy) *ProjectsLocationsTaxonomiesCreateCall
Create: Creates a taxonomy in a specified project. The taxonomy is initially empty, that is, it doesn't contain policy tags.
- parent: Resource name of the project that the taxonomy will belong to.
func (*ProjectsLocationsTaxonomiesService) Delete ¶
func (r *ProjectsLocationsTaxonomiesService) Delete(name string) *ProjectsLocationsTaxonomiesDeleteCall
Delete: Deletes a taxonomy, including all policy tags in this taxonomy, their associated policies, and the policy tags references from BigQuery columns.
- name: Resource name of the taxonomy to delete. Note: All policy tags in this taxonomy are also deleted.
func (*ProjectsLocationsTaxonomiesService) Export ¶
func (r *ProjectsLocationsTaxonomiesService) Export(parent string) *ProjectsLocationsTaxonomiesExportCall
Export: Exports taxonomies in the requested type and returns them, including their policy tags. The requested taxonomies must belong to the same project. This method generates `SerializedTaxonomy` protocol buffers with nested policy tags that can be used as input for `ImportTaxonomies` calls.
- parent: Resource name of the project that the exported taxonomies belong to.
func (*ProjectsLocationsTaxonomiesService) Get ¶
func (r *ProjectsLocationsTaxonomiesService) Get(name string) *ProjectsLocationsTaxonomiesGetCall
Get: Gets a taxonomy.
- name: Resource name of the taxonomy to get.
func (*ProjectsLocationsTaxonomiesService) GetIamPolicy ¶
func (r *ProjectsLocationsTaxonomiesService) GetIamPolicy(resource string, getiampolicyrequest *GetIamPolicyRequest) *ProjectsLocationsTaxonomiesGetIamPolicyCall
GetIamPolicy: Gets the IAM policy for a policy tag or a taxonomy.
- resource: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTaxonomiesService) Import ¶
func (r *ProjectsLocationsTaxonomiesService) Import(parent string, googleclouddatacatalogv1importtaxonomiesrequest *GoogleCloudDatacatalogV1ImportTaxonomiesRequest) *ProjectsLocationsTaxonomiesImportCall
Import: Creates new taxonomies (including their policy tags) in a given project by importing from inlined or cross-regional sources. For a cross-regional source, new taxonomies are created by copying from a source in another region. For an inlined source, taxonomies and policy tags are created in bulk using nested protocol buffer structures.
- parent: Resource name of project that the imported taxonomies will belong to.
func (*ProjectsLocationsTaxonomiesService) List ¶
func (r *ProjectsLocationsTaxonomiesService) List(parent string) *ProjectsLocationsTaxonomiesListCall
List: Lists all taxonomies in a project in a particular location that you have a permission to view.
- parent: Resource name of the project to list the taxonomies of.
func (*ProjectsLocationsTaxonomiesService) Patch ¶
func (r *ProjectsLocationsTaxonomiesService) Patch(name string, googleclouddatacatalogv1taxonomy *GoogleCloudDatacatalogV1Taxonomy) *ProjectsLocationsTaxonomiesPatchCall
Patch: Updates a taxonomy, including its display name, description, and activated policy types.
- name: Output only. Resource name of this taxonomy in URL format. Note: Policy tag manager generates unique taxonomy IDs.
func (*ProjectsLocationsTaxonomiesService) Replace ¶
func (r *ProjectsLocationsTaxonomiesService) Replace(name string, googleclouddatacatalogv1replacetaxonomyrequest *GoogleCloudDatacatalogV1ReplaceTaxonomyRequest) *ProjectsLocationsTaxonomiesReplaceCall
Replace: Replaces (updates) a taxonomy and all its policy tags. The taxonomy and its entire hierarchy of policy tags must be represented literally by `SerializedTaxonomy` and the nested `SerializedPolicyTag` messages. This operation automatically does the following: - Deletes the existing policy tags that are missing from the `SerializedPolicyTag`. - Creates policy tags that don't have resource names. They are considered new. - Updates policy tags with valid resources names accordingly.
- name: Resource name of the taxonomy to update.
func (*ProjectsLocationsTaxonomiesService) SetIamPolicy ¶
func (r *ProjectsLocationsTaxonomiesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTaxonomiesSetIamPolicyCall
SetIamPolicy: Sets the IAM policy for a policy tag or a taxonomy.
- resource: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
func (*ProjectsLocationsTaxonomiesService) TestIamPermissions ¶
func (r *ProjectsLocationsTaxonomiesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
TestIamPermissions: Returns your permissions on a specified policy tag or taxonomy.
- resource: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
type ProjectsLocationsTaxonomiesSetIamPolicyCall ¶
type ProjectsLocationsTaxonomiesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "datacatalog.projects.locations.taxonomies.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTaxonomiesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTaxonomiesTestIamPermissionsCall ¶
type ProjectsLocationsTaxonomiesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "datacatalog.projects.locations.taxonomies.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. 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 (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTaxonomiesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Catalog *CatalogService Entries *EntriesService Projects *ProjectsService // 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 ¶
NewService creates a new Service.
type SetIamPolicyRequest ¶
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 Cloud Platform services // (such as Projects) might reject them. Policy *Policy `json:"policy,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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (*SetIamPolicyRequest) MarshalJSON ¶
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsRequest ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (*TestIamPermissionsRequest) MarshalJSON ¶
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶
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. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
func (*TestIamPermissionsResponse) MarshalJSON ¶
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error)