Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateGcpMetricsIntegration(params *CreateGcpMetricsIntegrationParams, opts ...ClientOption) (*CreateGcpMetricsIntegrationOK, error)
- func (a *Client) DeleteGcpMetricsIntegration(params *DeleteGcpMetricsIntegrationParams, opts ...ClientOption) (*DeleteGcpMetricsIntegrationOK, error)
- func (a *Client) ListGcpMetricsIntegrations(params *ListGcpMetricsIntegrationsParams, opts ...ClientOption) (*ListGcpMetricsIntegrationsOK, error)
- func (a *Client) ReadGcpMetricsIntegration(params *ReadGcpMetricsIntegrationParams, opts ...ClientOption) (*ReadGcpMetricsIntegrationOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateGcpMetricsIntegration(params *UpdateGcpMetricsIntegrationParams, opts ...ClientOption) (*UpdateGcpMetricsIntegrationOK, error)
- type ClientOption
- type ClientService
- type CreateGcpMetricsIntegrationBadRequest
- func (o *CreateGcpMetricsIntegrationBadRequest) Code() int
- func (o *CreateGcpMetricsIntegrationBadRequest) Error() string
- func (o *CreateGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
- func (o *CreateGcpMetricsIntegrationBadRequest) IsClientError() bool
- func (o *CreateGcpMetricsIntegrationBadRequest) IsCode(code int) bool
- func (o *CreateGcpMetricsIntegrationBadRequest) IsRedirect() bool
- func (o *CreateGcpMetricsIntegrationBadRequest) IsServerError() bool
- func (o *CreateGcpMetricsIntegrationBadRequest) IsSuccess() bool
- func (o *CreateGcpMetricsIntegrationBadRequest) String() string
- type CreateGcpMetricsIntegrationConflict
- func (o *CreateGcpMetricsIntegrationConflict) Code() int
- func (o *CreateGcpMetricsIntegrationConflict) Error() string
- func (o *CreateGcpMetricsIntegrationConflict) GetPayload() *models.APIError
- func (o *CreateGcpMetricsIntegrationConflict) IsClientError() bool
- func (o *CreateGcpMetricsIntegrationConflict) IsCode(code int) bool
- func (o *CreateGcpMetricsIntegrationConflict) IsRedirect() bool
- func (o *CreateGcpMetricsIntegrationConflict) IsServerError() bool
- func (o *CreateGcpMetricsIntegrationConflict) IsSuccess() bool
- func (o *CreateGcpMetricsIntegrationConflict) String() string
- type CreateGcpMetricsIntegrationDefault
- func (o *CreateGcpMetricsIntegrationDefault) Code() int
- func (o *CreateGcpMetricsIntegrationDefault) Error() string
- func (o *CreateGcpMetricsIntegrationDefault) GetPayload() models.GenericError
- func (o *CreateGcpMetricsIntegrationDefault) IsClientError() bool
- func (o *CreateGcpMetricsIntegrationDefault) IsCode(code int) bool
- func (o *CreateGcpMetricsIntegrationDefault) IsRedirect() bool
- func (o *CreateGcpMetricsIntegrationDefault) IsServerError() bool
- func (o *CreateGcpMetricsIntegrationDefault) IsSuccess() bool
- func (o *CreateGcpMetricsIntegrationDefault) String() string
- type CreateGcpMetricsIntegrationInternalServerError
- func (o *CreateGcpMetricsIntegrationInternalServerError) Code() int
- func (o *CreateGcpMetricsIntegrationInternalServerError) Error() string
- func (o *CreateGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
- func (o *CreateGcpMetricsIntegrationInternalServerError) IsClientError() bool
- func (o *CreateGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
- func (o *CreateGcpMetricsIntegrationInternalServerError) IsRedirect() bool
- func (o *CreateGcpMetricsIntegrationInternalServerError) IsServerError() bool
- func (o *CreateGcpMetricsIntegrationInternalServerError) IsSuccess() bool
- func (o *CreateGcpMetricsIntegrationInternalServerError) String() string
- type CreateGcpMetricsIntegrationOK
- func (o *CreateGcpMetricsIntegrationOK) Code() int
- func (o *CreateGcpMetricsIntegrationOK) Error() string
- func (o *CreateGcpMetricsIntegrationOK) GetPayload() *models.Configv1CreateGcpMetricsIntegrationResponse
- func (o *CreateGcpMetricsIntegrationOK) IsClientError() bool
- func (o *CreateGcpMetricsIntegrationOK) IsCode(code int) bool
- func (o *CreateGcpMetricsIntegrationOK) IsRedirect() bool
- func (o *CreateGcpMetricsIntegrationOK) IsServerError() bool
- func (o *CreateGcpMetricsIntegrationOK) IsSuccess() bool
- func (o *CreateGcpMetricsIntegrationOK) String() string
- type CreateGcpMetricsIntegrationParams
- func NewCreateGcpMetricsIntegrationParams() *CreateGcpMetricsIntegrationParams
- func NewCreateGcpMetricsIntegrationParamsWithContext(ctx context.Context) *CreateGcpMetricsIntegrationParams
- func NewCreateGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *CreateGcpMetricsIntegrationParams
- func NewCreateGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) SetBody(body *models.Configv1CreateGcpMetricsIntegrationRequest)
- func (o *CreateGcpMetricsIntegrationParams) SetContext(ctx context.Context)
- func (o *CreateGcpMetricsIntegrationParams) SetDefaults()
- func (o *CreateGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)
- func (o *CreateGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)
- func (o *CreateGcpMetricsIntegrationParams) WithBody(body *models.Configv1CreateGcpMetricsIntegrationRequest) *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) WithContext(ctx context.Context) *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) WithDefaults() *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *CreateGcpMetricsIntegrationParams
- func (o *CreateGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateGcpMetricsIntegrationReader
- type DeleteGcpMetricsIntegrationBadRequest
- func (o *DeleteGcpMetricsIntegrationBadRequest) Code() int
- func (o *DeleteGcpMetricsIntegrationBadRequest) Error() string
- func (o *DeleteGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
- func (o *DeleteGcpMetricsIntegrationBadRequest) IsClientError() bool
- func (o *DeleteGcpMetricsIntegrationBadRequest) IsCode(code int) bool
- func (o *DeleteGcpMetricsIntegrationBadRequest) IsRedirect() bool
- func (o *DeleteGcpMetricsIntegrationBadRequest) IsServerError() bool
- func (o *DeleteGcpMetricsIntegrationBadRequest) IsSuccess() bool
- func (o *DeleteGcpMetricsIntegrationBadRequest) String() string
- type DeleteGcpMetricsIntegrationDefault
- func (o *DeleteGcpMetricsIntegrationDefault) Code() int
- func (o *DeleteGcpMetricsIntegrationDefault) Error() string
- func (o *DeleteGcpMetricsIntegrationDefault) GetPayload() models.GenericError
- func (o *DeleteGcpMetricsIntegrationDefault) IsClientError() bool
- func (o *DeleteGcpMetricsIntegrationDefault) IsCode(code int) bool
- func (o *DeleteGcpMetricsIntegrationDefault) IsRedirect() bool
- func (o *DeleteGcpMetricsIntegrationDefault) IsServerError() bool
- func (o *DeleteGcpMetricsIntegrationDefault) IsSuccess() bool
- func (o *DeleteGcpMetricsIntegrationDefault) String() string
- type DeleteGcpMetricsIntegrationInternalServerError
- func (o *DeleteGcpMetricsIntegrationInternalServerError) Code() int
- func (o *DeleteGcpMetricsIntegrationInternalServerError) Error() string
- func (o *DeleteGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
- func (o *DeleteGcpMetricsIntegrationInternalServerError) IsClientError() bool
- func (o *DeleteGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
- func (o *DeleteGcpMetricsIntegrationInternalServerError) IsRedirect() bool
- func (o *DeleteGcpMetricsIntegrationInternalServerError) IsServerError() bool
- func (o *DeleteGcpMetricsIntegrationInternalServerError) IsSuccess() bool
- func (o *DeleteGcpMetricsIntegrationInternalServerError) String() string
- type DeleteGcpMetricsIntegrationNotFound
- func (o *DeleteGcpMetricsIntegrationNotFound) Code() int
- func (o *DeleteGcpMetricsIntegrationNotFound) Error() string
- func (o *DeleteGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
- func (o *DeleteGcpMetricsIntegrationNotFound) IsClientError() bool
- func (o *DeleteGcpMetricsIntegrationNotFound) IsCode(code int) bool
- func (o *DeleteGcpMetricsIntegrationNotFound) IsRedirect() bool
- func (o *DeleteGcpMetricsIntegrationNotFound) IsServerError() bool
- func (o *DeleteGcpMetricsIntegrationNotFound) IsSuccess() bool
- func (o *DeleteGcpMetricsIntegrationNotFound) String() string
- type DeleteGcpMetricsIntegrationOK
- func (o *DeleteGcpMetricsIntegrationOK) Code() int
- func (o *DeleteGcpMetricsIntegrationOK) Error() string
- func (o *DeleteGcpMetricsIntegrationOK) GetPayload() models.Configv1DeleteGcpMetricsIntegrationResponse
- func (o *DeleteGcpMetricsIntegrationOK) IsClientError() bool
- func (o *DeleteGcpMetricsIntegrationOK) IsCode(code int) bool
- func (o *DeleteGcpMetricsIntegrationOK) IsRedirect() bool
- func (o *DeleteGcpMetricsIntegrationOK) IsServerError() bool
- func (o *DeleteGcpMetricsIntegrationOK) IsSuccess() bool
- func (o *DeleteGcpMetricsIntegrationOK) String() string
- type DeleteGcpMetricsIntegrationParams
- func NewDeleteGcpMetricsIntegrationParams() *DeleteGcpMetricsIntegrationParams
- func NewDeleteGcpMetricsIntegrationParamsWithContext(ctx context.Context) *DeleteGcpMetricsIntegrationParams
- func NewDeleteGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *DeleteGcpMetricsIntegrationParams
- func NewDeleteGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) SetContext(ctx context.Context)
- func (o *DeleteGcpMetricsIntegrationParams) SetDefaults()
- func (o *DeleteGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteGcpMetricsIntegrationParams) SetSlug(slug string)
- func (o *DeleteGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteGcpMetricsIntegrationParams) WithContext(ctx context.Context) *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) WithDefaults() *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) WithSlug(slug string) *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *DeleteGcpMetricsIntegrationParams
- func (o *DeleteGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteGcpMetricsIntegrationReader
- type ListGcpMetricsIntegrationsDefault
- func (o *ListGcpMetricsIntegrationsDefault) Code() int
- func (o *ListGcpMetricsIntegrationsDefault) Error() string
- func (o *ListGcpMetricsIntegrationsDefault) GetPayload() models.GenericError
- func (o *ListGcpMetricsIntegrationsDefault) IsClientError() bool
- func (o *ListGcpMetricsIntegrationsDefault) IsCode(code int) bool
- func (o *ListGcpMetricsIntegrationsDefault) IsRedirect() bool
- func (o *ListGcpMetricsIntegrationsDefault) IsServerError() bool
- func (o *ListGcpMetricsIntegrationsDefault) IsSuccess() bool
- func (o *ListGcpMetricsIntegrationsDefault) String() string
- type ListGcpMetricsIntegrationsInternalServerError
- func (o *ListGcpMetricsIntegrationsInternalServerError) Code() int
- func (o *ListGcpMetricsIntegrationsInternalServerError) Error() string
- func (o *ListGcpMetricsIntegrationsInternalServerError) GetPayload() *models.APIError
- func (o *ListGcpMetricsIntegrationsInternalServerError) IsClientError() bool
- func (o *ListGcpMetricsIntegrationsInternalServerError) IsCode(code int) bool
- func (o *ListGcpMetricsIntegrationsInternalServerError) IsRedirect() bool
- func (o *ListGcpMetricsIntegrationsInternalServerError) IsServerError() bool
- func (o *ListGcpMetricsIntegrationsInternalServerError) IsSuccess() bool
- func (o *ListGcpMetricsIntegrationsInternalServerError) String() string
- type ListGcpMetricsIntegrationsOK
- func (o *ListGcpMetricsIntegrationsOK) Code() int
- func (o *ListGcpMetricsIntegrationsOK) Error() string
- func (o *ListGcpMetricsIntegrationsOK) GetPayload() *models.Configv1ListGcpMetricsIntegrationsResponse
- func (o *ListGcpMetricsIntegrationsOK) IsClientError() bool
- func (o *ListGcpMetricsIntegrationsOK) IsCode(code int) bool
- func (o *ListGcpMetricsIntegrationsOK) IsRedirect() bool
- func (o *ListGcpMetricsIntegrationsOK) IsServerError() bool
- func (o *ListGcpMetricsIntegrationsOK) IsSuccess() bool
- func (o *ListGcpMetricsIntegrationsOK) String() string
- type ListGcpMetricsIntegrationsParams
- func NewListGcpMetricsIntegrationsParams() *ListGcpMetricsIntegrationsParams
- func NewListGcpMetricsIntegrationsParamsWithContext(ctx context.Context) *ListGcpMetricsIntegrationsParams
- func NewListGcpMetricsIntegrationsParamsWithHTTPClient(client *http.Client) *ListGcpMetricsIntegrationsParams
- func NewListGcpMetricsIntegrationsParamsWithTimeout(timeout time.Duration) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) SetContext(ctx context.Context)
- func (o *ListGcpMetricsIntegrationsParams) SetDefaults()
- func (o *ListGcpMetricsIntegrationsParams) SetHTTPClient(client *http.Client)
- func (o *ListGcpMetricsIntegrationsParams) SetNames(names []string)
- func (o *ListGcpMetricsIntegrationsParams) SetPageMaxSize(pageMaxSize *int64)
- func (o *ListGcpMetricsIntegrationsParams) SetPageToken(pageToken *string)
- func (o *ListGcpMetricsIntegrationsParams) SetSlugs(slugs []string)
- func (o *ListGcpMetricsIntegrationsParams) SetTimeout(timeout time.Duration)
- func (o *ListGcpMetricsIntegrationsParams) WithContext(ctx context.Context) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithDefaults() *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithHTTPClient(client *http.Client) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithNames(names []string) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithPageMaxSize(pageMaxSize *int64) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithPageToken(pageToken *string) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithSlugs(slugs []string) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WithTimeout(timeout time.Duration) *ListGcpMetricsIntegrationsParams
- func (o *ListGcpMetricsIntegrationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListGcpMetricsIntegrationsReader
- type ReadGcpMetricsIntegrationDefault
- func (o *ReadGcpMetricsIntegrationDefault) Code() int
- func (o *ReadGcpMetricsIntegrationDefault) Error() string
- func (o *ReadGcpMetricsIntegrationDefault) GetPayload() models.GenericError
- func (o *ReadGcpMetricsIntegrationDefault) IsClientError() bool
- func (o *ReadGcpMetricsIntegrationDefault) IsCode(code int) bool
- func (o *ReadGcpMetricsIntegrationDefault) IsRedirect() bool
- func (o *ReadGcpMetricsIntegrationDefault) IsServerError() bool
- func (o *ReadGcpMetricsIntegrationDefault) IsSuccess() bool
- func (o *ReadGcpMetricsIntegrationDefault) String() string
- type ReadGcpMetricsIntegrationInternalServerError
- func (o *ReadGcpMetricsIntegrationInternalServerError) Code() int
- func (o *ReadGcpMetricsIntegrationInternalServerError) Error() string
- func (o *ReadGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
- func (o *ReadGcpMetricsIntegrationInternalServerError) IsClientError() bool
- func (o *ReadGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
- func (o *ReadGcpMetricsIntegrationInternalServerError) IsRedirect() bool
- func (o *ReadGcpMetricsIntegrationInternalServerError) IsServerError() bool
- func (o *ReadGcpMetricsIntegrationInternalServerError) IsSuccess() bool
- func (o *ReadGcpMetricsIntegrationInternalServerError) String() string
- type ReadGcpMetricsIntegrationNotFound
- func (o *ReadGcpMetricsIntegrationNotFound) Code() int
- func (o *ReadGcpMetricsIntegrationNotFound) Error() string
- func (o *ReadGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
- func (o *ReadGcpMetricsIntegrationNotFound) IsClientError() bool
- func (o *ReadGcpMetricsIntegrationNotFound) IsCode(code int) bool
- func (o *ReadGcpMetricsIntegrationNotFound) IsRedirect() bool
- func (o *ReadGcpMetricsIntegrationNotFound) IsServerError() bool
- func (o *ReadGcpMetricsIntegrationNotFound) IsSuccess() bool
- func (o *ReadGcpMetricsIntegrationNotFound) String() string
- type ReadGcpMetricsIntegrationOK
- func (o *ReadGcpMetricsIntegrationOK) Code() int
- func (o *ReadGcpMetricsIntegrationOK) Error() string
- func (o *ReadGcpMetricsIntegrationOK) GetPayload() *models.Configv1ReadGcpMetricsIntegrationResponse
- func (o *ReadGcpMetricsIntegrationOK) IsClientError() bool
- func (o *ReadGcpMetricsIntegrationOK) IsCode(code int) bool
- func (o *ReadGcpMetricsIntegrationOK) IsRedirect() bool
- func (o *ReadGcpMetricsIntegrationOK) IsServerError() bool
- func (o *ReadGcpMetricsIntegrationOK) IsSuccess() bool
- func (o *ReadGcpMetricsIntegrationOK) String() string
- type ReadGcpMetricsIntegrationParams
- func NewReadGcpMetricsIntegrationParams() *ReadGcpMetricsIntegrationParams
- func NewReadGcpMetricsIntegrationParamsWithContext(ctx context.Context) *ReadGcpMetricsIntegrationParams
- func NewReadGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *ReadGcpMetricsIntegrationParams
- func NewReadGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) SetContext(ctx context.Context)
- func (o *ReadGcpMetricsIntegrationParams) SetDefaults()
- func (o *ReadGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)
- func (o *ReadGcpMetricsIntegrationParams) SetSlug(slug string)
- func (o *ReadGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)
- func (o *ReadGcpMetricsIntegrationParams) WithContext(ctx context.Context) *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) WithDefaults() *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) WithSlug(slug string) *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *ReadGcpMetricsIntegrationParams
- func (o *ReadGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadGcpMetricsIntegrationReader
- type UpdateGcpMetricsIntegrationBadRequest
- func (o *UpdateGcpMetricsIntegrationBadRequest) Code() int
- func (o *UpdateGcpMetricsIntegrationBadRequest) Error() string
- func (o *UpdateGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
- func (o *UpdateGcpMetricsIntegrationBadRequest) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationBadRequest) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationBadRequest) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationBadRequest) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationBadRequest) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationBadRequest) String() string
- type UpdateGcpMetricsIntegrationBody
- func (o *UpdateGcpMetricsIntegrationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateGcpMetricsIntegrationBody) MarshalBinary() ([]byte, error)
- func (o *UpdateGcpMetricsIntegrationBody) UnmarshalBinary(b []byte) error
- func (o *UpdateGcpMetricsIntegrationBody) Validate(formats strfmt.Registry) error
- type UpdateGcpMetricsIntegrationConflict
- func (o *UpdateGcpMetricsIntegrationConflict) Code() int
- func (o *UpdateGcpMetricsIntegrationConflict) Error() string
- func (o *UpdateGcpMetricsIntegrationConflict) GetPayload() *models.APIError
- func (o *UpdateGcpMetricsIntegrationConflict) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationConflict) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationConflict) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationConflict) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationConflict) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationConflict) String() string
- type UpdateGcpMetricsIntegrationDefault
- func (o *UpdateGcpMetricsIntegrationDefault) Code() int
- func (o *UpdateGcpMetricsIntegrationDefault) Error() string
- func (o *UpdateGcpMetricsIntegrationDefault) GetPayload() models.GenericError
- func (o *UpdateGcpMetricsIntegrationDefault) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationDefault) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationDefault) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationDefault) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationDefault) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationDefault) String() string
- type UpdateGcpMetricsIntegrationInternalServerError
- func (o *UpdateGcpMetricsIntegrationInternalServerError) Code() int
- func (o *UpdateGcpMetricsIntegrationInternalServerError) Error() string
- func (o *UpdateGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
- func (o *UpdateGcpMetricsIntegrationInternalServerError) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationInternalServerError) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationInternalServerError) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationInternalServerError) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationInternalServerError) String() string
- type UpdateGcpMetricsIntegrationNotFound
- func (o *UpdateGcpMetricsIntegrationNotFound) Code() int
- func (o *UpdateGcpMetricsIntegrationNotFound) Error() string
- func (o *UpdateGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
- func (o *UpdateGcpMetricsIntegrationNotFound) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationNotFound) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationNotFound) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationNotFound) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationNotFound) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationNotFound) String() string
- type UpdateGcpMetricsIntegrationOK
- func (o *UpdateGcpMetricsIntegrationOK) Code() int
- func (o *UpdateGcpMetricsIntegrationOK) Error() string
- func (o *UpdateGcpMetricsIntegrationOK) GetPayload() *models.Configv1UpdateGcpMetricsIntegrationResponse
- func (o *UpdateGcpMetricsIntegrationOK) IsClientError() bool
- func (o *UpdateGcpMetricsIntegrationOK) IsCode(code int) bool
- func (o *UpdateGcpMetricsIntegrationOK) IsRedirect() bool
- func (o *UpdateGcpMetricsIntegrationOK) IsServerError() bool
- func (o *UpdateGcpMetricsIntegrationOK) IsSuccess() bool
- func (o *UpdateGcpMetricsIntegrationOK) String() string
- type UpdateGcpMetricsIntegrationParams
- func NewUpdateGcpMetricsIntegrationParams() *UpdateGcpMetricsIntegrationParams
- func NewUpdateGcpMetricsIntegrationParamsWithContext(ctx context.Context) *UpdateGcpMetricsIntegrationParams
- func NewUpdateGcpMetricsIntegrationParamsWithHTTPClient(client *http.Client) *UpdateGcpMetricsIntegrationParams
- func NewUpdateGcpMetricsIntegrationParamsWithTimeout(timeout time.Duration) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) SetBody(body UpdateGcpMetricsIntegrationBody)
- func (o *UpdateGcpMetricsIntegrationParams) SetContext(ctx context.Context)
- func (o *UpdateGcpMetricsIntegrationParams) SetDefaults()
- func (o *UpdateGcpMetricsIntegrationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGcpMetricsIntegrationParams) SetSlug(slug string)
- func (o *UpdateGcpMetricsIntegrationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGcpMetricsIntegrationParams) WithBody(body UpdateGcpMetricsIntegrationBody) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WithContext(ctx context.Context) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WithDefaults() *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WithSlug(slug string) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *UpdateGcpMetricsIntegrationParams
- func (o *UpdateGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGcpMetricsIntegrationReader
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 ¶
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 ¶
func (o *CreateGcpMetricsIntegrationBadRequest) Code() int
Code gets the status code for the create gcp metrics integration bad request response
func (*CreateGcpMetricsIntegrationBadRequest) Error ¶
func (o *CreateGcpMetricsIntegrationBadRequest) Error() string
func (*CreateGcpMetricsIntegrationBadRequest) GetPayload ¶
func (o *CreateGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
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 ¶
func (o *CreateGcpMetricsIntegrationBadRequest) IsCode(code int) bool
IsCode returns true when this create gcp metrics integration bad request response a status code equal to that given
func (*CreateGcpMetricsIntegrationBadRequest) IsRedirect ¶
func (o *CreateGcpMetricsIntegrationBadRequest) IsRedirect() bool
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 ¶
func (o *CreateGcpMetricsIntegrationBadRequest) IsSuccess() bool
IsSuccess returns true when this create gcp metrics integration bad request response has a 2xx status code
func (*CreateGcpMetricsIntegrationBadRequest) String ¶
func (o *CreateGcpMetricsIntegrationBadRequest) String() string
type CreateGcpMetricsIntegrationConflict ¶
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 ¶
func (o *CreateGcpMetricsIntegrationConflict) Code() int
Code gets the status code for the create gcp metrics integration conflict response
func (*CreateGcpMetricsIntegrationConflict) Error ¶
func (o *CreateGcpMetricsIntegrationConflict) Error() string
func (*CreateGcpMetricsIntegrationConflict) GetPayload ¶
func (o *CreateGcpMetricsIntegrationConflict) GetPayload() *models.APIError
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 ¶
func (o *CreateGcpMetricsIntegrationConflict) IsCode(code int) bool
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 ¶
func (o *CreateGcpMetricsIntegrationConflict) IsSuccess() bool
IsSuccess returns true when this create gcp metrics integration conflict response has a 2xx status code
func (*CreateGcpMetricsIntegrationConflict) String ¶
func (o *CreateGcpMetricsIntegrationConflict) String() 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 ¶
func (o *CreateGcpMetricsIntegrationDefault) Code() int
Code gets the status code for the create gcp metrics integration default response
func (*CreateGcpMetricsIntegrationDefault) Error ¶
func (o *CreateGcpMetricsIntegrationDefault) Error() string
func (*CreateGcpMetricsIntegrationDefault) GetPayload ¶
func (o *CreateGcpMetricsIntegrationDefault) GetPayload() models.GenericError
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 ¶
func (o *CreateGcpMetricsIntegrationDefault) IsCode(code int) bool
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 ¶
func (o *CreateGcpMetricsIntegrationDefault) IsSuccess() bool
IsSuccess returns true when this create gcp metrics integration default response has a 2xx status code
func (*CreateGcpMetricsIntegrationDefault) String ¶
func (o *CreateGcpMetricsIntegrationDefault) String() string
type CreateGcpMetricsIntegrationInternalServerError ¶
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 ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) Code() int
Code gets the status code for the create gcp metrics integration internal server error response
func (*CreateGcpMetricsIntegrationInternalServerError) Error ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) Error() string
func (*CreateGcpMetricsIntegrationInternalServerError) GetPayload ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
func (*CreateGcpMetricsIntegrationInternalServerError) IsClientError ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) IsClientError() bool
IsClientError returns true when this create gcp metrics integration internal server error response has a 4xx status code
func (*CreateGcpMetricsIntegrationInternalServerError) IsCode ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
IsCode returns true when this create gcp metrics integration internal server error response a status code equal to that given
func (*CreateGcpMetricsIntegrationInternalServerError) IsRedirect ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) IsRedirect() bool
IsRedirect returns true when this create gcp metrics integration internal server error response has a 3xx status code
func (*CreateGcpMetricsIntegrationInternalServerError) IsServerError ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) IsServerError() bool
IsServerError returns true when this create gcp metrics integration internal server error response has a 5xx status code
func (*CreateGcpMetricsIntegrationInternalServerError) IsSuccess ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this create gcp metrics integration internal server error response has a 2xx status code
func (*CreateGcpMetricsIntegrationInternalServerError) String ¶
func (o *CreateGcpMetricsIntegrationInternalServerError) String() 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 ¶
func (o *CreateGcpMetricsIntegrationOK) Code() int
Code gets the status code for the create gcp metrics integration o k response
func (*CreateGcpMetricsIntegrationOK) Error ¶
func (o *CreateGcpMetricsIntegrationOK) Error() string
func (*CreateGcpMetricsIntegrationOK) GetPayload ¶
func (o *CreateGcpMetricsIntegrationOK) GetPayload() *models.Configv1CreateGcpMetricsIntegrationResponse
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 ¶
func (o *CreateGcpMetricsIntegrationOK) String() 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 ¶
func (o *CreateGcpMetricsIntegrationParams) SetBody(body *models.Configv1CreateGcpMetricsIntegrationRequest)
SetBody adds the body to the create gcp metrics integration params
func (*CreateGcpMetricsIntegrationParams) SetContext ¶
func (o *CreateGcpMetricsIntegrationParams) SetContext(ctx context.Context)
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 ¶
func (o *CreateGcpMetricsIntegrationParams) WithBody(body *models.Configv1CreateGcpMetricsIntegrationRequest) *CreateGcpMetricsIntegrationParams
WithBody adds the body to the create gcp metrics integration params
func (*CreateGcpMetricsIntegrationParams) WithContext ¶
func (o *CreateGcpMetricsIntegrationParams) WithContext(ctx context.Context) *CreateGcpMetricsIntegrationParams
WithContext adds the context to the create gcp metrics integration params
func (*CreateGcpMetricsIntegrationParams) WithDefaults ¶
func (o *CreateGcpMetricsIntegrationParams) WithDefaults() *CreateGcpMetricsIntegrationParams
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 ¶
func (o *CreateGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *CreateGcpMetricsIntegrationParams
WithHTTPClient adds the HTTPClient to the create gcp metrics integration params
func (*CreateGcpMetricsIntegrationParams) WithTimeout ¶
func (o *CreateGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *CreateGcpMetricsIntegrationParams
WithTimeout adds the timeout to the create gcp metrics integration params
func (*CreateGcpMetricsIntegrationParams) WriteToRequest ¶
func (o *CreateGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) Code() int
Code gets the status code for the delete gcp metrics integration bad request response
func (*DeleteGcpMetricsIntegrationBadRequest) Error ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) Error() string
func (*DeleteGcpMetricsIntegrationBadRequest) GetPayload ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
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 ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) IsCode(code int) bool
IsCode returns true when this delete gcp metrics integration bad request response a status code equal to that given
func (*DeleteGcpMetricsIntegrationBadRequest) IsRedirect ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) IsRedirect() bool
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 ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) IsSuccess() bool
IsSuccess returns true when this delete gcp metrics integration bad request response has a 2xx status code
func (*DeleteGcpMetricsIntegrationBadRequest) String ¶
func (o *DeleteGcpMetricsIntegrationBadRequest) String() 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 ¶
func (o *DeleteGcpMetricsIntegrationDefault) Code() int
Code gets the status code for the delete gcp metrics integration default response
func (*DeleteGcpMetricsIntegrationDefault) Error ¶
func (o *DeleteGcpMetricsIntegrationDefault) Error() string
func (*DeleteGcpMetricsIntegrationDefault) GetPayload ¶
func (o *DeleteGcpMetricsIntegrationDefault) GetPayload() models.GenericError
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 ¶
func (o *DeleteGcpMetricsIntegrationDefault) IsCode(code int) bool
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 ¶
func (o *DeleteGcpMetricsIntegrationDefault) IsSuccess() bool
IsSuccess returns true when this delete gcp metrics integration default response has a 2xx status code
func (*DeleteGcpMetricsIntegrationDefault) String ¶
func (o *DeleteGcpMetricsIntegrationDefault) String() string
type DeleteGcpMetricsIntegrationInternalServerError ¶
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 ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) Code() int
Code gets the status code for the delete gcp metrics integration internal server error response
func (*DeleteGcpMetricsIntegrationInternalServerError) Error ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) Error() string
func (*DeleteGcpMetricsIntegrationInternalServerError) GetPayload ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
func (*DeleteGcpMetricsIntegrationInternalServerError) IsClientError ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) IsClientError() bool
IsClientError returns true when this delete gcp metrics integration internal server error response has a 4xx status code
func (*DeleteGcpMetricsIntegrationInternalServerError) IsCode ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
IsCode returns true when this delete gcp metrics integration internal server error response a status code equal to that given
func (*DeleteGcpMetricsIntegrationInternalServerError) IsRedirect ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete gcp metrics integration internal server error response has a 3xx status code
func (*DeleteGcpMetricsIntegrationInternalServerError) IsServerError ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) IsServerError() bool
IsServerError returns true when this delete gcp metrics integration internal server error response has a 5xx status code
func (*DeleteGcpMetricsIntegrationInternalServerError) IsSuccess ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete gcp metrics integration internal server error response has a 2xx status code
func (*DeleteGcpMetricsIntegrationInternalServerError) String ¶
func (o *DeleteGcpMetricsIntegrationInternalServerError) String() string
type DeleteGcpMetricsIntegrationNotFound ¶
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 ¶
func (o *DeleteGcpMetricsIntegrationNotFound) Code() int
Code gets the status code for the delete gcp metrics integration not found response
func (*DeleteGcpMetricsIntegrationNotFound) Error ¶
func (o *DeleteGcpMetricsIntegrationNotFound) Error() string
func (*DeleteGcpMetricsIntegrationNotFound) GetPayload ¶
func (o *DeleteGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
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 ¶
func (o *DeleteGcpMetricsIntegrationNotFound) IsCode(code int) bool
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 ¶
func (o *DeleteGcpMetricsIntegrationNotFound) IsSuccess() bool
IsSuccess returns true when this delete gcp metrics integration not found response has a 2xx status code
func (*DeleteGcpMetricsIntegrationNotFound) String ¶
func (o *DeleteGcpMetricsIntegrationNotFound) String() 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 ¶
func (o *DeleteGcpMetricsIntegrationOK) Code() int
Code gets the status code for the delete gcp metrics integration o k response
func (*DeleteGcpMetricsIntegrationOK) Error ¶
func (o *DeleteGcpMetricsIntegrationOK) Error() string
func (*DeleteGcpMetricsIntegrationOK) GetPayload ¶
func (o *DeleteGcpMetricsIntegrationOK) GetPayload() models.Configv1DeleteGcpMetricsIntegrationResponse
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 ¶
func (o *DeleteGcpMetricsIntegrationOK) String() 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 ¶
func (o *DeleteGcpMetricsIntegrationParams) SetContext(ctx context.Context)
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 ¶
func (o *DeleteGcpMetricsIntegrationParams) WithContext(ctx context.Context) *DeleteGcpMetricsIntegrationParams
WithContext adds the context to the delete gcp metrics integration params
func (*DeleteGcpMetricsIntegrationParams) WithDefaults ¶
func (o *DeleteGcpMetricsIntegrationParams) WithDefaults() *DeleteGcpMetricsIntegrationParams
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 ¶
func (o *DeleteGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *DeleteGcpMetricsIntegrationParams
WithHTTPClient adds the HTTPClient to the delete gcp metrics integration params
func (*DeleteGcpMetricsIntegrationParams) WithSlug ¶
func (o *DeleteGcpMetricsIntegrationParams) WithSlug(slug string) *DeleteGcpMetricsIntegrationParams
WithSlug adds the slug to the delete gcp metrics integration params
func (*DeleteGcpMetricsIntegrationParams) WithTimeout ¶
func (o *DeleteGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *DeleteGcpMetricsIntegrationParams
WithTimeout adds the timeout to the delete gcp metrics integration params
func (*DeleteGcpMetricsIntegrationParams) WriteToRequest ¶
func (o *DeleteGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ListGcpMetricsIntegrationsDefault) Code() int
Code gets the status code for the list gcp metrics integrations default response
func (*ListGcpMetricsIntegrationsDefault) Error ¶
func (o *ListGcpMetricsIntegrationsDefault) Error() string
func (*ListGcpMetricsIntegrationsDefault) GetPayload ¶
func (o *ListGcpMetricsIntegrationsDefault) GetPayload() models.GenericError
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 ¶
func (o *ListGcpMetricsIntegrationsDefault) String() string
type ListGcpMetricsIntegrationsInternalServerError ¶
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 ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) Code() int
Code gets the status code for the list gcp metrics integrations internal server error response
func (*ListGcpMetricsIntegrationsInternalServerError) Error ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) Error() string
func (*ListGcpMetricsIntegrationsInternalServerError) GetPayload ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) GetPayload() *models.APIError
func (*ListGcpMetricsIntegrationsInternalServerError) IsClientError ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) IsClientError() bool
IsClientError returns true when this list gcp metrics integrations internal server error response has a 4xx status code
func (*ListGcpMetricsIntegrationsInternalServerError) IsCode ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) IsCode(code int) bool
IsCode returns true when this list gcp metrics integrations internal server error response a status code equal to that given
func (*ListGcpMetricsIntegrationsInternalServerError) IsRedirect ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list gcp metrics integrations internal server error response has a 3xx status code
func (*ListGcpMetricsIntegrationsInternalServerError) IsServerError ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) IsServerError() bool
IsServerError returns true when this list gcp metrics integrations internal server error response has a 5xx status code
func (*ListGcpMetricsIntegrationsInternalServerError) IsSuccess ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list gcp metrics integrations internal server error response has a 2xx status code
func (*ListGcpMetricsIntegrationsInternalServerError) String ¶
func (o *ListGcpMetricsIntegrationsInternalServerError) String() 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 ¶
func (o *ListGcpMetricsIntegrationsOK) Code() int
Code gets the status code for the list gcp metrics integrations o k response
func (*ListGcpMetricsIntegrationsOK) Error ¶
func (o *ListGcpMetricsIntegrationsOK) Error() string
func (*ListGcpMetricsIntegrationsOK) GetPayload ¶
func (o *ListGcpMetricsIntegrationsOK) GetPayload() *models.Configv1ListGcpMetricsIntegrationsResponse
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 ¶
func (o *ListGcpMetricsIntegrationsOK) String() 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 ¶
func (o *ListGcpMetricsIntegrationsParams) SetContext(ctx context.Context)
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 ¶
func (o *ListGcpMetricsIntegrationsParams) WithContext(ctx context.Context) *ListGcpMetricsIntegrationsParams
WithContext adds the context to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithDefaults ¶
func (o *ListGcpMetricsIntegrationsParams) WithDefaults() *ListGcpMetricsIntegrationsParams
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 ¶
func (o *ListGcpMetricsIntegrationsParams) WithHTTPClient(client *http.Client) *ListGcpMetricsIntegrationsParams
WithHTTPClient adds the HTTPClient to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithNames ¶
func (o *ListGcpMetricsIntegrationsParams) WithNames(names []string) *ListGcpMetricsIntegrationsParams
WithNames adds the names to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithPageMaxSize ¶
func (o *ListGcpMetricsIntegrationsParams) WithPageMaxSize(pageMaxSize *int64) *ListGcpMetricsIntegrationsParams
WithPageMaxSize adds the pageMaxSize to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithPageToken ¶
func (o *ListGcpMetricsIntegrationsParams) WithPageToken(pageToken *string) *ListGcpMetricsIntegrationsParams
WithPageToken adds the pageToken to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithSlugs ¶
func (o *ListGcpMetricsIntegrationsParams) WithSlugs(slugs []string) *ListGcpMetricsIntegrationsParams
WithSlugs adds the slugs to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WithTimeout ¶
func (o *ListGcpMetricsIntegrationsParams) WithTimeout(timeout time.Duration) *ListGcpMetricsIntegrationsParams
WithTimeout adds the timeout to the list gcp metrics integrations params
func (*ListGcpMetricsIntegrationsParams) WriteToRequest ¶
func (o *ListGcpMetricsIntegrationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ReadGcpMetricsIntegrationDefault) Code() int
Code gets the status code for the read gcp metrics integration default response
func (*ReadGcpMetricsIntegrationDefault) Error ¶
func (o *ReadGcpMetricsIntegrationDefault) Error() string
func (*ReadGcpMetricsIntegrationDefault) GetPayload ¶
func (o *ReadGcpMetricsIntegrationDefault) GetPayload() models.GenericError
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 ¶
func (o *ReadGcpMetricsIntegrationDefault) String() string
type ReadGcpMetricsIntegrationInternalServerError ¶
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 ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) Code() int
Code gets the status code for the read gcp metrics integration internal server error response
func (*ReadGcpMetricsIntegrationInternalServerError) Error ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) Error() string
func (*ReadGcpMetricsIntegrationInternalServerError) GetPayload ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
func (*ReadGcpMetricsIntegrationInternalServerError) IsClientError ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) IsClientError() bool
IsClientError returns true when this read gcp metrics integration internal server error response has a 4xx status code
func (*ReadGcpMetricsIntegrationInternalServerError) IsCode ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
IsCode returns true when this read gcp metrics integration internal server error response a status code equal to that given
func (*ReadGcpMetricsIntegrationInternalServerError) IsRedirect ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) IsRedirect() bool
IsRedirect returns true when this read gcp metrics integration internal server error response has a 3xx status code
func (*ReadGcpMetricsIntegrationInternalServerError) IsServerError ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) IsServerError() bool
IsServerError returns true when this read gcp metrics integration internal server error response has a 5xx status code
func (*ReadGcpMetricsIntegrationInternalServerError) IsSuccess ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this read gcp metrics integration internal server error response has a 2xx status code
func (*ReadGcpMetricsIntegrationInternalServerError) String ¶
func (o *ReadGcpMetricsIntegrationInternalServerError) String() string
type ReadGcpMetricsIntegrationNotFound ¶
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 ¶
func (o *ReadGcpMetricsIntegrationNotFound) Code() int
Code gets the status code for the read gcp metrics integration not found response
func (*ReadGcpMetricsIntegrationNotFound) Error ¶
func (o *ReadGcpMetricsIntegrationNotFound) Error() string
func (*ReadGcpMetricsIntegrationNotFound) GetPayload ¶
func (o *ReadGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
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 ¶
func (o *ReadGcpMetricsIntegrationNotFound) String() 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 (o *ReadGcpMetricsIntegrationOK) Error() string
func (*ReadGcpMetricsIntegrationOK) GetPayload ¶
func (o *ReadGcpMetricsIntegrationOK) GetPayload() *models.Configv1ReadGcpMetricsIntegrationResponse
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 ¶
func (o *ReadGcpMetricsIntegrationParams) WithContext(ctx context.Context) *ReadGcpMetricsIntegrationParams
WithContext adds the context to the read gcp metrics integration params
func (*ReadGcpMetricsIntegrationParams) WithDefaults ¶
func (o *ReadGcpMetricsIntegrationParams) WithDefaults() *ReadGcpMetricsIntegrationParams
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 ¶
func (o *ReadGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *ReadGcpMetricsIntegrationParams
WithHTTPClient adds the HTTPClient to the read gcp metrics integration params
func (*ReadGcpMetricsIntegrationParams) WithSlug ¶
func (o *ReadGcpMetricsIntegrationParams) WithSlug(slug string) *ReadGcpMetricsIntegrationParams
WithSlug adds the slug to the read gcp metrics integration params
func (*ReadGcpMetricsIntegrationParams) WithTimeout ¶
func (o *ReadGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *ReadGcpMetricsIntegrationParams
WithTimeout adds the timeout to the read gcp metrics integration params
func (*ReadGcpMetricsIntegrationParams) WriteToRequest ¶
func (o *ReadGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) Code() int
Code gets the status code for the update gcp metrics integration bad request response
func (*UpdateGcpMetricsIntegrationBadRequest) Error ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) Error() string
func (*UpdateGcpMetricsIntegrationBadRequest) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) GetPayload() *models.APIError
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 ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) IsCode(code int) bool
IsCode returns true when this update gcp metrics integration bad request response a status code equal to that given
func (*UpdateGcpMetricsIntegrationBadRequest) IsRedirect ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) IsRedirect() bool
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 ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) IsSuccess() bool
IsSuccess returns true when this update gcp metrics integration bad request response has a 2xx status code
func (*UpdateGcpMetricsIntegrationBadRequest) String ¶
func (o *UpdateGcpMetricsIntegrationBadRequest) String() string
type UpdateGcpMetricsIntegrationBody ¶
type UpdateGcpMetricsIntegrationBody struct { // If true, the GcpMetricsIntegration will be created if it does not already exist, identified by slug. If false, an error will be returned if the GcpMetricsIntegration does not already exist. CreateIfMissing bool `json:"create_if_missing,omitempty"` // If true, the GcpMetricsIntegration will not be created nor updated, and no response GcpMetricsIntegration will be returned. The response will return an error if the given GcpMetricsIntegration is invalid. DryRun bool `json:"dry_run,omitempty"` // gcp metrics integration GcpMetricsIntegration *models.Configv1GcpMetricsIntegration `json:"gcp_metrics_integration,omitempty"` }
UpdateGcpMetricsIntegrationBody update gcp metrics integration body swagger:model UpdateGcpMetricsIntegrationBody
func (*UpdateGcpMetricsIntegrationBody) ContextValidate ¶
func (o *UpdateGcpMetricsIntegrationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update gcp metrics integration body based on the context it is used
func (*UpdateGcpMetricsIntegrationBody) MarshalBinary ¶
func (o *UpdateGcpMetricsIntegrationBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateGcpMetricsIntegrationBody) UnmarshalBinary ¶
func (o *UpdateGcpMetricsIntegrationBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateGcpMetricsIntegrationConflict ¶
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 ¶
func (o *UpdateGcpMetricsIntegrationConflict) Code() int
Code gets the status code for the update gcp metrics integration conflict response
func (*UpdateGcpMetricsIntegrationConflict) Error ¶
func (o *UpdateGcpMetricsIntegrationConflict) Error() string
func (*UpdateGcpMetricsIntegrationConflict) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationConflict) GetPayload() *models.APIError
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 ¶
func (o *UpdateGcpMetricsIntegrationConflict) IsCode(code int) bool
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 ¶
func (o *UpdateGcpMetricsIntegrationConflict) IsSuccess() bool
IsSuccess returns true when this update gcp metrics integration conflict response has a 2xx status code
func (*UpdateGcpMetricsIntegrationConflict) String ¶
func (o *UpdateGcpMetricsIntegrationConflict) String() 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 ¶
func (o *UpdateGcpMetricsIntegrationDefault) Code() int
Code gets the status code for the update gcp metrics integration default response
func (*UpdateGcpMetricsIntegrationDefault) Error ¶
func (o *UpdateGcpMetricsIntegrationDefault) Error() string
func (*UpdateGcpMetricsIntegrationDefault) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationDefault) GetPayload() models.GenericError
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 ¶
func (o *UpdateGcpMetricsIntegrationDefault) IsCode(code int) bool
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 ¶
func (o *UpdateGcpMetricsIntegrationDefault) IsSuccess() bool
IsSuccess returns true when this update gcp metrics integration default response has a 2xx status code
func (*UpdateGcpMetricsIntegrationDefault) String ¶
func (o *UpdateGcpMetricsIntegrationDefault) String() string
type UpdateGcpMetricsIntegrationInternalServerError ¶
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 ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) Code() int
Code gets the status code for the update gcp metrics integration internal server error response
func (*UpdateGcpMetricsIntegrationInternalServerError) Error ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) Error() string
func (*UpdateGcpMetricsIntegrationInternalServerError) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) GetPayload() *models.APIError
func (*UpdateGcpMetricsIntegrationInternalServerError) IsClientError ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) IsClientError() bool
IsClientError returns true when this update gcp metrics integration internal server error response has a 4xx status code
func (*UpdateGcpMetricsIntegrationInternalServerError) IsCode ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) IsCode(code int) bool
IsCode returns true when this update gcp metrics integration internal server error response a status code equal to that given
func (*UpdateGcpMetricsIntegrationInternalServerError) IsRedirect ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) IsRedirect() bool
IsRedirect returns true when this update gcp metrics integration internal server error response has a 3xx status code
func (*UpdateGcpMetricsIntegrationInternalServerError) IsServerError ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) IsServerError() bool
IsServerError returns true when this update gcp metrics integration internal server error response has a 5xx status code
func (*UpdateGcpMetricsIntegrationInternalServerError) IsSuccess ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) IsSuccess() bool
IsSuccess returns true when this update gcp metrics integration internal server error response has a 2xx status code
func (*UpdateGcpMetricsIntegrationInternalServerError) String ¶
func (o *UpdateGcpMetricsIntegrationInternalServerError) String() string
type UpdateGcpMetricsIntegrationNotFound ¶
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 ¶
func (o *UpdateGcpMetricsIntegrationNotFound) Code() int
Code gets the status code for the update gcp metrics integration not found response
func (*UpdateGcpMetricsIntegrationNotFound) Error ¶
func (o *UpdateGcpMetricsIntegrationNotFound) Error() string
func (*UpdateGcpMetricsIntegrationNotFound) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationNotFound) GetPayload() *models.APIError
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 ¶
func (o *UpdateGcpMetricsIntegrationNotFound) IsCode(code int) bool
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 ¶
func (o *UpdateGcpMetricsIntegrationNotFound) IsSuccess() bool
IsSuccess returns true when this update gcp metrics integration not found response has a 2xx status code
func (*UpdateGcpMetricsIntegrationNotFound) String ¶
func (o *UpdateGcpMetricsIntegrationNotFound) String() 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 ¶
func (o *UpdateGcpMetricsIntegrationOK) Code() int
Code gets the status code for the update gcp metrics integration o k response
func (*UpdateGcpMetricsIntegrationOK) Error ¶
func (o *UpdateGcpMetricsIntegrationOK) Error() string
func (*UpdateGcpMetricsIntegrationOK) GetPayload ¶
func (o *UpdateGcpMetricsIntegrationOK) GetPayload() *models.Configv1UpdateGcpMetricsIntegrationResponse
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 ¶
func (o *UpdateGcpMetricsIntegrationOK) String() string
type UpdateGcpMetricsIntegrationParams ¶
type UpdateGcpMetricsIntegrationParams struct { // Body. Body UpdateGcpMetricsIntegrationBody // 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 ¶
func (o *UpdateGcpMetricsIntegrationParams) SetBody(body UpdateGcpMetricsIntegrationBody)
SetBody adds the body to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) SetContext ¶
func (o *UpdateGcpMetricsIntegrationParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateGcpMetricsIntegrationParams) WithBody(body UpdateGcpMetricsIntegrationBody) *UpdateGcpMetricsIntegrationParams
WithBody adds the body to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) WithContext ¶
func (o *UpdateGcpMetricsIntegrationParams) WithContext(ctx context.Context) *UpdateGcpMetricsIntegrationParams
WithContext adds the context to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) WithDefaults ¶
func (o *UpdateGcpMetricsIntegrationParams) WithDefaults() *UpdateGcpMetricsIntegrationParams
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 ¶
func (o *UpdateGcpMetricsIntegrationParams) WithHTTPClient(client *http.Client) *UpdateGcpMetricsIntegrationParams
WithHTTPClient adds the HTTPClient to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) WithSlug ¶
func (o *UpdateGcpMetricsIntegrationParams) WithSlug(slug string) *UpdateGcpMetricsIntegrationParams
WithSlug adds the slug to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) WithTimeout ¶
func (o *UpdateGcpMetricsIntegrationParams) WithTimeout(timeout time.Duration) *UpdateGcpMetricsIntegrationParams
WithTimeout adds the timeout to the update gcp metrics integration params
func (*UpdateGcpMetricsIntegrationParams) WriteToRequest ¶
func (o *UpdateGcpMetricsIntegrationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- create_gcp_metrics_integration_parameters.go
- create_gcp_metrics_integration_responses.go
- delete_gcp_metrics_integration_parameters.go
- delete_gcp_metrics_integration_responses.go
- gcp_metrics_integration_client.go
- list_gcp_metrics_integrations_parameters.go
- list_gcp_metrics_integrations_responses.go
- read_gcp_metrics_integration_parameters.go
- read_gcp_metrics_integration_responses.go
- update_gcp_metrics_integration_parameters.go
- update_gcp_metrics_integration_responses.go