gcp_metrics_integration

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for gcp metrics integration API

func (*Client) CreateGcpMetricsIntegration

func (a *Client) CreateGcpMetricsIntegration(params *CreateGcpMetricsIntegrationParams, opts ...ClientOption) (*CreateGcpMetricsIntegrationOK, error)

CreateGcpMetricsIntegration create gcp metrics integration API

func (*Client) DeleteGcpMetricsIntegration

func (a *Client) DeleteGcpMetricsIntegration(params *DeleteGcpMetricsIntegrationParams, opts ...ClientOption) (*DeleteGcpMetricsIntegrationOK, error)

DeleteGcpMetricsIntegration delete gcp metrics integration API

func (*Client) ListGcpMetricsIntegrations

func (a *Client) ListGcpMetricsIntegrations(params *ListGcpMetricsIntegrationsParams, opts ...ClientOption) (*ListGcpMetricsIntegrationsOK, error)

ListGcpMetricsIntegrations list gcp metrics integrations API

func (*Client) ReadGcpMetricsIntegration

func (a *Client) ReadGcpMetricsIntegration(params *ReadGcpMetricsIntegrationParams, opts ...ClientOption) (*ReadGcpMetricsIntegrationOK, error)

ReadGcpMetricsIntegration read gcp metrics integration API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateGcpMetricsIntegration

func (a *Client) UpdateGcpMetricsIntegration(params *UpdateGcpMetricsIntegrationParams, opts ...ClientOption) (*UpdateGcpMetricsIntegrationOK, error)

UpdateGcpMetricsIntegration update gcp metrics integration API

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateGcpMetricsIntegration(params *CreateGcpMetricsIntegrationParams, opts ...ClientOption) (*CreateGcpMetricsIntegrationOK, error)

	DeleteGcpMetricsIntegration(params *DeleteGcpMetricsIntegrationParams, opts ...ClientOption) (*DeleteGcpMetricsIntegrationOK, error)

	ListGcpMetricsIntegrations(params *ListGcpMetricsIntegrationsParams, opts ...ClientOption) (*ListGcpMetricsIntegrationsOK, error)

	ReadGcpMetricsIntegration(params *ReadGcpMetricsIntegrationParams, opts ...ClientOption) (*ReadGcpMetricsIntegrationOK, error)

	UpdateGcpMetricsIntegration(params *UpdateGcpMetricsIntegrationParams, opts ...ClientOption) (*UpdateGcpMetricsIntegrationOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new gcp metrics integration API client.

type CreateGcpMetricsIntegrationBadRequest

type CreateGcpMetricsIntegrationBadRequest struct {
	Payload *models.APIError
}

CreateGcpMetricsIntegrationBadRequest describes a response with status code 400, with default header values.

Cannot create the GcpMetricsIntegration because the request is invalid.

func NewCreateGcpMetricsIntegrationBadRequest

func NewCreateGcpMetricsIntegrationBadRequest() *CreateGcpMetricsIntegrationBadRequest

NewCreateGcpMetricsIntegrationBadRequest creates a CreateGcpMetricsIntegrationBadRequest with default headers values

func (*CreateGcpMetricsIntegrationBadRequest) Code

Code gets the status code for the create gcp metrics integration bad request response

func (*CreateGcpMetricsIntegrationBadRequest) Error

func (*CreateGcpMetricsIntegrationBadRequest) GetPayload

func (*CreateGcpMetricsIntegrationBadRequest) IsClientError

func (o *CreateGcpMetricsIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this create gcp metrics integration bad request response has a 4xx status code

func (*CreateGcpMetricsIntegrationBadRequest) IsCode

IsCode returns true when this create gcp metrics integration bad request response a status code equal to that given

func (*CreateGcpMetricsIntegrationBadRequest) IsRedirect

IsRedirect returns true when this create gcp metrics integration bad request response has a 3xx status code

func (*CreateGcpMetricsIntegrationBadRequest) IsServerError

func (o *CreateGcpMetricsIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this create gcp metrics integration bad request response has a 5xx status code

func (*CreateGcpMetricsIntegrationBadRequest) IsSuccess

IsSuccess returns true when this create gcp metrics integration bad request response has a 2xx status code

func (*CreateGcpMetricsIntegrationBadRequest) String

type CreateGcpMetricsIntegrationConflict

type CreateGcpMetricsIntegrationConflict struct {
	Payload *models.APIError
}

CreateGcpMetricsIntegrationConflict describes a response with status code 409, with default header values.

Cannot create the GcpMetricsIntegration because there is a conflict with an existing GcpMetricsIntegration.

func NewCreateGcpMetricsIntegrationConflict

func NewCreateGcpMetricsIntegrationConflict() *CreateGcpMetricsIntegrationConflict

NewCreateGcpMetricsIntegrationConflict creates a CreateGcpMetricsIntegrationConflict with default headers values

func (*CreateGcpMetricsIntegrationConflict) Code

Code gets the status code for the create gcp metrics integration conflict response

func (*CreateGcpMetricsIntegrationConflict) Error

func (*CreateGcpMetricsIntegrationConflict) GetPayload

func (*CreateGcpMetricsIntegrationConflict) IsClientError

func (o *CreateGcpMetricsIntegrationConflict) IsClientError() bool

IsClientError returns true when this create gcp metrics integration conflict response has a 4xx status code

func (*CreateGcpMetricsIntegrationConflict) IsCode

IsCode returns true when this create gcp metrics integration conflict response a status code equal to that given

func (*CreateGcpMetricsIntegrationConflict) IsRedirect

func (o *CreateGcpMetricsIntegrationConflict) IsRedirect() bool

IsRedirect returns true when this create gcp metrics integration conflict response has a 3xx status code

func (*CreateGcpMetricsIntegrationConflict) IsServerError

func (o *CreateGcpMetricsIntegrationConflict) IsServerError() bool

IsServerError returns true when this create gcp metrics integration conflict response has a 5xx status code

func (*CreateGcpMetricsIntegrationConflict) IsSuccess

IsSuccess returns true when this create gcp metrics integration conflict response has a 2xx status code

func (*CreateGcpMetricsIntegrationConflict) String

type CreateGcpMetricsIntegrationDefault

type CreateGcpMetricsIntegrationDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

CreateGcpMetricsIntegrationDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewCreateGcpMetricsIntegrationDefault

func NewCreateGcpMetricsIntegrationDefault(code int) *CreateGcpMetricsIntegrationDefault

NewCreateGcpMetricsIntegrationDefault creates a CreateGcpMetricsIntegrationDefault with default headers values

func (*CreateGcpMetricsIntegrationDefault) Code

Code gets the status code for the create gcp metrics integration default response

func (*CreateGcpMetricsIntegrationDefault) Error

func (*CreateGcpMetricsIntegrationDefault) GetPayload

func (*CreateGcpMetricsIntegrationDefault) IsClientError

func (o *CreateGcpMetricsIntegrationDefault) IsClientError() bool

IsClientError returns true when this create gcp metrics integration default response has a 4xx status code

func (*CreateGcpMetricsIntegrationDefault) IsCode

IsCode returns true when this create gcp metrics integration default response a status code equal to that given

func (*CreateGcpMetricsIntegrationDefault) IsRedirect

func (o *CreateGcpMetricsIntegrationDefault) IsRedirect() bool

IsRedirect returns true when this create gcp metrics integration default response has a 3xx status code

func (*CreateGcpMetricsIntegrationDefault) IsServerError

func (o *CreateGcpMetricsIntegrationDefault) IsServerError() bool

IsServerError returns true when this create gcp metrics integration default response has a 5xx status code

func (*CreateGcpMetricsIntegrationDefault) IsSuccess

IsSuccess returns true when this create gcp metrics integration default response has a 2xx status code

func (*CreateGcpMetricsIntegrationDefault) String

type CreateGcpMetricsIntegrationInternalServerError

type CreateGcpMetricsIntegrationInternalServerError struct {
	Payload *models.APIError
}

CreateGcpMetricsIntegrationInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewCreateGcpMetricsIntegrationInternalServerError

func NewCreateGcpMetricsIntegrationInternalServerError() *CreateGcpMetricsIntegrationInternalServerError

NewCreateGcpMetricsIntegrationInternalServerError creates a CreateGcpMetricsIntegrationInternalServerError with default headers values

func (*CreateGcpMetricsIntegrationInternalServerError) Code

Code gets the status code for the create gcp metrics integration internal server error response

func (*CreateGcpMetricsIntegrationInternalServerError) Error

func (*CreateGcpMetricsIntegrationInternalServerError) GetPayload

func (*CreateGcpMetricsIntegrationInternalServerError) IsClientError

IsClientError returns true when this create gcp metrics integration internal server error response has a 4xx status code

func (*CreateGcpMetricsIntegrationInternalServerError) IsCode

IsCode returns true when this create gcp metrics integration internal server error response a status code equal to that given

func (*CreateGcpMetricsIntegrationInternalServerError) IsRedirect

IsRedirect returns true when this create gcp metrics integration internal server error response has a 3xx status code

func (*CreateGcpMetricsIntegrationInternalServerError) IsServerError

IsServerError returns true when this create gcp metrics integration internal server error response has a 5xx status code

func (*CreateGcpMetricsIntegrationInternalServerError) IsSuccess

IsSuccess returns true when this create gcp metrics integration internal server error response has a 2xx status code

func (*CreateGcpMetricsIntegrationInternalServerError) String

type CreateGcpMetricsIntegrationOK

type CreateGcpMetricsIntegrationOK struct {
	Payload *models.Configv1CreateGcpMetricsIntegrationResponse
}

CreateGcpMetricsIntegrationOK describes a response with status code 200, with default header values.

A successful response containing the created GcpMetricsIntegration.

func NewCreateGcpMetricsIntegrationOK

func NewCreateGcpMetricsIntegrationOK() *CreateGcpMetricsIntegrationOK

NewCreateGcpMetricsIntegrationOK creates a CreateGcpMetricsIntegrationOK with default headers values

func (*CreateGcpMetricsIntegrationOK) Code

Code gets the status code for the create gcp metrics integration o k response

func (*CreateGcpMetricsIntegrationOK) Error

func (*CreateGcpMetricsIntegrationOK) GetPayload

func (*CreateGcpMetricsIntegrationOK) IsClientError

func (o *CreateGcpMetricsIntegrationOK) IsClientError() bool

IsClientError returns true when this create gcp metrics integration o k response has a 4xx status code

func (*CreateGcpMetricsIntegrationOK) IsCode

func (o *CreateGcpMetricsIntegrationOK) IsCode(code int) bool

IsCode returns true when this create gcp metrics integration o k response a status code equal to that given

func (*CreateGcpMetricsIntegrationOK) IsRedirect

func (o *CreateGcpMetricsIntegrationOK) IsRedirect() bool

IsRedirect returns true when this create gcp metrics integration o k response has a 3xx status code

func (*CreateGcpMetricsIntegrationOK) IsServerError

func (o *CreateGcpMetricsIntegrationOK) IsServerError() bool

IsServerError returns true when this create gcp metrics integration o k response has a 5xx status code

func (*CreateGcpMetricsIntegrationOK) IsSuccess

func (o *CreateGcpMetricsIntegrationOK) IsSuccess() bool

IsSuccess returns true when this create gcp metrics integration o k response has a 2xx status code

func (*CreateGcpMetricsIntegrationOK) String

type CreateGcpMetricsIntegrationParams

type CreateGcpMetricsIntegrationParams struct {

	// Body.
	Body *models.Configv1CreateGcpMetricsIntegrationRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateGcpMetricsIntegrationParams contains all the parameters to send to the API endpoint

for the create gcp metrics integration operation.

Typically these are written to a http.Request.

func NewCreateGcpMetricsIntegrationParams

func NewCreateGcpMetricsIntegrationParams() *CreateGcpMetricsIntegrationParams

NewCreateGcpMetricsIntegrationParams creates a new CreateGcpMetricsIntegrationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateGcpMetricsIntegrationParamsWithContext

func NewCreateGcpMetricsIntegrationParamsWithContext(ctx context.Context) *CreateGcpMetricsIntegrationParams

NewCreateGcpMetricsIntegrationParamsWithContext creates a new CreateGcpMetricsIntegrationParams object with the ability to set a context for a request.

func NewCreateGcpMetricsIntegrationParamsWithHTTPClient

func NewCreateGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *CreateGcpMetricsIntegrationParams

NewCreateGcpMetricsIntegrationParamsWithHTTPClient creates a new CreateGcpMetricsIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewCreateGcpMetricsIntegrationParamsWithTimeout

func NewCreateGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *CreateGcpMetricsIntegrationParams

NewCreateGcpMetricsIntegrationParamsWithTimeout creates a new CreateGcpMetricsIntegrationParams object with the ability to set a timeout on a request.

func (*CreateGcpMetricsIntegrationParams) SetBody

SetBody adds the body to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) SetContext

SetContext adds the context to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) SetDefaults

func (o *CreateGcpMetricsIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the create gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGcpMetricsIntegrationParams) SetHTTPClient

func (o *CreateGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) SetTimeout

func (o *CreateGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) WithBody

WithBody adds the body to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) WithContext

WithContext adds the context to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) WithDefaults

WithDefaults hydrates default values in the create gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*CreateGcpMetricsIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) WithTimeout

WithTimeout adds the timeout to the create gcp metrics integration params

func (*CreateGcpMetricsIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateGcpMetricsIntegrationReader

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

CreateGcpMetricsIntegrationReader is a Reader for the CreateGcpMetricsIntegration structure.

func (*CreateGcpMetricsIntegrationReader) ReadResponse

func (o *CreateGcpMetricsIntegrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteGcpMetricsIntegrationBadRequest

type DeleteGcpMetricsIntegrationBadRequest struct {
	Payload *models.APIError
}

DeleteGcpMetricsIntegrationBadRequest describes a response with status code 400, with default header values.

Cannot delete the GcpMetricsIntegration because it is in use.

func NewDeleteGcpMetricsIntegrationBadRequest

func NewDeleteGcpMetricsIntegrationBadRequest() *DeleteGcpMetricsIntegrationBadRequest

NewDeleteGcpMetricsIntegrationBadRequest creates a DeleteGcpMetricsIntegrationBadRequest with default headers values

func (*DeleteGcpMetricsIntegrationBadRequest) Code

Code gets the status code for the delete gcp metrics integration bad request response

func (*DeleteGcpMetricsIntegrationBadRequest) Error

func (*DeleteGcpMetricsIntegrationBadRequest) GetPayload

func (*DeleteGcpMetricsIntegrationBadRequest) IsClientError

func (o *DeleteGcpMetricsIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this delete gcp metrics integration bad request response has a 4xx status code

func (*DeleteGcpMetricsIntegrationBadRequest) IsCode

IsCode returns true when this delete gcp metrics integration bad request response a status code equal to that given

func (*DeleteGcpMetricsIntegrationBadRequest) IsRedirect

IsRedirect returns true when this delete gcp metrics integration bad request response has a 3xx status code

func (*DeleteGcpMetricsIntegrationBadRequest) IsServerError

func (o *DeleteGcpMetricsIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this delete gcp metrics integration bad request response has a 5xx status code

func (*DeleteGcpMetricsIntegrationBadRequest) IsSuccess

IsSuccess returns true when this delete gcp metrics integration bad request response has a 2xx status code

func (*DeleteGcpMetricsIntegrationBadRequest) String

type DeleteGcpMetricsIntegrationDefault

type DeleteGcpMetricsIntegrationDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

DeleteGcpMetricsIntegrationDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewDeleteGcpMetricsIntegrationDefault

func NewDeleteGcpMetricsIntegrationDefault(code int) *DeleteGcpMetricsIntegrationDefault

NewDeleteGcpMetricsIntegrationDefault creates a DeleteGcpMetricsIntegrationDefault with default headers values

func (*DeleteGcpMetricsIntegrationDefault) Code

Code gets the status code for the delete gcp metrics integration default response

func (*DeleteGcpMetricsIntegrationDefault) Error

func (*DeleteGcpMetricsIntegrationDefault) GetPayload

func (*DeleteGcpMetricsIntegrationDefault) IsClientError

func (o *DeleteGcpMetricsIntegrationDefault) IsClientError() bool

IsClientError returns true when this delete gcp metrics integration default response has a 4xx status code

func (*DeleteGcpMetricsIntegrationDefault) IsCode

IsCode returns true when this delete gcp metrics integration default response a status code equal to that given

func (*DeleteGcpMetricsIntegrationDefault) IsRedirect

func (o *DeleteGcpMetricsIntegrationDefault) IsRedirect() bool

IsRedirect returns true when this delete gcp metrics integration default response has a 3xx status code

func (*DeleteGcpMetricsIntegrationDefault) IsServerError

func (o *DeleteGcpMetricsIntegrationDefault) IsServerError() bool

IsServerError returns true when this delete gcp metrics integration default response has a 5xx status code

func (*DeleteGcpMetricsIntegrationDefault) IsSuccess

IsSuccess returns true when this delete gcp metrics integration default response has a 2xx status code

func (*DeleteGcpMetricsIntegrationDefault) String

type DeleteGcpMetricsIntegrationInternalServerError

type DeleteGcpMetricsIntegrationInternalServerError struct {
	Payload *models.APIError
}

DeleteGcpMetricsIntegrationInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewDeleteGcpMetricsIntegrationInternalServerError

func NewDeleteGcpMetricsIntegrationInternalServerError() *DeleteGcpMetricsIntegrationInternalServerError

NewDeleteGcpMetricsIntegrationInternalServerError creates a DeleteGcpMetricsIntegrationInternalServerError with default headers values

func (*DeleteGcpMetricsIntegrationInternalServerError) Code

Code gets the status code for the delete gcp metrics integration internal server error response

func (*DeleteGcpMetricsIntegrationInternalServerError) Error

func (*DeleteGcpMetricsIntegrationInternalServerError) GetPayload

func (*DeleteGcpMetricsIntegrationInternalServerError) IsClientError

IsClientError returns true when this delete gcp metrics integration internal server error response has a 4xx status code

func (*DeleteGcpMetricsIntegrationInternalServerError) IsCode

IsCode returns true when this delete gcp metrics integration internal server error response a status code equal to that given

func (*DeleteGcpMetricsIntegrationInternalServerError) IsRedirect

IsRedirect returns true when this delete gcp metrics integration internal server error response has a 3xx status code

func (*DeleteGcpMetricsIntegrationInternalServerError) IsServerError

IsServerError returns true when this delete gcp metrics integration internal server error response has a 5xx status code

func (*DeleteGcpMetricsIntegrationInternalServerError) IsSuccess

IsSuccess returns true when this delete gcp metrics integration internal server error response has a 2xx status code

func (*DeleteGcpMetricsIntegrationInternalServerError) String

type DeleteGcpMetricsIntegrationNotFound

type DeleteGcpMetricsIntegrationNotFound struct {
	Payload *models.APIError
}

DeleteGcpMetricsIntegrationNotFound describes a response with status code 404, with default header values.

Cannot delete the GcpMetricsIntegration because the slug does not exist.

func NewDeleteGcpMetricsIntegrationNotFound

func NewDeleteGcpMetricsIntegrationNotFound() *DeleteGcpMetricsIntegrationNotFound

NewDeleteGcpMetricsIntegrationNotFound creates a DeleteGcpMetricsIntegrationNotFound with default headers values

func (*DeleteGcpMetricsIntegrationNotFound) Code

Code gets the status code for the delete gcp metrics integration not found response

func (*DeleteGcpMetricsIntegrationNotFound) Error

func (*DeleteGcpMetricsIntegrationNotFound) GetPayload

func (*DeleteGcpMetricsIntegrationNotFound) IsClientError

func (o *DeleteGcpMetricsIntegrationNotFound) IsClientError() bool

IsClientError returns true when this delete gcp metrics integration not found response has a 4xx status code

func (*DeleteGcpMetricsIntegrationNotFound) IsCode

IsCode returns true when this delete gcp metrics integration not found response a status code equal to that given

func (*DeleteGcpMetricsIntegrationNotFound) IsRedirect

func (o *DeleteGcpMetricsIntegrationNotFound) IsRedirect() bool

IsRedirect returns true when this delete gcp metrics integration not found response has a 3xx status code

func (*DeleteGcpMetricsIntegrationNotFound) IsServerError

func (o *DeleteGcpMetricsIntegrationNotFound) IsServerError() bool

IsServerError returns true when this delete gcp metrics integration not found response has a 5xx status code

func (*DeleteGcpMetricsIntegrationNotFound) IsSuccess

IsSuccess returns true when this delete gcp metrics integration not found response has a 2xx status code

func (*DeleteGcpMetricsIntegrationNotFound) String

type DeleteGcpMetricsIntegrationOK

type DeleteGcpMetricsIntegrationOK struct {
	Payload models.Configv1DeleteGcpMetricsIntegrationResponse
}

DeleteGcpMetricsIntegrationOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteGcpMetricsIntegrationOK

func NewDeleteGcpMetricsIntegrationOK() *DeleteGcpMetricsIntegrationOK

NewDeleteGcpMetricsIntegrationOK creates a DeleteGcpMetricsIntegrationOK with default headers values

func (*DeleteGcpMetricsIntegrationOK) Code

Code gets the status code for the delete gcp metrics integration o k response

func (*DeleteGcpMetricsIntegrationOK) Error

func (*DeleteGcpMetricsIntegrationOK) GetPayload

func (*DeleteGcpMetricsIntegrationOK) IsClientError

func (o *DeleteGcpMetricsIntegrationOK) IsClientError() bool

IsClientError returns true when this delete gcp metrics integration o k response has a 4xx status code

func (*DeleteGcpMetricsIntegrationOK) IsCode

func (o *DeleteGcpMetricsIntegrationOK) IsCode(code int) bool

IsCode returns true when this delete gcp metrics integration o k response a status code equal to that given

func (*DeleteGcpMetricsIntegrationOK) IsRedirect

func (o *DeleteGcpMetricsIntegrationOK) IsRedirect() bool

IsRedirect returns true when this delete gcp metrics integration o k response has a 3xx status code

func (*DeleteGcpMetricsIntegrationOK) IsServerError

func (o *DeleteGcpMetricsIntegrationOK) IsServerError() bool

IsServerError returns true when this delete gcp metrics integration o k response has a 5xx status code

func (*DeleteGcpMetricsIntegrationOK) IsSuccess

func (o *DeleteGcpMetricsIntegrationOK) IsSuccess() bool

IsSuccess returns true when this delete gcp metrics integration o k response has a 2xx status code

func (*DeleteGcpMetricsIntegrationOK) String

type DeleteGcpMetricsIntegrationParams

type DeleteGcpMetricsIntegrationParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteGcpMetricsIntegrationParams contains all the parameters to send to the API endpoint

for the delete gcp metrics integration operation.

Typically these are written to a http.Request.

func NewDeleteGcpMetricsIntegrationParams

func NewDeleteGcpMetricsIntegrationParams() *DeleteGcpMetricsIntegrationParams

NewDeleteGcpMetricsIntegrationParams creates a new DeleteGcpMetricsIntegrationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteGcpMetricsIntegrationParamsWithContext

func NewDeleteGcpMetricsIntegrationParamsWithContext(ctx context.Context) *DeleteGcpMetricsIntegrationParams

NewDeleteGcpMetricsIntegrationParamsWithContext creates a new DeleteGcpMetricsIntegrationParams object with the ability to set a context for a request.

func NewDeleteGcpMetricsIntegrationParamsWithHTTPClient

func NewDeleteGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *DeleteGcpMetricsIntegrationParams

NewDeleteGcpMetricsIntegrationParamsWithHTTPClient creates a new DeleteGcpMetricsIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteGcpMetricsIntegrationParamsWithTimeout

func NewDeleteGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *DeleteGcpMetricsIntegrationParams

NewDeleteGcpMetricsIntegrationParamsWithTimeout creates a new DeleteGcpMetricsIntegrationParams object with the ability to set a timeout on a request.

func (*DeleteGcpMetricsIntegrationParams) SetContext

SetContext adds the context to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) SetDefaults

func (o *DeleteGcpMetricsIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the delete gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGcpMetricsIntegrationParams) SetHTTPClient

func (o *DeleteGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) SetSlug

func (o *DeleteGcpMetricsIntegrationParams) SetSlug(slug string)

SetSlug adds the slug to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) SetTimeout

func (o *DeleteGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) WithContext

WithContext adds the context to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) WithDefaults

WithDefaults hydrates default values in the delete gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteGcpMetricsIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) WithSlug

WithSlug adds the slug to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) WithTimeout

WithTimeout adds the timeout to the delete gcp metrics integration params

func (*DeleteGcpMetricsIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteGcpMetricsIntegrationReader

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

DeleteGcpMetricsIntegrationReader is a Reader for the DeleteGcpMetricsIntegration structure.

func (*DeleteGcpMetricsIntegrationReader) ReadResponse

func (o *DeleteGcpMetricsIntegrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListGcpMetricsIntegrationsDefault

type ListGcpMetricsIntegrationsDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ListGcpMetricsIntegrationsDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewListGcpMetricsIntegrationsDefault

func NewListGcpMetricsIntegrationsDefault(code int) *ListGcpMetricsIntegrationsDefault

NewListGcpMetricsIntegrationsDefault creates a ListGcpMetricsIntegrationsDefault with default headers values

func (*ListGcpMetricsIntegrationsDefault) Code

Code gets the status code for the list gcp metrics integrations default response

func (*ListGcpMetricsIntegrationsDefault) Error

func (*ListGcpMetricsIntegrationsDefault) GetPayload

func (*ListGcpMetricsIntegrationsDefault) IsClientError

func (o *ListGcpMetricsIntegrationsDefault) IsClientError() bool

IsClientError returns true when this list gcp metrics integrations default response has a 4xx status code

func (*ListGcpMetricsIntegrationsDefault) IsCode

func (o *ListGcpMetricsIntegrationsDefault) IsCode(code int) bool

IsCode returns true when this list gcp metrics integrations default response a status code equal to that given

func (*ListGcpMetricsIntegrationsDefault) IsRedirect

func (o *ListGcpMetricsIntegrationsDefault) IsRedirect() bool

IsRedirect returns true when this list gcp metrics integrations default response has a 3xx status code

func (*ListGcpMetricsIntegrationsDefault) IsServerError

func (o *ListGcpMetricsIntegrationsDefault) IsServerError() bool

IsServerError returns true when this list gcp metrics integrations default response has a 5xx status code

func (*ListGcpMetricsIntegrationsDefault) IsSuccess

func (o *ListGcpMetricsIntegrationsDefault) IsSuccess() bool

IsSuccess returns true when this list gcp metrics integrations default response has a 2xx status code

func (*ListGcpMetricsIntegrationsDefault) String

type ListGcpMetricsIntegrationsInternalServerError

type ListGcpMetricsIntegrationsInternalServerError struct {
	Payload *models.APIError
}

ListGcpMetricsIntegrationsInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewListGcpMetricsIntegrationsInternalServerError

func NewListGcpMetricsIntegrationsInternalServerError() *ListGcpMetricsIntegrationsInternalServerError

NewListGcpMetricsIntegrationsInternalServerError creates a ListGcpMetricsIntegrationsInternalServerError with default headers values

func (*ListGcpMetricsIntegrationsInternalServerError) Code

Code gets the status code for the list gcp metrics integrations internal server error response

func (*ListGcpMetricsIntegrationsInternalServerError) Error

func (*ListGcpMetricsIntegrationsInternalServerError) GetPayload

func (*ListGcpMetricsIntegrationsInternalServerError) IsClientError

IsClientError returns true when this list gcp metrics integrations internal server error response has a 4xx status code

func (*ListGcpMetricsIntegrationsInternalServerError) IsCode

IsCode returns true when this list gcp metrics integrations internal server error response a status code equal to that given

func (*ListGcpMetricsIntegrationsInternalServerError) IsRedirect

IsRedirect returns true when this list gcp metrics integrations internal server error response has a 3xx status code

func (*ListGcpMetricsIntegrationsInternalServerError) IsServerError

IsServerError returns true when this list gcp metrics integrations internal server error response has a 5xx status code

func (*ListGcpMetricsIntegrationsInternalServerError) IsSuccess

IsSuccess returns true when this list gcp metrics integrations internal server error response has a 2xx status code

func (*ListGcpMetricsIntegrationsInternalServerError) String

type ListGcpMetricsIntegrationsOK

type ListGcpMetricsIntegrationsOK struct {
	Payload *models.Configv1ListGcpMetricsIntegrationsResponse
}

ListGcpMetricsIntegrationsOK describes a response with status code 200, with default header values.

A successful response.

func NewListGcpMetricsIntegrationsOK

func NewListGcpMetricsIntegrationsOK() *ListGcpMetricsIntegrationsOK

NewListGcpMetricsIntegrationsOK creates a ListGcpMetricsIntegrationsOK with default headers values

func (*ListGcpMetricsIntegrationsOK) Code

Code gets the status code for the list gcp metrics integrations o k response

func (*ListGcpMetricsIntegrationsOK) Error

func (*ListGcpMetricsIntegrationsOK) GetPayload

func (*ListGcpMetricsIntegrationsOK) IsClientError

func (o *ListGcpMetricsIntegrationsOK) IsClientError() bool

IsClientError returns true when this list gcp metrics integrations o k response has a 4xx status code

func (*ListGcpMetricsIntegrationsOK) IsCode

func (o *ListGcpMetricsIntegrationsOK) IsCode(code int) bool

IsCode returns true when this list gcp metrics integrations o k response a status code equal to that given

func (*ListGcpMetricsIntegrationsOK) IsRedirect

func (o *ListGcpMetricsIntegrationsOK) IsRedirect() bool

IsRedirect returns true when this list gcp metrics integrations o k response has a 3xx status code

func (*ListGcpMetricsIntegrationsOK) IsServerError

func (o *ListGcpMetricsIntegrationsOK) IsServerError() bool

IsServerError returns true when this list gcp metrics integrations o k response has a 5xx status code

func (*ListGcpMetricsIntegrationsOK) IsSuccess

func (o *ListGcpMetricsIntegrationsOK) IsSuccess() bool

IsSuccess returns true when this list gcp metrics integrations o k response has a 2xx status code

func (*ListGcpMetricsIntegrationsOK) String

type ListGcpMetricsIntegrationsParams

type ListGcpMetricsIntegrationsParams struct {

	/* Names.

	   Filters results by name, where any GcpMetricsIntegration with a matching name in the given list (and matches all other filters) is returned.
	*/
	Names []string

	/* PageMaxSize.

	     Page size preference (i.e. how many items are returned in the next
	page). If zero, the server will use a default. Regardless of what size
	is given, clients must never assume how many items will be returned.

	     Format: int64
	*/
	PageMaxSize *int64

	/* PageToken.

	     Opaque page token identifying which page to request. An empty token
	identifies the first page.
	*/
	PageToken *string

	/* Slugs.

	   Filters results by slug, where any GcpMetricsIntegration with a matching slug in the given list (and matches all other filters) is returned.
	*/
	Slugs []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListGcpMetricsIntegrationsParams contains all the parameters to send to the API endpoint

for the list gcp metrics integrations operation.

Typically these are written to a http.Request.

func NewListGcpMetricsIntegrationsParams

func NewListGcpMetricsIntegrationsParams() *ListGcpMetricsIntegrationsParams

NewListGcpMetricsIntegrationsParams creates a new ListGcpMetricsIntegrationsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListGcpMetricsIntegrationsParamsWithContext

func NewListGcpMetricsIntegrationsParamsWithContext(ctx context.Context) *ListGcpMetricsIntegrationsParams

NewListGcpMetricsIntegrationsParamsWithContext creates a new ListGcpMetricsIntegrationsParams object with the ability to set a context for a request.

func NewListGcpMetricsIntegrationsParamsWithHTTPClient

func NewListGcpMetricsIntegrationsParamsWithHTTPClient(client *http.Client) *ListGcpMetricsIntegrationsParams

NewListGcpMetricsIntegrationsParamsWithHTTPClient creates a new ListGcpMetricsIntegrationsParams object with the ability to set a custom HTTPClient for a request.

func NewListGcpMetricsIntegrationsParamsWithTimeout

func NewListGcpMetricsIntegrationsParamsWithTimeout(timeout time.Duration) *ListGcpMetricsIntegrationsParams

NewListGcpMetricsIntegrationsParamsWithTimeout creates a new ListGcpMetricsIntegrationsParams object with the ability to set a timeout on a request.

func (*ListGcpMetricsIntegrationsParams) SetContext

SetContext adds the context to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetDefaults

func (o *ListGcpMetricsIntegrationsParams) SetDefaults()

SetDefaults hydrates default values in the list gcp metrics integrations params (not the query body).

All values with no default are reset to their zero value.

func (*ListGcpMetricsIntegrationsParams) SetHTTPClient

func (o *ListGcpMetricsIntegrationsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetNames

func (o *ListGcpMetricsIntegrationsParams) SetNames(names []string)

SetNames adds the names to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetPageMaxSize

func (o *ListGcpMetricsIntegrationsParams) SetPageMaxSize(pageMaxSize *int64)

SetPageMaxSize adds the pageMaxSize to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetPageToken

func (o *ListGcpMetricsIntegrationsParams) SetPageToken(pageToken *string)

SetPageToken adds the pageToken to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetSlugs

func (o *ListGcpMetricsIntegrationsParams) SetSlugs(slugs []string)

SetSlugs adds the slugs to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) SetTimeout

func (o *ListGcpMetricsIntegrationsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithContext

WithContext adds the context to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithDefaults

WithDefaults hydrates default values in the list gcp metrics integrations params (not the query body).

All values with no default are reset to their zero value.

func (*ListGcpMetricsIntegrationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithNames

WithNames adds the names to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithPageMaxSize

WithPageMaxSize adds the pageMaxSize to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithPageToken

WithPageToken adds the pageToken to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithSlugs

WithSlugs adds the slugs to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WithTimeout

WithTimeout adds the timeout to the list gcp metrics integrations params

func (*ListGcpMetricsIntegrationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListGcpMetricsIntegrationsReader

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

ListGcpMetricsIntegrationsReader is a Reader for the ListGcpMetricsIntegrations structure.

func (*ListGcpMetricsIntegrationsReader) ReadResponse

func (o *ListGcpMetricsIntegrationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ReadGcpMetricsIntegrationDefault

type ReadGcpMetricsIntegrationDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

ReadGcpMetricsIntegrationDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewReadGcpMetricsIntegrationDefault

func NewReadGcpMetricsIntegrationDefault(code int) *ReadGcpMetricsIntegrationDefault

NewReadGcpMetricsIntegrationDefault creates a ReadGcpMetricsIntegrationDefault with default headers values

func (*ReadGcpMetricsIntegrationDefault) Code

Code gets the status code for the read gcp metrics integration default response

func (*ReadGcpMetricsIntegrationDefault) Error

func (*ReadGcpMetricsIntegrationDefault) GetPayload

func (*ReadGcpMetricsIntegrationDefault) IsClientError

func (o *ReadGcpMetricsIntegrationDefault) IsClientError() bool

IsClientError returns true when this read gcp metrics integration default response has a 4xx status code

func (*ReadGcpMetricsIntegrationDefault) IsCode

func (o *ReadGcpMetricsIntegrationDefault) IsCode(code int) bool

IsCode returns true when this read gcp metrics integration default response a status code equal to that given

func (*ReadGcpMetricsIntegrationDefault) IsRedirect

func (o *ReadGcpMetricsIntegrationDefault) IsRedirect() bool

IsRedirect returns true when this read gcp metrics integration default response has a 3xx status code

func (*ReadGcpMetricsIntegrationDefault) IsServerError

func (o *ReadGcpMetricsIntegrationDefault) IsServerError() bool

IsServerError returns true when this read gcp metrics integration default response has a 5xx status code

func (*ReadGcpMetricsIntegrationDefault) IsSuccess

func (o *ReadGcpMetricsIntegrationDefault) IsSuccess() bool

IsSuccess returns true when this read gcp metrics integration default response has a 2xx status code

func (*ReadGcpMetricsIntegrationDefault) String

type ReadGcpMetricsIntegrationInternalServerError

type ReadGcpMetricsIntegrationInternalServerError struct {
	Payload *models.APIError
}

ReadGcpMetricsIntegrationInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewReadGcpMetricsIntegrationInternalServerError

func NewReadGcpMetricsIntegrationInternalServerError() *ReadGcpMetricsIntegrationInternalServerError

NewReadGcpMetricsIntegrationInternalServerError creates a ReadGcpMetricsIntegrationInternalServerError with default headers values

func (*ReadGcpMetricsIntegrationInternalServerError) Code

Code gets the status code for the read gcp metrics integration internal server error response

func (*ReadGcpMetricsIntegrationInternalServerError) Error

func (*ReadGcpMetricsIntegrationInternalServerError) GetPayload

func (*ReadGcpMetricsIntegrationInternalServerError) IsClientError

IsClientError returns true when this read gcp metrics integration internal server error response has a 4xx status code

func (*ReadGcpMetricsIntegrationInternalServerError) IsCode

IsCode returns true when this read gcp metrics integration internal server error response a status code equal to that given

func (*ReadGcpMetricsIntegrationInternalServerError) IsRedirect

IsRedirect returns true when this read gcp metrics integration internal server error response has a 3xx status code

func (*ReadGcpMetricsIntegrationInternalServerError) IsServerError

IsServerError returns true when this read gcp metrics integration internal server error response has a 5xx status code

func (*ReadGcpMetricsIntegrationInternalServerError) IsSuccess

IsSuccess returns true when this read gcp metrics integration internal server error response has a 2xx status code

func (*ReadGcpMetricsIntegrationInternalServerError) String

type ReadGcpMetricsIntegrationNotFound

type ReadGcpMetricsIntegrationNotFound struct {
	Payload *models.APIError
}

ReadGcpMetricsIntegrationNotFound describes a response with status code 404, with default header values.

Cannot read the GcpMetricsIntegration because the slug does not exist.

func NewReadGcpMetricsIntegrationNotFound

func NewReadGcpMetricsIntegrationNotFound() *ReadGcpMetricsIntegrationNotFound

NewReadGcpMetricsIntegrationNotFound creates a ReadGcpMetricsIntegrationNotFound with default headers values

func (*ReadGcpMetricsIntegrationNotFound) Code

Code gets the status code for the read gcp metrics integration not found response

func (*ReadGcpMetricsIntegrationNotFound) Error

func (*ReadGcpMetricsIntegrationNotFound) GetPayload

func (*ReadGcpMetricsIntegrationNotFound) IsClientError

func (o *ReadGcpMetricsIntegrationNotFound) IsClientError() bool

IsClientError returns true when this read gcp metrics integration not found response has a 4xx status code

func (*ReadGcpMetricsIntegrationNotFound) IsCode

func (o *ReadGcpMetricsIntegrationNotFound) IsCode(code int) bool

IsCode returns true when this read gcp metrics integration not found response a status code equal to that given

func (*ReadGcpMetricsIntegrationNotFound) IsRedirect

func (o *ReadGcpMetricsIntegrationNotFound) IsRedirect() bool

IsRedirect returns true when this read gcp metrics integration not found response has a 3xx status code

func (*ReadGcpMetricsIntegrationNotFound) IsServerError

func (o *ReadGcpMetricsIntegrationNotFound) IsServerError() bool

IsServerError returns true when this read gcp metrics integration not found response has a 5xx status code

func (*ReadGcpMetricsIntegrationNotFound) IsSuccess

func (o *ReadGcpMetricsIntegrationNotFound) IsSuccess() bool

IsSuccess returns true when this read gcp metrics integration not found response has a 2xx status code

func (*ReadGcpMetricsIntegrationNotFound) String

type ReadGcpMetricsIntegrationOK

type ReadGcpMetricsIntegrationOK struct {
	Payload *models.Configv1ReadGcpMetricsIntegrationResponse
}

ReadGcpMetricsIntegrationOK describes a response with status code 200, with default header values.

A successful response.

func NewReadGcpMetricsIntegrationOK

func NewReadGcpMetricsIntegrationOK() *ReadGcpMetricsIntegrationOK

NewReadGcpMetricsIntegrationOK creates a ReadGcpMetricsIntegrationOK with default headers values

func (*ReadGcpMetricsIntegrationOK) Code

func (o *ReadGcpMetricsIntegrationOK) Code() int

Code gets the status code for the read gcp metrics integration o k response

func (*ReadGcpMetricsIntegrationOK) Error

func (*ReadGcpMetricsIntegrationOK) GetPayload

func (*ReadGcpMetricsIntegrationOK) IsClientError

func (o *ReadGcpMetricsIntegrationOK) IsClientError() bool

IsClientError returns true when this read gcp metrics integration o k response has a 4xx status code

func (*ReadGcpMetricsIntegrationOK) IsCode

func (o *ReadGcpMetricsIntegrationOK) IsCode(code int) bool

IsCode returns true when this read gcp metrics integration o k response a status code equal to that given

func (*ReadGcpMetricsIntegrationOK) IsRedirect

func (o *ReadGcpMetricsIntegrationOK) IsRedirect() bool

IsRedirect returns true when this read gcp metrics integration o k response has a 3xx status code

func (*ReadGcpMetricsIntegrationOK) IsServerError

func (o *ReadGcpMetricsIntegrationOK) IsServerError() bool

IsServerError returns true when this read gcp metrics integration o k response has a 5xx status code

func (*ReadGcpMetricsIntegrationOK) IsSuccess

func (o *ReadGcpMetricsIntegrationOK) IsSuccess() bool

IsSuccess returns true when this read gcp metrics integration o k response has a 2xx status code

func (*ReadGcpMetricsIntegrationOK) String

func (o *ReadGcpMetricsIntegrationOK) String() string

type ReadGcpMetricsIntegrationParams

type ReadGcpMetricsIntegrationParams struct {

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ReadGcpMetricsIntegrationParams contains all the parameters to send to the API endpoint

for the read gcp metrics integration operation.

Typically these are written to a http.Request.

func NewReadGcpMetricsIntegrationParams

func NewReadGcpMetricsIntegrationParams() *ReadGcpMetricsIntegrationParams

NewReadGcpMetricsIntegrationParams creates a new ReadGcpMetricsIntegrationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewReadGcpMetricsIntegrationParamsWithContext

func NewReadGcpMetricsIntegrationParamsWithContext(ctx context.Context) *ReadGcpMetricsIntegrationParams

NewReadGcpMetricsIntegrationParamsWithContext creates a new ReadGcpMetricsIntegrationParams object with the ability to set a context for a request.

func NewReadGcpMetricsIntegrationParamsWithHTTPClient

func NewReadGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *ReadGcpMetricsIntegrationParams

NewReadGcpMetricsIntegrationParamsWithHTTPClient creates a new ReadGcpMetricsIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewReadGcpMetricsIntegrationParamsWithTimeout

func NewReadGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *ReadGcpMetricsIntegrationParams

NewReadGcpMetricsIntegrationParamsWithTimeout creates a new ReadGcpMetricsIntegrationParams object with the ability to set a timeout on a request.

func (*ReadGcpMetricsIntegrationParams) SetContext

func (o *ReadGcpMetricsIntegrationParams) SetContext(ctx context.Context)

SetContext adds the context to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) SetDefaults

func (o *ReadGcpMetricsIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the read gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*ReadGcpMetricsIntegrationParams) SetHTTPClient

func (o *ReadGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) SetSlug

func (o *ReadGcpMetricsIntegrationParams) SetSlug(slug string)

SetSlug adds the slug to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) SetTimeout

func (o *ReadGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) WithContext

WithContext adds the context to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) WithDefaults

WithDefaults hydrates default values in the read gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*ReadGcpMetricsIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) WithSlug

WithSlug adds the slug to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) WithTimeout

WithTimeout adds the timeout to the read gcp metrics integration params

func (*ReadGcpMetricsIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ReadGcpMetricsIntegrationReader

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

ReadGcpMetricsIntegrationReader is a Reader for the ReadGcpMetricsIntegration structure.

func (*ReadGcpMetricsIntegrationReader) ReadResponse

func (o *ReadGcpMetricsIntegrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateGcpMetricsIntegrationBadRequest

type UpdateGcpMetricsIntegrationBadRequest struct {
	Payload *models.APIError
}

UpdateGcpMetricsIntegrationBadRequest describes a response with status code 400, with default header values.

Cannot update the GcpMetricsIntegration because the request is invalid.

func NewUpdateGcpMetricsIntegrationBadRequest

func NewUpdateGcpMetricsIntegrationBadRequest() *UpdateGcpMetricsIntegrationBadRequest

NewUpdateGcpMetricsIntegrationBadRequest creates a UpdateGcpMetricsIntegrationBadRequest with default headers values

func (*UpdateGcpMetricsIntegrationBadRequest) Code

Code gets the status code for the update gcp metrics integration bad request response

func (*UpdateGcpMetricsIntegrationBadRequest) Error

func (*UpdateGcpMetricsIntegrationBadRequest) GetPayload

func (*UpdateGcpMetricsIntegrationBadRequest) IsClientError

func (o *UpdateGcpMetricsIntegrationBadRequest) IsClientError() bool

IsClientError returns true when this update gcp metrics integration bad request response has a 4xx status code

func (*UpdateGcpMetricsIntegrationBadRequest) IsCode

IsCode returns true when this update gcp metrics integration bad request response a status code equal to that given

func (*UpdateGcpMetricsIntegrationBadRequest) IsRedirect

IsRedirect returns true when this update gcp metrics integration bad request response has a 3xx status code

func (*UpdateGcpMetricsIntegrationBadRequest) IsServerError

func (o *UpdateGcpMetricsIntegrationBadRequest) IsServerError() bool

IsServerError returns true when this update gcp metrics integration bad request response has a 5xx status code

func (*UpdateGcpMetricsIntegrationBadRequest) IsSuccess

IsSuccess returns true when this update gcp metrics integration bad request response has a 2xx status code

func (*UpdateGcpMetricsIntegrationBadRequest) String

type UpdateGcpMetricsIntegrationConflict

type UpdateGcpMetricsIntegrationConflict struct {
	Payload *models.APIError
}

UpdateGcpMetricsIntegrationConflict describes a response with status code 409, with default header values.

Cannot update the GcpMetricsIntegration because there is a conflict with an existing GcpMetricsIntegration.

func NewUpdateGcpMetricsIntegrationConflict

func NewUpdateGcpMetricsIntegrationConflict() *UpdateGcpMetricsIntegrationConflict

NewUpdateGcpMetricsIntegrationConflict creates a UpdateGcpMetricsIntegrationConflict with default headers values

func (*UpdateGcpMetricsIntegrationConflict) Code

Code gets the status code for the update gcp metrics integration conflict response

func (*UpdateGcpMetricsIntegrationConflict) Error

func (*UpdateGcpMetricsIntegrationConflict) GetPayload

func (*UpdateGcpMetricsIntegrationConflict) IsClientError

func (o *UpdateGcpMetricsIntegrationConflict) IsClientError() bool

IsClientError returns true when this update gcp metrics integration conflict response has a 4xx status code

func (*UpdateGcpMetricsIntegrationConflict) IsCode

IsCode returns true when this update gcp metrics integration conflict response a status code equal to that given

func (*UpdateGcpMetricsIntegrationConflict) IsRedirect

func (o *UpdateGcpMetricsIntegrationConflict) IsRedirect() bool

IsRedirect returns true when this update gcp metrics integration conflict response has a 3xx status code

func (*UpdateGcpMetricsIntegrationConflict) IsServerError

func (o *UpdateGcpMetricsIntegrationConflict) IsServerError() bool

IsServerError returns true when this update gcp metrics integration conflict response has a 5xx status code

func (*UpdateGcpMetricsIntegrationConflict) IsSuccess

IsSuccess returns true when this update gcp metrics integration conflict response has a 2xx status code

func (*UpdateGcpMetricsIntegrationConflict) String

type UpdateGcpMetricsIntegrationDefault

type UpdateGcpMetricsIntegrationDefault struct {
	Payload models.GenericError
	// contains filtered or unexported fields
}

UpdateGcpMetricsIntegrationDefault describes a response with status code -1, with default header values.

An undefined error response.

func NewUpdateGcpMetricsIntegrationDefault

func NewUpdateGcpMetricsIntegrationDefault(code int) *UpdateGcpMetricsIntegrationDefault

NewUpdateGcpMetricsIntegrationDefault creates a UpdateGcpMetricsIntegrationDefault with default headers values

func (*UpdateGcpMetricsIntegrationDefault) Code

Code gets the status code for the update gcp metrics integration default response

func (*UpdateGcpMetricsIntegrationDefault) Error

func (*UpdateGcpMetricsIntegrationDefault) GetPayload

func (*UpdateGcpMetricsIntegrationDefault) IsClientError

func (o *UpdateGcpMetricsIntegrationDefault) IsClientError() bool

IsClientError returns true when this update gcp metrics integration default response has a 4xx status code

func (*UpdateGcpMetricsIntegrationDefault) IsCode

IsCode returns true when this update gcp metrics integration default response a status code equal to that given

func (*UpdateGcpMetricsIntegrationDefault) IsRedirect

func (o *UpdateGcpMetricsIntegrationDefault) IsRedirect() bool

IsRedirect returns true when this update gcp metrics integration default response has a 3xx status code

func (*UpdateGcpMetricsIntegrationDefault) IsServerError

func (o *UpdateGcpMetricsIntegrationDefault) IsServerError() bool

IsServerError returns true when this update gcp metrics integration default response has a 5xx status code

func (*UpdateGcpMetricsIntegrationDefault) IsSuccess

IsSuccess returns true when this update gcp metrics integration default response has a 2xx status code

func (*UpdateGcpMetricsIntegrationDefault) String

type UpdateGcpMetricsIntegrationInternalServerError

type UpdateGcpMetricsIntegrationInternalServerError struct {
	Payload *models.APIError
}

UpdateGcpMetricsIntegrationInternalServerError describes a response with status code 500, with default header values.

An unexpected error response.

func NewUpdateGcpMetricsIntegrationInternalServerError

func NewUpdateGcpMetricsIntegrationInternalServerError() *UpdateGcpMetricsIntegrationInternalServerError

NewUpdateGcpMetricsIntegrationInternalServerError creates a UpdateGcpMetricsIntegrationInternalServerError with default headers values

func (*UpdateGcpMetricsIntegrationInternalServerError) Code

Code gets the status code for the update gcp metrics integration internal server error response

func (*UpdateGcpMetricsIntegrationInternalServerError) Error

func (*UpdateGcpMetricsIntegrationInternalServerError) GetPayload

func (*UpdateGcpMetricsIntegrationInternalServerError) IsClientError

IsClientError returns true when this update gcp metrics integration internal server error response has a 4xx status code

func (*UpdateGcpMetricsIntegrationInternalServerError) IsCode

IsCode returns true when this update gcp metrics integration internal server error response a status code equal to that given

func (*UpdateGcpMetricsIntegrationInternalServerError) IsRedirect

IsRedirect returns true when this update gcp metrics integration internal server error response has a 3xx status code

func (*UpdateGcpMetricsIntegrationInternalServerError) IsServerError

IsServerError returns true when this update gcp metrics integration internal server error response has a 5xx status code

func (*UpdateGcpMetricsIntegrationInternalServerError) IsSuccess

IsSuccess returns true when this update gcp metrics integration internal server error response has a 2xx status code

func (*UpdateGcpMetricsIntegrationInternalServerError) String

type UpdateGcpMetricsIntegrationNotFound

type UpdateGcpMetricsIntegrationNotFound struct {
	Payload *models.APIError
}

UpdateGcpMetricsIntegrationNotFound describes a response with status code 404, with default header values.

Cannot update the GcpMetricsIntegration because the slug does not exist.

func NewUpdateGcpMetricsIntegrationNotFound

func NewUpdateGcpMetricsIntegrationNotFound() *UpdateGcpMetricsIntegrationNotFound

NewUpdateGcpMetricsIntegrationNotFound creates a UpdateGcpMetricsIntegrationNotFound with default headers values

func (*UpdateGcpMetricsIntegrationNotFound) Code

Code gets the status code for the update gcp metrics integration not found response

func (*UpdateGcpMetricsIntegrationNotFound) Error

func (*UpdateGcpMetricsIntegrationNotFound) GetPayload

func (*UpdateGcpMetricsIntegrationNotFound) IsClientError

func (o *UpdateGcpMetricsIntegrationNotFound) IsClientError() bool

IsClientError returns true when this update gcp metrics integration not found response has a 4xx status code

func (*UpdateGcpMetricsIntegrationNotFound) IsCode

IsCode returns true when this update gcp metrics integration not found response a status code equal to that given

func (*UpdateGcpMetricsIntegrationNotFound) IsRedirect

func (o *UpdateGcpMetricsIntegrationNotFound) IsRedirect() bool

IsRedirect returns true when this update gcp metrics integration not found response has a 3xx status code

func (*UpdateGcpMetricsIntegrationNotFound) IsServerError

func (o *UpdateGcpMetricsIntegrationNotFound) IsServerError() bool

IsServerError returns true when this update gcp metrics integration not found response has a 5xx status code

func (*UpdateGcpMetricsIntegrationNotFound) IsSuccess

IsSuccess returns true when this update gcp metrics integration not found response has a 2xx status code

func (*UpdateGcpMetricsIntegrationNotFound) String

type UpdateGcpMetricsIntegrationOK

type UpdateGcpMetricsIntegrationOK struct {
	Payload *models.Configv1UpdateGcpMetricsIntegrationResponse
}

UpdateGcpMetricsIntegrationOK describes a response with status code 200, with default header values.

A successful response containing the updated GcpMetricsIntegration.

func NewUpdateGcpMetricsIntegrationOK

func NewUpdateGcpMetricsIntegrationOK() *UpdateGcpMetricsIntegrationOK

NewUpdateGcpMetricsIntegrationOK creates a UpdateGcpMetricsIntegrationOK with default headers values

func (*UpdateGcpMetricsIntegrationOK) Code

Code gets the status code for the update gcp metrics integration o k response

func (*UpdateGcpMetricsIntegrationOK) Error

func (*UpdateGcpMetricsIntegrationOK) GetPayload

func (*UpdateGcpMetricsIntegrationOK) IsClientError

func (o *UpdateGcpMetricsIntegrationOK) IsClientError() bool

IsClientError returns true when this update gcp metrics integration o k response has a 4xx status code

func (*UpdateGcpMetricsIntegrationOK) IsCode

func (o *UpdateGcpMetricsIntegrationOK) IsCode(code int) bool

IsCode returns true when this update gcp metrics integration o k response a status code equal to that given

func (*UpdateGcpMetricsIntegrationOK) IsRedirect

func (o *UpdateGcpMetricsIntegrationOK) IsRedirect() bool

IsRedirect returns true when this update gcp metrics integration o k response has a 3xx status code

func (*UpdateGcpMetricsIntegrationOK) IsServerError

func (o *UpdateGcpMetricsIntegrationOK) IsServerError() bool

IsServerError returns true when this update gcp metrics integration o k response has a 5xx status code

func (*UpdateGcpMetricsIntegrationOK) IsSuccess

func (o *UpdateGcpMetricsIntegrationOK) IsSuccess() bool

IsSuccess returns true when this update gcp metrics integration o k response has a 2xx status code

func (*UpdateGcpMetricsIntegrationOK) String

type UpdateGcpMetricsIntegrationParams

type UpdateGcpMetricsIntegrationParams struct {

	// Body.
	Body *models.ConfigV1UpdateGcpMetricsIntegrationBody

	// Slug.
	Slug string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateGcpMetricsIntegrationParams contains all the parameters to send to the API endpoint

for the update gcp metrics integration operation.

Typically these are written to a http.Request.

func NewUpdateGcpMetricsIntegrationParams

func NewUpdateGcpMetricsIntegrationParams() *UpdateGcpMetricsIntegrationParams

NewUpdateGcpMetricsIntegrationParams creates a new UpdateGcpMetricsIntegrationParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateGcpMetricsIntegrationParamsWithContext

func NewUpdateGcpMetricsIntegrationParamsWithContext(ctx context.Context) *UpdateGcpMetricsIntegrationParams

NewUpdateGcpMetricsIntegrationParamsWithContext creates a new UpdateGcpMetricsIntegrationParams object with the ability to set a context for a request.

func NewUpdateGcpMetricsIntegrationParamsWithHTTPClient

func NewUpdateGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *UpdateGcpMetricsIntegrationParams

NewUpdateGcpMetricsIntegrationParamsWithHTTPClient creates a new UpdateGcpMetricsIntegrationParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateGcpMetricsIntegrationParamsWithTimeout

func NewUpdateGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *UpdateGcpMetricsIntegrationParams

NewUpdateGcpMetricsIntegrationParamsWithTimeout creates a new UpdateGcpMetricsIntegrationParams object with the ability to set a timeout on a request.

func (*UpdateGcpMetricsIntegrationParams) SetBody

SetBody adds the body to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) SetContext

SetContext adds the context to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) SetDefaults

func (o *UpdateGcpMetricsIntegrationParams) SetDefaults()

SetDefaults hydrates default values in the update gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGcpMetricsIntegrationParams) SetHTTPClient

func (o *UpdateGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) SetSlug

func (o *UpdateGcpMetricsIntegrationParams) SetSlug(slug string)

SetSlug adds the slug to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) SetTimeout

func (o *UpdateGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WithBody

WithBody adds the body to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WithContext

WithContext adds the context to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WithDefaults

WithDefaults hydrates default values in the update gcp metrics integration params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateGcpMetricsIntegrationParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WithSlug

WithSlug adds the slug to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WithTimeout

WithTimeout adds the timeout to the update gcp metrics integration params

func (*UpdateGcpMetricsIntegrationParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateGcpMetricsIntegrationReader

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

UpdateGcpMetricsIntegrationReader is a Reader for the UpdateGcpMetricsIntegration structure.

func (*UpdateGcpMetricsIntegrationReader) ReadResponse

func (o *UpdateGcpMetricsIntegrationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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