datacatalog

package
v0.192.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

Package datacatalog provides access to the Google Cloud Data Catalog API.

For product documentation, see: https://cloud.google.com/data-catalog/docs/

Library status

These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.

When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/datacatalog/v1beta1"
...
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 google.golang.org/api/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 google.golang.org/api/option.WithTokenSource:

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

See google.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
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 principals in this binding. To learn
	// which resources support conditions in their IAM policies, see the IAM
	// documentation
	// (https://cloud.google.com/iam/help/conditions/resource-policies).
	Condition *Expr `json:"condition,omitempty"`
	// Members: Specifies the principals requesting access for a Google Cloud
	// resource. `members` can have the following values: * `allUsers`: A special
	// identifier that represents anyone who is on the internet; with or without a
	// Google account. * `allAuthenticatedUsers`: A special identifier that
	// represents anyone who is authenticated with a Google account or a service
	// account. Does not include identities that come from external identity
	// providers (IdPs) through identity federation. * `user:{emailid}`: An email
	// address that represents a specific Google account. For example,
	// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that
	// represents a Google service account. For example,
	// `my-other-app@appspot.gserviceaccount.com`. *
	// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An
	// identifier for a Kubernetes service account
	// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).
	// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *
	// `group:{emailid}`: An email address that represents a Google group. For
	// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain
	// (primary) that represents all the users of that domain. For example,
	// `google.com` or `example.com`. *
	// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub
	// ject/{subject_attribute_value}`: A single identity in a workforce identity
	// pool. *
	// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/
	// group/{group_id}`: All workforce identities in a group. *
	// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/
	// attribute.{attribute_name}/{attribute_value}`: All workforce identities with
	// a specific attribute value. *
	// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/
	// *`: All identities in a workforce identity pool. *
	// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo
	// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single
	// identity in a workload identity pool. *
	// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global
	// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool
	// group. *
	// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global
	// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}
	// `: All identities in a workload identity pool with a certain attribute. *
	// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global
	// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity
	// pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus
	// unique identifier) representing a user that has been recently deleted. For
	// example, `alice@example.com?uid=123456789012345678901`. If the user is
	// recovered, this value reverts to `user:{emailid}` and the recovered user
	// retains the role in the binding. *
	// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus
	// unique identifier) representing a service account that has been recently
	// deleted. For example,
	// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
	// service account is undeleted, this value reverts to
	// `serviceAccount:{emailid}` and the undeleted service account retains the
	// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email
	// address (plus unique identifier) representing a Google group that has been
	// recently deleted. For example,
	// `admins@example.com?uid=123456789012345678901`. If the group is recovered,
	// this value reverts to `group:{emailid}` and the recovered group retains the
	// role in the binding. *
	// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool
	// _id}/subject/{subject_attribute_value}`: Deleted single identity in a
	// workforce identity pool. For example,
	// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po
	// ol-id/subject/my-subject-attribute-value`.
	Members []string `json:"members,omitempty"`
	// Role: Role that is assigned to the list of `members`, or principals. For
	// example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview
	// of the IAM roles and permissions, see the IAM documentation
	// (https://cloud.google.com/iam/docs/roles-overview). For a list of the
	// available pre-defined roles, see here
	// (https://cloud.google.com/iam/docs/understanding-roles).
	Role string `json:"role,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Condition") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Condition") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Binding: Associates `members`, or principals, with a `role`.

func (Binding) MarshalJSON

func (s Binding) MarshalJSON() ([]byte, error)

type CatalogSearchCall

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

func (*CatalogSearchCall) Context

Context sets the context to be used in this call's Do method.

func (*CatalogSearchCall) Do

Do executes the "datacatalog.catalog.search" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1SearchCatalogResponse.ServerResponse.Header or (if a response was 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

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

func (*CatalogSearchCall) Header

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

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

func (*CatalogSearchCall) Pages

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

type CatalogService

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

func NewCatalogService

func NewCatalogService(s *Service) *CatalogService

func (*CatalogService) Search

func (r *CatalogService) Search(googleclouddatacatalogv1beta1searchcatalogrequest *GoogleCloudDatacatalogV1beta1SearchCatalogRequest) *CatalogSearchCall

Search: Searches Data Catalog for multiple resources like entries, tags that match a query. This is a custom method (https://cloud.google.com/apis/design/custom_methods) and does not return the complete resource, only the resource identifier and high level fields. Clients can subsequently call `Get` methods. Note that Data Catalog search queries do not guarantee full recall. Query results that match your query may not be returned, even in subsequent result pages. Also note that results returned (and not returned) can vary across repeated search queries. See Data Catalog Search Syntax (https://cloud.google.com/data-catalog/docs/how-to/search-reference) for more information.

type Empty

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

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

type EntriesLookupCall

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

func (*EntriesLookupCall) Context

Context sets the context to be used in this call's Do method.

func (*EntriesLookupCall) Do

Do executes the "datacatalog.entries.lookup" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Entry.ServerResponse.Header or (if a response was 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

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

func (*EntriesLookupCall) Header

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

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

func (*EntriesLookupCall) IfNoneMatch

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

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*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. See: https://cloud.google.com/apis/design/resource_names#full_resource_name. Full names are case-sensitive. Examples: * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableI d * //pubsub.googleapis.com/projects/projectId/topics/topicId

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.project_id.topic_id` * “pubsub.project_id.`topic.id.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` `*_id`s should satisfy the standard SQL rules for identifiers. 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: Get an entry by target resource name. This method allows clients to use the resource name from the source Google Cloud Platform service to get the Data Catalog Entry.

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Description") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

func (Expr) MarshalJSON

func (s Expr) MarshalJSON() ([]byte, error)

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Options") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GetIamPolicyRequest: Request message for `GetIamPolicy` method.

func (GetIamPolicyRequest) MarshalJSON

func (s GetIamPolicyRequest) MarshalJSON() ([]byte, error)

type GetPolicyOptions

type GetPolicyOptions struct {
	// RequestedPolicyVersion: Optional. The maximum policy version that will be
	// used to format the policy. Valid values are 0, 1, and 3. Requests specifying
	// an invalid value will be rejected. Requests for policies with any
	// conditional role bindings must specify version 3. Policies with no
	// conditional role bindings may specify any valid value or leave the field
	// unset. The policy in the response might use the policy version that you
	// specified, or it might use a lower policy version. For example, if you
	// specify version 3, but the policy has no conditional role bindings, the
	// response uses version 1. To learn which resources support conditions in
	// their IAM policies, see the IAM documentation
	// (https://cloud.google.com/iam/help/conditions/resource-policies).
	RequestedPolicyVersion int64 `json:"requestedPolicyVersion,omitempty"`
	// ForceSendFields is a list of field names (e.g. "RequestedPolicyVersion") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "RequestedPolicyVersion") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GetPolicyOptions: Encapsulates settings provided to GetIamPolicy.

func (GetPolicyOptions) MarshalJSON

func (s GetPolicyOptions) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1BigQueryConnectionSpec added in v0.112.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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CloudSql") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1BigQueryConnectionSpec: Specification for the BigQuery connection.

func (GoogleCloudDatacatalogV1BigQueryConnectionSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1BigQueryDateShardedSpec added in v0.112.0

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_ID}/entr
	// ies/{ENTRY_ID}`.
	Dataset string `json:"dataset,omitempty"`
	// LatestShardResource: Output only. BigQuery resource name of the latest
	// shard.
	LatestShardResource string `json:"latestShardResource,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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Dataset") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 added in v0.112.0

type GoogleCloudDatacatalogV1BigQueryRoutineSpec added in v0.112.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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ImportedLibraries") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1BigQueryRoutineSpec: Fields specific for BigQuery routines.

func (GoogleCloudDatacatalogV1BigQueryRoutineSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1BigQueryTableSpec added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "TableSourceType") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1BigQueryTableSpec: Describes a BigQuery table.

func (GoogleCloudDatacatalogV1BigQueryTableSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1BusinessContext added in v0.112.0

type GoogleCloudDatacatalogV1BusinessContext struct {
	// Contacts: Contact people for the entry.
	Contacts *GoogleCloudDatacatalogV1Contacts `json:"contacts,omitempty"`
	// EntryOverview: Entry overview fields for rich text descriptions of entries.
	EntryOverview *GoogleCloudDatacatalogV1EntryOverview `json:"entryOverview,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Contacts") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Contacts") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1BusinessContext: Business Context of the entry.

func (GoogleCloudDatacatalogV1BusinessContext) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1BusinessContext) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1CloudBigtableInstanceSpec added in v0.115.0

type GoogleCloudDatacatalogV1CloudBigtableInstanceSpec struct {
	// CloudBigtableClusterSpecs: The list of clusters for the Instance.
	CloudBigtableClusterSpecs []*GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec `json:"cloudBigtableClusterSpecs,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CloudBigtableClusterSpecs")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CloudBigtableClusterSpecs") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1CloudBigtableInstanceSpec: Specification that applies to Instance entries that are part of `CLOUD_BIGTABLE` system. (user_specified_type)

func (GoogleCloudDatacatalogV1CloudBigtableInstanceSpec) MarshalJSON added in v0.115.0

type GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec added in v0.115.0

type GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec struct {
	// DisplayName: Name of the cluster.
	DisplayName string `json:"displayName,omitempty"`
	// LinkedResource: A link back to the parent resource, in this case Instance.
	LinkedResource string `json:"linkedResource,omitempty"`
	// Location: Location of the cluster, typically a Cloud zone.
	Location string `json:"location,omitempty"`
	// Type: Type of the resource. For a cluster this would be "CLUSTER".
	Type string `json:"type,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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec: Spec that applies to clusters of an Instance of Cloud Bigtable.

func (GoogleCloudDatacatalogV1CloudBigtableInstanceSpecCloudBigtableClusterSpec) MarshalJSON added in v0.115.0

type GoogleCloudDatacatalogV1CloudBigtableSystemSpec added in v0.115.0

type GoogleCloudDatacatalogV1CloudBigtableSystemSpec struct {
	// InstanceDisplayName: Display name of the Instance. This is user specified
	// and different from the resource name.
	InstanceDisplayName string `json:"instanceDisplayName,omitempty"`
	// ForceSendFields is a list of field names (e.g. "InstanceDisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "InstanceDisplayName") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1CloudBigtableSystemSpec: Specification that applies to all entries that are part of `CLOUD_BIGTABLE` system (user_specified_type)

func (GoogleCloudDatacatalogV1CloudBigtableSystemSpec) MarshalJSON added in v0.115.0

type GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec added in v0.112.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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Database") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec: Specification for the BigQuery connection to a Cloud SQL instance.

func (GoogleCloudDatacatalogV1CloudSqlBigQueryConnectionSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1ColumnSchema added in v0.112.0

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"`
	// DefaultValue: Optional. Default value for the column.
	DefaultValue string `json:"defaultValue,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"`
	// GcRule: Optional. Garbage collection policy for the column or column family.
	// Applies to systems like Cloud Bigtable.
	GcRule string `json:"gcRule,omitempty"`
	// HighestIndexingType: Optional. Most important inclusion of this column.
	//
	// Possible values:
	//   "INDEXING_TYPE_UNSPECIFIED" - Unspecified.
	//   "INDEXING_TYPE_NONE" - Column not a part of an index.
	//   "INDEXING_TYPE_NON_UNIQUE" - Column Part of non unique index.
	//   "INDEXING_TYPE_UNIQUE" - Column part of unique index.
	//   "INDEXING_TYPE_PRIMARY_KEY" - Column part of the primary key.
	HighestIndexingType string `json:"highestIndexingType,omitempty"`
	// LookerColumnSpec: Looker specific column info of this column.
	LookerColumnSpec *GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec `json:"lookerColumnSpec,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"`
	// OrdinalPosition: Optional. Ordinal position
	OrdinalPosition int64 `json:"ordinalPosition,omitempty"`
	// RangeElementType: Optional. The subtype of the RANGE, if the type of this
	// field is RANGE. If the type is RANGE, this field is required. Possible
	// values for the field element type of a RANGE include: * DATE * DATETIME *
	// TIMESTAMP
	RangeElementType *GoogleCloudDatacatalogV1ColumnSchemaFieldElementType `json:"rangeElementType,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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Column") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ColumnSchema: A column within a schema. Columns can be nested inside other columns.

func (GoogleCloudDatacatalogV1ColumnSchema) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1ColumnSchema) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1ColumnSchemaFieldElementType added in v0.165.0

type GoogleCloudDatacatalogV1ColumnSchemaFieldElementType struct {
	// Type: Required. The type of a field element. See ColumnSchema.type.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Type") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ColumnSchemaFieldElementType: Represents the type of a field element.

func (GoogleCloudDatacatalogV1ColumnSchemaFieldElementType) MarshalJSON added in v0.165.0

type GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec added in v0.112.0

type GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec struct {
	// Type: Looker specific column type of this column.
	//
	// Possible values:
	//   "LOOKER_COLUMN_TYPE_UNSPECIFIED" - Unspecified.
	//   "DIMENSION" - Dimension.
	//   "DIMENSION_GROUP" - Dimension group - parent for Dimension.
	//   "FILTER" - Filter.
	//   "MEASURE" - Measure.
	//   "PARAMETER" - Parameter.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Type") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec: Column info specific to Looker System.

func (GoogleCloudDatacatalogV1ColumnSchemaLookerColumnSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1CommonUsageStats added in v0.112.0

type GoogleCloudDatacatalogV1CommonUsageStats struct {
	// ViewCount: View count in source system.
	ViewCount int64 `json:"viewCount,omitempty,string"`
	// ForceSendFields is a list of field names (e.g. "ViewCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ViewCount") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1CommonUsageStats: Common statistics on the entry's usage. They can be set on any system.

func (GoogleCloudDatacatalogV1CommonUsageStats) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1Contacts added in v0.112.0

type GoogleCloudDatacatalogV1Contacts struct {
	// People: The list of contact people for the entry.
	People []*GoogleCloudDatacatalogV1ContactsPerson `json:"people,omitempty"`
	// ForceSendFields is a list of field names (e.g. "People") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "People") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1Contacts: Contact people for the entry.

func (GoogleCloudDatacatalogV1Contacts) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1Contacts) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1ContactsPerson added in v0.112.0

type GoogleCloudDatacatalogV1ContactsPerson struct {
	// Designation: Designation of the person, for example, Data Steward.
	Designation string `json:"designation,omitempty"`
	// Email: Email of the person in the format of `john.doe@xyz`, “, or `John
	// Doe`.
	Email string `json:"email,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Designation") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Designation") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ContactsPerson: A contact person for the entry.

func (GoogleCloudDatacatalogV1ContactsPerson) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1ContactsPerson) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1DataSource added in v0.112.0

type GoogleCloudDatacatalogV1DataSource struct {
	// Resource: Full name of a resource as defined by the service. For example:
	// `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/dataset
	// s/{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"`
	// SourceEntry: Output only. Data Catalog entry name, if applicable.
	SourceEntry string `json:"sourceEntry,omitempty"`
	// StorageProperties: Detailed properties of the underlying storage.
	StorageProperties *GoogleCloudDatacatalogV1StorageProperties `json:"storageProperties,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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Resource") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataSource: Physical location of an entry.

func (GoogleCloudDatacatalogV1DataSource) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1DataSource) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1DataSourceConnectionSpec added in v0.112.0

type GoogleCloudDatacatalogV1DataSourceConnectionSpec struct {
	// BigqueryConnectionSpec: Output only. 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BigqueryConnectionSpec") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataSourceConnectionSpec: Specification that applies to a data source connection. Valid only for entries with the `DATA_SOURCE_CONNECTION` type. Only one of internal specs can be set at the time, and cannot be changed later.

func (GoogleCloudDatacatalogV1DataSourceConnectionSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DatabaseTableSpec added in v0.112.0

type GoogleCloudDatacatalogV1DatabaseTableSpec struct {
	// DatabaseViewSpec: Spec what aplies to tables that are actually views. Not
	// set for "real" tables.
	DatabaseViewSpec *GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec `json:"databaseViewSpec,omitempty"`
	// DataplexTable: Output only. Fields specific to a Dataplex table and present
	// only in the Dataplex table entries.
	DataplexTable *GoogleCloudDatacatalogV1DataplexTableSpec `json:"dataplexTable,omitempty"`
	// 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. "DatabaseViewSpec") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DatabaseViewSpec") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DatabaseTableSpec: Specification that applies to a table resource. Valid only for entries with the `TABLE` type.

func (GoogleCloudDatacatalogV1DatabaseTableSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec added in v0.112.0

type GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec struct {
	// BaseTable: Name of a singular table this view reflects one to one.
	BaseTable string `json:"baseTable,omitempty"`
	// SqlQuery: SQL query used to generate this view.
	SqlQuery string `json:"sqlQuery,omitempty"`
	// ViewType: Type of this view.
	//
	// Possible values:
	//   "VIEW_TYPE_UNSPECIFIED" - Default unknown view type.
	//   "STANDARD_VIEW" - Standard view.
	//   "MATERIALIZED_VIEW" - Materialized view.
	ViewType string `json:"viewType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "BaseTable") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BaseTable") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec: Specification that applies to database view.

func (GoogleCloudDatacatalogV1DatabaseTableSpecDatabaseViewSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DataplexExternalTable added in v0.112.0

type GoogleCloudDatacatalogV1DataplexExternalTable struct {
	// DataCatalogEntry: Name of the Data Catalog entry representing the external
	// table.
	DataCatalogEntry string `json:"dataCatalogEntry,omitempty"`
	// FullyQualifiedName: Fully qualified name (FQN) of the external table.
	FullyQualifiedName string `json:"fullyQualifiedName,omitempty"`
	// GoogleCloudResource: Google Cloud resource name of the external table.
	GoogleCloudResource string `json:"googleCloudResource,omitempty"`
	// System: Service in which the external table is registered.
	//
	// Possible values:
	//   "INTEGRATED_SYSTEM_UNSPECIFIED" - Default unknown system.
	//   "BIGQUERY" - BigQuery.
	//   "CLOUD_PUBSUB" - Cloud Pub/Sub.
	//   "DATAPROC_METASTORE" - Dataproc Metastore.
	//   "DATAPLEX" - Dataplex.
	//   "CLOUD_SPANNER" - Cloud Spanner
	//   "CLOUD_BIGTABLE" - Cloud Bigtable
	//   "CLOUD_SQL" - Cloud Sql
	//   "LOOKER" - Looker
	//   "VERTEX_AI" - Vertex AI
	System string `json:"system,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DataCatalogEntry") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataCatalogEntry") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataplexExternalTable: External table registered by Dataplex. Dataplex publishes data discovered from an asset into multiple other systems (BigQuery, DPMS) in form of tables. We call them "external tables". External tables are also synced into the Data Catalog. This message contains pointers to those external tables (fully qualified name, resource name et cetera) within the Data Catalog.

func (GoogleCloudDatacatalogV1DataplexExternalTable) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DataplexFilesetSpec added in v0.112.0

type GoogleCloudDatacatalogV1DataplexFilesetSpec struct {
	// DataplexSpec: Common Dataplex fields.
	DataplexSpec *GoogleCloudDatacatalogV1DataplexSpec `json:"dataplexSpec,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DataplexSpec") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataplexSpec") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataplexFilesetSpec: Entry specyfication for a Dataplex fileset.

func (GoogleCloudDatacatalogV1DataplexFilesetSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DataplexSpec added in v0.112.0

type GoogleCloudDatacatalogV1DataplexSpec struct {
	// Asset: Fully qualified resource name of an asset in Dataplex, to which the
	// underlying data source (Cloud Storage bucket or BigQuery dataset) of the
	// entity is attached.
	Asset string `json:"asset,omitempty"`
	// CompressionFormat: Compression format of the data, e.g., zip, gzip etc.
	CompressionFormat string `json:"compressionFormat,omitempty"`
	// DataFormat: Format of the data.
	DataFormat *GoogleCloudDatacatalogV1PhysicalSchema `json:"dataFormat,omitempty"`
	// ProjectId: Project ID of the underlying Cloud Storage or BigQuery data. Note
	// that this may not be the same project as the correspondingly Dataplex lake /
	// zone / asset.
	ProjectId string `json:"projectId,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Asset") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Asset") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataplexSpec: Common Dataplex fields.

func (GoogleCloudDatacatalogV1DataplexSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1DataplexSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1DataplexTableSpec added in v0.112.0

type GoogleCloudDatacatalogV1DataplexTableSpec struct {
	// DataplexSpec: Common Dataplex fields.
	DataplexSpec *GoogleCloudDatacatalogV1DataplexSpec `json:"dataplexSpec,omitempty"`
	// ExternalTables: List of external tables registered by Dataplex in other
	// systems based on the same underlying data. External tables allow to query
	// this data in those systems.
	ExternalTables []*GoogleCloudDatacatalogV1DataplexExternalTable `json:"externalTables,omitempty"`
	// UserManaged: Indicates if the table schema is managed by the user or not.
	UserManaged bool `json:"userManaged,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DataplexSpec") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataplexSpec") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DataplexTableSpec: Entry specification for a Dataplex table.

func (GoogleCloudDatacatalogV1DataplexTableSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1DatasetSpec added in v0.139.0

type GoogleCloudDatacatalogV1DatasetSpec struct {
	// VertexDatasetSpec: Vertex AI Dataset specific fields
	VertexDatasetSpec *GoogleCloudDatacatalogV1VertexDatasetSpec `json:"vertexDatasetSpec,omitempty"`
	// ForceSendFields is a list of field names (e.g. "VertexDatasetSpec") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "VertexDatasetSpec") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DatasetSpec: Specification that applies to a dataset. Valid only for entries with the `DATASET` type.

func (GoogleCloudDatacatalogV1DatasetSpec) MarshalJSON added in v0.139.0

func (s GoogleCloudDatacatalogV1DatasetSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1DumpItem added in v0.112.0

type GoogleCloudDatacatalogV1DumpItem struct {
	// TaggedEntry: Entry and its tags.
	TaggedEntry *GoogleCloudDatacatalogV1TaggedEntry `json:"taggedEntry,omitempty"`
	// ForceSendFields is a list of field names (e.g. "TaggedEntry") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "TaggedEntry") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1DumpItem: Wrapper for any item that can be contained in the dump.

func (GoogleCloudDatacatalogV1DumpItem) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1DumpItem) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1Entry added in v0.112.0

type GoogleCloudDatacatalogV1Entry struct {
	// BigqueryDateShardedSpec: Output only. 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: Output only. Specification that applies to a BigQuery
	// table. Valid only for entries with the `TABLE` type.
	BigqueryTableSpec *GoogleCloudDatacatalogV1BigQueryTableSpec `json:"bigqueryTableSpec,omitempty"`
	// BusinessContext: Business Context of the entry. Not supported for BigQuery
	// datasets
	BusinessContext *GoogleCloudDatacatalogV1BusinessContext `json:"businessContext,omitempty"`
	// CloudBigtableSystemSpec: Specification that applies to Cloud Bigtable
	// system. Only settable when `integrated_system` is equal to `CLOUD_BIGTABLE`
	CloudBigtableSystemSpec *GoogleCloudDatacatalogV1CloudBigtableSystemSpec `json:"cloudBigtableSystemSpec,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` or `EXPLORE` type.
	DatabaseTableSpec *GoogleCloudDatacatalogV1DatabaseTableSpec `json:"databaseTableSpec,omitempty"`
	// DatasetSpec: Specification that applies to a dataset.
	DatasetSpec *GoogleCloudDatacatalogV1DatasetSpec `json:"datasetSpec,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 maximum size is 500 bytes when
	// encoded in UTF-8. Default value is an empty string.
	DisplayName string `json:"displayName,omitempty"`
	// FeatureOnlineStoreSpec: FeatureonlineStore spec for Vertex AI Feature Store.
	FeatureOnlineStoreSpec *GoogleCloudDatacatalogV1FeatureOnlineStoreSpec `json:"featureOnlineStoreSpec,omitempty"`
	// FilesetSpec: Specification that applies to a fileset resource. Valid only
	// for entries with the `FILESET` type.
	FilesetSpec *GoogleCloudDatacatalogV1FilesetSpec `json:"filesetSpec,omitempty"`
	// FullyQualifiedName: Fully Qualified Name (FQN)
	// (https://cloud.google.com//data-catalog/docs/fully-qualified-names) of the
	// resource. Set automatically for entries representing resources from synced
	// systems. Settable only during creation, and read-only later. Can be used for
	// search and lookup of the entries.
	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.
	//   "DATAPLEX" - Dataplex.
	//   "CLOUD_SPANNER" - Cloud Spanner
	//   "CLOUD_BIGTABLE" - Cloud Bigtable
	//   "CLOUD_SQL" - Cloud Sql
	//   "LOOKER" - Looker
	//   "VERTEX_AI" - Vertex AI
	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"`
	// LookerSystemSpec: Specification that applies to Looker sysstem. Only
	// settable when `user_specified_system` is equal to `LOOKER`
	LookerSystemSpec *GoogleCloudDatacatalogV1LookerSystemSpec `json:"lookerSystemSpec,omitempty"`
	// ModelSpec: Model specification.
	ModelSpec *GoogleCloudDatacatalogV1ModelSpec `json:"modelSpec,omitempty"`
	// Name: Output only. Identifier. 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"`
	// PersonalDetails: Output only. Additional information related to the entry.
	// Private to the current user.
	PersonalDetails *GoogleCloudDatacatalogV1PersonalDetails `json:"personalDetails,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"`
	// ServiceSpec: Specification that applies to a Service resource.
	ServiceSpec *GoogleCloudDatacatalogV1ServiceSpec `json:"serviceSpec,omitempty"`
	// SourceSystemTimestamps: Timestamps from the underlying resource, not from
	// the Data Catalog entry. Output only when the entry has a system listed in
	// the `IntegratedSystem` enum. For entries with `user_specified_system`, this
	// field is optional and defaults to an empty timestamp.
	SourceSystemTimestamps *GoogleCloudDatacatalogV1SystemTimestamps `json:"sourceSystemTimestamps,omitempty"`
	// SqlDatabaseSystemSpec: Specification that applies to a relational database
	// system. Only settable when `user_specified_system` is equal to
	// `SQL_DATABASE`
	SqlDatabaseSystemSpec *GoogleCloudDatacatalogV1SqlDatabaseSystemSpec `json:"sqlDatabaseSystemSpec,omitempty"`
	// Type: The type of the entry. For details, see `EntryType` (#entrytype).
	//
	// Possible values:
	//   "ENTRY_TYPE_UNSPECIFIED" - Default unknown type.
	//   "TABLE" - The entry type that has a GoogleSQL schema, including logical
	// views.
	//   "MODEL" - The type of models. For more information, see [Supported models
	// in BigQuery ML](/bigquery/docs/bqml-introduction#supported_models).
	//   "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" - Connection to a data source. For example, a
	// BigQuery connection.
	//   "ROUTINE" - Routine, for example, a BigQuery routine.
	//   "LAKE" - A Dataplex lake.
	//   "ZONE" - A Dataplex zone.
	//   "SERVICE" - A service, for example, a Dataproc Metastore service.
	//   "DATABASE_SCHEMA" - Schema within a relational database.
	//   "DASHBOARD" - A Dashboard, for example from Looker.
	//   "EXPLORE" - A Looker Explore. For more information, see [Looker Explore
	// API]
	// (https://developers.looker.com/api/explorer/4.0/methods/LookmlModel/lookml_model_explore).
	//   "LOOK" - A Looker Look. For more information, see [Looker Look API]
	// (https://developers.looker.com/api/explorer/4.0/methods/Look).
	//   "FEATURE_ONLINE_STORE" - Feature Online Store resource in Vertex AI
	// Feature Store.
	//   "FEATURE_VIEW" - Feature View resource in Vertex AI Feature Store.
	//   "FEATURE_GROUP" - Feature Group resource in Vertex AI Feature Store.
	Type string `json:"type,omitempty"`
	// UsageSignal: 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"`
	// 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BigqueryDateShardedSpec") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 added in v0.112.0

func (s GoogleCloudDatacatalogV1Entry) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1EntryOverview added in v0.112.0

type GoogleCloudDatacatalogV1EntryOverview struct {
	// Overview: Entry overview with support for rich text. The overview must only
	// contain Unicode characters, and should be formatted using HTML. 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.
	Overview string `json:"overview,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Overview") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Overview") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1EntryOverview: Entry overview fields for rich text descriptions of entries.

func (GoogleCloudDatacatalogV1EntryOverview) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1EntryOverview) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1FeatureOnlineStoreSpec added in v0.167.0

type GoogleCloudDatacatalogV1FeatureOnlineStoreSpec struct {
	// StorageType: Output only. Type of underelaying storage for the
	// FeatureOnlineStore.
	//
	// Possible values:
	//   "STORAGE_TYPE_UNSPECIFIED" - Should not be used.
	//   "BIGTABLE" - Underlsying storgae is Bigtable.
	//   "OPTIMIZED" - Underlaying is optimized online server (Lightning).
	StorageType string `json:"storageType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "StorageType") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "StorageType") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1FeatureOnlineStoreSpec: Detail description of the source information of a Vertex Feature Online Store.

func (GoogleCloudDatacatalogV1FeatureOnlineStoreSpec) MarshalJSON added in v0.167.0

type GoogleCloudDatacatalogV1FilesetSpec added in v0.112.0

type GoogleCloudDatacatalogV1FilesetSpec struct {
	// DataplexFileset: Fields specific to a Dataplex fileset and present only in
	// the Dataplex fileset entries.
	DataplexFileset *GoogleCloudDatacatalogV1DataplexFilesetSpec `json:"dataplexFileset,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DataplexFileset") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataplexFileset") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1FilesetSpec: Specification that applies to a fileset. Valid only for entries with the 'FILESET' type.

func (GoogleCloudDatacatalogV1FilesetSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1FilesetSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1GcsFileSpec added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FilePath") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1GcsFileSpec: Specification of a single file in Cloud Storage.

func (GoogleCloudDatacatalogV1GcsFileSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1GcsFileSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1GcsFilesetSpec added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FilePatterns") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1GcsFilesetSpec: Describes a Cloud Storage fileset entry.

func (GoogleCloudDatacatalogV1GcsFilesetSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1GcsFilesetSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1ImportEntriesMetadata added in v0.107.0

type GoogleCloudDatacatalogV1ImportEntriesMetadata struct {
	// Errors: Partial errors that are encountered during the ImportEntries
	// operation. There is no guarantee that all the encountered errors are
	// reported. However, if no errors are reported, it means that no errors were
	// encountered.
	Errors []*Status `json:"errors,omitempty"`
	// State: State of the import operation.
	//
	// Possible values:
	//   "IMPORT_STATE_UNSPECIFIED" - Default value. This value is unused.
	//   "IMPORT_QUEUED" - The dump with entries has been queued for import.
	//   "IMPORT_IN_PROGRESS" - The import of entries is in progress.
	//   "IMPORT_DONE" - The import of entries has been finished.
	//   "IMPORT_OBSOLETE" - The import of entries has been abandoned in favor of a
	// newer request.
	State string `json:"state,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Errors") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ImportEntriesMetadata: Metadata message for long-running operation returned by the ImportEntries.

func (GoogleCloudDatacatalogV1ImportEntriesMetadata) MarshalJSON added in v0.107.0

type GoogleCloudDatacatalogV1ImportEntriesResponse added in v0.107.0

type GoogleCloudDatacatalogV1ImportEntriesResponse struct {
	// DeletedEntriesCount: Number of entries deleted as a result of import
	// operation.
	DeletedEntriesCount int64 `json:"deletedEntriesCount,omitempty,string"`
	// UpsertedEntriesCount: Cumulative number of entries created and entries
	// updated as a result of import operation.
	UpsertedEntriesCount int64 `json:"upsertedEntriesCount,omitempty,string"`
	// ForceSendFields is a list of field names (e.g. "DeletedEntriesCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DeletedEntriesCount") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ImportEntriesResponse: Response message for long-running operation returned by the ImportEntries.

func (GoogleCloudDatacatalogV1ImportEntriesResponse) MarshalJSON added in v0.107.0

type GoogleCloudDatacatalogV1LookerSystemSpec added in v0.112.0

type GoogleCloudDatacatalogV1LookerSystemSpec struct {
	// ParentInstanceDisplayName: Name of the parent Looker Instance. Empty if it
	// does not exist.
	ParentInstanceDisplayName string `json:"parentInstanceDisplayName,omitempty"`
	// ParentInstanceId: ID of the parent Looker Instance. Empty if it does not
	// exist. Example value: `someinstance.looker.com`
	ParentInstanceId string `json:"parentInstanceId,omitempty"`
	// ParentModelDisplayName: Name of the parent Model. Empty if it does not
	// exist.
	ParentModelDisplayName string `json:"parentModelDisplayName,omitempty"`
	// ParentModelId: ID of the parent Model. Empty if it does not exist.
	ParentModelId string `json:"parentModelId,omitempty"`
	// ParentViewDisplayName: Name of the parent View. Empty if it does not exist.
	ParentViewDisplayName string `json:"parentViewDisplayName,omitempty"`
	// ParentViewId: ID of the parent View. Empty if it does not exist.
	ParentViewId string `json:"parentViewId,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ParentInstanceDisplayName")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ParentInstanceDisplayName") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1LookerSystemSpec: Specification that applies to entries that are part `LOOKER` system (user_specified_type)

func (GoogleCloudDatacatalogV1LookerSystemSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1ModelSpec added in v0.139.0

type GoogleCloudDatacatalogV1ModelSpec struct {
	// VertexModelSpec: Specification for vertex model resources.
	VertexModelSpec *GoogleCloudDatacatalogV1VertexModelSpec `json:"vertexModelSpec,omitempty"`
	// ForceSendFields is a list of field names (e.g. "VertexModelSpec") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "VertexModelSpec") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ModelSpec: Specification that applies to a model. Valid only for entries with the `MODEL` type.

func (GoogleCloudDatacatalogV1ModelSpec) MarshalJSON added in v0.139.0

func (s GoogleCloudDatacatalogV1ModelSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1PersonalDetails added in v0.112.0

type GoogleCloudDatacatalogV1PersonalDetails struct {
	// StarTime: Set if the entry is starred; unset otherwise.
	StarTime string `json:"starTime,omitempty"`
	// Starred: True if the entry is starred by the user; false otherwise.
	Starred bool `json:"starred,omitempty"`
	// ForceSendFields is a list of field names (e.g. "StarTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "StarTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1PersonalDetails: Entry metadata relevant only to the user and private to them.

func (GoogleCloudDatacatalogV1PersonalDetails) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1PersonalDetails) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1PhysicalSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchema struct {
	// Avro: Schema in Avro JSON format.
	Avro *GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema `json:"avro,omitempty"`
	// Csv: Marks a CSV-encoded data source.
	Csv *GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema `json:"csv,omitempty"`
	// Orc: Marks an ORC-encoded data source.
	Orc *GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema `json:"orc,omitempty"`
	// Parquet: Marks a Parquet-encoded data source.
	Parquet *GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema `json:"parquet,omitempty"`
	// Protobuf: Schema in protocol buffer format.
	Protobuf *GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema `json:"protobuf,omitempty"`
	// Thrift: Schema in Thrift format.
	Thrift *GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema `json:"thrift,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Avro") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Avro") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1PhysicalSchema: Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.

func (GoogleCloudDatacatalogV1PhysicalSchema) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1PhysicalSchema) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema struct {
	// Text: JSON source of the Avro schema.
	Text string `json:"text,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Text") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema: Schema in Avro JSON format.

func (GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema struct {
}

GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema: Marks a CSV-encoded data source.

type GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema struct {
}

GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema: Marks an ORC-encoded data source.

type GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema struct {
}

GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema: Marks a Parquet-encoded data source.

type GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema struct {
	// Text: Protocol buffer source of the schema.
	Text string `json:"text,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Text") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema: Schema in protocol buffer format.

func (GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema added in v0.112.0

type GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema struct {
	// Text: Thrift IDL source of the schema.
	Text string `json:"text,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Text") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema: Schema in Thrift format.

func (GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1ReconcileTagsMetadata added in v0.110.0

type GoogleCloudDatacatalogV1ReconcileTagsMetadata struct {
	// Errors: Maps the name of each tagged column (or empty string for a sole
	// entry) to tagging operation status.
	Errors map[string]Status `json:"errors,omitempty"`
	// State: State of the reconciliation operation.
	//
	// Possible values:
	//   "RECONCILIATION_STATE_UNSPECIFIED" - Default value. This value is unused.
	//   "RECONCILIATION_QUEUED" - The reconciliation has been queued and awaits
	// for execution.
	//   "RECONCILIATION_IN_PROGRESS" - The reconciliation is in progress.
	//   "RECONCILIATION_DONE" - The reconciliation has been finished.
	State string `json:"state,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Errors") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ReconcileTagsMetadata: Long-running operation metadata message returned by the ReconcileTags.

func (GoogleCloudDatacatalogV1ReconcileTagsMetadata) MarshalJSON added in v0.110.0

type GoogleCloudDatacatalogV1ReconcileTagsResponse added in v0.110.0

type GoogleCloudDatacatalogV1ReconcileTagsResponse struct {
	// CreatedTagsCount: Number of tags created in the request.
	CreatedTagsCount int64 `json:"createdTagsCount,omitempty,string"`
	// DeletedTagsCount: Number of tags deleted in the request.
	DeletedTagsCount int64 `json:"deletedTagsCount,omitempty,string"`
	// UpdatedTagsCount: Number of tags updated in the request.
	UpdatedTagsCount int64 `json:"updatedTagsCount,omitempty,string"`
	// ForceSendFields is a list of field names (e.g. "CreatedTagsCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreatedTagsCount") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ReconcileTagsResponse: Long-running operation response message returned by ReconcileTags.

func (GoogleCloudDatacatalogV1ReconcileTagsResponse) MarshalJSON added in v0.110.0

type GoogleCloudDatacatalogV1RoutineSpec added in v0.112.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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BigqueryRoutineSpec") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1RoutineSpec: Specification that applies to a routine. Valid only for entries with the `ROUTINE` type.

func (GoogleCloudDatacatalogV1RoutineSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1RoutineSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1RoutineSpecArgument added in v0.112.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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Mode") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1RoutineSpecArgument: Input or output argument of a function or stored procedure.

func (GoogleCloudDatacatalogV1RoutineSpecArgument) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1Schema added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Columns") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1Schema: Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.

func (GoogleCloudDatacatalogV1Schema) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1Schema) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1ServiceSpec added in v0.115.0

type GoogleCloudDatacatalogV1ServiceSpec struct {
	// CloudBigtableInstanceSpec: Specification that applies to Instance entries of
	// `CLOUD_BIGTABLE` system.
	CloudBigtableInstanceSpec *GoogleCloudDatacatalogV1CloudBigtableInstanceSpec `json:"cloudBigtableInstanceSpec,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CloudBigtableInstanceSpec")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CloudBigtableInstanceSpec") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ServiceSpec: Specification that applies to a Service resource. Valid only for entries with the `SERVICE` type.

func (GoogleCloudDatacatalogV1ServiceSpec) MarshalJSON added in v0.115.0

func (s GoogleCloudDatacatalogV1ServiceSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1SqlDatabaseSystemSpec added in v0.112.0

type GoogleCloudDatacatalogV1SqlDatabaseSystemSpec struct {
	// DatabaseVersion: Version of the database engine.
	DatabaseVersion string `json:"databaseVersion,omitempty"`
	// InstanceHost: Host of the SQL database enum InstanceHost { UNDEFINED = 0;
	// SELF_HOSTED = 1; CLOUD_SQL = 2; AMAZON_RDS = 3; AZURE_SQL = 4; } Host of the
	// enclousing database instance.
	InstanceHost string `json:"instanceHost,omitempty"`
	// SqlEngine: SQL Database Engine. enum SqlEngine { UNDEFINED = 0; MY_SQL = 1;
	// POSTGRE_SQL = 2; SQL_SERVER = 3; } Engine of the enclosing database
	// instance.
	SqlEngine string `json:"sqlEngine,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DatabaseVersion") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DatabaseVersion") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1SqlDatabaseSystemSpec: Specification that applies to entries that are part `SQL_DATABASE` system (user_specified_type)

func (GoogleCloudDatacatalogV1SqlDatabaseSystemSpec) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1StorageProperties added in v0.112.0

type GoogleCloudDatacatalogV1StorageProperties struct {
	// FilePattern: Patterns to identify a set of files for this fileset. Examples
	// of a valid `file_pattern`: * `gs://bucket_name/dir/*`: matches all files in
	// the `bucket_name/dir` directory * `gs://bucket_name/dir/**`: matches all
	// files in the `bucket_name/dir` and all subdirectories recursively *
	// `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`
	FilePattern []string `json:"filePattern,omitempty"`
	// FileType: File type in MIME format, for example, `text/plain`.
	FileType string `json:"fileType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "FilePattern") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FilePattern") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1StorageProperties: Details the properties of the underlying storage.

func (GoogleCloudDatacatalogV1StorageProperties) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1SystemTimestamps added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1SystemTimestamps: Timestamps associated with this resource in a particular system.

func (GoogleCloudDatacatalogV1SystemTimestamps) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1TableSpec added in v0.112.0

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_ID}/entr
	// ies/{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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "GroupedEntry") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1TableSpec: Normal BigQuery table specification.

func (GoogleCloudDatacatalogV1TableSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1TableSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1Tag added in v0.112.0

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: Identifier. 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"`
	// 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Column") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 added in v0.112.0

func (s GoogleCloudDatacatalogV1Tag) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1TagField added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BoolValue") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1TagField: Contains the value and additional information on a field within a Tag.

func (GoogleCloudDatacatalogV1TagField) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1TagField) MarshalJSON() ([]byte, error)

func (*GoogleCloudDatacatalogV1TagField) UnmarshalJSON added in v0.112.0

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

type GoogleCloudDatacatalogV1TagFieldEnumValue added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1TagFieldEnumValue: An enum value.

func (GoogleCloudDatacatalogV1TagFieldEnumValue) MarshalJSON added in v0.112.0

type GoogleCloudDatacatalogV1TaggedEntry added in v0.112.0

type GoogleCloudDatacatalogV1TaggedEntry struct {
	// AbsentTags: Optional. Tags that should be deleted from the Data Catalog.
	// Caller should populate template name and column only.
	AbsentTags []*GoogleCloudDatacatalogV1Tag `json:"absentTags,omitempty"`
	// PresentTags: Optional. Tags that should be ingested into the Data Catalog.
	// Caller should populate template name, column and fields.
	PresentTags []*GoogleCloudDatacatalogV1Tag `json:"presentTags,omitempty"`
	// V1Entry: Non-encrypted Data Catalog v1 Entry.
	V1Entry *GoogleCloudDatacatalogV1Entry `json:"v1Entry,omitempty"`
	// ForceSendFields is a list of field names (e.g. "AbsentTags") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AbsentTags") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1TaggedEntry: Wrapper containing Entry and information about Tags that should and should not be attached to it.

func (GoogleCloudDatacatalogV1TaggedEntry) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1TaggedEntry) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1UsageSignal added in v0.112.0

type GoogleCloudDatacatalogV1UsageSignal struct {
	// CommonUsageWithinTimeRange: Common usage statistics over each of the
	// predefined time ranges. Supported time ranges are `{"24H", "7D", "30D",
	// "Lifetime"}`.
	CommonUsageWithinTimeRange map[string]GoogleCloudDatacatalogV1CommonUsageStats `json:"commonUsageWithinTimeRange,omitempty"`
	// FavoriteCount: Favorite count in the source system.
	FavoriteCount int64 `json:"favoriteCount,omitempty,string"`
	// UpdateTime: The end timestamp of the duration of usage statistics.
	UpdateTime string `json:"updateTime,omitempty"`
	// UsageWithinTimeRange: Output only. BigQuery 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. "CommonUsageWithinTimeRange")
	// to unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CommonUsageWithinTimeRange") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 added in v0.112.0

func (s GoogleCloudDatacatalogV1UsageSignal) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1UsageStats added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "TotalCancellations") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

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 added in v0.112.0

func (s GoogleCloudDatacatalogV1UsageStats) MarshalJSON() ([]byte, error)

func (*GoogleCloudDatacatalogV1UsageStats) UnmarshalJSON added in v0.112.0

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

type GoogleCloudDatacatalogV1VertexDatasetSpec added in v0.139.0

type GoogleCloudDatacatalogV1VertexDatasetSpec struct {
	// DataItemCount: The number of DataItems in this Dataset. Only apply for
	// non-structured Dataset.
	DataItemCount int64 `json:"dataItemCount,omitempty,string"`
	// DataType: Type of the dataset.
	//
	// Possible values:
	//   "DATA_TYPE_UNSPECIFIED" - Should not be used.
	//   "TABLE" - Structured data dataset.
	//   "IMAGE" - Image dataset which supports ImageClassification,
	// ImageObjectDetection and ImageSegmentation problems.
	//   "TEXT" - Document dataset which supports TextClassification,
	// TextExtraction and TextSentiment problems.
	//   "VIDEO" - Video dataset which supports VideoClassification,
	// VideoObjectTracking and VideoActionRecognition problems.
	//   "CONVERSATION" - Conversation dataset which supports conversation
	// problems.
	//   "TIME_SERIES" - TimeSeries dataset.
	//   "DOCUMENT" - Document dataset which supports DocumentAnnotation problems.
	//   "TEXT_TO_SPEECH" - TextToSpeech dataset which supports TextToSpeech
	// problems.
	//   "TRANSLATION" - Translation dataset which supports Translation problems.
	//   "STORE_VISION" - Store Vision dataset which is used for HITL integration.
	//   "ENTERPRISE_KNOWLEDGE_GRAPH" - Enterprise Knowledge Graph dataset which is
	// used for HITL labeling integration.
	//   "TEXT_PROMPT" - Text prompt dataset which supports Large Language Models.
	DataType string `json:"dataType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "DataItemCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataItemCount") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1VertexDatasetSpec: Specification for vertex dataset resources.

func (GoogleCloudDatacatalogV1VertexDatasetSpec) MarshalJSON added in v0.139.0

type GoogleCloudDatacatalogV1VertexModelSourceInfo added in v0.139.0

type GoogleCloudDatacatalogV1VertexModelSourceInfo struct {
	// Copy: If this Model is copy of another Model. If true then source_type
	// pertains to the original.
	Copy bool `json:"copy,omitempty"`
	// SourceType: Type of the model source.
	//
	// Possible values:
	//   "MODEL_SOURCE_TYPE_UNSPECIFIED" - Should not be used.
	//   "AUTOML" - The Model is uploaded by automl training pipeline.
	//   "CUSTOM" - The Model is uploaded by user or custom training pipeline.
	//   "BQML" - The Model is registered and sync'ed from BigQuery ML.
	//   "MODEL_GARDEN" - The Model is saved or tuned from Model Garden.
	//   "GENIE" - The Model is saved or tuned from Genie.
	//   "CUSTOM_TEXT_EMBEDDING" - The Model is uploaded by text embedding
	// finetuning pipeline.
	//   "MARKETPLACE" - The Model is saved or tuned from Marketplace.
	SourceType string `json:"sourceType,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Copy") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Copy") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1VertexModelSourceInfo: Detail description of the source information of a Vertex model.

func (GoogleCloudDatacatalogV1VertexModelSourceInfo) MarshalJSON added in v0.139.0

type GoogleCloudDatacatalogV1VertexModelSpec added in v0.139.0

type GoogleCloudDatacatalogV1VertexModelSpec struct {
	// ContainerImageUri: URI of the Docker image to be used as the custom
	// container for serving predictions.
	ContainerImageUri string `json:"containerImageUri,omitempty"`
	// VersionAliases: User provided version aliases so that a model version can be
	// referenced via alias
	VersionAliases []string `json:"versionAliases,omitempty"`
	// VersionDescription: The description of this version.
	VersionDescription string `json:"versionDescription,omitempty"`
	// VersionId: The version ID of the model.
	VersionId string `json:"versionId,omitempty"`
	// VertexModelSourceInfo: Source of a Vertex model.
	VertexModelSourceInfo *GoogleCloudDatacatalogV1VertexModelSourceInfo `json:"vertexModelSourceInfo,omitempty"`
	// ForceSendFields is a list of field names (e.g. "ContainerImageUri") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ContainerImageUri") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1VertexModelSpec: Specification for vertex model resources.

func (GoogleCloudDatacatalogV1VertexModelSpec) MarshalJSON added in v0.139.0

func (s GoogleCloudDatacatalogV1VertexModelSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1ViewSpec added in v0.112.0

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ViewQuery") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1ViewSpec: Table view specification.

func (GoogleCloudDatacatalogV1ViewSpec) MarshalJSON added in v0.112.0

func (s GoogleCloudDatacatalogV1ViewSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec

type GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec 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_id}/entr
	// ies/{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 shard
	// `MyTable20180101`, 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Dataset") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec: Spec for a group of BigQuery tables with name pattern `[prefix]YYYYMMDD`. Context: https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding

func (GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec) MarshalJSON

type GoogleCloudDatacatalogV1beta1BigQueryTableSpec

type GoogleCloudDatacatalogV1beta1BigQueryTableSpec 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: Spec of a BigQuery table. This field should only be populated if
	// `table_source_type` is `BIGQUERY_TABLE`.
	TableSpec *GoogleCloudDatacatalogV1beta1TableSpec `json:"tableSpec,omitempty"`
	// ViewSpec: Table view specification. This field should only be populated if
	// `table_source_type` is `BIGQUERY_VIEW`.
	ViewSpec *GoogleCloudDatacatalogV1beta1ViewSpec `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "TableSourceType") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1BigQueryTableSpec: Describes a BigQuery table.

func (GoogleCloudDatacatalogV1beta1BigQueryTableSpec) MarshalJSON

type GoogleCloudDatacatalogV1beta1ColumnSchema

type GoogleCloudDatacatalogV1beta1ColumnSchema struct {
	// Column: Required. Name of the column.
	Column string `json:"column,omitempty"`
	// Description: Optional. Description of the column. Default value is an empty
	// string.
	Description string `json:"description,omitempty"`
	// Mode: Optional. A column's mode indicates whether the values in this column
	// are required, nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` 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 []*GoogleCloudDatacatalogV1beta1ColumnSchema `json:"subcolumns,omitempty"`
	// Type: Required. Type of the column.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Column") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ColumnSchema: Representation of a column within a schema. Columns could be nested inside other columns.

func (GoogleCloudDatacatalogV1beta1ColumnSchema) MarshalJSON

type GoogleCloudDatacatalogV1beta1Entry

type GoogleCloudDatacatalogV1beta1Entry struct {
	// BigqueryDateShardedSpec: Specification for a group of BigQuery tables with
	// name pattern `[prefix]YYYYMMDD`. Context:
	// https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding.
	BigqueryDateShardedSpec *GoogleCloudDatacatalogV1beta1BigQueryDateShardedSpec `json:"bigqueryDateShardedSpec,omitempty"`
	// BigqueryTableSpec: Specification that applies to a BigQuery table. This is
	// only valid on entries of type `TABLE`.
	BigqueryTableSpec *GoogleCloudDatacatalogV1beta1BigQueryTableSpec `json:"bigqueryTableSpec,omitempty"`
	// Description: Entry description, which can consist of several sentences or
	// paragraphs that describe entry contents. Default value is an empty string.
	Description string `json:"description,omitempty"`
	// DisplayName: Display information such as title and description. A short name
	// to identify the entry, for example, "Analytics Data - Jan 2011". Default
	// value is an empty string.
	DisplayName string `json:"displayName,omitempty"`
	// GcsFilesetSpec: Specification that applies to a Cloud Storage fileset. This
	// is only valid on entries of type FILESET.
	GcsFilesetSpec *GoogleCloudDatacatalogV1beta1GcsFilesetSpec `json:"gcsFilesetSpec,omitempty"`
	// IntegratedSystem: Output only. This field indicates the entry's source
	// system that Data Catalog integrates with, such as BigQuery or Pub/Sub.
	//
	// Possible values:
	//   "INTEGRATED_SYSTEM_UNSPECIFIED" - Default unknown system.
	//   "BIGQUERY" - BigQuery.
	//   "CLOUD_PUBSUB" - Cloud Pub/Sub.
	IntegratedSystem string `json:"integratedSystem,omitempty"`
	// LinkedResource: The resource this metadata entry refers to. For Google Cloud
	// Platform resources, `linked_resource` is the full name of the resource
	// (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/projectId/datasets/datasetId/tables/tableI
	// d Output only when Entry is of type in the EntryType enum. For entries with
	// user_specified_type, this field is optional and defaults to an empty string.
	LinkedResource string `json:"linkedResource,omitempty"`
	// Name: Output only. Identifier. The Data Catalog resource name of the entry
	// in URL format. Example: *
	// projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entri
	// es/{entry_id} Note that this Entry and its child resources may not actually
	// be stored in the location in this name.
	Name string `json:"name,omitempty"`
	// Schema: Schema of the entry. An entry might not have any schema attached to
	// it.
	Schema *GoogleCloudDatacatalogV1beta1Schema `json:"schema,omitempty"`
	// SourceSystemTimestamps: Output only. Timestamps about the underlying
	// resource, not about this Data Catalog entry. Output only when Entry is of
	// type in the EntryType enum. For entries with user_specified_type, this field
	// is optional and defaults to an empty timestamp.
	SourceSystemTimestamps *GoogleCloudDatacatalogV1beta1SystemTimestamps `json:"sourceSystemTimestamps,omitempty"`
	// Type: The type of the entry. Only used for Entries with types in the
	// EntryType enum.
	//
	// Possible values:
	//   "ENTRY_TYPE_UNSPECIFIED" - Default unknown type.
	//   "TABLE" - Output only. The type of entry that has a GoogleSQL schema,
	// including logical views.
	//   "MODEL" - Output only. The type of models.
	// https://cloud.google.com/bigquery-ml/docs/bigqueryml-intro
	//   "DATA_STREAM" - Output only. An entry type which is used for streaming
	// entries. Example: Pub/Sub topic.
	//   "FILESET" - An entry type which is a set of files or objects. Example:
	// Cloud Storage fileset.
	Type string `json:"type,omitempty"`
	// UsageSignal: Output only. Statistics on the usage level of the resource.
	UsageSignal *GoogleCloudDatacatalogV1beta1UsageSignal `json:"usageSignal,omitempty"`
	// UserSpecifiedSystem: This field indicates the entry's source system that
	// Data Catalog does not integrate with. `user_specified_system` strings must
	// begin with a letter or underscore and can only contain letters, numbers, and
	// underscores; are case insensitive; must be at least 1 character and at most
	// 64 characters long.
	UserSpecifiedSystem string `json:"userSpecifiedSystem,omitempty"`
	// UserSpecifiedType: Entry type if it does not fit any of the input-allowed
	// values listed in `EntryType` enum above. When creating an entry, users
	// should check the enum values first, if nothing matches the entry to be
	// created, then provide a custom value, for example "my_special_type".
	// `user_specified_type` strings must begin with a letter or underscore and can
	// only contain letters, numbers, and underscores; are case insensitive; must
	// be at least 1 character and at most 64 characters long. Currently, only
	// FILESET enum value is allowed. All other entries created through Data
	// Catalog must use `user_specified_type`.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BigqueryDateShardedSpec") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1Entry: Entry Metadata. A Data Catalog Entry resource represents another resource in Google Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or outside of Google Cloud Platform. Clients 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, such as its schema. An Entry can also be used to attach flexible metadata, such as a Tag.

func (GoogleCloudDatacatalogV1beta1Entry) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1Entry) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1EntryGroup

type GoogleCloudDatacatalogV1beta1EntryGroup struct {
	// DataCatalogTimestamps: Output only. Timestamps about this EntryGroup.
	// Default value is empty timestamps.
	DataCatalogTimestamps *GoogleCloudDatacatalogV1beta1SystemTimestamps `json:"dataCatalogTimestamps,omitempty"`
	// Description: Entry group description, which can consist of several sentences
	// or paragraphs that describe 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: Identifier. The resource name of the entry group in URL format.
	// Example: *
	// projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note
	// that this EntryGroup and its child resources may not actually be stored in
	// the location in this 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataCatalogTimestamps") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1EntryGroup: EntryGroup Metadata. An EntryGroup resource represents a logical grouping of zero or more Data Catalog Entry resources.

func (GoogleCloudDatacatalogV1beta1EntryGroup) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1EntryGroup) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse added in v0.15.0

type GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse struct {
	// Taxonomies: List of taxonomies and policy tags in a tree structure.
	Taxonomies []*GoogleCloudDatacatalogV1beta1SerializedTaxonomy `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Taxonomies") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse: Response message for ExportTaxonomies.

func (GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1FieldType

type GoogleCloudDatacatalogV1beta1FieldType struct {
	// EnumType: Represents an enum type.
	EnumType *GoogleCloudDatacatalogV1beta1FieldTypeEnumType `json:"enumType,omitempty"`
	// PrimitiveType: Represents primitive types - string, bool etc.
	//
	// Possible values:
	//   "PRIMITIVE_TYPE_UNSPECIFIED" - This is the default invalid value for a
	// type.
	//   "DOUBLE" - A double precision number.
	//   "STRING" - An UTF-8 string.
	//   "BOOL" - A boolean value.
	//   "TIMESTAMP" - A timestamp.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EnumType") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (GoogleCloudDatacatalogV1beta1FieldType) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1FieldType) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1FieldTypeEnumType

type GoogleCloudDatacatalogV1beta1FieldTypeEnumType struct {
	AllowedValues []*GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AllowedValues") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (GoogleCloudDatacatalogV1beta1FieldTypeEnumType) MarshalJSON

type GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue

type GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue struct {
	// DisplayName: Required. The display name of the enum value. Must not be an
	// empty string.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

func (GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue) MarshalJSON

type GoogleCloudDatacatalogV1beta1GcsFileSpec

type GoogleCloudDatacatalogV1beta1GcsFileSpec struct {
	// FilePath: Required. The full file path. Example: `gs://bucket_name/a/b.txt`.
	FilePath string `json:"filePath,omitempty"`
	// GcsTimestamps: Output only. Timestamps about the Cloud Storage file.
	GcsTimestamps *GoogleCloudDatacatalogV1beta1SystemTimestamps `json:"gcsTimestamps,omitempty"`
	// SizeBytes: Output only. The size of the file, 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FilePath") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1GcsFileSpec: Specifications of a single file in Cloud Storage.

func (GoogleCloudDatacatalogV1beta1GcsFileSpec) MarshalJSON

type GoogleCloudDatacatalogV1beta1GcsFilesetSpec

type GoogleCloudDatacatalogV1beta1GcsFilesetSpec struct {
	// FilePatterns: Required. Patterns to identify a set of files in Google Cloud
	// Storage. See Cloud Storage documentation
	// (https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames) for
	// more information. Note that bucket wildcards are currently not supported.
	// Examples of valid file_patterns: * `gs://bucket_name/dir/*`: matches all
	// files within `bucket_name/dir` directory. * `gs://bucket_name/dir/**`:
	// matches all files in `bucket_name/dir` spanning 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 `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 provide more powerful matches, 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 []*GoogleCloudDatacatalogV1beta1GcsFileSpec `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FilePatterns") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1GcsFilesetSpec: Describes a Cloud Storage fileset entry.

func (GoogleCloudDatacatalogV1beta1GcsFilesetSpec) MarshalJSON

type GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest added in v0.15.0

type GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest struct {
	// InlineSource: Inline source used for taxonomies to be imported.
	InlineSource *GoogleCloudDatacatalogV1beta1InlineSource `json:"inlineSource,omitempty"`
	// ForceSendFields is a list of field names (e.g. "InlineSource") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "InlineSource") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest: Request message for ImportTaxonomies.

func (GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse added in v0.15.0

type GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse struct {
	// Taxonomies: Taxonomies that were imported.
	Taxonomies []*GoogleCloudDatacatalogV1beta1Taxonomy `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Taxonomies") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse: Response message for ImportTaxonomies.

func (GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1InlineSource added in v0.15.0

type GoogleCloudDatacatalogV1beta1InlineSource struct {
	// Taxonomies: Required. Taxonomies to be imported.
	Taxonomies []*GoogleCloudDatacatalogV1beta1SerializedTaxonomy `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Taxonomies") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1InlineSource: Inline source used for taxonomies import.

func (GoogleCloudDatacatalogV1beta1InlineSource) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1ListEntriesResponse added in v0.18.0

type GoogleCloudDatacatalogV1beta1ListEntriesResponse struct {
	// Entries: Entry details.
	Entries []*GoogleCloudDatacatalogV1beta1Entry `json:"entries,omitempty"`
	// NextPageToken: Token to retrieve the next page of results. It is set to
	// empty if no items remain 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Entries") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ListEntriesResponse: Response message for ListEntries.

func (GoogleCloudDatacatalogV1beta1ListEntriesResponse) MarshalJSON added in v0.18.0

type GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse added in v0.18.0

type GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse struct {
	// EntryGroups: EntryGroup details.
	EntryGroups []*GoogleCloudDatacatalogV1beta1EntryGroup `json:"entryGroups,omitempty"`
	// NextPageToken: Token to retrieve the next page of results. It is set to
	// empty if no items remain 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. "EntryGroups") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "EntryGroups") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse: Response message for ListEntryGroups.

func (GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse) MarshalJSON added in v0.18.0

type GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse added in v0.15.0

type GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse struct {
	// NextPageToken: Token used to retrieve the next page of results, or empty if
	// there are no more results in the list.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// PolicyTags: The policy tags that are in the requested taxonomy.
	PolicyTags []*GoogleCloudDatacatalogV1beta1PolicyTag `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse: Response message for ListPolicyTags.

func (GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1ListTagsResponse

type GoogleCloudDatacatalogV1beta1ListTagsResponse struct {
	// NextPageToken: Token to retrieve the next page of results. It is set to
	// empty if no items remain in results.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Tags: Tag details.
	Tags []*GoogleCloudDatacatalogV1beta1Tag `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ListTagsResponse: Response message for ListTags.

func (GoogleCloudDatacatalogV1beta1ListTagsResponse) MarshalJSON

type GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse added in v0.15.0

type GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse struct {
	// NextPageToken: Token used to retrieve the next page of results, or empty if
	// there are no more results in the list.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Taxonomies: Taxonomies that the project contains.
	Taxonomies []*GoogleCloudDatacatalogV1beta1Taxonomy `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse: Response message for ListTaxonomies.

func (GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1PolicyTag added in v0.15.0

type GoogleCloudDatacatalogV1beta1PolicyTag 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. It must: contain only unicode
	// characters, tabs, newlines, carriage returns and page breaks; and be at most
	// 2000 bytes long when encoded in UTF-8. If not set, defaults to an empty
	// description. If not set, defaults to an empty description.
	Description string `json:"description,omitempty"`
	// DisplayName: Required. User defined name of this policy tag. It must: be
	// unique within the parent taxonomy; contain only unicode letters, numbers,
	// underscores, dashes and spaces; not start or end with spaces; and be at most
	// 200 bytes long when encoded in UTF-8.
	DisplayName string `json:"displayName,omitempty"`
	// Name: Identifier. Resource name of this policy tag, whose format is:
	// "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/p
	// olicyTags/{id}".
	Name string `json:"name,omitempty"`
	// ParentPolicyTag: Resource name of this policy tag's parent policy tag (e.g.
	// for the "LatLong" policy tag in the example above, this field contains the
	// resource name of the "Geolocation" policy tag). If empty, it means this
	// policy tag is a top level policy tag (e.g. this field is empty for the
	// "Geolocation" policy tag in the example above). If not set, defaults to an
	// empty string.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ChildPolicyTags") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1PolicyTag: Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined in a hierarchy. For example, consider the following hierarchy: Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" contains three child policy tags: "LatLong", "City", and "ZipCode".

func (GoogleCloudDatacatalogV1beta1PolicyTag) MarshalJSON added in v0.15.0

func (s GoogleCloudDatacatalogV1beta1PolicyTag) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest added in v0.29.0

type GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NewEnumValueDisplayName") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest: Request message for RenameTagTemplateFieldEnumValue.

func (GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest) MarshalJSON added in v0.29.0

type GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest

type GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NewTagTemplateFieldId") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest: Request message for RenameTagTemplateField.

func (GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest) MarshalJSON

type GoogleCloudDatacatalogV1beta1Schema

type GoogleCloudDatacatalogV1beta1Schema struct {
	// Columns: Required. Schema of columns. A maximum of 10,000 columns and
	// sub-columns can be specified.
	Columns []*GoogleCloudDatacatalogV1beta1ColumnSchema `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Columns") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1Schema: Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema).

func (GoogleCloudDatacatalogV1beta1Schema) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1Schema) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1SearchCatalogRequest

type GoogleCloudDatacatalogV1beta1SearchCatalogRequest struct {
	// OrderBy: Specifies the ordering of results, currently supported
	// case-sensitive choices are: * `relevance`, only supports descending *
	// `last_modified_timestamp [asc|desc]`, defaults to descending if not
	// specified * `default` that can only be descending If not specified, defaults
	// to `relevance` descending.
	OrderBy string `json:"orderBy,omitempty"`
	// PageSize: Number of results in the search page. If <=0 then defaults to 10.
	// Max limit for page_size is 1000. Throws an invalid argument for page_size >
	// 1000.
	PageSize int64 `json:"pageSize,omitempty"`
	// PageToken: Optional. Pagination token returned in an earlier
	// SearchCatalogResponse.next_page_token, which indicates that this is a
	// continuation of a prior SearchCatalogRequest call, and that the system
	// should return the next page of data. If empty, the first page is returned.
	PageToken string `json:"pageToken,omitempty"`
	// Query: Optional. The query string in search query syntax. An empty query
	// string will result in all data assets (in the specified scope) that the user
	// has access to. Query strings can be simple as "x" or more qualified as: *
	// name:x * column:x * description:y Note: Query tokens need to have a minimum
	// of 3 characters for substring matching to work correctly. See Data Catalog
	// Search Syntax
	// (https://cloud.google.com/data-catalog/docs/how-to/search-reference) for
	// more information.
	Query string `json:"query,omitempty"`
	// Scope: Required. The scope of this search request. A `scope` that has empty
	// `include_org_ids`, `include_project_ids` AND false
	// `include_gcp_public_datasets` is considered invalid. Data Catalog will
	// return an error in such a case.
	Scope *GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "OrderBy") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SearchCatalogRequest: Request message for SearchCatalog.

func (GoogleCloudDatacatalogV1beta1SearchCatalogRequest) MarshalJSON

type GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope

type GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope struct {
	// IncludeGcpPublicDatasets: If `true`, include Google Cloud public datasets in
	// the search results. Info on Google Cloud public datasets is available at
	// https://cloud.google.com/public-datasets/. By default, Google Cloud public
	// datasets are excluded.
	IncludeGcpPublicDatasets bool `json:"includeGcpPublicDatasets,omitempty"`
	// IncludeOrgIds: The list of organization IDs to search within. To find your
	// organization ID, follow instructions in
	// https://cloud.google.com/resource-manager/docs/creating-managing-organization.
	IncludeOrgIds []string `json:"includeOrgIds,omitempty"`
	// IncludeProjectIds: The list of project IDs to search within. To learn more
	// about the distinction between project names/IDs/numbers, go to
	// https://cloud.google.com/docs/overview/#projects.
	IncludeProjectIds []string `json:"includeProjectIds,omitempty"`
	// RestrictedLocations: Optional. The list of locations to search within. 1. If
	// empty, search will be performed in all locations; 2. If any of the locations
	// are NOT in the valid locations list, error will be returned; 3. Otherwise,
	// search only the given locations for matching results. Typical usage is to
	// leave this field empty. When a location is unreachable as returned in the
	// `SearchCatalogResponse.unreachable` field, users can repeat the search
	// request with this parameter set to get additional information on the error.
	// Valid locations: * asia-east1 * asia-east2 * asia-northeast1 *
	// asia-northeast2 * asia-northeast3 * asia-south1 * asia-southeast1 *
	// australia-southeast1 * eu * europe-north1 * europe-west1 * europe-west2 *
	// europe-west3 * europe-west4 * europe-west6 * global *
	// northamerica-northeast1 * southamerica-east1 * us * us-central1 * us-east1 *
	// us-east4 * us-west1 * us-west2
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IncludeGcpPublicDatasets") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope: The criteria that select the subspace used for query matching.

func (GoogleCloudDatacatalogV1beta1SearchCatalogRequestScope) MarshalJSON

type GoogleCloudDatacatalogV1beta1SearchCatalogResponse

type GoogleCloudDatacatalogV1beta1SearchCatalogResponse struct {
	// NextPageToken: The token that can be used to retrieve the next page of
	// results.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Results: Search results.
	Results []*GoogleCloudDatacatalogV1beta1SearchCatalogResult `json:"results,omitempty"`
	// TotalSize: The approximate total number of entries matched by the query.
	TotalSize int64 `json:"totalSize,omitempty"`
	// Unreachable: Unreachable locations. Search result does not include data from
	// those locations. Users can get additional information on the error by
	// repeating the search request with a more restrictive parameter -- setting
	// the value for `SearchDataCatalogRequest.scope.restricted_locations`.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SearchCatalogResponse: Response message for SearchCatalog.

func (GoogleCloudDatacatalogV1beta1SearchCatalogResponse) MarshalJSON

type GoogleCloudDatacatalogV1beta1SearchCatalogResult

type GoogleCloudDatacatalogV1beta1SearchCatalogResult struct {
	// LinkedResource: The full name of the cloud resource the entry belongs to.
	// See: https://cloud.google.com/apis/design/resource_names#full_resource_name.
	// Example: *
	// `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/table
	// Id`
	LinkedResource string `json:"linkedResource,omitempty"`
	// ModifyTime: Last-modified timestamp of the entry from the managing system.
	ModifyTime string `json:"modifyTime,omitempty"`
	// RelativeResourceName: The relative resource name of the resource in URL
	// format. Examples: *
	// `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/e
	// ntries/{entry_id}` * `projects/{project_id}/tagTemplates/{tag_template_id}`
	RelativeResourceName string `json:"relativeResourceName,omitempty"`
	// SearchResultSubtype: Sub-type of the search result. This is a dot-delimited
	// description of the resource's full type, and is the same as the value
	// callers would provide in the "type" search facet. Examples: `entry.table`,
	// `entry.dataStream`, `tagTemplate`.
	SearchResultSubtype string `json:"searchResultSubtype,omitempty"`
	// SearchResultType: Type of the search result. This field can be used 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"`
	// ForceSendFields is a list of field names (e.g. "LinkedResource") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "LinkedResource") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SearchCatalogResult: A result that appears in the response of a search request. Each result captures details of one entry that matches the search.

func (GoogleCloudDatacatalogV1beta1SearchCatalogResult) MarshalJSON

type GoogleCloudDatacatalogV1beta1SerializedPolicyTag added in v0.15.0

type GoogleCloudDatacatalogV1beta1SerializedPolicyTag struct {
	// ChildPolicyTags: Children of the policy tag if any.
	ChildPolicyTags []*GoogleCloudDatacatalogV1beta1SerializedPolicyTag `json:"childPolicyTags,omitempty"`
	// Description: Description of the serialized policy tag. The length of the
	// description is limited to 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. Max 200 bytes when
	// encoded in UTF-8.
	DisplayName string `json:"displayName,omitempty"`
	// PolicyTag: Resource name of the policy tag. This field will be 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ChildPolicyTags") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SerializedPolicyTag: Message representing one policy tag when exported as a nested proto.

func (GoogleCloudDatacatalogV1beta1SerializedPolicyTag) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1SerializedTaxonomy added in v0.15.0

type GoogleCloudDatacatalogV1beta1SerializedTaxonomy struct {
	// ActivatedPolicyTypes: A list of policy types that are activated for a
	// taxonomy.
	//
	// Possible values:
	//   "POLICY_TYPE_UNSPECIFIED" - Unspecified policy type.
	//   "FINE_GRAINED_ACCESS_CONTROL" - Fine grained access control policy, which
	// enables access control on tagged resources.
	ActivatedPolicyTypes []string `json:"activatedPolicyTypes,omitempty"`
	// Description: Description of the serialized taxonomy. The length of the
	// description is limited to 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. Max 200 bytes when
	// encoded in UTF-8.
	DisplayName string `json:"displayName,omitempty"`
	// PolicyTags: Top level policy tags associated with the taxonomy if any.
	PolicyTags []*GoogleCloudDatacatalogV1beta1SerializedPolicyTag `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActivatedPolicyTypes") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SerializedTaxonomy: Message capturing a taxonomy and its policy tag hierarchy as a nested proto. Used for taxonomy import/export and mutation.

func (GoogleCloudDatacatalogV1beta1SerializedTaxonomy) MarshalJSON added in v0.15.0

type GoogleCloudDatacatalogV1beta1SystemTimestamps

type GoogleCloudDatacatalogV1beta1SystemTimestamps struct {
	// CreateTime: The creation time of the resource within the given system.
	CreateTime string `json:"createTime,omitempty"`
	// ExpireTime: Output only. The expiration time of the resource within the
	// given system. Currently only apllicable to BigQuery resources.
	ExpireTime string `json:"expireTime,omitempty"`
	// UpdateTime: The last-modified time of the resource within the given system.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1SystemTimestamps: Timestamps about this resource according to a particular system.

func (GoogleCloudDatacatalogV1beta1SystemTimestamps) MarshalJSON

type GoogleCloudDatacatalogV1beta1TableSpec

type GoogleCloudDatacatalogV1beta1TableSpec struct {
	// GroupedEntry: Output only. If the table is a dated shard, i.e., with name
	// pattern `[prefix]YYYYMMDD`, `grouped_entry` is the Data Catalog resource
	// name of the date sharded grouped entry, for example,
	// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entr
	// ies/{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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "GroupedEntry") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TableSpec: Normal BigQuery table spec.

func (GoogleCloudDatacatalogV1beta1TableSpec) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1TableSpec) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1Tag

type GoogleCloudDatacatalogV1beta1Tag struct {
	// Column: Resources like Entry can have schemas associated with them. This
	// scope allows users to attach tags to an individual column based on that
	// schema. For attaching a tag to a nested column, use `.` to separate the
	// column names. Example: * `outer_column.inner_column`
	Column string `json:"column,omitempty"`
	// Fields: Required. This maps the ID of a tag field to the value of and
	// additional information about that field. Valid field IDs are defined by the
	// tag's template. A tag must have at least 1 field and at most 500 fields.
	Fields map[string]GoogleCloudDatacatalogV1beta1TagField `json:"fields,omitempty"`
	// Name: Identifier. The resource name of the tag in URL format. Example: *
	// projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entri
	// es/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier.
	// Note that this Tag may not actually be stored in the location in this name.
	Name string `json:"name,omitempty"`
	// Template: Required. The resource name of the tag template that 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Column") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1Tag: Tags are used to attach custom metadata to Data Catalog resources. Tags conform to the specifications within 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 (GoogleCloudDatacatalogV1beta1Tag) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1Tag) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1TagField

type GoogleCloudDatacatalogV1beta1TagField struct {
	// BoolValue: Holds the value for a tag field with boolean type.
	BoolValue bool `json:"boolValue,omitempty"`
	// DisplayName: Output only. The display name of this field.
	DisplayName string `json:"displayName,omitempty"`
	// DoubleValue: Holds the value for a tag field with double type.
	DoubleValue float64 `json:"doubleValue,omitempty"`
	// EnumValue: Holds the value for a tag field with enum type. This value must
	// be one of the allowed values in the definition of this enum.
	EnumValue *GoogleCloudDatacatalogV1beta1TagFieldEnumValue `json:"enumValue,omitempty"`
	// Order: Output only. The order of this field with respect to other fields in
	// this tag. It can be set in 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 do not have to be sequential.
	Order int64 `json:"order,omitempty"`
	// StringValue: Holds the value for a tag field with string type.
	StringValue string `json:"stringValue,omitempty"`
	// TimestampValue: Holds the value for a tag field with 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "BoolValue") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TagField: Contains the value and supporting information for a field within a Tag.

func (GoogleCloudDatacatalogV1beta1TagField) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1TagField) MarshalJSON() ([]byte, error)

func (*GoogleCloudDatacatalogV1beta1TagField) UnmarshalJSON

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

type GoogleCloudDatacatalogV1beta1TagFieldEnumValue

type GoogleCloudDatacatalogV1beta1TagFieldEnumValue 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TagFieldEnumValue: Holds an enum value.

func (GoogleCloudDatacatalogV1beta1TagFieldEnumValue) MarshalJSON

type GoogleCloudDatacatalogV1beta1TagTemplate

type GoogleCloudDatacatalogV1beta1TagTemplate struct {
	// DataplexTransferStatus: Output only. Transfer status of the TagTemplate
	//
	// Possible values:
	//   "DATAPLEX_TRANSFER_STATUS_UNSPECIFIED" - Default value. TagTemplate and
	// its tags are only visible and editable in DataCatalog.
	//   "MIGRATED" - TagTemplate and its tags are auto-copied to Dataplex service.
	// Visible in both services. Editable in DataCatalog, read-only in Dataplex.
	// Deprecated: Individual TagTemplate migration is deprecated in favor of
	// organization or project wide TagTemplate migration opt-in.
	DataplexTransferStatus string `json:"dataplexTransferStatus,omitempty"`
	// DisplayName: The display name for this template. Defaults to an empty
	// string.
	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. This map must
	// contain at least one field and at most 500 fields. The keys to this map are
	// tag template field IDs. Field IDs can contain letters (both uppercase and
	// lowercase), numbers (0-9) and underscores (_). Field IDs must be at least 1
	// character long and at most 64 characters long. Field IDs must start with a
	// letter or underscore.
	Fields map[string]GoogleCloudDatacatalogV1beta1TagTemplateField `json:"fields,omitempty"`
	// Name: Identifier. The resource name of the tag template in URL format.
	// Example: *
	// projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}
	// Note that this TagTemplate and its child resources may not actually be
	// stored in the location in this 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. "DataplexTransferStatus") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DataplexTransferStatus") to
	// include in API requests with the JSON null value. By default, fields with
	// empty values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TagTemplate: A tag template defines a tag, which can have one or more typed fields. The template is used to create and attach the tag to Google Cloud resources. Tag template roles (https://cloud.google.com/iam/docs/understanding-roles#data-catalog-roles) provide permissions to create, edit, and use the template. See, for example, the TagTemplate User (https://cloud.google.com/data-catalog/docs/how-to/template-user) role, which includes permission to use the tag template to tag resources.

func (GoogleCloudDatacatalogV1beta1TagTemplate) MarshalJSON

type GoogleCloudDatacatalogV1beta1TagTemplateField

type GoogleCloudDatacatalogV1beta1TagTemplateField 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.
	DisplayName string `json:"displayName,omitempty"`
	// IsRequired: Whether this is a required field. Defaults to false.
	IsRequired bool `json:"isRequired,omitempty"`
	// Name: Output only. Identifier. The resource name of the tag template field
	// in URL format. Example: *
	// projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields
	// /{field} Note that this TagTemplateField may not actually be stored in the
	// location in this name.
	Name string `json:"name,omitempty"`
	// Order: The order of this field with respect to other fields in this tag
	// template. A higher value indicates a more important field. The value can be
	// negative. Multiple fields can have the same order, and field orders within a
	// tag do not have to be sequential.
	Order int64 `json:"order,omitempty"`
	// Type: Required. The type of value this tag field can contain.
	Type *GoogleCloudDatacatalogV1beta1FieldType `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Description") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TagTemplateField: The template for an individual field within a tag template.

func (GoogleCloudDatacatalogV1beta1TagTemplateField) MarshalJSON

type GoogleCloudDatacatalogV1beta1Taxonomy added in v0.15.0

type GoogleCloudDatacatalogV1beta1Taxonomy 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, which
	// enables access control on tagged resources.
	ActivatedPolicyTypes []string `json:"activatedPolicyTypes,omitempty"`
	// Description: Optional. Description of this taxonomy. It must: contain only
	// unicode characters, tabs, newlines, carriage returns and page breaks; and be
	// at most 2000 bytes long when encoded in UTF-8. If not set, defaults to an
	// empty description.
	Description string `json:"description,omitempty"`
	// DisplayName: Required. User defined name of this taxonomy. It must: contain
	// only unicode letters, numbers, underscores, dashes and spaces; not start or
	// end with spaces; and be at most 200 bytes long when encoded in UTF-8. The
	// taxonomy display name must be unique within an organization.
	DisplayName string `json:"displayName,omitempty"`
	// Name: Identifier. Resource name of this taxonomy, whose format is:
	// "projects/{project_number}/locations/{location_id}/taxonomies/{id}".
	Name string `json:"name,omitempty"`
	// PolicyTagCount: Output only. Number of policy tags contained in this
	// taxonomy.
	PolicyTagCount int64 `json:"policyTagCount,omitempty"`
	// Service: Output only. Identity of the service which owns the Taxonomy. This
	// field is only populated when the taxonomy is created by a Google Cloud
	// service. Currently only 'DATAPLEX' is supported.
	Service *GoogleCloudDatacatalogV1beta1TaxonomyService `json:"service,omitempty"`
	// TaxonomyTimestamps: Output only. Timestamps about this taxonomy. Only
	// create_time and update_time are used.
	TaxonomyTimestamps *GoogleCloudDatacatalogV1beta1SystemTimestamps `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ActivatedPolicyTypes") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1Taxonomy: A taxonomy is a collection of policy tags that classify data along a common axis. For instance a data *sensitivity* taxonomy could contain policy tags denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could contain policy tags to distinguish user data, employee data, partner data, public data.

func (GoogleCloudDatacatalogV1beta1Taxonomy) MarshalJSON added in v0.15.0

func (s GoogleCloudDatacatalogV1beta1Taxonomy) MarshalJSON() ([]byte, error)

type GoogleCloudDatacatalogV1beta1TaxonomyService added in v0.109.0

type GoogleCloudDatacatalogV1beta1TaxonomyService struct {
	// Identity: The service agent for the service.
	Identity string `json:"identity,omitempty"`
	// Name: The Google Cloud service name.
	//
	// Possible values:
	//   "MANAGING_SYSTEM_UNSPECIFIED" - Default value
	//   "MANAGING_SYSTEM_DATAPLEX" - Dataplex.
	//   "MANAGING_SYSTEM_OTHER" - Other
	Name string `json:"name,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Identity") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Identity") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1TaxonomyService: The source system of the Taxonomy.

func (GoogleCloudDatacatalogV1beta1TaxonomyService) MarshalJSON added in v0.109.0

type GoogleCloudDatacatalogV1beta1UsageSignal added in v0.47.0

type GoogleCloudDatacatalogV1beta1UsageSignal struct {
	// UpdateTime: The timestamp of the end of the usage statistics duration.
	UpdateTime string `json:"updateTime,omitempty"`
	// UsageWithinTimeRange: Usage statistics over each of the pre-defined time
	// ranges, supported strings for time ranges are {"24H", "7D", "30D"}.
	UsageWithinTimeRange map[string]GoogleCloudDatacatalogV1beta1UsageStats `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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "UpdateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1UsageSignal: The set of all usage signals that we store in Data Catalog.

func (GoogleCloudDatacatalogV1beta1UsageSignal) MarshalJSON added in v0.47.0

type GoogleCloudDatacatalogV1beta1UsageStats added in v0.47.0

type GoogleCloudDatacatalogV1beta1UsageStats struct {
	// TotalCancellations: The number of times that the underlying entry was
	// attempted to be used but was cancelled by the user.
	TotalCancellations float64 `json:"totalCancellations,omitempty"`
	// TotalCompletions: The number of times that the underlying entry was
	// successfully used.
	TotalCompletions float64 `json:"totalCompletions,omitempty"`
	// TotalExecutionTimeForCompletionsMillis: Total time spent (in milliseconds)
	// during uses the resulted in completions.
	TotalExecutionTimeForCompletionsMillis float64 `json:"totalExecutionTimeForCompletionsMillis,omitempty"`
	// TotalFailures: The number of times that the underlying entry was attempted
	// to be used but failed.
	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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "TotalCancellations") to include
	// in API requests with the JSON null value. By default, fields with empty
	// values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1UsageStats: Detailed counts on the entry's usage. Caveats: - Only BigQuery tables have usage stats - The usage stats only include BigQuery query jobs - The usage stats might be underestimated, e.g. wildcard table references are not yet counted in usage computation https://cloud.google.com/bigquery/docs/querying-wildcard-tables

func (GoogleCloudDatacatalogV1beta1UsageStats) MarshalJSON added in v0.47.0

func (s GoogleCloudDatacatalogV1beta1UsageStats) MarshalJSON() ([]byte, error)

func (*GoogleCloudDatacatalogV1beta1UsageStats) UnmarshalJSON added in v0.47.0

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

type GoogleCloudDatacatalogV1beta1ViewSpec

type GoogleCloudDatacatalogV1beta1ViewSpec 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "ViewQuery") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

GoogleCloudDatacatalogV1beta1ViewSpec: Table view specification.

func (GoogleCloudDatacatalogV1beta1ViewSpec) MarshalJSON

func (s GoogleCloudDatacatalogV1beta1ViewSpec) MarshalJSON() ([]byte, error)

type Policy

type Policy struct {
	// Bindings: Associates a list of `members`, or principals, with a `role`.
	// Optionally, may specify a `condition` that determines how and when the
	// `bindings` are applied. Each of the `bindings` must contain at least one
	// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;
	// up to 250 of these principals can be Google groups. Each occurrence of a
	// principal counts towards these limits. For example, if the `bindings` grant
	// 50 different roles to `user:alice@example.com`, and not to any other
	// principal, then you can add another 1,450 principals to the `bindings` in
	// the `Policy`.
	Bindings []*Binding `json:"bindings,omitempty"`
	// Etag: `etag` is used for optimistic concurrency control as a way to help
	// prevent simultaneous updates of a policy from overwriting each other. It is
	// strongly suggested that systems make use of the `etag` in the
	// read-modify-write cycle to perform policy updates in order to avoid race
	// conditions: An `etag` is returned in the response to `getIamPolicy`, and
	// systems are expected to put that etag in the request to `setIamPolicy` to
	// ensure that their change will be applied to the same version of the policy.
	// **Important:** If you use IAM Conditions, you must include the `etag` field
	// whenever you call `setIamPolicy`. If you omit this field, then IAM allows
	// you to overwrite a version `3` policy with a version `1` policy, and all of
	// the conditions in the version `3` policy are lost.
	Etag string `json:"etag,omitempty"`
	// Version: Specifies the format of the policy. Valid values are `0`, `1`, and
	// `3`. Requests that specify an invalid value are rejected. Any operation that
	// affects conditional role bindings must specify version `3`. This requirement
	// applies to the following operations: * Getting a policy that includes a
	// conditional role binding * Adding a conditional role binding to a policy *
	// Changing a conditional role binding in a policy * Removing any role binding,
	// with or without a condition, from a policy that includes 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Bindings") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).

func (Policy) MarshalJSON

func (s Policy) MarshalJSON() ([]byte, error)

type ProjectsLocationsEntryGroupsCreateCall

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

func (*ProjectsLocationsEntryGroupsCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsCreateCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1EntryGroup.ServerResponse.Header or (if a response was 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

EntryGroupId sets the optional parameter "entryGroupId": Required. The id of the entry group to create. The id must begin with a letter or underscore, contain only English letters, numbers and underscores, and be at most 64 characters.

func (*ProjectsLocationsEntryGroupsCreateCall) Fields

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

func (*ProjectsLocationsEntryGroupsCreateCall) Header

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

type ProjectsLocationsEntryGroupsDeleteCall

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

func (*ProjectsLocationsEntryGroupsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsDeleteCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsDeleteCall) Fields

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

func (*ProjectsLocationsEntryGroupsDeleteCall) Force added in v0.16.0

Force sets the optional parameter "force": If true, deletes all entries in the entry group.

func (*ProjectsLocationsEntryGroupsDeleteCall) Header

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

type ProjectsLocationsEntryGroupsEntriesCreateCall

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

func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Entry.ServerResponse.Header or (if a response was 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

EntryId sets the optional parameter "entryId": Required. The id of the entry to create.

func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Fields

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

func (*ProjectsLocationsEntryGroupsEntriesCreateCall) Header

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

type ProjectsLocationsEntryGroupsEntriesDeleteCall

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

func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Fields

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

func (*ProjectsLocationsEntryGroupsEntriesDeleteCall) Header

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

type ProjectsLocationsEntryGroupsEntriesGetCall

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

func (*ProjectsLocationsEntryGroupsEntriesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesGetCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Entry.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsEntriesGetCall) Header

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

func (*ProjectsLocationsEntryGroupsEntriesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall

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

func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Fields

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

func (*ProjectsLocationsEntryGroupsEntriesGetIamPolicyCall) Header

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

type ProjectsLocationsEntryGroupsEntriesListCall added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsEntriesListCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesListCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.entries.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListEntriesResponse.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsEntriesListCall) Header added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsEntriesListCall) IfNoneMatch added in v0.18.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEntryGroupsEntriesListCall) PageSize added in v0.18.0

PageSize sets the optional parameter "pageSize": The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`.

func (*ProjectsLocationsEntryGroupsEntriesListCall) PageToken added in v0.18.0

PageToken sets the optional parameter "pageToken": Token that specifies which page is requested. If empty, the first page is returned.

func (*ProjectsLocationsEntryGroupsEntriesListCall) Pages added in v0.18.0

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 added in v0.18.0

ReadMask sets the optional parameter "readMask": The fields to return for each Entry. If not set or empty, all fields are returned. For example, setting read_mask to contain only one path "name" will cause ListEntries to return a list of Entries with only "name" field.

type ProjectsLocationsEntryGroupsEntriesPatchCall

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

func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Entry.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsEntriesPatchCall) Header

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

func (*ProjectsLocationsEntryGroupsEntriesPatchCall) UpdateMask

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. The following fields are modifiable: * 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

Create: Creates an entry. Only entries of 'FILESET' type or user-specified type can be created. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information). A maximum of 100,000 entries may be created per entry group.

  • parent: The name of the entry group this entry is in. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this Entry and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsEntriesService) Delete

Delete: Deletes an existing entry. Only entries created through CreateEntry method can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}.

func (*ProjectsLocationsEntryGroupsEntriesService) Get

Get: Gets an entry.

  • name: The name of the entry. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}.

func (*ProjectsLocationsEntryGroupsEntriesService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.

func (*ProjectsLocationsEntryGroupsEntriesService) List added in v0.18.0

List: Lists entries.

  • parent: The name of the entry group that contains the entries, which can be provided in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

func (*ProjectsLocationsEntryGroupsEntriesService) Patch

Patch: Updates an existing entry. Users should enable the Data Catalog API in the project identified by the `entry.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: Output only. Identifier. The Data Catalog resource name of the entry in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id} Note that this Entry and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsEntriesService) TestIamPermissions

TestIamPermissions: Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.

type ProjectsLocationsEntryGroupsEntriesTagsCreateCall

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

func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Tag.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsEntriesTagsCreateCall) Header

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

type ProjectsLocationsEntryGroupsEntriesTagsDeleteCall

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

func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Fields

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

func (*ProjectsLocationsEntryGroupsEntriesTagsDeleteCall) Header

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

type ProjectsLocationsEntryGroupsEntriesTagsListCall

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

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListTagsResponse.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Header

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

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of tags to return. Default is 10. Max limit is 1000.

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) PageToken

PageToken sets the optional parameter "pageToken": Token that specifies which page is requested. If empty, the first page is returned.

func (*ProjectsLocationsEntryGroupsEntriesTagsListCall) Pages

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

type ProjectsLocationsEntryGroupsEntriesTagsPatchCall

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

func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.tags.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Tag.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) Header

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

func (*ProjectsLocationsEntryGroupsEntriesTagsPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Note: Currently, this parameter can only take "fields" as value. 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

Create: Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the tag (https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the tag template (https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same organization.

  • parent: The name of the resource to attach this tag to. Tags can be attached to Entries. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsEntriesTagsService) Delete

Delete: Deletes a tag.

  • name: The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}/tags/{tag_id}.

func (*ProjectsLocationsEntryGroupsEntriesTagsService) List

List: Lists tags assigned to an Entry. The columns in the response are lowercased.

  • parent: The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}.

func (*ProjectsLocationsEntryGroupsEntriesTagsService) Patch

Patch: Updates an existing tag.

  • name: Identifier. The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/ent ries/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.

type ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall

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

func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.entries.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Fields

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

func (*ProjectsLocationsEntryGroupsEntriesTestIamPermissionsCall) Header

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

type ProjectsLocationsEntryGroupsGetCall

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

func (*ProjectsLocationsEntryGroupsGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsGetCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1EntryGroup.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsEntryGroupsGetCall) Header

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

func (*ProjectsLocationsEntryGroupsGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEntryGroupsGetCall) ReadMask

ReadMask sets the optional parameter "readMask": The fields to return. If not set or empty, all fields are returned.

type ProjectsLocationsEntryGroupsGetIamPolicyCall

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

func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Fields

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

func (*ProjectsLocationsEntryGroupsGetIamPolicyCall) Header

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

type ProjectsLocationsEntryGroupsListCall added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsListCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsListCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListEntryGroupsResponse.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsListCall) Header added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsListCall) IfNoneMatch added in v0.18.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEntryGroupsListCall) PageSize added in v0.18.0

PageSize sets the optional parameter "pageSize": The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `page_size > 1000`.

func (*ProjectsLocationsEntryGroupsListCall) PageToken added in v0.18.0

PageToken sets the optional parameter "pageToken": Token that specifies which page is requested. If empty, the first page is returned.

func (*ProjectsLocationsEntryGroupsListCall) Pages added in v0.18.0

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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsPatchCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsPatchCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1EntryGroup.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsPatchCall) Header added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsPatchCall) UpdateMask added in v0.18.0

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

Create: A maximum of 10,000 entry groups may be created per organization across all locations. Users should enable the Data Catalog API in the project identified by the `parent` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • parent: The name of the project this entry group is in. Example: * projects/{project_id}/locations/{location} Note that this EntryGroup and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsService) Delete

Delete: Deletes an EntryGroup. Only entry groups that do not contain entries can be deleted. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.

func (*ProjectsLocationsEntryGroupsService) Get

Get: Gets an EntryGroup.

  • name: The name of the entry group. For example, `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`.

func (*ProjectsLocationsEntryGroupsService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.

func (*ProjectsLocationsEntryGroupsService) List added in v0.18.0

List: Lists entry groups.

  • parent: The name of the location that contains the entry groups, which can be provided in URL format. Example: * projects/{project_id}/locations/{location}.

func (*ProjectsLocationsEntryGroupsService) Patch added in v0.18.0

Patch: Updates an EntryGroup. The user should enable the Data Catalog API in the project identified by the `entry_group.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: Identifier. The resource name of the entry group in URL format. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} Note that this EntryGroup and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsService) SetIamPolicy

SetIamPolicy: Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.

func (*ProjectsLocationsEntryGroupsService) TestIamPermissions

TestIamPermissions: Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.

type ProjectsLocationsEntryGroupsSetIamPolicyCall

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

func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Fields

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

func (*ProjectsLocationsEntryGroupsSetIamPolicyCall) Header

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

type ProjectsLocationsEntryGroupsTagsCreateCall added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsCreateCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsTagsCreateCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.tags.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Tag.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsCreateCall) Header added in v0.18.0

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

type ProjectsLocationsEntryGroupsTagsDeleteCall added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.tags.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Fields added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsDeleteCall) Header added in v0.18.0

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

type ProjectsLocationsEntryGroupsTagsListCall added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsListCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsTagsListCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.tags.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListTagsResponse.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsListCall) Header added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsListCall) IfNoneMatch added in v0.18.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsEntryGroupsTagsListCall) PageSize added in v0.18.0

PageSize sets the optional parameter "pageSize": The maximum number of tags to return. Default is 10. Max limit is 1000.

func (*ProjectsLocationsEntryGroupsTagsListCall) PageToken added in v0.18.0

PageToken sets the optional parameter "pageToken": Token that specifies which page is requested. If empty, the first page is returned.

func (*ProjectsLocationsEntryGroupsTagsListCall) Pages added in v0.18.0

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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsPatchCall) Context added in v0.18.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsTagsPatchCall) Do added in v0.18.0

Do executes the "datacatalog.projects.locations.entryGroups.tags.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Tag.ServerResponse.Header or (if a response was 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 added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsPatchCall) Header added in v0.18.0

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

func (*ProjectsLocationsEntryGroupsTagsPatchCall) UpdateMask added in v0.18.0

UpdateMask sets the optional parameter "updateMask": Note: Currently, this parameter can only take "fields" as value. 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 added in v0.18.0

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

func NewProjectsLocationsEntryGroupsTagsService added in v0.18.0

func NewProjectsLocationsEntryGroupsTagsService(s *Service) *ProjectsLocationsEntryGroupsTagsService

func (*ProjectsLocationsEntryGroupsTagsService) Create added in v0.18.0

Create: Creates a tag on an Entry. Note: The project identified by the `parent` parameter for the tag (https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups.entries.tags/create#path-parameters) and the tag template (https://cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.tagTemplates/create#path-parameters) used to create the tag must be from the same organization.

  • parent: The name of the resource to attach this tag to. Tags can be attached to Entries. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id} Note that this Tag and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsEntryGroupsTagsService) Delete added in v0.18.0

Delete: Deletes a tag.

  • name: The name of the tag to delete. Example: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}/tags/{tag_id}.

func (*ProjectsLocationsEntryGroupsTagsService) List added in v0.18.0

List: Lists tags assigned to an Entry. The columns in the response are lowercased.

  • parent: The name of the Data Catalog resource to list the tags of. The resource could be an Entry or an EntryGroup. Examples: * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/ent ries/{entry_id}.

func (*ProjectsLocationsEntryGroupsTagsService) Patch added in v0.18.0

Patch: Updates an existing tag.

  • name: Identifier. The resource name of the tag in URL format. Example: * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/ent ries/{entry_id}/tags/{tag_id} where `tag_id` is a system-generated identifier. Note that this Tag may not actually be stored in the location in this name.

type ProjectsLocationsEntryGroupsTestIamPermissionsCall

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

func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Do

Do executes the "datacatalog.projects.locations.entryGroups.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Fields

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

func (*ProjectsLocationsEntryGroupsTestIamPermissionsCall) Header

Header returns a http.Header that can be modified by the caller to add 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesCreateCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplate.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesCreateCall) Header

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

func (*ProjectsLocationsTagTemplatesCreateCall) TagTemplateId

TagTemplateId sets the optional parameter "tagTemplateId": Required. The id of the tag template to create.

type ProjectsLocationsTagTemplatesDeleteCall

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

func (*ProjectsLocationsTagTemplatesDeleteCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesDeleteCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTagTemplatesDeleteCall) Fields

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

func (*ProjectsLocationsTagTemplatesDeleteCall) Force

Force sets the optional parameter "force": Required. Currently, this field must always be set to `true`. This confirms the deletion of any possible tags using this template. `force = false` will be supported in the future.

func (*ProjectsLocationsTagTemplatesDeleteCall) Header

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

type ProjectsLocationsTagTemplatesFieldsCreateCall

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

func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.fields.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplateField.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesFieldsCreateCall) Header

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

func (*ProjectsLocationsTagTemplatesFieldsCreateCall) TagTemplateFieldId

TagTemplateFieldId sets the optional parameter "tagTemplateFieldId": Required. The ID of the tag template field to create. 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.fields.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Fields

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

func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Force

Force sets the optional parameter "force": Required. Currently, this field must always be set to `true`. This confirms the deletion of this field from any tags using this field. `force = false` will be supported in the future.

func (*ProjectsLocationsTagTemplatesFieldsDeleteCall) Header

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

type ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall added in v0.29.0

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

func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Context added in v0.29.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Do added in v0.29.0

Do executes the "datacatalog.projects.locations.tagTemplates.fields.enumValues.rename" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplateField.ServerResponse.Header or (if a response was 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 added in v0.29.0

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

func (*ProjectsLocationsTagTemplatesFieldsEnumValuesRenameCall) Header added in v0.29.0

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

type ProjectsLocationsTagTemplatesFieldsEnumValuesService added in v0.29.0

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

func NewProjectsLocationsTagTemplatesFieldsEnumValuesService added in v0.29.0

func NewProjectsLocationsTagTemplatesFieldsEnumValuesService(s *Service) *ProjectsLocationsTagTemplatesFieldsEnumValuesService

func (*ProjectsLocationsTagTemplatesFieldsEnumValuesService) Rename added in v0.29.0

Rename: Renames an enum value in a tag template. The enum values have to be unique within one enum field. Thus, an enum value cannot be renamed with a name used in any other enum value within the same enum field.

  • name: The name of the enum field value. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/f ields/{tag_template_field_id}/enumValues/{enum_value_display_name}.

type ProjectsLocationsTagTemplatesFieldsPatchCall

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

func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.fields.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplateField.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesFieldsPatchCall) Header

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

func (*ProjectsLocationsTagTemplatesFieldsPatchCall) UpdateMask

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.fields.rename" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplateField.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesFieldsRenameCall) Header

Header returns a http.Header that can be modified by the caller to add 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

Create: Creates a field in a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see Data Catalog Resource Project (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

func (*ProjectsLocationsTagTemplatesFieldsService) Delete

Delete: Deletes a field in a tag template and all uses of that field. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the tag template field to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/f ields/{tag_template_field_id}.

func (*ProjectsLocationsTagTemplatesFieldsService) Patch

Patch: Updates a field in a tag template. This method cannot be used to update the field type. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the tag template field. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/f ields/{tag_template_field_id}.

func (*ProjectsLocationsTagTemplatesFieldsService) Rename

Rename: Renames a field in a tag template. The user should enable the Data Catalog API in the project identified by the `name` parameter (see Data Catalog Resource Project (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/f ields/{tag_template_field_id}.

type ProjectsLocationsTagTemplatesGetCall

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

func (*ProjectsLocationsTagTemplatesGetCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesGetCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplate.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesGetCall) Header

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

func (*ProjectsLocationsTagTemplatesGetCall) IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTagTemplatesGetIamPolicyCall

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

func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Fields

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

func (*ProjectsLocationsTagTemplatesGetIamPolicyCall) Header

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

type ProjectsLocationsTagTemplatesPatchCall

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

func (*ProjectsLocationsTagTemplatesPatchCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesPatchCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1TagTemplate.ServerResponse.Header or (if a response was 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

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

func (*ProjectsLocationsTagTemplatesPatchCall) Header

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

func (*ProjectsLocationsTagTemplatesPatchCall) UpdateMask

UpdateMask sets the optional parameter "updateMask": Names of fields whose values to overwrite on a tag template. Currently, only `display_name` can be overwritten. 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 ProjectsLocationsTagTemplatesService

type ProjectsLocationsTagTemplatesService struct {
	Fields *ProjectsLocationsTagTemplatesFieldsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsTagTemplatesService

func NewProjectsLocationsTagTemplatesService(s *Service) *ProjectsLocationsTagTemplatesService

func (*ProjectsLocationsTagTemplatesService) Create

Create: Creates a tag template. The user should enable the Data Catalog API in the project identified by the `parent` parameter (see Data Catalog Resource Project (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

func (*ProjectsLocationsTagTemplatesService) Delete

Delete: Deletes a tag template and all tags using the template. Users should enable the Data Catalog API in the project identified by the `name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: The name of the tag template to delete. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}.

func (*ProjectsLocationsTagTemplatesService) Get

Get: Gets a tag template.

  • name: The name of the tag template. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}.

func (*ProjectsLocationsTagTemplatesService) GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates. - `datacatalog.entries.getIamPolicy` to get policies on entries. - `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.

func (*ProjectsLocationsTagTemplatesService) Patch

Patch: Updates a tag template. This method cannot be used to update the fields of a template. The tag template fields are represented as separate resources and should be updated using their own create/update/delete methods. Users should enable the Data Catalog API in the project identified by the `tag_template.name` parameter (see [Data Catalog Resource Project] (https://cloud.google.com/data-catalog/docs/concepts/resource-project) for more information).

  • name: Identifier. The resource name of the tag template in URL format. Example: * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} Note that this TagTemplate and its child resources may not actually be stored in the location in this name.

func (*ProjectsLocationsTagTemplatesService) SetIamPolicy

SetIamPolicy: Sets the access control policy for a resource. Replaces any existing policy. Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. Callers must have following Google IAM permission - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag templates. - `datacatalog.entries.setIamPolicy` to set policies on entries. - `datacatalog.entryGroups.setIamPolicy` to set policies on entry groups.

func (*ProjectsLocationsTagTemplatesService) TestIamPermissions

TestIamPermissions: Returns the caller's permissions on a resource. If the resource does not exist, an empty set of permissions is returned (We don't return a `NOT_FOUND` error). Supported resources are: - Tag templates. - Entries. - Entry groups. Note, this method cannot be used to manage policies for BigQuery, Pub/Sub and any external Google Cloud Platform resources synced to Data Catalog. A caller is not required to have Google IAM permission to make this request.

type ProjectsLocationsTagTemplatesSetIamPolicyCall

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

func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Fields

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

func (*ProjectsLocationsTagTemplatesSetIamPolicyCall) Header

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

type ProjectsLocationsTagTemplatesTestIamPermissionsCall

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

func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Do

Do executes the "datacatalog.projects.locations.tagTemplates.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Fields

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

func (*ProjectsLocationsTagTemplatesTestIamPermissionsCall) Header

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

type ProjectsLocationsTaxonomiesCreateCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesCreateCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesCreateCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Taxonomy.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesCreateCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesDeleteCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesDeleteCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesDeleteCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesDeleteCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesDeleteCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesExportCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesExportCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesExportCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.export" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ExportTaxonomiesResponse.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesExportCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesExportCall) IfNoneMatch added in v0.15.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTaxonomiesExportCall) SerializedTaxonomies added in v0.15.0

func (c *ProjectsLocationsTaxonomiesExportCall) SerializedTaxonomies(serializedTaxonomies bool) *ProjectsLocationsTaxonomiesExportCall

SerializedTaxonomies sets the optional parameter "serializedTaxonomies": Export taxonomies as serialized taxonomies.

func (*ProjectsLocationsTaxonomiesExportCall) Taxonomies added in v0.15.0

Taxonomies sets the optional parameter "taxonomies": Required. Resource names of the taxonomies to be exported.

type ProjectsLocationsTaxonomiesGetCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesGetCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesGetCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Taxonomy.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesGetCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesGetCall) IfNoneMatch added in v0.15.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTaxonomiesGetIamPolicyCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesGetIamPolicyCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesImportCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesImportCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesImportCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.import" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ImportTaxonomiesResponse.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesImportCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesListCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesListCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesListCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListTaxonomiesResponse.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesListCall) Filter added in v0.109.0

Filter sets the optional parameter "filter": Supported field for filter is 'service' and value is 'dataplex'. Eg: service=dataplex.

func (*ProjectsLocationsTaxonomiesListCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesListCall) IfNoneMatch added in v0.15.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTaxonomiesListCall) PageSize added in v0.15.0

PageSize sets the optional parameter "pageSize": The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.

func (*ProjectsLocationsTaxonomiesListCall) PageToken added in v0.15.0

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request, if any. If not set, defaults to an empty string.

func (*ProjectsLocationsTaxonomiesListCall) Pages added in v0.15.0

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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPatchCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPatchCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1Taxonomy.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPatchCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPatchCall) UpdateMask added in v0.15.0

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

type ProjectsLocationsTaxonomiesPolicyTagsCreateCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1PolicyTag.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsCreateCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesPolicyTagsDeleteCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.delete" call. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsDeleteCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesPolicyTagsGetCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1PolicyTag.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsGetCall) IfNoneMatch added in v0.15.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

type ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.getIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsGetIamPolicyCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesPolicyTagsListCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1ListPolicyTagsResponse.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) IfNoneMatch added in v0.15.0

IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) PageSize added in v0.15.0

PageSize sets the optional parameter "pageSize": The maximum number of items to return. Must be a value between 1 and 1000. If not set, defaults to 50.

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) PageToken added in v0.15.0

PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous List request, if any. If not set, defaults to an empty string.

func (*ProjectsLocationsTaxonomiesPolicyTagsListCall) Pages added in v0.15.0

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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDatacatalogV1beta1PolicyTag.ServerResponse.Header or (if a response was 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 added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) Header added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsPatchCall) UpdateMask added in v0.15.0

UpdateMask sets the optional parameter "updateMask": The update mask applies to the resource. Only display_name, description and parent_policy_tag can be updated and thus can be listed in the mask. If update_mask is not provided, all allowed fields (i.e. display_name, description and parent) will be updated. For more information including the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

type ProjectsLocationsTaxonomiesPolicyTagsService added in v0.15.0

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

func NewProjectsLocationsTaxonomiesPolicyTagsService added in v0.15.0

func NewProjectsLocationsTaxonomiesPolicyTagsService(s *Service) *ProjectsLocationsTaxonomiesPolicyTagsService

func (*ProjectsLocationsTaxonomiesPolicyTagsService) Create added in v0.15.0

Create: Creates a policy tag in the specified taxonomy.

- parent: Resource name of the taxonomy that the policy tag will belong to.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) Delete added in v0.15.0

Delete: Deletes a policy tag. Also deletes all of its descendant policy tags.

  • name: Resource name of the policy tag to be deleted. All of its descendant policy tags will also be deleted.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) Get added in v0.15.0

Get: Gets a policy tag.

- name: Resource name of the requested policy tag.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) GetIamPolicy added in v0.15.0

GetIamPolicy: Gets the IAM policy for a taxonomy or a policy tag.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) List added in v0.15.0

List: Lists all policy tags in a taxonomy.

- parent: Resource name of the taxonomy to list the policy tags of.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) Patch added in v0.15.0

Patch: Updates a policy tag.

  • name: Identifier. Resource name of this policy tag, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id} /policyTags/{id}".

func (*ProjectsLocationsTaxonomiesPolicyTagsService) SetIamPolicy added in v0.15.0

SetIamPolicy: Sets the IAM policy for a taxonomy or a policy tag.

func (*ProjectsLocationsTaxonomiesPolicyTagsService) TestIamPermissions added in v0.15.0

TestIamPermissions: Returns the permissions that a caller has on the specified taxonomy or policy tag.

type ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsSetIamPolicyCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.policyTags.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesPolicyTagsTestIamPermissionsCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesService added in v0.15.0

type ProjectsLocationsTaxonomiesService struct {
	PolicyTags *ProjectsLocationsTaxonomiesPolicyTagsService
	// contains filtered or unexported fields
}

func NewProjectsLocationsTaxonomiesService added in v0.15.0

func NewProjectsLocationsTaxonomiesService(s *Service) *ProjectsLocationsTaxonomiesService

func (*ProjectsLocationsTaxonomiesService) Create added in v0.15.0

Create: Creates a taxonomy in the specified project.

- parent: Resource name of the project that the taxonomy will belong to.

func (*ProjectsLocationsTaxonomiesService) Delete added in v0.15.0

Delete: Deletes a taxonomy. This operation will also delete all policy tags in this taxonomy along with their associated policies.

  • name: Resource name of the taxonomy to be deleted. All policy tags in this taxonomy will also be deleted.

func (*ProjectsLocationsTaxonomiesService) Export added in v0.15.0

Export: Exports all taxonomies and their policy tags in a project. This method generates SerializedTaxonomy protos with nested policy tags that can be used as an input for future ImportTaxonomies calls.

  • parent: Resource name of the project that taxonomies to be exported will share.

func (*ProjectsLocationsTaxonomiesService) Get added in v0.15.0

Get: Gets a taxonomy.

- name: Resource name of the requested taxonomy.

func (*ProjectsLocationsTaxonomiesService) GetIamPolicy added in v0.15.0

GetIamPolicy: Gets the IAM policy for a taxonomy or a policy tag.

func (*ProjectsLocationsTaxonomiesService) Import added in v0.15.0

func (r *ProjectsLocationsTaxonomiesService) Import(parent string, googleclouddatacatalogv1beta1importtaxonomiesrequest *GoogleCloudDatacatalogV1beta1ImportTaxonomiesRequest) *ProjectsLocationsTaxonomiesImportCall

Import: Imports all taxonomies and their policy tags to a project as new taxonomies. This method provides a bulk taxonomy / policy tag creation using nested proto structure.

  • parent: Resource name of project that the imported taxonomies will belong to.

func (*ProjectsLocationsTaxonomiesService) List added in v0.15.0

List: Lists all taxonomies in a project in a particular location that the caller has permission to view.

- parent: Resource name of the project to list the taxonomies of.

func (*ProjectsLocationsTaxonomiesService) Patch added in v0.15.0

Patch: Updates a taxonomy.

  • name: Identifier. Resource name of this taxonomy, whose format is: "projects/{project_number}/locations/{location_id}/taxonomies/{id}".

func (*ProjectsLocationsTaxonomiesService) SetIamPolicy added in v0.15.0

SetIamPolicy: Sets the IAM policy for a taxonomy or a policy tag.

func (*ProjectsLocationsTaxonomiesService) TestIamPermissions added in v0.15.0

TestIamPermissions: Returns the permissions that a caller has on the specified taxonomy or policy tag.

type ProjectsLocationsTaxonomiesSetIamPolicyCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.setIamPolicy" call. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesSetIamPolicyCall) Header added in v0.15.0

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

type ProjectsLocationsTaxonomiesTestIamPermissionsCall added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Context added in v0.15.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Do added in v0.15.0

Do executes the "datacatalog.projects.locations.taxonomies.testIamPermissions" call. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Fields added in v0.15.0

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

func (*ProjectsLocationsTaxonomiesTestIamPermissionsCall) Header added in v0.15.0

Header returns a http.Header that can be modified by the caller to add 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

func New(client *http.Client) (*Service, error)

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

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

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 Google Cloud 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Policy") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SetIamPolicyRequest: Request message for `SetIamPolicy` method.

func (SetIamPolicyRequest) MarshalJSON

func (s SetIamPolicyRequest) MarshalJSON() ([]byte, error)

type Status added in v0.107.0

type Status struct {
	// Code: The status code, which should be an enum value of google.rpc.Code.
	Code int64 `json:"code,omitempty"`
	// Details: A list of messages that carry the error details. There is a common
	// set of message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`
	// Message: A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Code") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

func (Status) MarshalJSON added in v0.107.0

func (s Status) 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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Permissions") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TestIamPermissionsRequest: Request message for `TestIamPermissions` method.

func (TestIamPermissionsRequest) MarshalJSON

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. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Permissions") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

TestIamPermissionsResponse: Response message for `TestIamPermissions` method.

func (TestIamPermissionsResponse) MarshalJSON

func (s TestIamPermissionsResponse) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL