basicv2

package
v0.95.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Lorem Ipsum

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic struct {
	// Name of the Resource. Must contain only: - alphanumeric characters -
	// underscores - hyphens
	//
	// Note: The name must be unique within the scope of the resource.
	Name string `json:"name"`
}

type BasicV2API

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

Lorem Ipsum

func NewBasicV2

func NewBasicV2(client *client.DatabricksClient) *BasicV2API

func (*BasicV2API) CreateBasic

func (a *BasicV2API) CreateBasic(ctx context.Context, request CreateBasicRequest) (*Basic, error)

func (*BasicV2API) DeleteBasic

func (a *BasicV2API) DeleteBasic(ctx context.Context, request DeleteBasicRequest) error

func (*BasicV2API) GetBasic

func (a *BasicV2API) GetBasic(ctx context.Context, request GetBasicRequest) (*Basic, error)

func (*BasicV2API) ListBasics

func (a *BasicV2API) ListBasics(ctx context.Context, request ListBasicsRequest) listing.Iterator[Basic]

func (*BasicV2API) ListBasicsAll

func (a *BasicV2API) ListBasicsAll(ctx context.Context, request ListBasicsRequest) ([]Basic, error)

func (*BasicV2API) UpdateBasic

func (a *BasicV2API) UpdateBasic(ctx context.Context, request UpdateBasicRequest) (*Basic, error)

type BasicV2Interface

type BasicV2Interface interface {
	CreateBasic(ctx context.Context, request CreateBasicRequest) (*Basic, error)

	DeleteBasic(ctx context.Context, request DeleteBasicRequest) error

	GetBasic(ctx context.Context, request GetBasicRequest) (*Basic, error)

	//
	// This method is generated by Databricks SDK Code Generator.
	ListBasics(ctx context.Context, request ListBasicsRequest) listing.Iterator[Basic]

	//
	// This method is generated by Databricks SDK Code Generator.
	ListBasicsAll(ctx context.Context, request ListBasicsRequest) ([]Basic, error)

	UpdateBasic(ctx context.Context, request UpdateBasicRequest) (*Basic, error)
}

type CreateBasicRequest

type CreateBasicRequest struct {
	// Basic information about the resource
	Basic Basic `json:"basic"`
}

type DeleteBasicRequest

type DeleteBasicRequest struct {
	// The name of the resource
	Name string `json:"-" url:"-"`
}

type GetBasicRequest

type GetBasicRequest struct {
	// The name of the resource
	Name string `json:"-" url:"-"`
}

type ListBasicsRequest

type ListBasicsRequest struct {
	// Page size for pagination
	PageSize int `json:"-" url:"page_size,omitempty"`
	// Page token for pagination
	PageToken string `json:"-" url:"page_token,omitempty"`

	ForceSendFields []string `json:"-" url:"-"`
}

func (ListBasicsRequest) MarshalJSON

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

func (*ListBasicsRequest) UnmarshalJSON

func (s *ListBasicsRequest) UnmarshalJSON(b []byte) error

type ListBasicsResponse

type ListBasicsResponse struct {
	// List of resources
	Basics []Basic `json:"basics,omitempty"`
	// The next page token for pagination
	NextPageToken string `json:"next_page_token,omitempty"`

	ForceSendFields []string `json:"-" url:"-"`
}

func (ListBasicsResponse) MarshalJSON

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

func (*ListBasicsResponse) UnmarshalJSON

func (s *ListBasicsResponse) UnmarshalJSON(b []byte) error

type UpdateBasicRequest

type UpdateBasicRequest struct {
	// Basic information about the resource
	Basic Basic `json:"basic"`
	// The name of the resource
	Name string `json:"-" url:"-"`
	// The field mask must be a single string, with multiple fields separated by
	// commas (no spaces). The field path is relative to the resource object,
	// using a dot (`.`) to navigate sub-fields (e.g., `author.given_name`).
	// Specification of elements in sequence or map fields is not allowed, as
	// only the entire collection field can be specified. Field names must
	// exactly match the resource field names.
	UpdateMask string `json:"-" url:"update_mask,omitempty"`

	ForceSendFields []string `json:"-" url:"-"`
}

func (UpdateBasicRequest) MarshalJSON

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

func (*UpdateBasicRequest) UnmarshalJSON

func (s *UpdateBasicRequest) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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