Enum value maps for NamespaceView.
var ( NamespaceView_name = map[int32]string{ 0: "NAMESPACE_VIEW_UNSPECIFIED", 1: "NAMESPACE_VIEW_BASIC", 2: "NAMESPACE_VIEW_FULL", } NamespaceView_value = map[string]int32{ "NAMESPACE_VIEW_UNSPECIFIED": 0, "NAMESPACE_VIEW_BASIC": 1, "NAMESPACE_VIEW_FULL": 2, } )
Enum value maps for Version_Type.
var ( Version_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_PREVIEW", 2: "TYPE_GENERAL_AVAILABILITY", } Version_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_PREVIEW": 1, "TYPE_GENERAL_AVAILABILITY": 2, } )
Enum value maps for Accelerator_AcceleratorType.
var ( Accelerator_AcceleratorType_name = map[int32]string{ 0: "ACCELERATOR_TYPE_UNSPECIFIED", 1: "CDC", 2: "HEALTHCARE", } Accelerator_AcceleratorType_value = map[string]int32{ "ACCELERATOR_TYPE_UNSPECIFIED": 0, "CDC": 1, "HEALTHCARE": 2, } )
Enum value maps for Instance_Type.
var ( Instance_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "BASIC", 2: "ENTERPRISE", 3: "DEVELOPER", } Instance_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "BASIC": 1, "ENTERPRISE": 2, "DEVELOPER": 3, } )
Enum value maps for Instance_State.
var ( Instance_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "RUNNING", 3: "FAILED", 4: "DELETING", 5: "UPGRADING", 6: "RESTARTING", 7: "UPDATING", 8: "AUTO_UPDATING", 9: "AUTO_UPGRADING", 10: "DISABLED", } Instance_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "RUNNING": 2, "FAILED": 3, "DELETING": 4, "UPGRADING": 5, "RESTARTING": 6, "UPDATING": 7, "AUTO_UPDATING": 8, "AUTO_UPGRADING": 9, "DISABLED": 10, } )
Enum value maps for Instance_DisabledReason.
var ( Instance_DisabledReason_name = map[int32]string{ 0: "DISABLED_REASON_UNSPECIFIED", 1: "KMS_KEY_ISSUE", } Instance_DisabledReason_value = map[string]int32{ "DISABLED_REASON_UNSPECIFIED": 0, "KMS_KEY_ISSUE": 1, } )
var File_google_cloud_datafusion_v1beta1_v1beta1_proto protoreflect.FileDescriptor
func RegisterDataFusionServer(s *grpc.Server, srv DataFusionServer)
Identifies Data Fusion accelerators for an instance.
type Accelerator struct { // The type of an accelator for a CDF instance. AcceleratorType Accelerator_AcceleratorType `protobuf:"varint,1,opt,name=accelerator_type,json=acceleratorType,proto3,enum=google.cloud.datafusion.v1beta1.Accelerator_AcceleratorType" json:"accelerator_type,omitempty"` // contains filtered or unexported fields }
func (*Accelerator) Descriptor() ([]byte, []int)
Deprecated: Use Accelerator.ProtoReflect.Descriptor instead.
func (x *Accelerator) GetAcceleratorType() Accelerator_AcceleratorType
func (*Accelerator) ProtoMessage()
func (x *Accelerator) ProtoReflect() protoreflect.Message
func (x *Accelerator) Reset()
func (x *Accelerator) String() string
Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion service.
type Accelerator_AcceleratorType int32
const ( // Default value, if unspecified. Accelerator_ACCELERATOR_TYPE_UNSPECIFIED Accelerator_AcceleratorType = 0 // Change Data Capture accelerator for CDF. Accelerator_CDC Accelerator_AcceleratorType = 1 // Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud // Healthcare specific CDF plugins developed by Healthcare team. Accelerator_HEALTHCARE Accelerator_AcceleratorType = 2 )
func (Accelerator_AcceleratorType) Descriptor() protoreflect.EnumDescriptor
func (x Accelerator_AcceleratorType) Enum() *Accelerator_AcceleratorType
func (Accelerator_AcceleratorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Accelerator_AcceleratorType.Descriptor instead.
func (x Accelerator_AcceleratorType) Number() protoreflect.EnumNumber
func (x Accelerator_AcceleratorType) String() string
func (Accelerator_AcceleratorType) Type() protoreflect.EnumType
Request message to create dns peering.
type AddDnsPeeringRequest struct { // Required. The resource on which DNS peering will be created. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Dns peering config. DnsPeering *DnsPeering `protobuf:"bytes,2,opt,name=dns_peering,json=dnsPeering,proto3" json:"dns_peering,omitempty"` // contains filtered or unexported fields }
func (*AddDnsPeeringRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDnsPeeringRequest.ProtoReflect.Descriptor instead.
func (x *AddDnsPeeringRequest) GetDnsPeering() *DnsPeering
func (x *AddDnsPeeringRequest) GetParent() string
func (*AddDnsPeeringRequest) ProtoMessage()
func (x *AddDnsPeeringRequest) ProtoReflect() protoreflect.Message
func (x *AddDnsPeeringRequest) Reset()
func (x *AddDnsPeeringRequest) String() string
Response message for set dns peering method.
type AddDnsPeeringResponse struct {
// contains filtered or unexported fields
}
func (*AddDnsPeeringResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDnsPeeringResponse.ProtoReflect.Descriptor instead.
func (*AddDnsPeeringResponse) ProtoMessage()
func (x *AddDnsPeeringResponse) ProtoReflect() protoreflect.Message
func (x *AddDnsPeeringResponse) Reset()
func (x *AddDnsPeeringResponse) String() string
Request message for creating a Data Fusion instance.
type CreateInstanceRequest struct { // Required. The instance's project and location in the format // projects/{project}/locations/{location}. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The name of the instance to create. InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // An instance resource. Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.
func (x *CreateInstanceRequest) GetInstance() *Instance
func (x *CreateInstanceRequest) GetInstanceId() string
func (x *CreateInstanceRequest) GetParent() string
func (*CreateInstanceRequest) ProtoMessage()
func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message
func (x *CreateInstanceRequest) Reset()
func (x *CreateInstanceRequest) String() string
The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature.
type CryptoKeyConfig struct { // The name of the key which is used to encrypt/decrypt customer data. For key // in Cloud KMS, the key should be in the format of // `projects/*/locations/*/keyRings/*/cryptoKeys/*`. KeyReference string `protobuf:"bytes,1,opt,name=key_reference,json=keyReference,proto3" json:"key_reference,omitempty"` // contains filtered or unexported fields }
func (*CryptoKeyConfig) Descriptor() ([]byte, []int)
Deprecated: Use CryptoKeyConfig.ProtoReflect.Descriptor instead.
func (x *CryptoKeyConfig) GetKeyReference() string
func (*CryptoKeyConfig) ProtoMessage()
func (x *CryptoKeyConfig) ProtoReflect() protoreflect.Message
func (x *CryptoKeyConfig) Reset()
func (x *CryptoKeyConfig) String() string
DataFusionClient is the client API for DataFusion service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type DataFusionClient interface { // Lists possible versions for Data Fusion instances in the specified project // and location. ListAvailableVersions(ctx context.Context, in *ListAvailableVersionsRequest, opts ...grpc.CallOption) (*ListAvailableVersionsResponse, error) // Lists Data Fusion instances in the specified project and location. ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Gets details of a single Data Fusion instance. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) // Creates a new Data Fusion instance in the specified project and location. CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes a single Data Fusion instance. DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates a single Data Fusion instance. UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Restart a single Data Fusion instance. // At the end of an operation instance is fully restarted. RestartInstance(ctx context.Context, in *RestartInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Upgrade a single Data Fusion instance. // At the end of an operation instance is fully upgraded. UpgradeInstance(ctx context.Context, in *UpgradeInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Remove IAM policy that is currently set on the given resource. RemoveIamPolicy(ctx context.Context, in *RemoveIamPolicyRequest, opts ...grpc.CallOption) (*RemoveIamPolicyResponse, error) // List namespaces in a given instance ListNamespaces(ctx context.Context, in *ListNamespacesRequest, opts ...grpc.CallOption) (*ListNamespacesResponse, error) // Add DNS peering on the given resource. AddDnsPeering(ctx context.Context, in *AddDnsPeeringRequest, opts ...grpc.CallOption) (*AddDnsPeeringResponse, error) // Remove DNS peering on the given resource. RemoveDnsPeering(ctx context.Context, in *RemoveDnsPeeringRequest, opts ...grpc.CallOption) (*RemoveDnsPeeringResponse, error) // List DNS peering for a given resource. ListDnsPeerings(ctx context.Context, in *ListDnsPeeringsRequest, opts ...grpc.CallOption) (*ListDnsPeeringsResponse, error) }
func NewDataFusionClient(cc grpc.ClientConnInterface) DataFusionClient
DataFusionServer is the server API for DataFusion service.
type DataFusionServer interface { // Lists possible versions for Data Fusion instances in the specified project // and location. ListAvailableVersions(context.Context, *ListAvailableVersionsRequest) (*ListAvailableVersionsResponse, error) // Lists Data Fusion instances in the specified project and location. ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Gets details of a single Data Fusion instance. GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) // Creates a new Data Fusion instance in the specified project and location. CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error) // Deletes a single Data Fusion instance. DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) // Updates a single Data Fusion instance. UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error) // Restart a single Data Fusion instance. // At the end of an operation instance is fully restarted. RestartInstance(context.Context, *RestartInstanceRequest) (*longrunning.Operation, error) // Upgrade a single Data Fusion instance. // At the end of an operation instance is fully upgraded. UpgradeInstance(context.Context, *UpgradeInstanceRequest) (*longrunning.Operation, error) // Remove IAM policy that is currently set on the given resource. RemoveIamPolicy(context.Context, *RemoveIamPolicyRequest) (*RemoveIamPolicyResponse, error) // List namespaces in a given instance ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error) // Add DNS peering on the given resource. AddDnsPeering(context.Context, *AddDnsPeeringRequest) (*AddDnsPeeringResponse, error) // Remove DNS peering on the given resource. RemoveDnsPeering(context.Context, *RemoveDnsPeeringRequest) (*RemoveDnsPeeringResponse, error) // List DNS peering for a given resource. ListDnsPeerings(context.Context, *ListDnsPeeringsRequest) (*ListDnsPeeringsResponse, error) }
Request message for deleting a Data Fusion instance.
type DeleteInstanceRequest struct { // Required. The instance resource name in the format // projects/{project}/locations/{location}/instances/{instance} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (x *DeleteInstanceRequest) GetName() string
func (*DeleteInstanceRequest) ProtoMessage()
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (x *DeleteInstanceRequest) Reset()
func (x *DeleteInstanceRequest) String() string
DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.
type DnsPeering struct { // Required. Name of the zone. Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"` // Required. Name of the dns. Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // Optional. Optional description of the dns zone. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional. Optional target project to which dns peering should happen. TargetProject string `protobuf:"bytes,4,opt,name=target_project,json=targetProject,proto3" json:"target_project,omitempty"` // Optional. Optional target network to which dns peering should happen. TargetNetwork string `protobuf:"bytes,5,opt,name=target_network,json=targetNetwork,proto3" json:"target_network,omitempty"` // contains filtered or unexported fields }
func (*DnsPeering) Descriptor() ([]byte, []int)
Deprecated: Use DnsPeering.ProtoReflect.Descriptor instead.
func (x *DnsPeering) GetDescription() string
func (x *DnsPeering) GetDomain() string
func (x *DnsPeering) GetTargetNetwork() string
func (x *DnsPeering) GetTargetProject() string
func (x *DnsPeering) GetZone() string
func (*DnsPeering) ProtoMessage()
func (x *DnsPeering) ProtoReflect() protoreflect.Message
func (x *DnsPeering) Reset()
func (x *DnsPeering) String() string
Request message for getting details about a Data Fusion instance.
type GetInstanceRequest struct { // Required. The instance resource name in the format // projects/{project}/locations/{location}/instances/{instance}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage()
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (x *GetInstanceRequest) Reset()
func (x *GetInstanceRequest) String() string
IAMPolicy encapsulates the IAM policy name, definition and status of policy fetching.
type IAMPolicy struct { // Policy definition if IAM policy fetching is successful, // otherwise empty. Policy *v1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // Status of iam policy fetching. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*IAMPolicy) Descriptor() ([]byte, []int)
Deprecated: Use IAMPolicy.ProtoReflect.Descriptor instead.
func (x *IAMPolicy) GetPolicy() *v1.Policy
func (x *IAMPolicy) GetStatus() *status.Status
func (*IAMPolicy) ProtoMessage()
func (x *IAMPolicy) ProtoReflect() protoreflect.Message
func (x *IAMPolicy) Reset()
func (x *IAMPolicy) String() string
Represents a Data Fusion instance.
type Instance struct { // Output only. The name of this instance is in the form of // projects/{project}/locations/{location}/instances/{instance}. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A description of this instance. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Required. Instance type. Type Instance_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.datafusion.v1beta1.Instance_Type" json:"type,omitempty"` // Option to enable Stackdriver Logging. EnableStackdriverLogging bool `protobuf:"varint,4,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"` // Option to enable Stackdriver Monitoring. EnableStackdriverMonitoring bool `protobuf:"varint,5,opt,name=enable_stackdriver_monitoring,json=enableStackdriverMonitoring,proto3" json:"enable_stackdriver_monitoring,omitempty"` // Specifies whether the Data Fusion instance should be private. If set to // true, all Data Fusion nodes will have private IP addresses and will not be // able to access the public internet. PrivateInstance bool `protobuf:"varint,6,opt,name=private_instance,json=privateInstance,proto3" json:"private_instance,omitempty"` // Network configuration options. These are required when a private Data // Fusion instance is to be created. NetworkConfig *NetworkConfig `protobuf:"bytes,7,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` // The resource labels for instance to use to annotate any related underlying // resources such as Compute Engine VMs. The character '=' is not allowed to // be used within the labels. Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Map of additional options used to configure the behavior of // Data Fusion instance. Options map[string]string `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The time the instance was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the instance was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The current state of this Data Fusion instance. State Instance_State `protobuf:"varint,12,opt,name=state,proto3,enum=google.cloud.datafusion.v1beta1.Instance_State" json:"state,omitempty"` // Output only. Additional information about the current state of this Data // Fusion instance if available. StateMessage string `protobuf:"bytes,13,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` // Output only. Endpoint on which the Data Fusion UI is accessible. ServiceEndpoint string `protobuf:"bytes,14,opt,name=service_endpoint,json=serviceEndpoint,proto3" json:"service_endpoint,omitempty"` // Name of the zone in which the Data Fusion instance will be created. Only // DEVELOPER instances use this field. Zone string `protobuf:"bytes,15,opt,name=zone,proto3" json:"zone,omitempty"` // Current version of Data Fusion. Version string `protobuf:"bytes,16,opt,name=version,proto3" json:"version,omitempty"` // Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. // // Deprecated: Do not use. ServiceAccount string `protobuf:"bytes,17,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Display name for an instance. DisplayName string `protobuf:"bytes,18,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Available versions that the instance can be upgraded to using // UpdateInstanceRequest. AvailableVersion []*Version `protobuf:"bytes,19,rep,name=available_version,json=availableVersion,proto3" json:"available_version,omitempty"` // Output only. Endpoint on which the REST APIs is accessible. ApiEndpoint string `protobuf:"bytes,20,opt,name=api_endpoint,json=apiEndpoint,proto3" json:"api_endpoint,omitempty"` // Output only. Cloud Storage bucket generated by Data Fusion in the customer project. GcsBucket string `protobuf:"bytes,21,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` // List of accelerators enabled for this CDF instance. Accelerators []*Accelerator `protobuf:"bytes,22,rep,name=accelerators,proto3" json:"accelerators,omitempty"` // Output only. P4 service account for the customer project. P4ServiceAccount string `protobuf:"bytes,23,opt,name=p4_service_account,json=p4ServiceAccount,proto3" json:"p4_service_account,omitempty"` // Output only. The name of the tenant project. TenantProjectId string `protobuf:"bytes,24,opt,name=tenant_project_id,json=tenantProjectId,proto3" json:"tenant_project_id,omitempty"` // User-managed service account to set on Dataproc when Cloud Data Fusion // creates Dataproc to run data processing pipelines. // // This allows users to have fine-grained access control on Dataproc's // accesses to cloud resources. DataprocServiceAccount string `protobuf:"bytes,25,opt,name=dataproc_service_account,json=dataprocServiceAccount,proto3" json:"dataproc_service_account,omitempty"` // Option to enable granular role-based access control. EnableRbac bool `protobuf:"varint,26,opt,name=enable_rbac,json=enableRbac,proto3" json:"enable_rbac,omitempty"` // The crypto key configuration. This field is used by the Customer-Managed // Encryption Keys (CMEK) feature. CryptoKeyConfig *CryptoKeyConfig `protobuf:"bytes,27,opt,name=crypto_key_config,json=cryptoKeyConfig,proto3" json:"crypto_key_config,omitempty"` // Output only. If the instance state is DISABLED, the reason for disabling the instance. DisabledReason []Instance_DisabledReason `protobuf:"varint,28,rep,packed,name=disabled_reason,json=disabledReason,proto3,enum=google.cloud.datafusion.v1beta1.Instance_DisabledReason" json:"disabled_reason,omitempty"` // contains filtered or unexported fields }
func (*Instance) Descriptor() ([]byte, []int)
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (x *Instance) GetAccelerators() []*Accelerator
func (x *Instance) GetApiEndpoint() string
func (x *Instance) GetAvailableVersion() []*Version
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (x *Instance) GetCryptoKeyConfig() *CryptoKeyConfig
func (x *Instance) GetDataprocServiceAccount() string
func (x *Instance) GetDescription() string
func (x *Instance) GetDisabledReason() []Instance_DisabledReason
func (x *Instance) GetDisplayName() string
func (x *Instance) GetEnableRbac() bool
func (x *Instance) GetEnableStackdriverLogging() bool
func (x *Instance) GetEnableStackdriverMonitoring() bool
func (x *Instance) GetGcsBucket() string
func (x *Instance) GetLabels() map[string]string
func (x *Instance) GetName() string
func (x *Instance) GetNetworkConfig() *NetworkConfig
func (x *Instance) GetOptions() map[string]string
func (x *Instance) GetP4ServiceAccount() string
func (x *Instance) GetPrivateInstance() bool
func (x *Instance) GetServiceAccount() string
Deprecated: Do not use.
func (x *Instance) GetServiceEndpoint() string
func (x *Instance) GetState() Instance_State
func (x *Instance) GetStateMessage() string
func (x *Instance) GetTenantProjectId() string
func (x *Instance) GetType() Instance_Type
func (x *Instance) GetUpdateTime() *timestamppb.Timestamp
func (x *Instance) GetVersion() string
func (x *Instance) GetZone() string
func (*Instance) ProtoMessage()
func (x *Instance) ProtoReflect() protoreflect.Message
func (x *Instance) Reset()
func (x *Instance) String() string
The reason for disabling the instance if the state is DISABLED.
type Instance_DisabledReason int32
const ( // This is an unknown reason for disabling. Instance_DISABLED_REASON_UNSPECIFIED Instance_DisabledReason = 0 // The KMS key used by the instance is either revoked or denied access to Instance_KMS_KEY_ISSUE Instance_DisabledReason = 1 )
func (Instance_DisabledReason) Descriptor() protoreflect.EnumDescriptor
func (x Instance_DisabledReason) Enum() *Instance_DisabledReason
func (Instance_DisabledReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_DisabledReason.Descriptor instead.
func (x Instance_DisabledReason) Number() protoreflect.EnumNumber
func (x Instance_DisabledReason) String() string
func (Instance_DisabledReason) Type() protoreflect.EnumType
Represents the state of a Data Fusion instance
type Instance_State int32
const ( // Instance does not have a state yet Instance_STATE_UNSPECIFIED Instance_State = 0 // Instance is being created Instance_CREATING Instance_State = 1 // Instance is running and ready for requests Instance_RUNNING Instance_State = 2 // Instance creation failed Instance_FAILED Instance_State = 3 // Instance is being deleted Instance_DELETING Instance_State = 4 // Instance is being upgraded Instance_UPGRADING Instance_State = 5 // Instance is being restarted Instance_RESTARTING Instance_State = 6 // Instance is being updated on customer request Instance_UPDATING Instance_State = 7 // Instance is being auto-updated Instance_AUTO_UPDATING Instance_State = 8 // Instance is being auto-upgraded Instance_AUTO_UPGRADING Instance_State = 9 // Instance is disabled Instance_DISABLED Instance_State = 10 )
func (Instance_State) Descriptor() protoreflect.EnumDescriptor
func (x Instance_State) Enum() *Instance_State
func (Instance_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_State.Descriptor instead.
func (x Instance_State) Number() protoreflect.EnumNumber
func (x Instance_State) String() string
func (Instance_State) Type() protoreflect.EnumType
Represents the type of Data Fusion instance. Each type is configured with the default settings for processing and memory.
type Instance_Type int32
const ( // No type specified. The instance creation will fail. Instance_TYPE_UNSPECIFIED Instance_Type = 0 // Basic Data Fusion instance. In Basic type, the user will be able to // create data pipelines using point and click UI. However, there are // certain limitations, such as fewer number of concurrent pipelines, no // support for streaming pipelines, etc. Instance_BASIC Instance_Type = 1 // Enterprise Data Fusion instance. In Enterprise type, the user will have // all features available, such as support for streaming pipelines, // unlimited number of concurrent pipelines, etc. Instance_ENTERPRISE Instance_Type = 2 // Developer Data Fusion instance. In Developer type, the user will have all // features available but with restrictive capabilities. This is to help // enterprises design and develop their data ingestion and integration // pipelines at low cost. Instance_DEVELOPER Instance_Type = 3 )
func (Instance_Type) Descriptor() protoreflect.EnumDescriptor
func (x Instance_Type) Enum() *Instance_Type
func (Instance_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_Type.Descriptor instead.
func (x Instance_Type) Number() protoreflect.EnumNumber
func (x Instance_Type) String() string
func (Instance_Type) Type() protoreflect.EnumType
Request message for the list available versions request.
type ListAvailableVersionsRequest struct { // Required. The project and location for which to retrieve instance information // in the format projects/{project}/locations/{location}. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value to use if there are additional // results to retrieve for this list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Whether or not to return the latest patch of every available minor version. // If true, only the latest patch will be returned. Ex. if allowed versions is // [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0] LatestPatchOnly bool `protobuf:"varint,4,opt,name=latest_patch_only,json=latestPatchOnly,proto3" json:"latest_patch_only,omitempty"` // contains filtered or unexported fields }
func (*ListAvailableVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableVersionsRequest.ProtoReflect.Descriptor instead.
func (x *ListAvailableVersionsRequest) GetLatestPatchOnly() bool
func (x *ListAvailableVersionsRequest) GetPageSize() int32
func (x *ListAvailableVersionsRequest) GetPageToken() string
func (x *ListAvailableVersionsRequest) GetParent() string
func (*ListAvailableVersionsRequest) ProtoMessage()
func (x *ListAvailableVersionsRequest) ProtoReflect() protoreflect.Message
func (x *ListAvailableVersionsRequest) Reset()
func (x *ListAvailableVersionsRequest) String() string
Response message for the list available versions request.
type ListAvailableVersionsResponse struct { // Represents a list of versions that are supported. AvailableVersions []*Version `protobuf:"bytes,1,rep,name=available_versions,json=availableVersions,proto3" json:"available_versions,omitempty"` // Token to retrieve the next page of results or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAvailableVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAvailableVersionsResponse.ProtoReflect.Descriptor instead.
func (x *ListAvailableVersionsResponse) GetAvailableVersions() []*Version
func (x *ListAvailableVersionsResponse) GetNextPageToken() string
func (*ListAvailableVersionsResponse) ProtoMessage()
func (x *ListAvailableVersionsResponse) ProtoReflect() protoreflect.Message
func (x *ListAvailableVersionsResponse) Reset()
func (x *ListAvailableVersionsResponse) String() string
List dns peering request.
type ListDnsPeeringsRequest struct { // Required. The resource on which dns peering will be listed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value to use if there are additional // results to retrieve for this list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDnsPeeringsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsPeeringsRequest.ProtoReflect.Descriptor instead.
func (x *ListDnsPeeringsRequest) GetPageSize() int32
func (x *ListDnsPeeringsRequest) GetPageToken() string
func (x *ListDnsPeeringsRequest) GetParent() string
func (*ListDnsPeeringsRequest) ProtoMessage()
func (x *ListDnsPeeringsRequest) ProtoReflect() protoreflect.Message
func (x *ListDnsPeeringsRequest) Reset()
func (x *ListDnsPeeringsRequest) String() string
List dns peering response.
type ListDnsPeeringsResponse struct { // List of dns peering configs. DnsPeerings []*DnsPeering `protobuf:"bytes,1,rep,name=dns_peerings,json=dnsPeerings,proto3" json:"dns_peerings,omitempty"` // Token to retrieve the next page of results or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDnsPeeringsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDnsPeeringsResponse.ProtoReflect.Descriptor instead.
func (x *ListDnsPeeringsResponse) GetDnsPeerings() []*DnsPeering
func (x *ListDnsPeeringsResponse) GetNextPageToken() string
func (*ListDnsPeeringsResponse) ProtoMessage()
func (x *ListDnsPeeringsResponse) ProtoReflect() protoreflect.Message
func (x *ListDnsPeeringsResponse) Reset()
func (x *ListDnsPeeringsResponse) String() string
Request message for listing Data Fusion instances.
type ListInstancesRequest struct { // Required. The project and location for which to retrieve instance information // in the format projects/{project}/locations/{location}. If the location is // specified as '-' (wildcard), then all regions available to the project // are queried, and the results are aggregated. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value to use if there are additional // results to retrieve for this list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // List filter. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Sort results. Supported values are "name", "name desc", or "" (unsorted). OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (x *ListInstancesRequest) GetFilter() string
func (x *ListInstancesRequest) GetOrderBy() string
func (x *ListInstancesRequest) GetPageSize() int32
func (x *ListInstancesRequest) GetPageToken() string
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage()
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (x *ListInstancesRequest) Reset()
func (x *ListInstancesRequest) String() string
Response message for the list instance request.
type ListInstancesResponse struct { // Represents a list of Data Fusion instances. Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // Token to retrieve the next page of results or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // Locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (x *ListInstancesResponse) GetInstances() []*Instance
func (x *ListInstancesResponse) GetNextPageToken() string
func (x *ListInstancesResponse) GetUnreachable() []string
func (*ListInstancesResponse) ProtoMessage()
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (x *ListInstancesResponse) Reset()
func (x *ListInstancesResponse) String() string
List namespaces request.
type ListNamespacesRequest struct { // Required. The instance to list its namespaces. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value to use if there are additional // results to retrieve for this list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // By default, only basic information about a namespace is returned // (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional // information associated with a namespace gets returned // (e.g. IAM policy set on the namespace) View NamespaceView `protobuf:"varint,4,opt,name=view,proto3,enum=google.cloud.datafusion.v1beta1.NamespaceView" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesRequest.ProtoReflect.Descriptor instead.
func (x *ListNamespacesRequest) GetPageSize() int32
func (x *ListNamespacesRequest) GetPageToken() string
func (x *ListNamespacesRequest) GetParent() string
func (x *ListNamespacesRequest) GetView() NamespaceView
func (*ListNamespacesRequest) ProtoMessage()
func (x *ListNamespacesRequest) ProtoReflect() protoreflect.Message
func (x *ListNamespacesRequest) Reset()
func (x *ListNamespacesRequest) String() string
List namespaces response.
type ListNamespacesResponse struct { // List of namespaces Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // Token to retrieve the next page of results or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListNamespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNamespacesResponse.ProtoReflect.Descriptor instead.
func (x *ListNamespacesResponse) GetNamespaces() []*Namespace
func (x *ListNamespacesResponse) GetNextPageToken() string
func (*ListNamespacesResponse) ProtoMessage()
func (x *ListNamespacesResponse) ProtoReflect() protoreflect.Message
func (x *ListNamespacesResponse) Reset()
func (x *ListNamespacesResponse) String() string
Represents the information of a namespace
type Namespace struct { // Name of the given namespace. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // IAM policy associated with this namespace. IamPolicy *IAMPolicy `protobuf:"bytes,2,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"` // contains filtered or unexported fields }
func (*Namespace) Descriptor() ([]byte, []int)
Deprecated: Use Namespace.ProtoReflect.Descriptor instead.
func (x *Namespace) GetIamPolicy() *IAMPolicy
func (x *Namespace) GetName() string
func (*Namespace) ProtoMessage()
func (x *Namespace) ProtoReflect() protoreflect.Message
func (x *Namespace) Reset()
func (x *Namespace) String() string
A view for Namespace
type NamespaceView int32
const ( // Default/unset value, which will use BASIC view. NamespaceView_NAMESPACE_VIEW_UNSPECIFIED NamespaceView = 0 // Show the most basic metadata of a namespace NamespaceView_NAMESPACE_VIEW_BASIC NamespaceView = 1 // Returns all metadata of a namespace NamespaceView_NAMESPACE_VIEW_FULL NamespaceView = 2 )
func (NamespaceView) Descriptor() protoreflect.EnumDescriptor
func (x NamespaceView) Enum() *NamespaceView
func (NamespaceView) EnumDescriptor() ([]byte, []int)
Deprecated: Use NamespaceView.Descriptor instead.
func (x NamespaceView) Number() protoreflect.EnumNumber
func (x NamespaceView) String() string
func (NamespaceView) Type() protoreflect.EnumType
Network configuration for a Data Fusion instance. These configurations are used for peering with the customer network. Configurations are optional when a public Data Fusion instance is to be created. However, providing these configurations allows several benefits, such as reduced network latency while accessing the customer resources from managed Data Fusion instance nodes, as well as access to the customer on-prem resources.
type NetworkConfig struct { // Name of the network in the customer project with which the Tenant Project // will be peered for executing pipelines. In case of shared VPC where the // network resides in another host project the network should specified in // the form of projects/{host-project-id}/global/networks/{network} Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // The IP range in CIDR notation to use for the managed Data Fusion instance // nodes. This range must not overlap with any other ranges used in the Data // Fusion instance network. IpAllocation string `protobuf:"bytes,2,opt,name=ip_allocation,json=ipAllocation,proto3" json:"ip_allocation,omitempty"` // contains filtered or unexported fields }
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (x *NetworkConfig) GetIpAllocation() string
func (x *NetworkConfig) GetNetwork() string
func (*NetworkConfig) ProtoMessage()
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (x *NetworkConfig) Reset()
func (x *NetworkConfig) String() string
Represents the metadata of a long-running operation.
type OperationMetadata struct { // The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The time the operation finished running. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Name of the verb executed by the operation. Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` // Human-readable status of the operation if any. StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` // Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, // corresponding to `Code.CANCELLED`. RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` // API version used to start the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (x *OperationMetadata) GetApiVersion() string
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (x *OperationMetadata) GetRequestedCancellation() bool
func (x *OperationMetadata) GetStatusDetail() string
func (x *OperationMetadata) GetTarget() string
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage()
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (x *OperationMetadata) Reset()
func (x *OperationMetadata) String() string
Request message to remove dns peering.
type RemoveDnsPeeringRequest struct { // Required. The resource on which DNS peering will be removed. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The zone to be removed. Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"` // contains filtered or unexported fields }
func (*RemoveDnsPeeringRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDnsPeeringRequest.ProtoReflect.Descriptor instead.
func (x *RemoveDnsPeeringRequest) GetParent() string
func (x *RemoveDnsPeeringRequest) GetZone() string
func (*RemoveDnsPeeringRequest) ProtoMessage()
func (x *RemoveDnsPeeringRequest) ProtoReflect() protoreflect.Message
func (x *RemoveDnsPeeringRequest) Reset()
func (x *RemoveDnsPeeringRequest) String() string
Response message for set dns peering method.
type RemoveDnsPeeringResponse struct {
// contains filtered or unexported fields
}
func (*RemoveDnsPeeringResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDnsPeeringResponse.ProtoReflect.Descriptor instead.
func (*RemoveDnsPeeringResponse) ProtoMessage()
func (x *RemoveDnsPeeringResponse) ProtoReflect() protoreflect.Message
func (x *RemoveDnsPeeringResponse) Reset()
func (x *RemoveDnsPeeringResponse) String() string
Request message for RemoveIamPolicy method.
type RemoveIamPolicyRequest struct { // Required. The resource on which IAM policy to be removed is attached to. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*RemoveIamPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveIamPolicyRequest.ProtoReflect.Descriptor instead.
func (x *RemoveIamPolicyRequest) GetResource() string
func (*RemoveIamPolicyRequest) ProtoMessage()
func (x *RemoveIamPolicyRequest) ProtoReflect() protoreflect.Message
func (x *RemoveIamPolicyRequest) Reset()
func (x *RemoveIamPolicyRequest) String() string
Response message for RemoveIamPolicy method.
type RemoveIamPolicyResponse struct {
// contains filtered or unexported fields
}
func (*RemoveIamPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveIamPolicyResponse.ProtoReflect.Descriptor instead.
func (*RemoveIamPolicyResponse) ProtoMessage()
func (x *RemoveIamPolicyResponse) ProtoReflect() protoreflect.Message
func (x *RemoveIamPolicyResponse) Reset()
func (x *RemoveIamPolicyResponse) String() string
Request message for restarting a Data Fusion instance.
type RestartInstanceRequest struct { // Required. Name of the Data Fusion instance which need to be restarted in the form of // projects/{project}/locations/{location}/instances/{instance} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RestartInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartInstanceRequest.ProtoReflect.Descriptor instead.
func (x *RestartInstanceRequest) GetName() string
func (*RestartInstanceRequest) ProtoMessage()
func (x *RestartInstanceRequest) ProtoReflect() protoreflect.Message
func (x *RestartInstanceRequest) Reset()
func (x *RestartInstanceRequest) String() string
UnimplementedDataFusionServer can be embedded to have forward compatible implementations.
type UnimplementedDataFusionServer struct { }
func (*UnimplementedDataFusionServer) AddDnsPeering(context.Context, *AddDnsPeeringRequest) (*AddDnsPeeringResponse, error)
func (*UnimplementedDataFusionServer) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunning.Operation, error)
func (*UnimplementedDataFusionServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error)
func (*UnimplementedDataFusionServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedDataFusionServer) ListAvailableVersions(context.Context, *ListAvailableVersionsRequest) (*ListAvailableVersionsResponse, error)
func (*UnimplementedDataFusionServer) ListDnsPeerings(context.Context, *ListDnsPeeringsRequest) (*ListDnsPeeringsResponse, error)
func (*UnimplementedDataFusionServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedDataFusionServer) ListNamespaces(context.Context, *ListNamespacesRequest) (*ListNamespacesResponse, error)
func (*UnimplementedDataFusionServer) RemoveDnsPeering(context.Context, *RemoveDnsPeeringRequest) (*RemoveDnsPeeringResponse, error)
func (*UnimplementedDataFusionServer) RemoveIamPolicy(context.Context, *RemoveIamPolicyRequest) (*RemoveIamPolicyResponse, error)
func (*UnimplementedDataFusionServer) RestartInstance(context.Context, *RestartInstanceRequest) (*longrunning.Operation, error)
func (*UnimplementedDataFusionServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunning.Operation, error)
func (*UnimplementedDataFusionServer) UpgradeInstance(context.Context, *UpgradeInstanceRequest) (*longrunning.Operation, error)
Request message for updating a Data Fusion instance. Data Fusion only allows updating the labels, options, and stack driver settings.
type UpdateInstanceRequest struct { // Required. The instance resource that replaces the resource on the server. Currently, // Data Fusion only allows replacing labels, options, and stack driver // settings. All other fields will be ignored. Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Field mask is used to specify the fields that the update will overwrite // in an instance resource. The fields specified in the update_mask are // relative to the resource, not the full request. // A field will be overwritten if it is in the mask. // If the user does not provide a mask, all the supported fields (labels and // options currently) will be overwritten. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.
func (x *UpdateInstanceRequest) GetInstance() *Instance
func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInstanceRequest) ProtoMessage()
func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message
func (x *UpdateInstanceRequest) Reset()
func (x *UpdateInstanceRequest) String() string
Request message for upgrading a Data Fusion instance. To change the instance properties, instance update should be used.
type UpgradeInstanceRequest struct { // Required. Name of the Data Fusion instance which need to be upgraded in the form of // projects/{project}/locations/{location}/instances/{instance} // Instance will be upgraded with the latest stable version of the Data // Fusion. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpgradeInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpgradeInstanceRequest.ProtoReflect.Descriptor instead.
func (x *UpgradeInstanceRequest) GetName() string
func (*UpgradeInstanceRequest) ProtoMessage()
func (x *UpgradeInstanceRequest) ProtoReflect() protoreflect.Message
func (x *UpgradeInstanceRequest) Reset()
func (x *UpgradeInstanceRequest) String() string
The Data Fusion version.
type Version struct { // The version number of the Data Fusion instance, such as '6.0.1.0'. VersionNumber string `protobuf:"bytes,1,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"` // Whether this is currently the default version for Cloud Data Fusion DefaultVersion bool `protobuf:"varint,2,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"` // Represents a list of available feature names for a given version. AvailableFeatures []string `protobuf:"bytes,3,rep,name=available_features,json=availableFeatures,proto3" json:"available_features,omitempty"` // Type represents the release availability of the version Type Version_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.datafusion.v1beta1.Version_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Version) Descriptor() ([]byte, []int)
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (x *Version) GetAvailableFeatures() []string
func (x *Version) GetDefaultVersion() bool
func (x *Version) GetType() Version_Type
func (x *Version) GetVersionNumber() string
func (*Version) ProtoMessage()
func (x *Version) ProtoReflect() protoreflect.Message
func (x *Version) Reset()
func (x *Version) String() string
Each type represents the release availability of a CDF version
type Version_Type int32
const ( // Version does not have availability yet Version_TYPE_UNSPECIFIED Version_Type = 0 // Version is under development and not considered stable Version_TYPE_PREVIEW Version_Type = 1 // Version is available for public use Version_TYPE_GENERAL_AVAILABILITY Version_Type = 2 )
func (Version_Type) Descriptor() protoreflect.EnumDescriptor
func (x Version_Type) Enum() *Version_Type
func (Version_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_Type.Descriptor instead.
func (x Version_Type) Number() protoreflect.EnumNumber
func (x Version_Type) String() string
func (Version_Type) Type() protoreflect.EnumType