- 1.72.0 (latest)
- 1.71.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.2
- 1.65.0
- 1.64.0
- 1.63.1
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.1
- 1.58.0
- 1.57.1
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.2
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.2
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.1
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
Constants
AnalyticsHubService_ListDataExchanges_FullMethodName, AnalyticsHubService_ListOrgDataExchanges_FullMethodName, AnalyticsHubService_GetDataExchange_FullMethodName, AnalyticsHubService_CreateDataExchange_FullMethodName, AnalyticsHubService_UpdateDataExchange_FullMethodName, AnalyticsHubService_DeleteDataExchange_FullMethodName, AnalyticsHubService_ListListings_FullMethodName, AnalyticsHubService_GetListing_FullMethodName, AnalyticsHubService_CreateListing_FullMethodName, AnalyticsHubService_UpdateListing_FullMethodName, AnalyticsHubService_DeleteListing_FullMethodName, AnalyticsHubService_SubscribeListing_FullMethodName, AnalyticsHubService_GetIamPolicy_FullMethodName, AnalyticsHubService_SetIamPolicy_FullMethodName, AnalyticsHubService_TestIamPermissions_FullMethodName
const (
AnalyticsHubService_ListDataExchanges_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/ListDataExchanges"
AnalyticsHubService_ListOrgDataExchanges_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/ListOrgDataExchanges"
AnalyticsHubService_GetDataExchange_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/GetDataExchange"
AnalyticsHubService_CreateDataExchange_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/CreateDataExchange"
AnalyticsHubService_UpdateDataExchange_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/UpdateDataExchange"
AnalyticsHubService_DeleteDataExchange_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/DeleteDataExchange"
AnalyticsHubService_ListListings_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/ListListings"
AnalyticsHubService_GetListing_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/GetListing"
AnalyticsHubService_CreateListing_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/CreateListing"
AnalyticsHubService_UpdateListing_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/UpdateListing"
AnalyticsHubService_DeleteListing_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/DeleteListing"
AnalyticsHubService_SubscribeListing_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/SubscribeListing"
AnalyticsHubService_GetIamPolicy_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/GetIamPolicy"
AnalyticsHubService_SetIamPolicy_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/SetIamPolicy"
AnalyticsHubService_TestIamPermissions_FullMethodName = "/google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService/TestIamPermissions"
)Variables
Listing_State_name, Listing_State_value
var (
Listing_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "ACTIVE",
}
Listing_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"ACTIVE": 1,
}
)Enum value maps for Listing_State.
Listing_Category_name, Listing_Category_value
var (
Listing_Category_name = map[int32]string{
0: "CATEGORY_UNSPECIFIED",
1: "CATEGORY_OTHERS",
2: "CATEGORY_ADVERTISING_AND_MARKETING",
3: "CATEGORY_COMMERCE",
4: "CATEGORY_CLIMATE_AND_ENVIRONMENT",
5: "CATEGORY_DEMOGRAPHICS",
6: "CATEGORY_ECONOMICS",
7: "CATEGORY_EDUCATION",
8: "CATEGORY_ENERGY",
9: "CATEGORY_FINANCIAL",
10: "CATEGORY_GAMING",
11: "CATEGORY_GEOSPATIAL",
12: "CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE",
13: "CATEGORY_MEDIA",
14: "CATEGORY_PUBLIC_SECTOR",
15: "CATEGORY_RETAIL",
16: "CATEGORY_SPORTS",
17: "CATEGORY_SCIENCE_AND_RESEARCH",
18: "CATEGORY_TRANSPORTATION_AND_LOGISTICS",
19: "CATEGORY_TRAVEL_AND_TOURISM",
}
Listing_Category_value = map[string]int32{
"CATEGORY_UNSPECIFIED": 0,
"CATEGORY_OTHERS": 1,
"CATEGORY_ADVERTISING_AND_MARKETING": 2,
"CATEGORY_COMMERCE": 3,
"CATEGORY_CLIMATE_AND_ENVIRONMENT": 4,
"CATEGORY_DEMOGRAPHICS": 5,
"CATEGORY_ECONOMICS": 6,
"CATEGORY_EDUCATION": 7,
"CATEGORY_ENERGY": 8,
"CATEGORY_FINANCIAL": 9,
"CATEGORY_GAMING": 10,
"CATEGORY_GEOSPATIAL": 11,
"CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE": 12,
"CATEGORY_MEDIA": 13,
"CATEGORY_PUBLIC_SECTOR": 14,
"CATEGORY_RETAIL": 15,
"CATEGORY_SPORTS": 16,
"CATEGORY_SCIENCE_AND_RESEARCH": 17,
"CATEGORY_TRANSPORTATION_AND_LOGISTICS": 18,
"CATEGORY_TRAVEL_AND_TOURISM": 19,
}
)Enum value maps for Listing_Category.
AnalyticsHubService_ServiceDesc
var AnalyticsHubService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubService",
HandlerType: (*AnalyticsHubServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListDataExchanges",
Handler: _AnalyticsHubService_ListDataExchanges_Handler,
},
{
MethodName: "ListOrgDataExchanges",
Handler: _AnalyticsHubService_ListOrgDataExchanges_Handler,
},
{
MethodName: "GetDataExchange",
Handler: _AnalyticsHubService_GetDataExchange_Handler,
},
{
MethodName: "CreateDataExchange",
Handler: _AnalyticsHubService_CreateDataExchange_Handler,
},
{
MethodName: "UpdateDataExchange",
Handler: _AnalyticsHubService_UpdateDataExchange_Handler,
},
{
MethodName: "DeleteDataExchange",
Handler: _AnalyticsHubService_DeleteDataExchange_Handler,
},
{
MethodName: "ListListings",
Handler: _AnalyticsHubService_ListListings_Handler,
},
{
MethodName: "GetListing",
Handler: _AnalyticsHubService_GetListing_Handler,
},
{
MethodName: "CreateListing",
Handler: _AnalyticsHubService_CreateListing_Handler,
},
{
MethodName: "UpdateListing",
Handler: _AnalyticsHubService_UpdateListing_Handler,
},
{
MethodName: "DeleteListing",
Handler: _AnalyticsHubService_DeleteListing_Handler,
},
{
MethodName: "SubscribeListing",
Handler: _AnalyticsHubService_SubscribeListing_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _AnalyticsHubService_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _AnalyticsHubService_SetIamPolicy_Handler,
},
{
MethodName: "TestIamPermissions",
Handler: _AnalyticsHubService_TestIamPermissions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/bigquery/dataexchange/v1beta1/dataexchange.proto",
}AnalyticsHubService_ServiceDesc is the grpc.ServiceDesc for AnalyticsHubService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_bigquery_dataexchange_v1beta1_dataexchange_proto
var File_google_cloud_bigquery_dataexchange_v1beta1_dataexchange_proto protoreflect.FileDescriptorFunctions
func RegisterAnalyticsHubServiceServer
func RegisterAnalyticsHubServiceServer(s grpc.ServiceRegistrar, srv AnalyticsHubServiceServer)AnalyticsHubServiceClient
type AnalyticsHubServiceClient interface {
// Lists all data exchanges in a given project and location.
ListDataExchanges(ctx context.Context, in *ListDataExchangesRequest, opts ...grpc.CallOption) (*ListDataExchangesResponse, error)
// Lists all data exchanges from projects in a given organization and
// location.
ListOrgDataExchanges(ctx context.Context, in *ListOrgDataExchangesRequest, opts ...grpc.CallOption) (*ListOrgDataExchangesResponse, error)
// Gets the details of a data exchange.
GetDataExchange(ctx context.Context, in *GetDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
// Creates a new data exchange.
CreateDataExchange(ctx context.Context, in *CreateDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
// Updates an existing data exchange.
UpdateDataExchange(ctx context.Context, in *UpdateDataExchangeRequest, opts ...grpc.CallOption) (*DataExchange, error)
// Deletes an existing data exchange.
DeleteDataExchange(ctx context.Context, in *DeleteDataExchangeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists all listings in a given project and location.
ListListings(ctx context.Context, in *ListListingsRequest, opts ...grpc.CallOption) (*ListListingsResponse, error)
// Gets the details of a listing.
GetListing(ctx context.Context, in *GetListingRequest, opts ...grpc.CallOption) (*Listing, error)
// Creates a new listing.
CreateListing(ctx context.Context, in *CreateListingRequest, opts ...grpc.CallOption) (*Listing, error)
// Updates an existing listing.
UpdateListing(ctx context.Context, in *UpdateListingRequest, opts ...grpc.CallOption) (*Listing, error)
// Deletes a listing.
DeleteListing(ctx context.Context, in *DeleteListingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Subscribes to a listing.
//
// Currently, with Analytics Hub, you can create listings that
// reference only BigQuery datasets.
// Upon subscription to a listing for a BigQuery dataset, Analytics Hub
// creates a linked dataset in the subscriber's project.
SubscribeListing(ctx context.Context, in *SubscribeListingRequest, opts ...grpc.CallOption) (*SubscribeListingResponse, error)
// Gets the IAM policy.
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the IAM policy.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Returns the permissions that a caller has.
TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}AnalyticsHubServiceClient is the client API for AnalyticsHubService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAnalyticsHubServiceClient
func NewAnalyticsHubServiceClient(cc grpc.ClientConnInterface) AnalyticsHubServiceClientAnalyticsHubServiceServer
type AnalyticsHubServiceServer interface {
// Lists all data exchanges in a given project and location.
ListDataExchanges(context.Context, *ListDataExchangesRequest) (*ListDataExchangesResponse, error)
// Lists all data exchanges from projects in a given organization and
// location.
ListOrgDataExchanges(context.Context, *ListOrgDataExchangesRequest) (*ListOrgDataExchangesResponse, error)
// Gets the details of a data exchange.
GetDataExchange(context.Context, *GetDataExchangeRequest) (*DataExchange, error)
// Creates a new data exchange.
CreateDataExchange(context.Context, *CreateDataExchangeRequest) (*DataExchange, error)
// Updates an existing data exchange.
UpdateDataExchange(context.Context, *UpdateDataExchangeRequest) (*DataExchange, error)
// Deletes an existing data exchange.
DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*emptypb.Empty, error)
// Lists all listings in a given project and location.
ListListings(context.Context, *ListListingsRequest) (*ListListingsResponse, error)
// Gets the details of a listing.
GetListing(context.Context, *GetListingRequest) (*Listing, error)
// Creates a new listing.
CreateListing(context.Context, *CreateListingRequest) (*Listing, error)
// Updates an existing listing.
UpdateListing(context.Context, *UpdateListingRequest) (*Listing, error)
// Deletes a listing.
DeleteListing(context.Context, *DeleteListingRequest) (*emptypb.Empty, error)
// Subscribes to a listing.
//
// Currently, with Analytics Hub, you can create listings that
// reference only BigQuery datasets.
// Upon subscription to a listing for a BigQuery dataset, Analytics Hub
// creates a linked dataset in the subscriber's project.
SubscribeListing(context.Context, *SubscribeListingRequest) (*SubscribeListingResponse, error)
// Gets the IAM policy.
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the IAM policy.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Returns the permissions that a caller has.
TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}AnalyticsHubServiceServer is the server API for AnalyticsHubService service. All implementations should embed UnimplementedAnalyticsHubServiceServer for forward compatibility
CreateDataExchangeRequest
type CreateDataExchangeRequest struct {
// Required. The parent resource path of the data exchange.
// e.g. `projects/myproject/locations/US`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the data exchange.
// Must contain only Unicode letters, numbers (0-9), underscores (_).
// Should not use characters that require URL-escaping, or characters
// outside of ASCII, spaces.
// Max length: 100 bytes.
DataExchangeId string `protobuf:"bytes,2,opt,name=data_exchange_id,json=dataExchangeId,proto3" json:"data_exchange_id,omitempty"`
// Required. The data exchange to create.
DataExchange *DataExchange `protobuf:"bytes,3,opt,name=data_exchange,json=dataExchange,proto3" json:"data_exchange,omitempty"`
// contains filtered or unexported fields
}Message for creating a data exchange.
func (*CreateDataExchangeRequest) Descriptor
func (*CreateDataExchangeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDataExchangeRequest.ProtoReflect.Descriptor instead.
func (*CreateDataExchangeRequest) GetDataExchange
func (x *CreateDataExchangeRequest) GetDataExchange() *DataExchangefunc (*CreateDataExchangeRequest) GetDataExchangeId
func (x *CreateDataExchangeRequest) GetDataExchangeId() stringfunc (*CreateDataExchangeRequest) GetParent
func (x *CreateDataExchangeRequest) GetParent() stringfunc (*CreateDataExchangeRequest) ProtoMessage
func (*CreateDataExchangeRequest) ProtoMessage()func (*CreateDataExchangeRequest) ProtoReflect
func (x *CreateDataExchangeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDataExchangeRequest) Reset
func (x *CreateDataExchangeRequest) Reset()func (*CreateDataExchangeRequest) String
func (x *CreateDataExchangeRequest) String() stringCreateListingRequest
type CreateListingRequest struct {
// Required. The parent resource path of the listing.
// e.g. `projects/myproject/locations/US/dataExchanges/123`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The ID of the listing to create.
// Must contain only Unicode letters, numbers (0-9), underscores (_).
// Should not use characters that require URL-escaping, or characters
// outside of ASCII, spaces.
// Max length: 100 bytes.
ListingId string `protobuf:"bytes,2,opt,name=listing_id,json=listingId,proto3" json:"listing_id,omitempty"`
// Required. The listing to create.
Listing *Listing `protobuf:"bytes,3,opt,name=listing,proto3" json:"listing,omitempty"`
// contains filtered or unexported fields
}Message for creating a listing.
func (*CreateListingRequest) Descriptor
func (*CreateListingRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateListingRequest.ProtoReflect.Descriptor instead.
func (*CreateListingRequest) GetListing
func (x *CreateListingRequest) GetListing() *Listingfunc (*CreateListingRequest) GetListingId
func (x *CreateListingRequest) GetListingId() stringfunc (*CreateListingRequest) GetParent
func (x *CreateListingRequest) GetParent() stringfunc (*CreateListingRequest) ProtoMessage
func (*CreateListingRequest) ProtoMessage()func (*CreateListingRequest) ProtoReflect
func (x *CreateListingRequest) ProtoReflect() protoreflect.Messagefunc (*CreateListingRequest) Reset
func (x *CreateListingRequest) Reset()func (*CreateListingRequest) String
func (x *CreateListingRequest) String() stringDataExchange
type DataExchange struct {
// Output only. The resource name of the data exchange.
// e.g. `projects/myproject/locations/US/dataExchanges/123`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Human-readable display name of the data exchange. The display name must
// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-),
// spaces ( ), ampersands (&) and must not start or end with spaces.
// Default value is an empty string.
// Max length: 63 bytes.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the data exchange. 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).
// Default value is an empty string.
// Max length: 2000 bytes.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Email or URL of the primary point of contact of the data exchange.
// Max Length: 1000 bytes.
PrimaryContact string `protobuf:"bytes,4,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
// Optional. Documentation describing the data exchange.
Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"`
// Output only. Number of listings contained in the data exchange.
ListingCount int32 `protobuf:"varint,6,opt,name=listing_count,json=listingCount,proto3" json:"listing_count,omitempty"`
// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB
// Expected image dimensions are 512x512 pixels, however the API only
// performs validation on size of the encoded data.
// Note: For byte fields, the content of the fields are base64-encoded (which
// increases the size of the data by 33-36%) when using JSON on the wire.
Icon []byte `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
// contains filtered or unexported fields
}A data exchange is a container that lets you share data. Along with the descriptive information about the data exchange, it contains listings that reference shared datasets.
func (*DataExchange) Descriptor
func (*DataExchange) Descriptor() ([]byte, []int)Deprecated: Use DataExchange.ProtoReflect.Descriptor instead.
func (*DataExchange) GetDescription
func (x *DataExchange) GetDescription() stringfunc (*DataExchange) GetDisplayName
func (x *DataExchange) GetDisplayName() stringfunc (*DataExchange) GetDocumentation
func (x *DataExchange) GetDocumentation() stringfunc (*DataExchange) GetIcon
func (x *DataExchange) GetIcon() []bytefunc (*DataExchange) GetListingCount
func (x *DataExchange) GetListingCount() int32func (*DataExchange) GetName
func (x *DataExchange) GetName() stringfunc (*DataExchange) GetPrimaryContact
func (x *DataExchange) GetPrimaryContact() stringfunc (*DataExchange) ProtoMessage
func (*DataExchange) ProtoMessage()func (*DataExchange) ProtoReflect
func (x *DataExchange) ProtoReflect() protoreflect.Messagefunc (*DataExchange) Reset
func (x *DataExchange) Reset()func (*DataExchange) String
func (x *DataExchange) String() stringDataProvider
type DataProvider struct {
// Optional. Name of the data provider.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Email or URL of the data provider.
// Max Length: 1000 bytes.
PrimaryContact string `protobuf:"bytes,2,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
// contains filtered or unexported fields
}Contains details of the data provider.
func (*DataProvider) Descriptor
func (*DataProvider) Descriptor() ([]byte, []int)Deprecated: Use DataProvider.ProtoReflect.Descriptor instead.
func (*DataProvider) GetName
func (x *DataProvider) GetName() stringfunc (*DataProvider) GetPrimaryContact
func (x *DataProvider) GetPrimaryContact() stringfunc (*DataProvider) ProtoMessage
func (*DataProvider) ProtoMessage()func (*DataProvider) ProtoReflect
func (x *DataProvider) ProtoReflect() protoreflect.Messagefunc (*DataProvider) Reset
func (x *DataProvider) Reset()func (*DataProvider) String
func (x *DataProvider) String() stringDeleteDataExchangeRequest
type DeleteDataExchangeRequest struct {
// Required. The full name of the data exchange resource that you want to delete.
// For example, `projects/myproject/locations/US/dataExchanges/123`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for deleting a data exchange.
func (*DeleteDataExchangeRequest) Descriptor
func (*DeleteDataExchangeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDataExchangeRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataExchangeRequest) GetName
func (x *DeleteDataExchangeRequest) GetName() stringfunc (*DeleteDataExchangeRequest) ProtoMessage
func (*DeleteDataExchangeRequest) ProtoMessage()func (*DeleteDataExchangeRequest) ProtoReflect
func (x *DeleteDataExchangeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDataExchangeRequest) Reset
func (x *DeleteDataExchangeRequest) Reset()func (*DeleteDataExchangeRequest) String
func (x *DeleteDataExchangeRequest) String() stringDeleteListingRequest
type DeleteListingRequest struct {
// Required. Resource name of the listing to delete.
// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for deleting a listing.
func (*DeleteListingRequest) Descriptor
func (*DeleteListingRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteListingRequest.ProtoReflect.Descriptor instead.
func (*DeleteListingRequest) GetName
func (x *DeleteListingRequest) GetName() stringfunc (*DeleteListingRequest) ProtoMessage
func (*DeleteListingRequest) ProtoMessage()func (*DeleteListingRequest) ProtoReflect
func (x *DeleteListingRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteListingRequest) Reset
func (x *DeleteListingRequest) Reset()func (*DeleteListingRequest) String
func (x *DeleteListingRequest) String() stringDestinationDataset
type DestinationDataset struct {
// Required. A reference that identifies the destination dataset.
DatasetReference *DestinationDatasetReference `protobuf:"bytes,1,opt,name=dataset_reference,json=datasetReference,proto3" json:"dataset_reference,omitempty"`
// Optional. A descriptive name for the dataset.
FriendlyName *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
// Optional. A user-friendly description of the dataset.
Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The labels associated with this dataset. You can use these
// to organize and group your datasets.
// You can set this property when inserting or updating a dataset.
// See https://cloud.google.com/resource-manager/docs/creating-managing-labels
// for more information.
Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Required. The geographic location where the dataset should reside. See
// https://cloud.google.com/bigquery/docs/locations for supported
// locations.
Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}Defines the destination bigquery dataset.
func (*DestinationDataset) Descriptor
func (*DestinationDataset) Descriptor() ([]byte, []int)Deprecated: Use DestinationDataset.ProtoReflect.Descriptor instead.
func (*DestinationDataset) GetDatasetReference
func (x *DestinationDataset) GetDatasetReference() *DestinationDatasetReferencefunc (*DestinationDataset) GetDescription
func (x *DestinationDataset) GetDescription() *wrapperspb.StringValuefunc (*DestinationDataset) GetFriendlyName
func (x *DestinationDataset) GetFriendlyName() *wrapperspb.StringValuefunc (*DestinationDataset) GetLabels
func (x *DestinationDataset) GetLabels() map[string]stringfunc (*DestinationDataset) GetLocation
func (x *DestinationDataset) GetLocation() stringfunc (*DestinationDataset) ProtoMessage
func (*DestinationDataset) ProtoMessage()func (*DestinationDataset) ProtoReflect
func (x *DestinationDataset) ProtoReflect() protoreflect.Messagefunc (*DestinationDataset) Reset
func (x *DestinationDataset) Reset()func (*DestinationDataset) String
func (x *DestinationDataset) String() stringDestinationDatasetReference
type DestinationDatasetReference struct {
// Required. A unique ID for this dataset, without the project name. The ID
// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
// The maximum length is 1,024 characters.
DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
// Required. The ID of the project containing this dataset.
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// contains filtered or unexported fields
}Contains the reference that identifies a destination bigquery dataset.
func (*DestinationDatasetReference) Descriptor
func (*DestinationDatasetReference) Descriptor() ([]byte, []int)Deprecated: Use DestinationDatasetReference.ProtoReflect.Descriptor instead.
func (*DestinationDatasetReference) GetDatasetId
func (x *DestinationDatasetReference) GetDatasetId() stringfunc (*DestinationDatasetReference) GetProjectId
func (x *DestinationDatasetReference) GetProjectId() stringfunc (*DestinationDatasetReference) ProtoMessage
func (*DestinationDatasetReference) ProtoMessage()func (*DestinationDatasetReference) ProtoReflect
func (x *DestinationDatasetReference) ProtoReflect() protoreflect.Messagefunc (*DestinationDatasetReference) Reset
func (x *DestinationDatasetReference) Reset()func (*DestinationDatasetReference) String
func (x *DestinationDatasetReference) String() stringGetDataExchangeRequest
type GetDataExchangeRequest struct {
// Required. The resource name of the data exchange.
// e.g. `projects/myproject/locations/US/dataExchanges/123`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a data exchange.
func (*GetDataExchangeRequest) Descriptor
func (*GetDataExchangeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataExchangeRequest.ProtoReflect.Descriptor instead.
func (*GetDataExchangeRequest) GetName
func (x *GetDataExchangeRequest) GetName() stringfunc (*GetDataExchangeRequest) ProtoMessage
func (*GetDataExchangeRequest) ProtoMessage()func (*GetDataExchangeRequest) ProtoReflect
func (x *GetDataExchangeRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataExchangeRequest) Reset
func (x *GetDataExchangeRequest) Reset()func (*GetDataExchangeRequest) String
func (x *GetDataExchangeRequest) String() stringGetListingRequest
type GetListingRequest struct {
// Required. The resource name of the listing.
// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a listing.
func (*GetListingRequest) Descriptor
func (*GetListingRequest) Descriptor() ([]byte, []int)Deprecated: Use GetListingRequest.ProtoReflect.Descriptor instead.
func (*GetListingRequest) GetName
func (x *GetListingRequest) GetName() stringfunc (*GetListingRequest) ProtoMessage
func (*GetListingRequest) ProtoMessage()func (*GetListingRequest) ProtoReflect
func (x *GetListingRequest) ProtoReflect() protoreflect.Messagefunc (*GetListingRequest) Reset
func (x *GetListingRequest) Reset()func (*GetListingRequest) String
func (x *GetListingRequest) String() stringListDataExchangesRequest
type ListDataExchangesRequest struct {
// Required. The parent resource path of the data exchanges.
// e.g. `projects/myproject/locations/US`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return in a single response page. Leverage
// the page tokens to iterate through the entire collection.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token, returned by a previous call, to request the next page of
// results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for requesting the list of data exchanges.
func (*ListDataExchangesRequest) Descriptor
func (*ListDataExchangesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataExchangesRequest.ProtoReflect.Descriptor instead.
func (*ListDataExchangesRequest) GetPageSize
func (x *ListDataExchangesRequest) GetPageSize() int32func (*ListDataExchangesRequest) GetPageToken
func (x *ListDataExchangesRequest) GetPageToken() stringfunc (*ListDataExchangesRequest) GetParent
func (x *ListDataExchangesRequest) GetParent() stringfunc (*ListDataExchangesRequest) ProtoMessage
func (*ListDataExchangesRequest) ProtoMessage()func (*ListDataExchangesRequest) ProtoReflect
func (x *ListDataExchangesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataExchangesRequest) Reset
func (x *ListDataExchangesRequest) Reset()func (*ListDataExchangesRequest) String
func (x *ListDataExchangesRequest) String() stringListDataExchangesResponse
type ListDataExchangesResponse struct {
// The list of data exchanges.
DataExchanges []*DataExchange `protobuf:"bytes,1,rep,name=data_exchanges,json=dataExchanges,proto3" json:"data_exchanges,omitempty"`
// A token to request the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to the list of data exchanges.
func (*ListDataExchangesResponse) Descriptor
func (*ListDataExchangesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataExchangesResponse.ProtoReflect.Descriptor instead.
func (*ListDataExchangesResponse) GetDataExchanges
func (x *ListDataExchangesResponse) GetDataExchanges() []*DataExchangefunc (*ListDataExchangesResponse) GetNextPageToken
func (x *ListDataExchangesResponse) GetNextPageToken() stringfunc (*ListDataExchangesResponse) ProtoMessage
func (*ListDataExchangesResponse) ProtoMessage()func (*ListDataExchangesResponse) ProtoReflect
func (x *ListDataExchangesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataExchangesResponse) Reset
func (x *ListDataExchangesResponse) Reset()func (*ListDataExchangesResponse) String
func (x *ListDataExchangesResponse) String() stringListListingsRequest
type ListListingsRequest struct {
// Required. The parent resource path of the listing.
// e.g. `projects/myproject/locations/US/dataExchanges/123`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of results to return in a single response page. Leverage
// the page tokens to iterate through the entire collection.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token, returned by a previous call, to request the next page of
// results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for requesting the list of listings.
func (*ListListingsRequest) Descriptor
func (*ListListingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListListingsRequest.ProtoReflect.Descriptor instead.
func (*ListListingsRequest) GetPageSize
func (x *ListListingsRequest) GetPageSize() int32func (*ListListingsRequest) GetPageToken
func (x *ListListingsRequest) GetPageToken() stringfunc (*ListListingsRequest) GetParent
func (x *ListListingsRequest) GetParent() stringfunc (*ListListingsRequest) ProtoMessage
func (*ListListingsRequest) ProtoMessage()func (*ListListingsRequest) ProtoReflect
func (x *ListListingsRequest) ProtoReflect() protoreflect.Messagefunc (*ListListingsRequest) Reset
func (x *ListListingsRequest) Reset()func (*ListListingsRequest) String
func (x *ListListingsRequest) String() stringListListingsResponse
type ListListingsResponse struct {
// The list of Listing.
Listings []*Listing `protobuf:"bytes,1,rep,name=listings,proto3" json:"listings,omitempty"`
// A token to request the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to the list of Listings.
func (*ListListingsResponse) Descriptor
func (*ListListingsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListListingsResponse.ProtoReflect.Descriptor instead.
func (*ListListingsResponse) GetListings
func (x *ListListingsResponse) GetListings() []*Listingfunc (*ListListingsResponse) GetNextPageToken
func (x *ListListingsResponse) GetNextPageToken() stringfunc (*ListListingsResponse) ProtoMessage
func (*ListListingsResponse) ProtoMessage()func (*ListListingsResponse) ProtoReflect
func (x *ListListingsResponse) ProtoReflect() protoreflect.Messagefunc (*ListListingsResponse) Reset
func (x *ListListingsResponse) Reset()func (*ListListingsResponse) String
func (x *ListListingsResponse) String() stringListOrgDataExchangesRequest
type ListOrgDataExchangesRequest struct {
// Required. The organization resource path of the projects containing DataExchanges.
// e.g. `organizations/myorg/locations/US`.
Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
// The maximum number of results to return in a single response page. Leverage
// the page tokens to iterate through the entire collection.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Page token, returned by a previous call, to request the next page of
// results.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}Message for requesting the list of data exchanges from projects in an organization and location.
func (*ListOrgDataExchangesRequest) Descriptor
func (*ListOrgDataExchangesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListOrgDataExchangesRequest.ProtoReflect.Descriptor instead.
func (*ListOrgDataExchangesRequest) GetOrganization
func (x *ListOrgDataExchangesRequest) GetOrganization() stringfunc (*ListOrgDataExchangesRequest) GetPageSize
func (x *ListOrgDataExchangesRequest) GetPageSize() int32func (*ListOrgDataExchangesRequest) GetPageToken
func (x *ListOrgDataExchangesRequest) GetPageToken() stringfunc (*ListOrgDataExchangesRequest) ProtoMessage
func (*ListOrgDataExchangesRequest) ProtoMessage()func (*ListOrgDataExchangesRequest) ProtoReflect
func (x *ListOrgDataExchangesRequest) ProtoReflect() protoreflect.Messagefunc (*ListOrgDataExchangesRequest) Reset
func (x *ListOrgDataExchangesRequest) Reset()func (*ListOrgDataExchangesRequest) String
func (x *ListOrgDataExchangesRequest) String() stringListOrgDataExchangesResponse
type ListOrgDataExchangesResponse struct {
// The list of data exchanges.
DataExchanges []*DataExchange `protobuf:"bytes,1,rep,name=data_exchanges,json=dataExchanges,proto3" json:"data_exchanges,omitempty"`
// A token to request the next page of results.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing data exchanges in an organization and location.
func (*ListOrgDataExchangesResponse) Descriptor
func (*ListOrgDataExchangesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListOrgDataExchangesResponse.ProtoReflect.Descriptor instead.
func (*ListOrgDataExchangesResponse) GetDataExchanges
func (x *ListOrgDataExchangesResponse) GetDataExchanges() []*DataExchangefunc (*ListOrgDataExchangesResponse) GetNextPageToken
func (x *ListOrgDataExchangesResponse) GetNextPageToken() stringfunc (*ListOrgDataExchangesResponse) ProtoMessage
func (*ListOrgDataExchangesResponse) ProtoMessage()func (*ListOrgDataExchangesResponse) ProtoReflect
func (x *ListOrgDataExchangesResponse) ProtoReflect() protoreflect.Messagefunc (*ListOrgDataExchangesResponse) Reset
func (x *ListOrgDataExchangesResponse) Reset()func (*ListOrgDataExchangesResponse) String
func (x *ListOrgDataExchangesResponse) String() stringListing
type Listing struct {
// Listing source.
//
// Types that are assignable to Source:
//
// *Listing_BigqueryDataset
Source isListing_Source `protobuf_oneof:"source"`
// Output only. The resource name of the listing.
// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Human-readable display name of the listing. The display name must contain
// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces
// ( ), ampersands (&) and can't start or end with spaces.
// Default value is an empty string.
// Max length: 63 bytes.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Short description of the listing. The description must not contain
// Unicode non-characters and C0 and C1 control codes except tabs (HT),
// new lines (LF), carriage returns (CR), and page breaks (FF).
// Default value is an empty string.
// Max length: 2000 bytes.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Email or URL of the primary point of contact of the listing.
// Max Length: 1000 bytes.
PrimaryContact string `protobuf:"bytes,4,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
// Optional. Documentation describing the listing.
Documentation string `protobuf:"bytes,5,opt,name=documentation,proto3" json:"documentation,omitempty"`
// Output only. Current state of the listing.
State Listing_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.bigquery.dataexchange.v1beta1.Listing_State" json:"state,omitempty"`
// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB
// Expected image dimensions are 512x512 pixels, however the API only
// performs validation on size of the encoded data.
// Note: For byte fields, the contents of the field are base64-encoded (which
// increases the size of the data by 33-36%) when using JSON on the wire.
Icon []byte `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
// Optional. Details of the data provider who owns the source data.
DataProvider *DataProvider `protobuf:"bytes,9,opt,name=data_provider,json=dataProvider,proto3" json:"data_provider,omitempty"`
// Optional. Categories of the listing. Up to two categories are allowed.
Categories []Listing_Category `protobuf:"varint,10,rep,packed,name=categories,proto3,enum=google.cloud.bigquery.dataexchange.v1beta1.Listing_Category" json:"categories,omitempty"`
// Optional. Details of the publisher who owns the listing and who can share
// the source data.
Publisher *Publisher `protobuf:"bytes,11,opt,name=publisher,proto3" json:"publisher,omitempty"`
// Optional. Email or URL of the request access of the listing.
// Subscribers can use this reference to request access.
// Max Length: 1000 bytes.
RequestAccess string `protobuf:"bytes,12,opt,name=request_access,json=requestAccess,proto3" json:"request_access,omitempty"`
// contains filtered or unexported fields
}A listing is what gets published into a data exchange that a subscriber can subscribe to. It contains a reference to the data source along with descriptive information that will help subscribers find and subscribe the data.
func (*Listing) Descriptor
Deprecated: Use Listing.ProtoReflect.Descriptor instead.
func (*Listing) GetBigqueryDataset
func (x *Listing) GetBigqueryDataset() *Listing_BigQueryDatasetSourcefunc (*Listing) GetCategories
func (x *Listing) GetCategories() []Listing_Categoryfunc (*Listing) GetDataProvider
func (x *Listing) GetDataProvider() *DataProviderfunc (*Listing) GetDescription
func (*Listing) GetDisplayName
func (*Listing) GetDocumentation
func (*Listing) GetIcon
func (*Listing) GetName
func (*Listing) GetPrimaryContact
func (*Listing) GetPublisher
func (*Listing) GetRequestAccess
func (*Listing) GetSource
func (m *Listing) GetSource() isListing_Sourcefunc (*Listing) GetState
func (x *Listing) GetState() Listing_Statefunc (*Listing) ProtoMessage
func (*Listing) ProtoMessage()func (*Listing) ProtoReflect
func (x *Listing) ProtoReflect() protoreflect.Messagefunc (*Listing) Reset
func (x *Listing) Reset()func (*Listing) String
Listing_BigQueryDatasetSource
type Listing_BigQueryDatasetSource struct {
// Resource name of the dataset source for this listing.
// e.g. `projects/myproject/datasets/123`
Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
// contains filtered or unexported fields
}A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a symbolic link to a shared dataset.
func (*Listing_BigQueryDatasetSource) Descriptor
func (*Listing_BigQueryDatasetSource) Descriptor() ([]byte, []int)Deprecated: Use Listing_BigQueryDatasetSource.ProtoReflect.Descriptor instead.
func (*Listing_BigQueryDatasetSource) GetDataset
func (x *Listing_BigQueryDatasetSource) GetDataset() stringfunc (*Listing_BigQueryDatasetSource) ProtoMessage
func (*Listing_BigQueryDatasetSource) ProtoMessage()func (*Listing_BigQueryDatasetSource) ProtoReflect
func (x *Listing_BigQueryDatasetSource) ProtoReflect() protoreflect.Messagefunc (*Listing_BigQueryDatasetSource) Reset
func (x *Listing_BigQueryDatasetSource) Reset()func (*Listing_BigQueryDatasetSource) String
func (x *Listing_BigQueryDatasetSource) String() stringListing_BigqueryDataset
type Listing_BigqueryDataset struct {
// Required. Shared dataset i.e. BigQuery dataset source.
BigqueryDataset *Listing_BigQueryDatasetSource `protobuf:"bytes,6,opt,name=bigquery_dataset,json=bigqueryDataset,proto3,oneof"`
}Listing_Category
type Listing_Category int32Listing categories.
Listing_CATEGORY_UNSPECIFIED, Listing_CATEGORY_OTHERS, Listing_CATEGORY_ADVERTISING_AND_MARKETING, Listing_CATEGORY_COMMERCE, Listing_CATEGORY_CLIMATE_AND_ENVIRONMENT, Listing_CATEGORY_DEMOGRAPHICS, Listing_CATEGORY_ECONOMICS, Listing_CATEGORY_EDUCATION, Listing_CATEGORY_ENERGY, Listing_CATEGORY_FINANCIAL, Listing_CATEGORY_GAMING, Listing_CATEGORY_GEOSPATIAL, Listing_CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE, Listing_CATEGORY_MEDIA, Listing_CATEGORY_PUBLIC_SECTOR, Listing_CATEGORY_RETAIL, Listing_CATEGORY_SPORTS, Listing_CATEGORY_SCIENCE_AND_RESEARCH, Listing_CATEGORY_TRANSPORTATION_AND_LOGISTICS, Listing_CATEGORY_TRAVEL_AND_TOURISM
const (
Listing_CATEGORY_UNSPECIFIED Listing_Category = 0
Listing_CATEGORY_OTHERS Listing_Category = 1
Listing_CATEGORY_ADVERTISING_AND_MARKETING Listing_Category = 2
Listing_CATEGORY_COMMERCE Listing_Category = 3
Listing_CATEGORY_CLIMATE_AND_ENVIRONMENT Listing_Category = 4
Listing_CATEGORY_DEMOGRAPHICS Listing_Category = 5
Listing_CATEGORY_ECONOMICS Listing_Category = 6
Listing_CATEGORY_EDUCATION Listing_Category = 7
Listing_CATEGORY_ENERGY Listing_Category = 8
Listing_CATEGORY_FINANCIAL Listing_Category = 9
Listing_CATEGORY_GAMING Listing_Category = 10
Listing_CATEGORY_GEOSPATIAL Listing_Category = 11
Listing_CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE Listing_Category = 12
Listing_CATEGORY_MEDIA Listing_Category = 13
Listing_CATEGORY_PUBLIC_SECTOR Listing_Category = 14
Listing_CATEGORY_RETAIL Listing_Category = 15
Listing_CATEGORY_SPORTS Listing_Category = 16
Listing_CATEGORY_SCIENCE_AND_RESEARCH Listing_Category = 17
Listing_CATEGORY_TRANSPORTATION_AND_LOGISTICS Listing_Category = 18
Listing_CATEGORY_TRAVEL_AND_TOURISM Listing_Category = 19
)func (Listing_Category) Descriptor
func (Listing_Category) Descriptor() protoreflect.EnumDescriptorfunc (Listing_Category) Enum
func (x Listing_Category) Enum() *Listing_Categoryfunc (Listing_Category) EnumDescriptor
func (Listing_Category) EnumDescriptor() ([]byte, []int)Deprecated: Use Listing_Category.Descriptor instead.
func (Listing_Category) Number
func (x Listing_Category) Number() protoreflect.EnumNumberfunc (Listing_Category) String
func (x Listing_Category) String() stringfunc (Listing_Category) Type
func (Listing_Category) Type() protoreflect.EnumTypeListing_State
type Listing_State int32State of the listing.
Listing_STATE_UNSPECIFIED, Listing_ACTIVE
const (
// Default value. This value is unused.
Listing_STATE_UNSPECIFIED Listing_State = 0
// Subscribable state. Users with dataexchange.listings.subscribe permission
// can subscribe to this listing.
Listing_ACTIVE Listing_State = 1
)func (Listing_State) Descriptor
func (Listing_State) Descriptor() protoreflect.EnumDescriptorfunc (Listing_State) Enum
func (x Listing_State) Enum() *Listing_Statefunc (Listing_State) EnumDescriptor
func (Listing_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Listing_State.Descriptor instead.
func (Listing_State) Number
func (x Listing_State) Number() protoreflect.EnumNumberfunc (Listing_State) String
func (x Listing_State) String() stringfunc (Listing_State) Type
func (Listing_State) Type() protoreflect.EnumTypePublisher
type Publisher struct {
// Optional. Name of the listing publisher.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Email or URL of the listing publisher.
// Max Length: 1000 bytes.
PrimaryContact string `protobuf:"bytes,2,opt,name=primary_contact,json=primaryContact,proto3" json:"primary_contact,omitempty"`
// contains filtered or unexported fields
}Contains details of the listing publisher.
func (*Publisher) Descriptor
Deprecated: Use Publisher.ProtoReflect.Descriptor instead.
func (*Publisher) GetName
func (*Publisher) GetPrimaryContact
func (*Publisher) ProtoMessage
func (*Publisher) ProtoMessage()func (*Publisher) ProtoReflect
func (x *Publisher) ProtoReflect() protoreflect.Messagefunc (*Publisher) Reset
func (x *Publisher) Reset()func (*Publisher) String
SubscribeListingRequest
type SubscribeListingRequest struct {
// Resulting destination of the listing that you subscribed to.
//
// Types that are assignable to Destination:
//
// *SubscribeListingRequest_DestinationDataset
Destination isSubscribeListingRequest_Destination `protobuf_oneof:"destination"`
// Required. Resource name of the listing that you want to subscribe to.
// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for subscribing to a listing.
func (*SubscribeListingRequest) Descriptor
func (*SubscribeListingRequest) Descriptor() ([]byte, []int)Deprecated: Use SubscribeListingRequest.ProtoReflect.Descriptor instead.
func (*SubscribeListingRequest) GetDestination
func (m *SubscribeListingRequest) GetDestination() isSubscribeListingRequest_Destinationfunc (*SubscribeListingRequest) GetDestinationDataset
func (x *SubscribeListingRequest) GetDestinationDataset() *DestinationDatasetfunc (*SubscribeListingRequest) GetName
func (x *SubscribeListingRequest) GetName() stringfunc (*SubscribeListingRequest) ProtoMessage
func (*SubscribeListingRequest) ProtoMessage()func (*SubscribeListingRequest) ProtoReflect
func (x *SubscribeListingRequest) ProtoReflect() protoreflect.Messagefunc (*SubscribeListingRequest) Reset
func (x *SubscribeListingRequest) Reset()func (*SubscribeListingRequest) String
func (x *SubscribeListingRequest) String() stringSubscribeListingRequest_DestinationDataset
type SubscribeListingRequest_DestinationDataset struct {
// BigQuery destination dataset to create for the subscriber.
DestinationDataset *DestinationDataset `protobuf:"bytes,3,opt,name=destination_dataset,json=destinationDataset,proto3,oneof"`
}SubscribeListingResponse
type SubscribeListingResponse struct {
// contains filtered or unexported fields
}Message for response when you subscribe to a listing.
func (*SubscribeListingResponse) Descriptor
func (*SubscribeListingResponse) Descriptor() ([]byte, []int)Deprecated: Use SubscribeListingResponse.ProtoReflect.Descriptor instead.
func (*SubscribeListingResponse) ProtoMessage
func (*SubscribeListingResponse) ProtoMessage()func (*SubscribeListingResponse) ProtoReflect
func (x *SubscribeListingResponse) ProtoReflect() protoreflect.Messagefunc (*SubscribeListingResponse) Reset
func (x *SubscribeListingResponse) Reset()func (*SubscribeListingResponse) String
func (x *SubscribeListingResponse) String() stringUnimplementedAnalyticsHubServiceServer
type UnimplementedAnalyticsHubServiceServer struct {
}UnimplementedAnalyticsHubServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAnalyticsHubServiceServer) CreateDataExchange
func (UnimplementedAnalyticsHubServiceServer) CreateDataExchange(context.Context, *CreateDataExchangeRequest) (*DataExchange, error)func (UnimplementedAnalyticsHubServiceServer) CreateListing
func (UnimplementedAnalyticsHubServiceServer) CreateListing(context.Context, *CreateListingRequest) (*Listing, error)func (UnimplementedAnalyticsHubServiceServer) DeleteDataExchange
func (UnimplementedAnalyticsHubServiceServer) DeleteDataExchange(context.Context, *DeleteDataExchangeRequest) (*emptypb.Empty, error)func (UnimplementedAnalyticsHubServiceServer) DeleteListing
func (UnimplementedAnalyticsHubServiceServer) DeleteListing(context.Context, *DeleteListingRequest) (*emptypb.Empty, error)func (UnimplementedAnalyticsHubServiceServer) GetDataExchange
func (UnimplementedAnalyticsHubServiceServer) GetDataExchange(context.Context, *GetDataExchangeRequest) (*DataExchange, error)func (UnimplementedAnalyticsHubServiceServer) GetIamPolicy
func (UnimplementedAnalyticsHubServiceServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedAnalyticsHubServiceServer) GetListing
func (UnimplementedAnalyticsHubServiceServer) GetListing(context.Context, *GetListingRequest) (*Listing, error)func (UnimplementedAnalyticsHubServiceServer) ListDataExchanges
func (UnimplementedAnalyticsHubServiceServer) ListDataExchanges(context.Context, *ListDataExchangesRequest) (*ListDataExchangesResponse, error)func (UnimplementedAnalyticsHubServiceServer) ListListings
func (UnimplementedAnalyticsHubServiceServer) ListListings(context.Context, *ListListingsRequest) (*ListListingsResponse, error)func (UnimplementedAnalyticsHubServiceServer) ListOrgDataExchanges
func (UnimplementedAnalyticsHubServiceServer) ListOrgDataExchanges(context.Context, *ListOrgDataExchangesRequest) (*ListOrgDataExchangesResponse, error)func (UnimplementedAnalyticsHubServiceServer) SetIamPolicy
func (UnimplementedAnalyticsHubServiceServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedAnalyticsHubServiceServer) SubscribeListing
func (UnimplementedAnalyticsHubServiceServer) SubscribeListing(context.Context, *SubscribeListingRequest) (*SubscribeListingResponse, error)func (UnimplementedAnalyticsHubServiceServer) TestIamPermissions
func (UnimplementedAnalyticsHubServiceServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)func (UnimplementedAnalyticsHubServiceServer) UpdateDataExchange
func (UnimplementedAnalyticsHubServiceServer) UpdateDataExchange(context.Context, *UpdateDataExchangeRequest) (*DataExchange, error)func (UnimplementedAnalyticsHubServiceServer) UpdateListing
func (UnimplementedAnalyticsHubServiceServer) UpdateListing(context.Context, *UpdateListingRequest) (*Listing, error)UnsafeAnalyticsHubServiceServer
type UnsafeAnalyticsHubServiceServer interface {
// contains filtered or unexported methods
}UnsafeAnalyticsHubServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AnalyticsHubServiceServer will result in compilation errors.
UpdateDataExchangeRequest
type UpdateDataExchangeRequest struct {
// Required. Field mask specifies the fields to update in the data exchange
// resource. The fields specified in the
// `updateMask` are relative to the resource and are not a full request.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The data exchange to update.
DataExchange *DataExchange `protobuf:"bytes,2,opt,name=data_exchange,json=dataExchange,proto3" json:"data_exchange,omitempty"`
// contains filtered or unexported fields
}Message for updating a data exchange.
func (*UpdateDataExchangeRequest) Descriptor
func (*UpdateDataExchangeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDataExchangeRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataExchangeRequest) GetDataExchange
func (x *UpdateDataExchangeRequest) GetDataExchange() *DataExchangefunc (*UpdateDataExchangeRequest) GetUpdateMask
func (x *UpdateDataExchangeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDataExchangeRequest) ProtoMessage
func (*UpdateDataExchangeRequest) ProtoMessage()func (*UpdateDataExchangeRequest) ProtoReflect
func (x *UpdateDataExchangeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDataExchangeRequest) Reset
func (x *UpdateDataExchangeRequest) Reset()func (*UpdateDataExchangeRequest) String
func (x *UpdateDataExchangeRequest) String() stringUpdateListingRequest
type UpdateListingRequest struct {
// Required. Field mask specifies the fields to update in the listing resource. The
// fields specified in the `updateMask` are relative to the resource and are
// not a full request.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The listing to update.
Listing *Listing `protobuf:"bytes,2,opt,name=listing,proto3" json:"listing,omitempty"`
// contains filtered or unexported fields
}Message for updating a Listing.
func (*UpdateListingRequest) Descriptor
func (*UpdateListingRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateListingRequest.ProtoReflect.Descriptor instead.
func (*UpdateListingRequest) GetListing
func (x *UpdateListingRequest) GetListing() *Listingfunc (*UpdateListingRequest) GetUpdateMask
func (x *UpdateListingRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateListingRequest) ProtoMessage
func (*UpdateListingRequest) ProtoMessage()func (*UpdateListingRequest) ProtoReflect
func (x *UpdateListingRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateListingRequest) Reset
func (x *UpdateListingRequest) Reset()func (*UpdateListingRequest) String
func (x *UpdateListingRequest) String() string