serviceaccounts

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddServiceAccountToProjectCreated

type AddServiceAccountToProjectCreated struct {
	Payload *models.ServiceAccount
}
AddServiceAccountToProjectCreated describes a response with status code 201, with default header values.

ServiceAccount

func NewAddServiceAccountToProjectCreated

func NewAddServiceAccountToProjectCreated() *AddServiceAccountToProjectCreated

NewAddServiceAccountToProjectCreated creates a AddServiceAccountToProjectCreated with default headers values

func (*AddServiceAccountToProjectCreated) Error

func (*AddServiceAccountToProjectCreated) GetPayload

type AddServiceAccountToProjectDefault

type AddServiceAccountToProjectDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
AddServiceAccountToProjectDefault describes a response with status code -1, with default header values.

errorResponse

func NewAddServiceAccountToProjectDefault

func NewAddServiceAccountToProjectDefault(code int) *AddServiceAccountToProjectDefault

NewAddServiceAccountToProjectDefault creates a AddServiceAccountToProjectDefault with default headers values

func (*AddServiceAccountToProjectDefault) Code

Code gets the status code for the add service account to project default response

func (*AddServiceAccountToProjectDefault) Error

func (*AddServiceAccountToProjectDefault) GetPayload

type AddServiceAccountToProjectForbidden

type AddServiceAccountToProjectForbidden struct {
}
AddServiceAccountToProjectForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewAddServiceAccountToProjectForbidden

func NewAddServiceAccountToProjectForbidden() *AddServiceAccountToProjectForbidden

NewAddServiceAccountToProjectForbidden creates a AddServiceAccountToProjectForbidden with default headers values

func (*AddServiceAccountToProjectForbidden) Error

type AddServiceAccountToProjectParams

type AddServiceAccountToProjectParams struct {

	// Body.
	Body *models.ServiceAccount

	// ProjectID.
	ProjectID string

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

AddServiceAccountToProjectParams contains all the parameters to send to the API endpoint

for the add service account to project operation.

Typically these are written to a http.Request.

func NewAddServiceAccountToProjectParams

func NewAddServiceAccountToProjectParams() *AddServiceAccountToProjectParams

NewAddServiceAccountToProjectParams creates a new AddServiceAccountToProjectParams 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 NewAddServiceAccountToProjectParamsWithContext

func NewAddServiceAccountToProjectParamsWithContext(ctx context.Context) *AddServiceAccountToProjectParams

NewAddServiceAccountToProjectParamsWithContext creates a new AddServiceAccountToProjectParams object with the ability to set a context for a request.

func NewAddServiceAccountToProjectParamsWithHTTPClient

func NewAddServiceAccountToProjectParamsWithHTTPClient(client *http.Client) *AddServiceAccountToProjectParams

NewAddServiceAccountToProjectParamsWithHTTPClient creates a new AddServiceAccountToProjectParams object with the ability to set a custom HTTPClient for a request.

func NewAddServiceAccountToProjectParamsWithTimeout

func NewAddServiceAccountToProjectParamsWithTimeout(timeout time.Duration) *AddServiceAccountToProjectParams

NewAddServiceAccountToProjectParamsWithTimeout creates a new AddServiceAccountToProjectParams object with the ability to set a timeout on a request.

func (*AddServiceAccountToProjectParams) SetBody

SetBody adds the body to the add service account to project params

func (*AddServiceAccountToProjectParams) SetContext

SetContext adds the context to the add service account to project params

func (*AddServiceAccountToProjectParams) SetDefaults added in v2.18.0

func (o *AddServiceAccountToProjectParams) SetDefaults()

SetDefaults hydrates default values in the add service account to project params (not the query body).

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

func (*AddServiceAccountToProjectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add service account to project params

func (*AddServiceAccountToProjectParams) SetProjectID

func (o *AddServiceAccountToProjectParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the add service account to project params

func (*AddServiceAccountToProjectParams) SetTimeout

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

SetTimeout adds the timeout to the add service account to project params

func (*AddServiceAccountToProjectParams) WithBody

WithBody adds the body to the add service account to project params

func (*AddServiceAccountToProjectParams) WithContext

WithContext adds the context to the add service account to project params

func (*AddServiceAccountToProjectParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the add service account to project params (not the query body).

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

func (*AddServiceAccountToProjectParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the add service account to project params

func (*AddServiceAccountToProjectParams) WithProjectID

WithProjectID adds the projectID to the add service account to project params

func (*AddServiceAccountToProjectParams) WithTimeout

WithTimeout adds the timeout to the add service account to project params

func (*AddServiceAccountToProjectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddServiceAccountToProjectReader

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

AddServiceAccountToProjectReader is a Reader for the AddServiceAccountToProject structure.

func (*AddServiceAccountToProjectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AddServiceAccountToProjectUnauthorized

type AddServiceAccountToProjectUnauthorized struct {
}
AddServiceAccountToProjectUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewAddServiceAccountToProjectUnauthorized

func NewAddServiceAccountToProjectUnauthorized() *AddServiceAccountToProjectUnauthorized

NewAddServiceAccountToProjectUnauthorized creates a AddServiceAccountToProjectUnauthorized with default headers values

func (*AddServiceAccountToProjectUnauthorized) Error

type Client

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

Client for serviceaccounts API

func (*Client) AddServiceAccountToProject

func (a *Client) AddServiceAccountToProject(params *AddServiceAccountToProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddServiceAccountToProjectCreated, error)

AddServiceAccountToProject Adds the given service account to the given project

func (*Client) DeleteServiceAccount

func (a *Client) DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountOK, error)

DeleteServiceAccount Deletes service account for the given project

func (*Client) ListServiceAccounts

func (a *Client) ListServiceAccounts(params *ListServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountsOK, error)

ListServiceAccounts List Service Accounts for the given project

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateServiceAccount

func (a *Client) UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountOK, error)

UpdateServiceAccount Updates service account for the given project

type ClientOption added in v2.18.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AddServiceAccountToProject(params *AddServiceAccountToProjectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*AddServiceAccountToProjectCreated, error)

	DeleteServiceAccount(params *DeleteServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteServiceAccountOK, error)

	ListServiceAccounts(params *ListServiceAccountsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListServiceAccountsOK, error)

	UpdateServiceAccount(params *UpdateServiceAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateServiceAccountOK, 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 serviceaccounts API client.

type DeleteServiceAccountDefault

type DeleteServiceAccountDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
DeleteServiceAccountDefault describes a response with status code -1, with default header values.

errorResponse

func NewDeleteServiceAccountDefault

func NewDeleteServiceAccountDefault(code int) *DeleteServiceAccountDefault

NewDeleteServiceAccountDefault creates a DeleteServiceAccountDefault with default headers values

func (*DeleteServiceAccountDefault) Code

func (o *DeleteServiceAccountDefault) Code() int

Code gets the status code for the delete service account default response

func (*DeleteServiceAccountDefault) Error

func (*DeleteServiceAccountDefault) GetPayload

type DeleteServiceAccountForbidden

type DeleteServiceAccountForbidden struct {
}
DeleteServiceAccountForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewDeleteServiceAccountForbidden

func NewDeleteServiceAccountForbidden() *DeleteServiceAccountForbidden

NewDeleteServiceAccountForbidden creates a DeleteServiceAccountForbidden with default headers values

func (*DeleteServiceAccountForbidden) Error

type DeleteServiceAccountOK

type DeleteServiceAccountOK struct {
}
DeleteServiceAccountOK describes a response with status code 200, with default header values.

EmptyResponse is a empty response

func NewDeleteServiceAccountOK

func NewDeleteServiceAccountOK() *DeleteServiceAccountOK

NewDeleteServiceAccountOK creates a DeleteServiceAccountOK with default headers values

func (*DeleteServiceAccountOK) Error

func (o *DeleteServiceAccountOK) Error() string

type DeleteServiceAccountParams

type DeleteServiceAccountParams struct {

	// ProjectID.
	ProjectID string

	// ServiceaccountID.
	ServiceAccountID string

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

DeleteServiceAccountParams contains all the parameters to send to the API endpoint

for the delete service account operation.

Typically these are written to a http.Request.

func NewDeleteServiceAccountParams

func NewDeleteServiceAccountParams() *DeleteServiceAccountParams

NewDeleteServiceAccountParams creates a new DeleteServiceAccountParams 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 NewDeleteServiceAccountParamsWithContext

func NewDeleteServiceAccountParamsWithContext(ctx context.Context) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithContext creates a new DeleteServiceAccountParams object with the ability to set a context for a request.

func NewDeleteServiceAccountParamsWithHTTPClient

func NewDeleteServiceAccountParamsWithHTTPClient(client *http.Client) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithHTTPClient creates a new DeleteServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteServiceAccountParamsWithTimeout

func NewDeleteServiceAccountParamsWithTimeout(timeout time.Duration) *DeleteServiceAccountParams

NewDeleteServiceAccountParamsWithTimeout creates a new DeleteServiceAccountParams object with the ability to set a timeout on a request.

func (*DeleteServiceAccountParams) SetContext

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

SetContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) SetDefaults added in v2.18.0

func (o *DeleteServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) SetProjectID

func (o *DeleteServiceAccountParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the delete service account params

func (*DeleteServiceAccountParams) SetServiceAccountID

func (o *DeleteServiceAccountParams) SetServiceAccountID(serviceaccountID string)

SetServiceAccountID adds the serviceaccountId to the delete service account params

func (*DeleteServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WithContext

WithContext adds the context to the delete service account params

func (*DeleteServiceAccountParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the delete service account params (not the query body).

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

func (*DeleteServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete service account params

func (*DeleteServiceAccountParams) WithProjectID

func (o *DeleteServiceAccountParams) WithProjectID(projectID string) *DeleteServiceAccountParams

WithProjectID adds the projectID to the delete service account params

func (*DeleteServiceAccountParams) WithServiceAccountID

func (o *DeleteServiceAccountParams) WithServiceAccountID(serviceaccountID string) *DeleteServiceAccountParams

WithServiceAccountID adds the serviceaccountID to the delete service account params

func (*DeleteServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the delete service account params

func (*DeleteServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteServiceAccountReader

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

DeleteServiceAccountReader is a Reader for the DeleteServiceAccount structure.

func (*DeleteServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteServiceAccountUnauthorized

type DeleteServiceAccountUnauthorized struct {
}
DeleteServiceAccountUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewDeleteServiceAccountUnauthorized

func NewDeleteServiceAccountUnauthorized() *DeleteServiceAccountUnauthorized

NewDeleteServiceAccountUnauthorized creates a DeleteServiceAccountUnauthorized with default headers values

func (*DeleteServiceAccountUnauthorized) Error

type ListServiceAccountsDefault

type ListServiceAccountsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
ListServiceAccountsDefault describes a response with status code -1, with default header values.

errorResponse

func NewListServiceAccountsDefault

func NewListServiceAccountsDefault(code int) *ListServiceAccountsDefault

NewListServiceAccountsDefault creates a ListServiceAccountsDefault with default headers values

func (*ListServiceAccountsDefault) Code

func (o *ListServiceAccountsDefault) Code() int

Code gets the status code for the list service accounts default response

func (*ListServiceAccountsDefault) Error

func (*ListServiceAccountsDefault) GetPayload

type ListServiceAccountsForbidden

type ListServiceAccountsForbidden struct {
}
ListServiceAccountsForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewListServiceAccountsForbidden

func NewListServiceAccountsForbidden() *ListServiceAccountsForbidden

NewListServiceAccountsForbidden creates a ListServiceAccountsForbidden with default headers values

func (*ListServiceAccountsForbidden) Error

type ListServiceAccountsOK

type ListServiceAccountsOK struct {
	Payload []*models.ServiceAccount
}
ListServiceAccountsOK describes a response with status code 200, with default header values.

ServiceAccount

func NewListServiceAccountsOK

func NewListServiceAccountsOK() *ListServiceAccountsOK

NewListServiceAccountsOK creates a ListServiceAccountsOK with default headers values

func (*ListServiceAccountsOK) Error

func (o *ListServiceAccountsOK) Error() string

func (*ListServiceAccountsOK) GetPayload

func (o *ListServiceAccountsOK) GetPayload() []*models.ServiceAccount

type ListServiceAccountsParams

type ListServiceAccountsParams struct {

	// ProjectID.
	ProjectID string

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

ListServiceAccountsParams contains all the parameters to send to the API endpoint

for the list service accounts operation.

Typically these are written to a http.Request.

func NewListServiceAccountsParams

func NewListServiceAccountsParams() *ListServiceAccountsParams

NewListServiceAccountsParams creates a new ListServiceAccountsParams 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 NewListServiceAccountsParamsWithContext

func NewListServiceAccountsParamsWithContext(ctx context.Context) *ListServiceAccountsParams

NewListServiceAccountsParamsWithContext creates a new ListServiceAccountsParams object with the ability to set a context for a request.

func NewListServiceAccountsParamsWithHTTPClient

func NewListServiceAccountsParamsWithHTTPClient(client *http.Client) *ListServiceAccountsParams

NewListServiceAccountsParamsWithHTTPClient creates a new ListServiceAccountsParams object with the ability to set a custom HTTPClient for a request.

func NewListServiceAccountsParamsWithTimeout

func NewListServiceAccountsParamsWithTimeout(timeout time.Duration) *ListServiceAccountsParams

NewListServiceAccountsParamsWithTimeout creates a new ListServiceAccountsParams object with the ability to set a timeout on a request.

func (*ListServiceAccountsParams) SetContext

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

SetContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) SetDefaults added in v2.18.0

func (o *ListServiceAccountsParams) SetDefaults()

SetDefaults hydrates default values in the list service accounts params (not the query body).

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

func (*ListServiceAccountsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) SetProjectID

func (o *ListServiceAccountsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list service accounts params

func (*ListServiceAccountsParams) SetTimeout

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

SetTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WithContext

WithContext adds the context to the list service accounts params

func (*ListServiceAccountsParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the list service accounts params (not the query body).

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

func (*ListServiceAccountsParams) WithHTTPClient

func (o *ListServiceAccountsParams) WithHTTPClient(client *http.Client) *ListServiceAccountsParams

WithHTTPClient adds the HTTPClient to the list service accounts params

func (*ListServiceAccountsParams) WithProjectID

func (o *ListServiceAccountsParams) WithProjectID(projectID string) *ListServiceAccountsParams

WithProjectID adds the projectID to the list service accounts params

func (*ListServiceAccountsParams) WithTimeout

WithTimeout adds the timeout to the list service accounts params

func (*ListServiceAccountsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListServiceAccountsReader

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

ListServiceAccountsReader is a Reader for the ListServiceAccounts structure.

func (*ListServiceAccountsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListServiceAccountsUnauthorized

type ListServiceAccountsUnauthorized struct {
}
ListServiceAccountsUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewListServiceAccountsUnauthorized

func NewListServiceAccountsUnauthorized() *ListServiceAccountsUnauthorized

NewListServiceAccountsUnauthorized creates a ListServiceAccountsUnauthorized with default headers values

func (*ListServiceAccountsUnauthorized) Error

type UpdateServiceAccountDefault

type UpdateServiceAccountDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}
UpdateServiceAccountDefault describes a response with status code -1, with default header values.

errorResponse

func NewUpdateServiceAccountDefault

func NewUpdateServiceAccountDefault(code int) *UpdateServiceAccountDefault

NewUpdateServiceAccountDefault creates a UpdateServiceAccountDefault with default headers values

func (*UpdateServiceAccountDefault) Code

func (o *UpdateServiceAccountDefault) Code() int

Code gets the status code for the update service account default response

func (*UpdateServiceAccountDefault) Error

func (*UpdateServiceAccountDefault) GetPayload

type UpdateServiceAccountForbidden

type UpdateServiceAccountForbidden struct {
}
UpdateServiceAccountForbidden describes a response with status code 403, with default header values.

EmptyResponse is a empty response

func NewUpdateServiceAccountForbidden

func NewUpdateServiceAccountForbidden() *UpdateServiceAccountForbidden

NewUpdateServiceAccountForbidden creates a UpdateServiceAccountForbidden with default headers values

func (*UpdateServiceAccountForbidden) Error

type UpdateServiceAccountOK

type UpdateServiceAccountOK struct {
	Payload *models.ServiceAccount
}
UpdateServiceAccountOK describes a response with status code 200, with default header values.

ServiceAccount

func NewUpdateServiceAccountOK

func NewUpdateServiceAccountOK() *UpdateServiceAccountOK

NewUpdateServiceAccountOK creates a UpdateServiceAccountOK with default headers values

func (*UpdateServiceAccountOK) Error

func (o *UpdateServiceAccountOK) Error() string

func (*UpdateServiceAccountOK) GetPayload

func (o *UpdateServiceAccountOK) GetPayload() *models.ServiceAccount

type UpdateServiceAccountParams

type UpdateServiceAccountParams struct {

	// Body.
	Body *models.ServiceAccount

	// ProjectID.
	ProjectID string

	// ServiceaccountID.
	ServiceAccountID string

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

UpdateServiceAccountParams contains all the parameters to send to the API endpoint

for the update service account operation.

Typically these are written to a http.Request.

func NewUpdateServiceAccountParams

func NewUpdateServiceAccountParams() *UpdateServiceAccountParams

NewUpdateServiceAccountParams creates a new UpdateServiceAccountParams 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 NewUpdateServiceAccountParamsWithContext

func NewUpdateServiceAccountParamsWithContext(ctx context.Context) *UpdateServiceAccountParams

NewUpdateServiceAccountParamsWithContext creates a new UpdateServiceAccountParams object with the ability to set a context for a request.

func NewUpdateServiceAccountParamsWithHTTPClient

func NewUpdateServiceAccountParamsWithHTTPClient(client *http.Client) *UpdateServiceAccountParams

NewUpdateServiceAccountParamsWithHTTPClient creates a new UpdateServiceAccountParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateServiceAccountParamsWithTimeout

func NewUpdateServiceAccountParamsWithTimeout(timeout time.Duration) *UpdateServiceAccountParams

NewUpdateServiceAccountParamsWithTimeout creates a new UpdateServiceAccountParams object with the ability to set a timeout on a request.

func (*UpdateServiceAccountParams) SetBody

SetBody adds the body to the update service account params

func (*UpdateServiceAccountParams) SetContext

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

SetContext adds the context to the update service account params

func (*UpdateServiceAccountParams) SetDefaults added in v2.18.0

func (o *UpdateServiceAccountParams) SetDefaults()

SetDefaults hydrates default values in the update service account params (not the query body).

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

func (*UpdateServiceAccountParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update service account params

func (*UpdateServiceAccountParams) SetProjectID

func (o *UpdateServiceAccountParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the update service account params

func (*UpdateServiceAccountParams) SetServiceAccountID

func (o *UpdateServiceAccountParams) SetServiceAccountID(serviceaccountID string)

SetServiceAccountID adds the serviceaccountId to the update service account params

func (*UpdateServiceAccountParams) SetTimeout

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

SetTimeout adds the timeout to the update service account params

func (*UpdateServiceAccountParams) WithBody

WithBody adds the body to the update service account params

func (*UpdateServiceAccountParams) WithContext

WithContext adds the context to the update service account params

func (*UpdateServiceAccountParams) WithDefaults added in v2.18.0

WithDefaults hydrates default values in the update service account params (not the query body).

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

func (*UpdateServiceAccountParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update service account params

func (*UpdateServiceAccountParams) WithProjectID

func (o *UpdateServiceAccountParams) WithProjectID(projectID string) *UpdateServiceAccountParams

WithProjectID adds the projectID to the update service account params

func (*UpdateServiceAccountParams) WithServiceAccountID

func (o *UpdateServiceAccountParams) WithServiceAccountID(serviceaccountID string) *UpdateServiceAccountParams

WithServiceAccountID adds the serviceaccountID to the update service account params

func (*UpdateServiceAccountParams) WithTimeout

WithTimeout adds the timeout to the update service account params

func (*UpdateServiceAccountParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateServiceAccountReader

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

UpdateServiceAccountReader is a Reader for the UpdateServiceAccount structure.

func (*UpdateServiceAccountReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateServiceAccountUnauthorized

type UpdateServiceAccountUnauthorized struct {
}
UpdateServiceAccountUnauthorized describes a response with status code 401, with default header values.

EmptyResponse is a empty response

func NewUpdateServiceAccountUnauthorized

func NewUpdateServiceAccountUnauthorized() *UpdateServiceAccountUnauthorized

NewUpdateServiceAccountUnauthorized creates a UpdateServiceAccountUnauthorized with default headers values

func (*UpdateServiceAccountUnauthorized) Error

Jump to

Keyboard shortcuts

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