connection

package
v0.0.0-...-e165f0f Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CloudSqlProperties_DatabaseType_name = map[int32]string{
	0: "DATABASE_TYPE_UNSPECIFIED",
	1: "POSTGRES",
	2: "MYSQL",
}
View Source
var CloudSqlProperties_DatabaseType_value = map[string]int32{
	"DATABASE_TYPE_UNSPECIFIED": 0,
	"POSTGRES":                  1,
	"MYSQL":                     2,
}

Functions

func RegisterConnectionServiceServer

func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)

Types

type CloudSqlCredential

type CloudSqlCredential struct {
	// The username for the credential.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password for the credential.
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Credential info for the Cloud SQL.

func (*CloudSqlCredential) Descriptor

func (*CloudSqlCredential) Descriptor() ([]byte, []int)

func (*CloudSqlCredential) GetPassword

func (m *CloudSqlCredential) GetPassword() string

func (*CloudSqlCredential) GetUsername

func (m *CloudSqlCredential) GetUsername() string

func (*CloudSqlCredential) ProtoMessage

func (*CloudSqlCredential) ProtoMessage()

func (*CloudSqlCredential) Reset

func (m *CloudSqlCredential) Reset()

func (*CloudSqlCredential) String

func (m *CloudSqlCredential) String() string

func (*CloudSqlCredential) XXX_DiscardUnknown

func (m *CloudSqlCredential) XXX_DiscardUnknown()

func (*CloudSqlCredential) XXX_Marshal

func (m *CloudSqlCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudSqlCredential) XXX_Merge

func (m *CloudSqlCredential) XXX_Merge(src proto.Message)

func (*CloudSqlCredential) XXX_Size

func (m *CloudSqlCredential) XXX_Size() int

func (*CloudSqlCredential) XXX_Unmarshal

func (m *CloudSqlCredential) XXX_Unmarshal(b []byte) error

type CloudSqlProperties

type CloudSqlProperties struct {
	// Cloud SQL instance ID in the form `project:location:instance`.
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Database name.
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	// Type of the Cloud SQL database.
	Type CloudSqlProperties_DatabaseType `` /* 140-byte string literal not displayed */
	// Input only. Cloud SQL credential.
	Credential           *CloudSqlCredential `protobuf:"bytes,4,opt,name=credential,proto3" json:"credential,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

Connection properties specific to the Cloud SQL.

func (*CloudSqlProperties) Descriptor

func (*CloudSqlProperties) Descriptor() ([]byte, []int)

func (*CloudSqlProperties) GetCredential

func (m *CloudSqlProperties) GetCredential() *CloudSqlCredential

func (*CloudSqlProperties) GetDatabase

func (m *CloudSqlProperties) GetDatabase() string

func (*CloudSqlProperties) GetInstanceId

func (m *CloudSqlProperties) GetInstanceId() string

func (*CloudSqlProperties) GetType

func (*CloudSqlProperties) ProtoMessage

func (*CloudSqlProperties) ProtoMessage()

func (*CloudSqlProperties) Reset

func (m *CloudSqlProperties) Reset()

func (*CloudSqlProperties) String

func (m *CloudSqlProperties) String() string

func (*CloudSqlProperties) XXX_DiscardUnknown

func (m *CloudSqlProperties) XXX_DiscardUnknown()

func (*CloudSqlProperties) XXX_Marshal

func (m *CloudSqlProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloudSqlProperties) XXX_Merge

func (m *CloudSqlProperties) XXX_Merge(src proto.Message)

func (*CloudSqlProperties) XXX_Size

func (m *CloudSqlProperties) XXX_Size() int

func (*CloudSqlProperties) XXX_Unmarshal

func (m *CloudSqlProperties) XXX_Unmarshal(b []byte) error

type CloudSqlProperties_DatabaseType

type CloudSqlProperties_DatabaseType int32

Supported Cloud SQL database types.

const (
	// Unspecified database type.
	CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED CloudSqlProperties_DatabaseType = 0
	// Cloud SQL for PostgreSQL.
	CloudSqlProperties_POSTGRES CloudSqlProperties_DatabaseType = 1
	// Cloud SQL for MySQL.
	CloudSqlProperties_MYSQL CloudSqlProperties_DatabaseType = 2
)

func (CloudSqlProperties_DatabaseType) EnumDescriptor

func (CloudSqlProperties_DatabaseType) EnumDescriptor() ([]byte, []int)

func (CloudSqlProperties_DatabaseType) String

type Connection

type Connection struct {
	// The resource name of the connection in the form of:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// User provided display name for the connection.
	FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// User provided description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Properties specific to the underlying data source.
	//
	// Types that are valid to be assigned to Properties:
	//	*Connection_CloudSql
	Properties isConnection_Properties `protobuf_oneof:"properties"`
	// Output only. The creation timestamp of the connection.
	CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	// Output only. The last update timestamp of the connection.
	LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// Output only. True, if credential is configured for this connection.
	HasCredential        bool     `protobuf:"varint,7,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Configuration parameters to establish connection with an external data source, except the credential attributes.

func (*Connection) Descriptor

func (*Connection) Descriptor() ([]byte, []int)

func (*Connection) GetCloudSql

func (m *Connection) GetCloudSql() *CloudSqlProperties

func (*Connection) GetCreationTime

func (m *Connection) GetCreationTime() int64

func (*Connection) GetDescription

func (m *Connection) GetDescription() string

func (*Connection) GetFriendlyName

func (m *Connection) GetFriendlyName() string

func (*Connection) GetHasCredential

func (m *Connection) GetHasCredential() bool

func (*Connection) GetLastModifiedTime

func (m *Connection) GetLastModifiedTime() int64

func (*Connection) GetName

func (m *Connection) GetName() string

func (*Connection) GetProperties

func (m *Connection) GetProperties() isConnection_Properties

func (*Connection) ProtoMessage

func (*Connection) ProtoMessage()

func (*Connection) Reset

func (m *Connection) Reset()

func (*Connection) String

func (m *Connection) String() string

func (*Connection) XXX_DiscardUnknown

func (m *Connection) XXX_DiscardUnknown()

func (*Connection) XXX_Marshal

func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Connection) XXX_Merge

func (m *Connection) XXX_Merge(src proto.Message)

func (*Connection) XXX_OneofWrappers

func (*Connection) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Connection) XXX_Size

func (m *Connection) XXX_Size() int

func (*Connection) XXX_Unmarshal

func (m *Connection) XXX_Unmarshal(b []byte) error

type ConnectionCredential

type ConnectionCredential struct {
	// Credential specific to the underlying data source.
	//
	// Types that are valid to be assigned to Credential:
	//	*ConnectionCredential_CloudSql
	Credential           isConnectionCredential_Credential `protobuf_oneof:"credential"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

Credential to use with a connection.

func (*ConnectionCredential) Descriptor

func (*ConnectionCredential) Descriptor() ([]byte, []int)

func (*ConnectionCredential) GetCloudSql

func (m *ConnectionCredential) GetCloudSql() *CloudSqlCredential

func (*ConnectionCredential) GetCredential

func (m *ConnectionCredential) GetCredential() isConnectionCredential_Credential

func (*ConnectionCredential) ProtoMessage

func (*ConnectionCredential) ProtoMessage()

func (*ConnectionCredential) Reset

func (m *ConnectionCredential) Reset()

func (*ConnectionCredential) String

func (m *ConnectionCredential) String() string

func (*ConnectionCredential) XXX_DiscardUnknown

func (m *ConnectionCredential) XXX_DiscardUnknown()

func (*ConnectionCredential) XXX_Marshal

func (m *ConnectionCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConnectionCredential) XXX_Merge

func (m *ConnectionCredential) XXX_Merge(src proto.Message)

func (*ConnectionCredential) XXX_OneofWrappers

func (*ConnectionCredential) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ConnectionCredential) XXX_Size

func (m *ConnectionCredential) XXX_Size() int

func (*ConnectionCredential) XXX_Unmarshal

func (m *ConnectionCredential) XXX_Unmarshal(b []byte) error

type ConnectionCredential_CloudSql

type ConnectionCredential_CloudSql struct {
	CloudSql *CloudSqlCredential `protobuf:"bytes,1,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

type ConnectionServiceClient

type ConnectionServiceClient interface {
	// Creates a new connection.
	CreateConnection(ctx context.Context, in *CreateConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
	// Returns specified connection.
	GetConnection(ctx context.Context, in *GetConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
	// Returns a list of connections in the given project.
	ListConnections(ctx context.Context, in *ListConnectionsRequest, opts ...grpc.CallOption) (*ListConnectionsResponse, error)
	// Updates the specified connection. For security reasons, also resets
	// credential if connection properties are in the update field mask.
	UpdateConnection(ctx context.Context, in *UpdateConnectionRequest, opts ...grpc.CallOption) (*Connection, error)
	// Sets the credential for the specified connection.
	UpdateConnectionCredential(ctx context.Context, in *UpdateConnectionCredentialRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Deletes connection and associated credential.
	DeleteConnection(ctx context.Context, in *DeleteConnectionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Gets the access control policy for a resource.
	// Returns an empty policy if the resource exists and does not have a policy
	// set.
	GetIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Sets the access control policy on the specified resource. Replaces any
	// existing policy.
	//
	// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
	SetIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Returns permissions that a caller has on the specified resource.
	// If the resource does not exist, this will return an empty set of
	// permissions, not a NOT_FOUND error.
	//
	// Note: This operation is designed to be used for building permission-aware
	// UIs and command-line tools, not for authorization checking. This operation
	// may "fail open" without warning.
	TestIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
}

ConnectionServiceClient is the client API for ConnectionService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ConnectionServiceServer

type ConnectionServiceServer interface {
	// Creates a new connection.
	CreateConnection(context.Context, *CreateConnectionRequest) (*Connection, error)
	// Returns specified connection.
	GetConnection(context.Context, *GetConnectionRequest) (*Connection, error)
	// Returns a list of connections in the given project.
	ListConnections(context.Context, *ListConnectionsRequest) (*ListConnectionsResponse, error)
	// Updates the specified connection. For security reasons, also resets
	// credential if connection properties are in the update field mask.
	UpdateConnection(context.Context, *UpdateConnectionRequest) (*Connection, error)
	// Sets the credential for the specified connection.
	UpdateConnectionCredential(context.Context, *UpdateConnectionCredentialRequest) (*empty.Empty, error)
	// Deletes connection and associated credential.
	DeleteConnection(context.Context, *DeleteConnectionRequest) (*empty.Empty, error)
	// Gets the access control policy for a resource.
	// Returns an empty policy if the resource exists and does not have a policy
	// set.
	GetIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error)
	// Sets the access control policy on the specified resource. Replaces any
	// existing policy.
	//
	// Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
	SetIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error)
	// Returns permissions that a caller has on the specified resource.
	// If the resource does not exist, this will return an empty set of
	// permissions, not a NOT_FOUND error.
	//
	// Note: This operation is designed to be used for building permission-aware
	// UIs and command-line tools, not for authorization checking. This operation
	// may "fail open" without warning.
	TestIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
}

ConnectionServiceServer is the server API for ConnectionService service.

type Connection_CloudSql

type Connection_CloudSql struct {
	CloudSql *CloudSqlProperties `protobuf:"bytes,4,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

type CreateConnectionRequest

type CreateConnectionRequest struct {
	// Required. Parent resource name.
	// Must be in the format `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Connection id that should be assigned to the created connection.
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Required. Connection to create.
	Connection           *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

The request for [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection].

func (*CreateConnectionRequest) Descriptor

func (*CreateConnectionRequest) Descriptor() ([]byte, []int)

func (*CreateConnectionRequest) GetConnection

func (m *CreateConnectionRequest) GetConnection() *Connection

func (*CreateConnectionRequest) GetConnectionId

func (m *CreateConnectionRequest) GetConnectionId() string

func (*CreateConnectionRequest) GetParent

func (m *CreateConnectionRequest) GetParent() string

func (*CreateConnectionRequest) ProtoMessage

func (*CreateConnectionRequest) ProtoMessage()

func (*CreateConnectionRequest) Reset

func (m *CreateConnectionRequest) Reset()

func (*CreateConnectionRequest) String

func (m *CreateConnectionRequest) String() string

func (*CreateConnectionRequest) XXX_DiscardUnknown

func (m *CreateConnectionRequest) XXX_DiscardUnknown()

func (*CreateConnectionRequest) XXX_Marshal

func (m *CreateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateConnectionRequest) XXX_Merge

func (m *CreateConnectionRequest) XXX_Merge(src proto.Message)

func (*CreateConnectionRequest) XXX_Size

func (m *CreateConnectionRequest) XXX_Size() int

func (*CreateConnectionRequest) XXX_Unmarshal

func (m *CreateConnectionRequest) XXX_Unmarshal(b []byte) error

type DeleteConnectionRequest

type DeleteConnectionRequest struct {
	// Required. Name of the deleted connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for [ConnectionService.DeleteConnectionRequest][].

func (*DeleteConnectionRequest) Descriptor

func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)

func (*DeleteConnectionRequest) GetName

func (m *DeleteConnectionRequest) GetName() string

func (*DeleteConnectionRequest) ProtoMessage

func (*DeleteConnectionRequest) ProtoMessage()

func (*DeleteConnectionRequest) Reset

func (m *DeleteConnectionRequest) Reset()

func (*DeleteConnectionRequest) String

func (m *DeleteConnectionRequest) String() string

func (*DeleteConnectionRequest) XXX_DiscardUnknown

func (m *DeleteConnectionRequest) XXX_DiscardUnknown()

func (*DeleteConnectionRequest) XXX_Marshal

func (m *DeleteConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteConnectionRequest) XXX_Merge

func (m *DeleteConnectionRequest) XXX_Merge(src proto.Message)

func (*DeleteConnectionRequest) XXX_Size

func (m *DeleteConnectionRequest) XXX_Size() int

func (*DeleteConnectionRequest) XXX_Unmarshal

func (m *DeleteConnectionRequest) XXX_Unmarshal(b []byte) error

type GetConnectionRequest

type GetConnectionRequest struct {
	// Required. Name of the requested connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection].

func (*GetConnectionRequest) Descriptor

func (*GetConnectionRequest) Descriptor() ([]byte, []int)

func (*GetConnectionRequest) GetName

func (m *GetConnectionRequest) GetName() string

func (*GetConnectionRequest) ProtoMessage

func (*GetConnectionRequest) ProtoMessage()

func (*GetConnectionRequest) Reset

func (m *GetConnectionRequest) Reset()

func (*GetConnectionRequest) String

func (m *GetConnectionRequest) String() string

func (*GetConnectionRequest) XXX_DiscardUnknown

func (m *GetConnectionRequest) XXX_DiscardUnknown()

func (*GetConnectionRequest) XXX_Marshal

func (m *GetConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetConnectionRequest) XXX_Merge

func (m *GetConnectionRequest) XXX_Merge(src proto.Message)

func (*GetConnectionRequest) XXX_Size

func (m *GetConnectionRequest) XXX_Size() int

func (*GetConnectionRequest) XXX_Unmarshal

func (m *GetConnectionRequest) XXX_Unmarshal(b []byte) error

type ListConnectionsRequest

type ListConnectionsRequest struct {
	// Required. Parent resource name.
	// Must be in the form: `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Maximum number of results per page.
	MaxResults *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// Page token.
	PageToken            string   `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].

func (*ListConnectionsRequest) Descriptor

func (*ListConnectionsRequest) Descriptor() ([]byte, []int)

func (*ListConnectionsRequest) GetMaxResults

func (m *ListConnectionsRequest) GetMaxResults() *wrappers.UInt32Value

func (*ListConnectionsRequest) GetPageToken

func (m *ListConnectionsRequest) GetPageToken() string

func (*ListConnectionsRequest) GetParent

func (m *ListConnectionsRequest) GetParent() string

func (*ListConnectionsRequest) ProtoMessage

func (*ListConnectionsRequest) ProtoMessage()

func (*ListConnectionsRequest) Reset

func (m *ListConnectionsRequest) Reset()

func (*ListConnectionsRequest) String

func (m *ListConnectionsRequest) String() string

func (*ListConnectionsRequest) XXX_DiscardUnknown

func (m *ListConnectionsRequest) XXX_DiscardUnknown()

func (*ListConnectionsRequest) XXX_Marshal

func (m *ListConnectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConnectionsRequest) XXX_Merge

func (m *ListConnectionsRequest) XXX_Merge(src proto.Message)

func (*ListConnectionsRequest) XXX_Size

func (m *ListConnectionsRequest) XXX_Size() int

func (*ListConnectionsRequest) XXX_Unmarshal

func (m *ListConnectionsRequest) XXX_Unmarshal(b []byte) error

type ListConnectionsResponse

type ListConnectionsResponse struct {
	// Next page token.
	NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// List of connections.
	Connections          []*Connection `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

The response for [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections].

func (*ListConnectionsResponse) Descriptor

func (*ListConnectionsResponse) Descriptor() ([]byte, []int)

func (*ListConnectionsResponse) GetConnections

func (m *ListConnectionsResponse) GetConnections() []*Connection

func (*ListConnectionsResponse) GetNextPageToken

func (m *ListConnectionsResponse) GetNextPageToken() string

func (*ListConnectionsResponse) ProtoMessage

func (*ListConnectionsResponse) ProtoMessage()

func (*ListConnectionsResponse) Reset

func (m *ListConnectionsResponse) Reset()

func (*ListConnectionsResponse) String

func (m *ListConnectionsResponse) String() string

func (*ListConnectionsResponse) XXX_DiscardUnknown

func (m *ListConnectionsResponse) XXX_DiscardUnknown()

func (*ListConnectionsResponse) XXX_Marshal

func (m *ListConnectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListConnectionsResponse) XXX_Merge

func (m *ListConnectionsResponse) XXX_Merge(src proto.Message)

func (*ListConnectionsResponse) XXX_Size

func (m *ListConnectionsResponse) XXX_Size() int

func (*ListConnectionsResponse) XXX_Unmarshal

func (m *ListConnectionsResponse) XXX_Unmarshal(b []byte) error

type UnimplementedConnectionServiceServer

type UnimplementedConnectionServiceServer struct {
}

UnimplementedConnectionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedConnectionServiceServer) CreateConnection

func (*UnimplementedConnectionServiceServer) DeleteConnection

func (*UnimplementedConnectionServiceServer) GetConnection

func (*UnimplementedConnectionServiceServer) GetIamPolicy

func (*UnimplementedConnectionServiceServer) ListConnections

func (*UnimplementedConnectionServiceServer) SetIamPolicy

func (*UnimplementedConnectionServiceServer) TestIamPermissions

func (*UnimplementedConnectionServiceServer) UpdateConnection

func (*UnimplementedConnectionServiceServer) UpdateConnectionCredential

type UpdateConnectionCredentialRequest

type UpdateConnectionCredentialRequest struct {
	// Required. Name of the connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Credential to use with the connection.
	Credential           *ConnectionCredential `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

The request for [ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential].

func (*UpdateConnectionCredentialRequest) Descriptor

func (*UpdateConnectionCredentialRequest) Descriptor() ([]byte, []int)

func (*UpdateConnectionCredentialRequest) GetCredential

func (*UpdateConnectionCredentialRequest) GetName

func (*UpdateConnectionCredentialRequest) ProtoMessage

func (*UpdateConnectionCredentialRequest) ProtoMessage()

func (*UpdateConnectionCredentialRequest) Reset

func (*UpdateConnectionCredentialRequest) String

func (*UpdateConnectionCredentialRequest) XXX_DiscardUnknown

func (m *UpdateConnectionCredentialRequest) XXX_DiscardUnknown()

func (*UpdateConnectionCredentialRequest) XXX_Marshal

func (m *UpdateConnectionCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateConnectionCredentialRequest) XXX_Merge

func (*UpdateConnectionCredentialRequest) XXX_Size

func (m *UpdateConnectionCredentialRequest) XXX_Size() int

func (*UpdateConnectionCredentialRequest) XXX_Unmarshal

func (m *UpdateConnectionCredentialRequest) XXX_Unmarshal(b []byte) error

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	// Required. Name of the connection to update, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Connection containing the updated fields.
	Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
	// Required. Update mask for the connection fields to be updated.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

The request for [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection].

func (*UpdateConnectionRequest) Descriptor

func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)

func (*UpdateConnectionRequest) GetConnection

func (m *UpdateConnectionRequest) GetConnection() *Connection

func (*UpdateConnectionRequest) GetName

func (m *UpdateConnectionRequest) GetName() string

func (*UpdateConnectionRequest) GetUpdateMask

func (m *UpdateConnectionRequest) GetUpdateMask() *field_mask.FieldMask

func (*UpdateConnectionRequest) ProtoMessage

func (*UpdateConnectionRequest) ProtoMessage()

func (*UpdateConnectionRequest) Reset

func (m *UpdateConnectionRequest) Reset()

func (*UpdateConnectionRequest) String

func (m *UpdateConnectionRequest) String() string

func (*UpdateConnectionRequest) XXX_DiscardUnknown

func (m *UpdateConnectionRequest) XXX_DiscardUnknown()

func (*UpdateConnectionRequest) XXX_Marshal

func (m *UpdateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateConnectionRequest) XXX_Merge

func (m *UpdateConnectionRequest) XXX_Merge(src proto.Message)

func (*UpdateConnectionRequest) XXX_Size

func (m *UpdateConnectionRequest) XXX_Size() int

func (*UpdateConnectionRequest) XXX_Unmarshal

func (m *UpdateConnectionRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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