Documentation ¶
Index ¶
- Variables
- func RegisterConnectionServiceServer(s *grpc.Server, srv ConnectionServiceServer)
- type CloudSqlCredential
- func (*CloudSqlCredential) Descriptor() ([]byte, []int)
- func (m *CloudSqlCredential) GetPassword() string
- func (m *CloudSqlCredential) GetUsername() string
- func (*CloudSqlCredential) ProtoMessage()
- func (m *CloudSqlCredential) Reset()
- func (m *CloudSqlCredential) String() string
- func (m *CloudSqlCredential) XXX_DiscardUnknown()
- func (m *CloudSqlCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudSqlCredential) XXX_Merge(src proto.Message)
- func (m *CloudSqlCredential) XXX_Size() int
- func (m *CloudSqlCredential) XXX_Unmarshal(b []byte) error
- type CloudSqlProperties
- func (*CloudSqlProperties) Descriptor() ([]byte, []int)
- func (m *CloudSqlProperties) GetCredential() *CloudSqlCredential
- func (m *CloudSqlProperties) GetDatabase() string
- func (m *CloudSqlProperties) GetInstanceId() string
- func (m *CloudSqlProperties) GetType() CloudSqlProperties_DatabaseType
- func (*CloudSqlProperties) ProtoMessage()
- func (m *CloudSqlProperties) Reset()
- func (m *CloudSqlProperties) String() string
- func (m *CloudSqlProperties) XXX_DiscardUnknown()
- func (m *CloudSqlProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloudSqlProperties) XXX_Merge(src proto.Message)
- func (m *CloudSqlProperties) XXX_Size() int
- func (m *CloudSqlProperties) XXX_Unmarshal(b []byte) error
- type CloudSqlProperties_DatabaseType
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)
- func (m *Connection) GetCloudSql() *CloudSqlProperties
- func (m *Connection) GetCreationTime() int64
- func (m *Connection) GetDescription() string
- func (m *Connection) GetFriendlyName() string
- func (m *Connection) GetHasCredential() bool
- func (m *Connection) GetLastModifiedTime() int64
- func (m *Connection) GetName() string
- func (m *Connection) GetProperties() isConnection_Properties
- func (*Connection) ProtoMessage()
- func (m *Connection) Reset()
- func (m *Connection) String() string
- func (m *Connection) XXX_DiscardUnknown()
- func (m *Connection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Connection) XXX_Merge(src proto.Message)
- func (*Connection) XXX_OneofWrappers() []interface{}
- func (m *Connection) XXX_Size() int
- func (m *Connection) XXX_Unmarshal(b []byte) error
- type ConnectionServiceClient
- type ConnectionServiceServer
- type Connection_CloudSql
- type CreateConnectionRequest
- func (*CreateConnectionRequest) Descriptor() ([]byte, []int)
- func (m *CreateConnectionRequest) GetConnection() *Connection
- func (m *CreateConnectionRequest) GetConnectionId() string
- func (m *CreateConnectionRequest) GetParent() string
- func (*CreateConnectionRequest) ProtoMessage()
- func (m *CreateConnectionRequest) Reset()
- func (m *CreateConnectionRequest) String() string
- func (m *CreateConnectionRequest) XXX_DiscardUnknown()
- func (m *CreateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateConnectionRequest) XXX_Merge(src proto.Message)
- func (m *CreateConnectionRequest) XXX_Size() int
- func (m *CreateConnectionRequest) XXX_Unmarshal(b []byte) error
- type DeleteConnectionRequest
- func (*DeleteConnectionRequest) Descriptor() ([]byte, []int)
- func (m *DeleteConnectionRequest) GetName() string
- func (*DeleteConnectionRequest) ProtoMessage()
- func (m *DeleteConnectionRequest) Reset()
- func (m *DeleteConnectionRequest) String() string
- func (m *DeleteConnectionRequest) XXX_DiscardUnknown()
- func (m *DeleteConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteConnectionRequest) XXX_Merge(src proto.Message)
- func (m *DeleteConnectionRequest) XXX_Size() int
- func (m *DeleteConnectionRequest) XXX_Unmarshal(b []byte) error
- type GetConnectionRequest
- func (*GetConnectionRequest) Descriptor() ([]byte, []int)
- func (m *GetConnectionRequest) GetName() string
- func (*GetConnectionRequest) ProtoMessage()
- func (m *GetConnectionRequest) Reset()
- func (m *GetConnectionRequest) String() string
- func (m *GetConnectionRequest) XXX_DiscardUnknown()
- func (m *GetConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetConnectionRequest) XXX_Merge(src proto.Message)
- func (m *GetConnectionRequest) XXX_Size() int
- func (m *GetConnectionRequest) XXX_Unmarshal(b []byte) error
- type ListConnectionsRequest
- func (*ListConnectionsRequest) Descriptor() ([]byte, []int)
- func (m *ListConnectionsRequest) GetPageSize() int32
- func (m *ListConnectionsRequest) GetPageToken() string
- func (m *ListConnectionsRequest) GetParent() string
- func (*ListConnectionsRequest) ProtoMessage()
- func (m *ListConnectionsRequest) Reset()
- func (m *ListConnectionsRequest) String() string
- func (m *ListConnectionsRequest) XXX_DiscardUnknown()
- func (m *ListConnectionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConnectionsRequest) XXX_Merge(src proto.Message)
- func (m *ListConnectionsRequest) XXX_Size() int
- func (m *ListConnectionsRequest) XXX_Unmarshal(b []byte) error
- type ListConnectionsResponse
- func (*ListConnectionsResponse) Descriptor() ([]byte, []int)
- func (m *ListConnectionsResponse) GetConnections() []*Connection
- func (m *ListConnectionsResponse) GetNextPageToken() string
- func (*ListConnectionsResponse) ProtoMessage()
- func (m *ListConnectionsResponse) Reset()
- func (m *ListConnectionsResponse) String() string
- func (m *ListConnectionsResponse) XXX_DiscardUnknown()
- func (m *ListConnectionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListConnectionsResponse) XXX_Merge(src proto.Message)
- func (m *ListConnectionsResponse) XXX_Size() int
- func (m *ListConnectionsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedConnectionServiceServer
- func (*UnimplementedConnectionServiceServer) CreateConnection(ctx context.Context, req *CreateConnectionRequest) (*Connection, error)
- func (*UnimplementedConnectionServiceServer) DeleteConnection(ctx context.Context, req *DeleteConnectionRequest) (*empty.Empty, error)
- func (*UnimplementedConnectionServiceServer) GetConnection(ctx context.Context, req *GetConnectionRequest) (*Connection, error)
- func (*UnimplementedConnectionServiceServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedConnectionServiceServer) ListConnections(ctx context.Context, req *ListConnectionsRequest) (*ListConnectionsResponse, error)
- func (*UnimplementedConnectionServiceServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedConnectionServiceServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- func (*UnimplementedConnectionServiceServer) UpdateConnection(ctx context.Context, req *UpdateConnectionRequest) (*Connection, error)
- type UpdateConnectionRequest
- func (*UpdateConnectionRequest) Descriptor() ([]byte, []int)
- func (m *UpdateConnectionRequest) GetConnection() *Connection
- func (m *UpdateConnectionRequest) GetName() string
- func (m *UpdateConnectionRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateConnectionRequest) ProtoMessage()
- func (m *UpdateConnectionRequest) Reset()
- func (m *UpdateConnectionRequest) String() string
- func (m *UpdateConnectionRequest) XXX_DiscardUnknown()
- func (m *UpdateConnectionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateConnectionRequest) XXX_Merge(src proto.Message)
- func (m *UpdateConnectionRequest) XXX_Size() int
- func (m *UpdateConnectionRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var CloudSqlProperties_DatabaseType_name = map[int32]string{
0: "DATABASE_TYPE_UNSPECIFIED",
1: "POSTGRES",
2: "MYSQL",
}
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 `` /* 135-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 (m *CloudSqlProperties) GetType() CloudSqlProperties_DatabaseType
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 ¶
func (x CloudSqlProperties_DatabaseType) String() 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 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) // 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.
func NewConnectionServiceClient ¶
func NewConnectionServiceClient(cc grpc.ClientConnInterface) ConnectionServiceClient
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) // 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.v1.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.v1.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. Page size. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,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.v1.ConnectionService.ListConnections].
func (*ListConnectionsRequest) Descriptor ¶
func (*ListConnectionsRequest) Descriptor() ([]byte, []int)
func (*ListConnectionsRequest) GetPageSize ¶
func (m *ListConnectionsRequest) GetPageSize() int32
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.v1.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) CreateConnection(ctx context.Context, req *CreateConnectionRequest) (*Connection, error)
func (*UnimplementedConnectionServiceServer) DeleteConnection ¶
func (*UnimplementedConnectionServiceServer) DeleteConnection(ctx context.Context, req *DeleteConnectionRequest) (*empty.Empty, error)
func (*UnimplementedConnectionServiceServer) GetConnection ¶
func (*UnimplementedConnectionServiceServer) GetConnection(ctx context.Context, req *GetConnectionRequest) (*Connection, error)
func (*UnimplementedConnectionServiceServer) GetIamPolicy ¶
func (*UnimplementedConnectionServiceServer) GetIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedConnectionServiceServer) ListConnections ¶
func (*UnimplementedConnectionServiceServer) ListConnections(ctx context.Context, req *ListConnectionsRequest) (*ListConnectionsResponse, error)
func (*UnimplementedConnectionServiceServer) SetIamPolicy ¶
func (*UnimplementedConnectionServiceServer) SetIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedConnectionServiceServer) TestIamPermissions ¶
func (*UnimplementedConnectionServiceServer) TestIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
func (*UnimplementedConnectionServiceServer) UpdateConnection ¶
func (*UnimplementedConnectionServiceServer) UpdateConnection(ctx context.Context, req *UpdateConnectionRequest) (*Connection, 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.v1.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