project_service

package
v0.94.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for project service API

func (*Client) ProjectServiceCreate

func (a *Client) ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error)

ProjectServiceCreate creates creates a new project

func (*Client) ProjectServiceDelete

func (a *Client) ProjectServiceDelete(params *ProjectServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceDeleteOK, error)

ProjectServiceDelete deletes updates the state of a project to d e l e t e d

func (*Client) ProjectServiceGet

func (a *Client) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error)

ProjectServiceGet gets retrieves the requested project by ID a not found status will be returned for projects in the d e l e t e d state

func (*Client) ProjectServiceGetIamPolicy

func (a *Client) ProjectServiceGetIamPolicy(params *ProjectServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetIamPolicyOK, error)

ProjectServiceGetIamPolicy gets iam policy retrieves the user managed i a m policy for a project

func (*Client) ProjectServiceGetProjectsCount added in v0.58.0

func (a *Client) ProjectServiceGetProjectsCount(params *ProjectServiceGetProjectsCountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetProjectsCountOK, error)

ProjectServiceGetProjectsCount gets projects count returns the count of projects within a parent scope

func (*Client) ProjectServiceList

func (a *Client) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, error)

ProjectServiceList lists list the projects the caller has access to

func (*Client) ProjectServiceSetDescription

func (a *Client) ProjectServiceSetDescription(params *ProjectServiceSetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetDescriptionOK, error)

ProjectServiceSetDescription sets description sets the requested project s description

func (*Client) ProjectServiceSetIamPolicy

func (a *Client) ProjectServiceSetIamPolicy(params *ProjectServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetIamPolicyOK, error)

ProjectServiceSetIamPolicy sets iam policy sets the i a m policy for a project since this updates the full policy the policy takes an etag argument that should match with the current policy stored in the system this is to avoid concurrent writes erasing each other s data hence the client should always get the current policy that includes the etag modify the policy and then set the policy with the same etag if there is no existing policy the etag must be empty

func (*Client) ProjectServiceSetName

func (a *Client) ProjectServiceSetName(params *ProjectServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetNameOK, error)

ProjectServiceSetName sets name sets the requested project s name

func (*Client) ProjectServiceTestIamPermissions added in v0.58.0

func (a *Client) ProjectServiceTestIamPermissions(params *ProjectServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceTestIamPermissionsOK, error)

ProjectServiceTestIamPermissions tests iam permissions returns a subset of the request permissions the calling principal has for the project

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error)

	ProjectServiceDelete(params *ProjectServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceDeleteOK, error)

	ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error)

	ProjectServiceGetIamPolicy(params *ProjectServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetIamPolicyOK, error)

	ProjectServiceGetProjectsCount(params *ProjectServiceGetProjectsCountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetProjectsCountOK, error)

	ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, error)

	ProjectServiceSetDescription(params *ProjectServiceSetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetDescriptionOK, error)

	ProjectServiceSetIamPolicy(params *ProjectServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetIamPolicyOK, error)

	ProjectServiceSetName(params *ProjectServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetNameOK, error)

	ProjectServiceTestIamPermissions(params *ProjectServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceTestIamPermissionsOK, 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 project service API client.

type ProjectServiceCreateDefault

type ProjectServiceCreateDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceCreateDefault

func NewProjectServiceCreateDefault(code int) *ProjectServiceCreateDefault

NewProjectServiceCreateDefault creates a ProjectServiceCreateDefault with default headers values

func (*ProjectServiceCreateDefault) Code

func (o *ProjectServiceCreateDefault) Code() int

Code gets the status code for the project service create default response

func (*ProjectServiceCreateDefault) Error

func (*ProjectServiceCreateDefault) GetPayload

func (*ProjectServiceCreateDefault) IsClientError

func (o *ProjectServiceCreateDefault) IsClientError() bool

IsClientError returns true when this project service create default response has a 4xx status code

func (*ProjectServiceCreateDefault) IsCode

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

IsCode returns true when this project service create default response a status code equal to that given

func (*ProjectServiceCreateDefault) IsRedirect

func (o *ProjectServiceCreateDefault) IsRedirect() bool

IsRedirect returns true when this project service create default response has a 3xx status code

func (*ProjectServiceCreateDefault) IsServerError

func (o *ProjectServiceCreateDefault) IsServerError() bool

IsServerError returns true when this project service create default response has a 5xx status code

func (*ProjectServiceCreateDefault) IsSuccess

func (o *ProjectServiceCreateDefault) IsSuccess() bool

IsSuccess returns true when this project service create default response has a 2xx status code

func (*ProjectServiceCreateDefault) String

func (o *ProjectServiceCreateDefault) String() string

type ProjectServiceCreateOK

type ProjectServiceCreateOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectCreateResponse
}

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

A successful response.

func NewProjectServiceCreateOK

func NewProjectServiceCreateOK() *ProjectServiceCreateOK

NewProjectServiceCreateOK creates a ProjectServiceCreateOK with default headers values

func (*ProjectServiceCreateOK) Code added in v0.75.0

func (o *ProjectServiceCreateOK) Code() int

Code gets the status code for the project service create o k response

func (*ProjectServiceCreateOK) Error

func (o *ProjectServiceCreateOK) Error() string

func (*ProjectServiceCreateOK) GetPayload

func (*ProjectServiceCreateOK) IsClientError

func (o *ProjectServiceCreateOK) IsClientError() bool

IsClientError returns true when this project service create o k response has a 4xx status code

func (*ProjectServiceCreateOK) IsCode

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

IsCode returns true when this project service create o k response a status code equal to that given

func (*ProjectServiceCreateOK) IsRedirect

func (o *ProjectServiceCreateOK) IsRedirect() bool

IsRedirect returns true when this project service create o k response has a 3xx status code

func (*ProjectServiceCreateOK) IsServerError

func (o *ProjectServiceCreateOK) IsServerError() bool

IsServerError returns true when this project service create o k response has a 5xx status code

func (*ProjectServiceCreateOK) IsSuccess

func (o *ProjectServiceCreateOK) IsSuccess() bool

IsSuccess returns true when this project service create o k response has a 2xx status code

func (*ProjectServiceCreateOK) String

func (o *ProjectServiceCreateOK) String() string

type ProjectServiceCreateParams

type ProjectServiceCreateParams struct {

	// Body.
	Body *models.HashicorpCloudResourcemanagerProjectCreateRequest

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

ProjectServiceCreateParams contains all the parameters to send to the API endpoint

for the project service create operation.

Typically these are written to a http.Request.

func NewProjectServiceCreateParams

func NewProjectServiceCreateParams() *ProjectServiceCreateParams

NewProjectServiceCreateParams creates a new ProjectServiceCreateParams 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 NewProjectServiceCreateParamsWithContext

func NewProjectServiceCreateParamsWithContext(ctx context.Context) *ProjectServiceCreateParams

NewProjectServiceCreateParamsWithContext creates a new ProjectServiceCreateParams object with the ability to set a context for a request.

func NewProjectServiceCreateParamsWithHTTPClient

func NewProjectServiceCreateParamsWithHTTPClient(client *http.Client) *ProjectServiceCreateParams

NewProjectServiceCreateParamsWithHTTPClient creates a new ProjectServiceCreateParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceCreateParamsWithTimeout

func NewProjectServiceCreateParamsWithTimeout(timeout time.Duration) *ProjectServiceCreateParams

NewProjectServiceCreateParamsWithTimeout creates a new ProjectServiceCreateParams object with the ability to set a timeout on a request.

func (*ProjectServiceCreateParams) SetBody

SetBody adds the body to the project service create params

func (*ProjectServiceCreateParams) SetContext

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

SetContext adds the context to the project service create params

func (*ProjectServiceCreateParams) SetDefaults

func (o *ProjectServiceCreateParams) SetDefaults()

SetDefaults hydrates default values in the project service create params (not the query body).

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

func (*ProjectServiceCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service create params

func (*ProjectServiceCreateParams) SetTimeout

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

SetTimeout adds the timeout to the project service create params

func (*ProjectServiceCreateParams) WithBody

WithBody adds the body to the project service create params

func (*ProjectServiceCreateParams) WithContext

WithContext adds the context to the project service create params

func (*ProjectServiceCreateParams) WithDefaults

WithDefaults hydrates default values in the project service create params (not the query body).

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

func (*ProjectServiceCreateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service create params

func (*ProjectServiceCreateParams) WithTimeout

WithTimeout adds the timeout to the project service create params

func (*ProjectServiceCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceCreateReader

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

ProjectServiceCreateReader is a Reader for the ProjectServiceCreate structure.

func (*ProjectServiceCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceDeleteDefault

type ProjectServiceDeleteDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceDeleteDefault

func NewProjectServiceDeleteDefault(code int) *ProjectServiceDeleteDefault

NewProjectServiceDeleteDefault creates a ProjectServiceDeleteDefault with default headers values

func (*ProjectServiceDeleteDefault) Code

func (o *ProjectServiceDeleteDefault) Code() int

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

func (*ProjectServiceDeleteDefault) Error

func (*ProjectServiceDeleteDefault) GetPayload

func (*ProjectServiceDeleteDefault) IsClientError

func (o *ProjectServiceDeleteDefault) IsClientError() bool

IsClientError returns true when this project service delete default response has a 4xx status code

func (*ProjectServiceDeleteDefault) IsCode

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

IsCode returns true when this project service delete default response a status code equal to that given

func (*ProjectServiceDeleteDefault) IsRedirect

func (o *ProjectServiceDeleteDefault) IsRedirect() bool

IsRedirect returns true when this project service delete default response has a 3xx status code

func (*ProjectServiceDeleteDefault) IsServerError

func (o *ProjectServiceDeleteDefault) IsServerError() bool

IsServerError returns true when this project service delete default response has a 5xx status code

func (*ProjectServiceDeleteDefault) IsSuccess

func (o *ProjectServiceDeleteDefault) IsSuccess() bool

IsSuccess returns true when this project service delete default response has a 2xx status code

func (*ProjectServiceDeleteDefault) String

func (o *ProjectServiceDeleteDefault) String() string

type ProjectServiceDeleteOK

type ProjectServiceDeleteOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectDeleteResponse
}

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

A successful response.

func NewProjectServiceDeleteOK

func NewProjectServiceDeleteOK() *ProjectServiceDeleteOK

NewProjectServiceDeleteOK creates a ProjectServiceDeleteOK with default headers values

func (*ProjectServiceDeleteOK) Code added in v0.75.0

func (o *ProjectServiceDeleteOK) Code() int

Code gets the status code for the project service delete o k response

func (*ProjectServiceDeleteOK) Error

func (o *ProjectServiceDeleteOK) Error() string

func (*ProjectServiceDeleteOK) GetPayload

func (*ProjectServiceDeleteOK) IsClientError

func (o *ProjectServiceDeleteOK) IsClientError() bool

IsClientError returns true when this project service delete o k response has a 4xx status code

func (*ProjectServiceDeleteOK) IsCode

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

IsCode returns true when this project service delete o k response a status code equal to that given

func (*ProjectServiceDeleteOK) IsRedirect

func (o *ProjectServiceDeleteOK) IsRedirect() bool

IsRedirect returns true when this project service delete o k response has a 3xx status code

func (*ProjectServiceDeleteOK) IsServerError

func (o *ProjectServiceDeleteOK) IsServerError() bool

IsServerError returns true when this project service delete o k response has a 5xx status code

func (*ProjectServiceDeleteOK) IsSuccess

func (o *ProjectServiceDeleteOK) IsSuccess() bool

IsSuccess returns true when this project service delete o k response has a 2xx status code

func (*ProjectServiceDeleteOK) String

func (o *ProjectServiceDeleteOK) String() string

type ProjectServiceDeleteParams

type ProjectServiceDeleteParams struct {

	/* ID.

	   ID is the identifier of the project to delete.
	*/
	ID string

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

ProjectServiceDeleteParams contains all the parameters to send to the API endpoint

for the project service delete operation.

Typically these are written to a http.Request.

func NewProjectServiceDeleteParams

func NewProjectServiceDeleteParams() *ProjectServiceDeleteParams

NewProjectServiceDeleteParams creates a new ProjectServiceDeleteParams 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 NewProjectServiceDeleteParamsWithContext

func NewProjectServiceDeleteParamsWithContext(ctx context.Context) *ProjectServiceDeleteParams

NewProjectServiceDeleteParamsWithContext creates a new ProjectServiceDeleteParams object with the ability to set a context for a request.

func NewProjectServiceDeleteParamsWithHTTPClient

func NewProjectServiceDeleteParamsWithHTTPClient(client *http.Client) *ProjectServiceDeleteParams

NewProjectServiceDeleteParamsWithHTTPClient creates a new ProjectServiceDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceDeleteParamsWithTimeout

func NewProjectServiceDeleteParamsWithTimeout(timeout time.Duration) *ProjectServiceDeleteParams

NewProjectServiceDeleteParamsWithTimeout creates a new ProjectServiceDeleteParams object with the ability to set a timeout on a request.

func (*ProjectServiceDeleteParams) SetContext

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

SetContext adds the context to the project service delete params

func (*ProjectServiceDeleteParams) SetDefaults

func (o *ProjectServiceDeleteParams) SetDefaults()

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

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

func (*ProjectServiceDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service delete params

func (*ProjectServiceDeleteParams) SetID

func (o *ProjectServiceDeleteParams) SetID(id string)

SetID adds the id to the project service delete params

func (*ProjectServiceDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the project service delete params

func (*ProjectServiceDeleteParams) WithContext

WithContext adds the context to the project service delete params

func (*ProjectServiceDeleteParams) WithDefaults

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

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

func (*ProjectServiceDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service delete params

func (*ProjectServiceDeleteParams) WithID

WithID adds the id to the project service delete params

func (*ProjectServiceDeleteParams) WithTimeout

WithTimeout adds the timeout to the project service delete params

func (*ProjectServiceDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceDeleteReader

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

ProjectServiceDeleteReader is a Reader for the ProjectServiceDelete structure.

func (*ProjectServiceDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceGetDefault

type ProjectServiceGetDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceGetDefault

func NewProjectServiceGetDefault(code int) *ProjectServiceGetDefault

NewProjectServiceGetDefault creates a ProjectServiceGetDefault with default headers values

func (*ProjectServiceGetDefault) Code

func (o *ProjectServiceGetDefault) Code() int

Code gets the status code for the project service get default response

func (*ProjectServiceGetDefault) Error

func (o *ProjectServiceGetDefault) Error() string

func (*ProjectServiceGetDefault) GetPayload

func (*ProjectServiceGetDefault) IsClientError

func (o *ProjectServiceGetDefault) IsClientError() bool

IsClientError returns true when this project service get default response has a 4xx status code

func (*ProjectServiceGetDefault) IsCode

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

IsCode returns true when this project service get default response a status code equal to that given

func (*ProjectServiceGetDefault) IsRedirect

func (o *ProjectServiceGetDefault) IsRedirect() bool

IsRedirect returns true when this project service get default response has a 3xx status code

func (*ProjectServiceGetDefault) IsServerError

func (o *ProjectServiceGetDefault) IsServerError() bool

IsServerError returns true when this project service get default response has a 5xx status code

func (*ProjectServiceGetDefault) IsSuccess

func (o *ProjectServiceGetDefault) IsSuccess() bool

IsSuccess returns true when this project service get default response has a 2xx status code

func (*ProjectServiceGetDefault) String

func (o *ProjectServiceGetDefault) String() string

type ProjectServiceGetIamPolicyDefault

type ProjectServiceGetIamPolicyDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceGetIamPolicyDefault

func NewProjectServiceGetIamPolicyDefault(code int) *ProjectServiceGetIamPolicyDefault

NewProjectServiceGetIamPolicyDefault creates a ProjectServiceGetIamPolicyDefault with default headers values

func (*ProjectServiceGetIamPolicyDefault) Code

Code gets the status code for the project service get iam policy default response

func (*ProjectServiceGetIamPolicyDefault) Error

func (*ProjectServiceGetIamPolicyDefault) GetPayload

func (*ProjectServiceGetIamPolicyDefault) IsClientError

func (o *ProjectServiceGetIamPolicyDefault) IsClientError() bool

IsClientError returns true when this project service get iam policy default response has a 4xx status code

func (*ProjectServiceGetIamPolicyDefault) IsCode

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

IsCode returns true when this project service get iam policy default response a status code equal to that given

func (*ProjectServiceGetIamPolicyDefault) IsRedirect

func (o *ProjectServiceGetIamPolicyDefault) IsRedirect() bool

IsRedirect returns true when this project service get iam policy default response has a 3xx status code

func (*ProjectServiceGetIamPolicyDefault) IsServerError

func (o *ProjectServiceGetIamPolicyDefault) IsServerError() bool

IsServerError returns true when this project service get iam policy default response has a 5xx status code

func (*ProjectServiceGetIamPolicyDefault) IsSuccess

func (o *ProjectServiceGetIamPolicyDefault) IsSuccess() bool

IsSuccess returns true when this project service get iam policy default response has a 2xx status code

func (*ProjectServiceGetIamPolicyDefault) String

type ProjectServiceGetIamPolicyOK

type ProjectServiceGetIamPolicyOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectGetIamPolicyResponse
}

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

A successful response.

func NewProjectServiceGetIamPolicyOK

func NewProjectServiceGetIamPolicyOK() *ProjectServiceGetIamPolicyOK

NewProjectServiceGetIamPolicyOK creates a ProjectServiceGetIamPolicyOK with default headers values

func (*ProjectServiceGetIamPolicyOK) Code added in v0.75.0

Code gets the status code for the project service get iam policy o k response

func (*ProjectServiceGetIamPolicyOK) Error

func (*ProjectServiceGetIamPolicyOK) IsClientError

func (o *ProjectServiceGetIamPolicyOK) IsClientError() bool

IsClientError returns true when this project service get iam policy o k response has a 4xx status code

func (*ProjectServiceGetIamPolicyOK) IsCode

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

IsCode returns true when this project service get iam policy o k response a status code equal to that given

func (*ProjectServiceGetIamPolicyOK) IsRedirect

func (o *ProjectServiceGetIamPolicyOK) IsRedirect() bool

IsRedirect returns true when this project service get iam policy o k response has a 3xx status code

func (*ProjectServiceGetIamPolicyOK) IsServerError

func (o *ProjectServiceGetIamPolicyOK) IsServerError() bool

IsServerError returns true when this project service get iam policy o k response has a 5xx status code

func (*ProjectServiceGetIamPolicyOK) IsSuccess

func (o *ProjectServiceGetIamPolicyOK) IsSuccess() bool

IsSuccess returns true when this project service get iam policy o k response has a 2xx status code

func (*ProjectServiceGetIamPolicyOK) String

type ProjectServiceGetIamPolicyParams

type ProjectServiceGetIamPolicyParams struct {

	/* ID.

	   ID is the identifier of the project.
	*/
	ID string

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

ProjectServiceGetIamPolicyParams contains all the parameters to send to the API endpoint

for the project service get iam policy operation.

Typically these are written to a http.Request.

func NewProjectServiceGetIamPolicyParams

func NewProjectServiceGetIamPolicyParams() *ProjectServiceGetIamPolicyParams

NewProjectServiceGetIamPolicyParams creates a new ProjectServiceGetIamPolicyParams 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 NewProjectServiceGetIamPolicyParamsWithContext

func NewProjectServiceGetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceGetIamPolicyParams

NewProjectServiceGetIamPolicyParamsWithContext creates a new ProjectServiceGetIamPolicyParams object with the ability to set a context for a request.

func NewProjectServiceGetIamPolicyParamsWithHTTPClient

func NewProjectServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceGetIamPolicyParams

NewProjectServiceGetIamPolicyParamsWithHTTPClient creates a new ProjectServiceGetIamPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceGetIamPolicyParamsWithTimeout

func NewProjectServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceGetIamPolicyParams

NewProjectServiceGetIamPolicyParamsWithTimeout creates a new ProjectServiceGetIamPolicyParams object with the ability to set a timeout on a request.

func (*ProjectServiceGetIamPolicyParams) SetContext

SetContext adds the context to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) SetDefaults

func (o *ProjectServiceGetIamPolicyParams) SetDefaults()

SetDefaults hydrates default values in the project service get iam policy params (not the query body).

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

func (*ProjectServiceGetIamPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) SetID

SetID adds the id to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) WithContext

WithContext adds the context to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) WithDefaults

WithDefaults hydrates default values in the project service get iam policy params (not the query body).

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

func (*ProjectServiceGetIamPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) WithID

WithID adds the id to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) WithTimeout

WithTimeout adds the timeout to the project service get iam policy params

func (*ProjectServiceGetIamPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceGetIamPolicyReader

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

ProjectServiceGetIamPolicyReader is a Reader for the ProjectServiceGetIamPolicy structure.

func (*ProjectServiceGetIamPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceGetOK

type ProjectServiceGetOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectGetResponse
}

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

A successful response.

func NewProjectServiceGetOK

func NewProjectServiceGetOK() *ProjectServiceGetOK

NewProjectServiceGetOK creates a ProjectServiceGetOK with default headers values

func (*ProjectServiceGetOK) Code added in v0.75.0

func (o *ProjectServiceGetOK) Code() int

Code gets the status code for the project service get o k response

func (*ProjectServiceGetOK) Error

func (o *ProjectServiceGetOK) Error() string

func (*ProjectServiceGetOK) GetPayload

func (*ProjectServiceGetOK) IsClientError

func (o *ProjectServiceGetOK) IsClientError() bool

IsClientError returns true when this project service get o k response has a 4xx status code

func (*ProjectServiceGetOK) IsCode

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

IsCode returns true when this project service get o k response a status code equal to that given

func (*ProjectServiceGetOK) IsRedirect

func (o *ProjectServiceGetOK) IsRedirect() bool

IsRedirect returns true when this project service get o k response has a 3xx status code

func (*ProjectServiceGetOK) IsServerError

func (o *ProjectServiceGetOK) IsServerError() bool

IsServerError returns true when this project service get o k response has a 5xx status code

func (*ProjectServiceGetOK) IsSuccess

func (o *ProjectServiceGetOK) IsSuccess() bool

IsSuccess returns true when this project service get o k response has a 2xx status code

func (*ProjectServiceGetOK) String

func (o *ProjectServiceGetOK) String() string

type ProjectServiceGetParams

type ProjectServiceGetParams struct {

	/* ID.

	   ID is the identifier of the organization to retrieve.
	*/
	ID string

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

ProjectServiceGetParams contains all the parameters to send to the API endpoint

for the project service get operation.

Typically these are written to a http.Request.

func NewProjectServiceGetParams

func NewProjectServiceGetParams() *ProjectServiceGetParams

NewProjectServiceGetParams creates a new ProjectServiceGetParams 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 NewProjectServiceGetParamsWithContext

func NewProjectServiceGetParamsWithContext(ctx context.Context) *ProjectServiceGetParams

NewProjectServiceGetParamsWithContext creates a new ProjectServiceGetParams object with the ability to set a context for a request.

func NewProjectServiceGetParamsWithHTTPClient

func NewProjectServiceGetParamsWithHTTPClient(client *http.Client) *ProjectServiceGetParams

NewProjectServiceGetParamsWithHTTPClient creates a new ProjectServiceGetParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceGetParamsWithTimeout

func NewProjectServiceGetParamsWithTimeout(timeout time.Duration) *ProjectServiceGetParams

NewProjectServiceGetParamsWithTimeout creates a new ProjectServiceGetParams object with the ability to set a timeout on a request.

func (*ProjectServiceGetParams) SetContext

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

SetContext adds the context to the project service get params

func (*ProjectServiceGetParams) SetDefaults

func (o *ProjectServiceGetParams) SetDefaults()

SetDefaults hydrates default values in the project service get params (not the query body).

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

func (*ProjectServiceGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service get params

func (*ProjectServiceGetParams) SetID

func (o *ProjectServiceGetParams) SetID(id string)

SetID adds the id to the project service get params

func (*ProjectServiceGetParams) SetTimeout

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

SetTimeout adds the timeout to the project service get params

func (*ProjectServiceGetParams) WithContext

WithContext adds the context to the project service get params

func (*ProjectServiceGetParams) WithDefaults

WithDefaults hydrates default values in the project service get params (not the query body).

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

func (*ProjectServiceGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the project service get params

func (*ProjectServiceGetParams) WithID

WithID adds the id to the project service get params

func (*ProjectServiceGetParams) WithTimeout

WithTimeout adds the timeout to the project service get params

func (*ProjectServiceGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceGetProjectsCountDefault added in v0.58.0

type ProjectServiceGetProjectsCountDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceGetProjectsCountDefault added in v0.58.0

func NewProjectServiceGetProjectsCountDefault(code int) *ProjectServiceGetProjectsCountDefault

NewProjectServiceGetProjectsCountDefault creates a ProjectServiceGetProjectsCountDefault with default headers values

func (*ProjectServiceGetProjectsCountDefault) Code added in v0.58.0

Code gets the status code for the project service get projects count default response

func (*ProjectServiceGetProjectsCountDefault) Error added in v0.58.0

func (*ProjectServiceGetProjectsCountDefault) GetPayload added in v0.58.0

func (*ProjectServiceGetProjectsCountDefault) IsClientError added in v0.58.0

func (o *ProjectServiceGetProjectsCountDefault) IsClientError() bool

IsClientError returns true when this project service get projects count default response has a 4xx status code

func (*ProjectServiceGetProjectsCountDefault) IsCode added in v0.58.0

IsCode returns true when this project service get projects count default response a status code equal to that given

func (*ProjectServiceGetProjectsCountDefault) IsRedirect added in v0.58.0

IsRedirect returns true when this project service get projects count default response has a 3xx status code

func (*ProjectServiceGetProjectsCountDefault) IsServerError added in v0.58.0

func (o *ProjectServiceGetProjectsCountDefault) IsServerError() bool

IsServerError returns true when this project service get projects count default response has a 5xx status code

func (*ProjectServiceGetProjectsCountDefault) IsSuccess added in v0.58.0

IsSuccess returns true when this project service get projects count default response has a 2xx status code

func (*ProjectServiceGetProjectsCountDefault) String added in v0.58.0

type ProjectServiceGetProjectsCountOK added in v0.58.0

type ProjectServiceGetProjectsCountOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectGetProjectsCountResponse
}

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

A successful response.

func NewProjectServiceGetProjectsCountOK added in v0.58.0

func NewProjectServiceGetProjectsCountOK() *ProjectServiceGetProjectsCountOK

NewProjectServiceGetProjectsCountOK creates a ProjectServiceGetProjectsCountOK with default headers values

func (*ProjectServiceGetProjectsCountOK) Code added in v0.75.0

Code gets the status code for the project service get projects count o k response

func (*ProjectServiceGetProjectsCountOK) Error added in v0.58.0

func (*ProjectServiceGetProjectsCountOK) GetPayload added in v0.58.0

func (*ProjectServiceGetProjectsCountOK) IsClientError added in v0.58.0

func (o *ProjectServiceGetProjectsCountOK) IsClientError() bool

IsClientError returns true when this project service get projects count o k response has a 4xx status code

func (*ProjectServiceGetProjectsCountOK) IsCode added in v0.58.0

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

IsCode returns true when this project service get projects count o k response a status code equal to that given

func (*ProjectServiceGetProjectsCountOK) IsRedirect added in v0.58.0

func (o *ProjectServiceGetProjectsCountOK) IsRedirect() bool

IsRedirect returns true when this project service get projects count o k response has a 3xx status code

func (*ProjectServiceGetProjectsCountOK) IsServerError added in v0.58.0

func (o *ProjectServiceGetProjectsCountOK) IsServerError() bool

IsServerError returns true when this project service get projects count o k response has a 5xx status code

func (*ProjectServiceGetProjectsCountOK) IsSuccess added in v0.58.0

func (o *ProjectServiceGetProjectsCountOK) IsSuccess() bool

IsSuccess returns true when this project service get projects count o k response has a 2xx status code

func (*ProjectServiceGetProjectsCountOK) String added in v0.58.0

type ProjectServiceGetProjectsCountParams added in v0.58.0

type ProjectServiceGetProjectsCountParams struct {

	/* ScopeID.

	   id is the id of the object being referenced.
	*/
	ScopeID *string

	/* ScopeType.

	   ResourceType is the type of object being referenced.

	   Default: "UNKNOWN"
	*/
	ScopeType *string

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

ProjectServiceGetProjectsCountParams contains all the parameters to send to the API endpoint

for the project service get projects count operation.

Typically these are written to a http.Request.

func NewProjectServiceGetProjectsCountParams added in v0.58.0

func NewProjectServiceGetProjectsCountParams() *ProjectServiceGetProjectsCountParams

NewProjectServiceGetProjectsCountParams creates a new ProjectServiceGetProjectsCountParams 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 NewProjectServiceGetProjectsCountParamsWithContext added in v0.58.0

func NewProjectServiceGetProjectsCountParamsWithContext(ctx context.Context) *ProjectServiceGetProjectsCountParams

NewProjectServiceGetProjectsCountParamsWithContext creates a new ProjectServiceGetProjectsCountParams object with the ability to set a context for a request.

func NewProjectServiceGetProjectsCountParamsWithHTTPClient added in v0.58.0

func NewProjectServiceGetProjectsCountParamsWithHTTPClient(client *http.Client) *ProjectServiceGetProjectsCountParams

NewProjectServiceGetProjectsCountParamsWithHTTPClient creates a new ProjectServiceGetProjectsCountParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceGetProjectsCountParamsWithTimeout added in v0.58.0

func NewProjectServiceGetProjectsCountParamsWithTimeout(timeout time.Duration) *ProjectServiceGetProjectsCountParams

NewProjectServiceGetProjectsCountParamsWithTimeout creates a new ProjectServiceGetProjectsCountParams object with the ability to set a timeout on a request.

func (*ProjectServiceGetProjectsCountParams) SetContext added in v0.58.0

SetContext adds the context to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) SetDefaults added in v0.58.0

func (o *ProjectServiceGetProjectsCountParams) SetDefaults()

SetDefaults hydrates default values in the project service get projects count params (not the query body).

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

func (*ProjectServiceGetProjectsCountParams) SetHTTPClient added in v0.58.0

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

SetHTTPClient adds the HTTPClient to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) SetScopeID added in v0.58.0

func (o *ProjectServiceGetProjectsCountParams) SetScopeID(scopeID *string)

SetScopeID adds the scopeId to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) SetScopeType added in v0.58.0

func (o *ProjectServiceGetProjectsCountParams) SetScopeType(scopeType *string)

SetScopeType adds the scopeType to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) SetTimeout added in v0.58.0

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

SetTimeout adds the timeout to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WithContext added in v0.58.0

WithContext adds the context to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WithDefaults added in v0.58.0

WithDefaults hydrates default values in the project service get projects count params (not the query body).

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

func (*ProjectServiceGetProjectsCountParams) WithHTTPClient added in v0.58.0

WithHTTPClient adds the HTTPClient to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WithScopeID added in v0.58.0

WithScopeID adds the scopeID to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WithScopeType added in v0.58.0

WithScopeType adds the scopeType to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WithTimeout added in v0.58.0

WithTimeout adds the timeout to the project service get projects count params

func (*ProjectServiceGetProjectsCountParams) WriteToRequest added in v0.58.0

WriteToRequest writes these params to a swagger request

type ProjectServiceGetProjectsCountReader added in v0.58.0

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

ProjectServiceGetProjectsCountReader is a Reader for the ProjectServiceGetProjectsCount structure.

func (*ProjectServiceGetProjectsCountReader) ReadResponse added in v0.58.0

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

ReadResponse reads a server response into the received o.

type ProjectServiceGetReader

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

ProjectServiceGetReader is a Reader for the ProjectServiceGet structure.

func (*ProjectServiceGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceListDefault

type ProjectServiceListDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceListDefault

func NewProjectServiceListDefault(code int) *ProjectServiceListDefault

NewProjectServiceListDefault creates a ProjectServiceListDefault with default headers values

func (*ProjectServiceListDefault) Code

func (o *ProjectServiceListDefault) Code() int

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

func (*ProjectServiceListDefault) Error

func (o *ProjectServiceListDefault) Error() string

func (*ProjectServiceListDefault) GetPayload

func (*ProjectServiceListDefault) IsClientError

func (o *ProjectServiceListDefault) IsClientError() bool

IsClientError returns true when this project service list default response has a 4xx status code

func (*ProjectServiceListDefault) IsCode

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

IsCode returns true when this project service list default response a status code equal to that given

func (*ProjectServiceListDefault) IsRedirect

func (o *ProjectServiceListDefault) IsRedirect() bool

IsRedirect returns true when this project service list default response has a 3xx status code

func (*ProjectServiceListDefault) IsServerError

func (o *ProjectServiceListDefault) IsServerError() bool

IsServerError returns true when this project service list default response has a 5xx status code

func (*ProjectServiceListDefault) IsSuccess

func (o *ProjectServiceListDefault) IsSuccess() bool

IsSuccess returns true when this project service list default response has a 2xx status code

func (*ProjectServiceListDefault) String

func (o *ProjectServiceListDefault) String() string

type ProjectServiceListOK

type ProjectServiceListOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectListResponse
}

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

A successful response.

func NewProjectServiceListOK

func NewProjectServiceListOK() *ProjectServiceListOK

NewProjectServiceListOK creates a ProjectServiceListOK with default headers values

func (*ProjectServiceListOK) Code added in v0.75.0

func (o *ProjectServiceListOK) Code() int

Code gets the status code for the project service list o k response

func (*ProjectServiceListOK) Error

func (o *ProjectServiceListOK) Error() string

func (*ProjectServiceListOK) GetPayload

func (*ProjectServiceListOK) IsClientError

func (o *ProjectServiceListOK) IsClientError() bool

IsClientError returns true when this project service list o k response has a 4xx status code

func (*ProjectServiceListOK) IsCode

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

IsCode returns true when this project service list o k response a status code equal to that given

func (*ProjectServiceListOK) IsRedirect

func (o *ProjectServiceListOK) IsRedirect() bool

IsRedirect returns true when this project service list o k response has a 3xx status code

func (*ProjectServiceListOK) IsServerError

func (o *ProjectServiceListOK) IsServerError() bool

IsServerError returns true when this project service list o k response has a 5xx status code

func (*ProjectServiceListOK) IsSuccess

func (o *ProjectServiceListOK) IsSuccess() bool

IsSuccess returns true when this project service list o k response has a 2xx status code

func (*ProjectServiceListOK) String

func (o *ProjectServiceListOK) String() string

type ProjectServiceListParams

type ProjectServiceListParams struct {

	/* PaginationNextPageToken.

	     Specifies a page token to use to retrieve the next page. Set this to the
	`next_page_token` returned by previous list requests to get the next page of
	results. If set, `previous_page_token` must not be set.
	*/
	PaginationNextPageToken *string

	/* PaginationPageSize.

	     The max number of results per page that should be returned. If the number
	of available results is larger than `page_size`, a `next_page_token` is
	returned which can be used to get the next page of results in subsequent
	requests. A value of zero will cause `page_size` to be defaulted.

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

	     Specifies a page token to use to retrieve the previous page. Set this to
	the `previous_page_token` returned by previous list requests to get the
	previous page of results. If set, `next_page_token` must not be set.
	*/
	PaginationPreviousPageToken *string

	/* ScopeID.

	   id is the id of the object being referenced.
	*/
	ScopeID *string

	/* ScopeType.

	   ResourceType is the type of object being referenced.

	   Default: "UNKNOWN"
	*/
	ScopeType *string

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

ProjectServiceListParams contains all the parameters to send to the API endpoint

for the project service list operation.

Typically these are written to a http.Request.

func NewProjectServiceListParams

func NewProjectServiceListParams() *ProjectServiceListParams

NewProjectServiceListParams creates a new ProjectServiceListParams 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 NewProjectServiceListParamsWithContext

func NewProjectServiceListParamsWithContext(ctx context.Context) *ProjectServiceListParams

NewProjectServiceListParamsWithContext creates a new ProjectServiceListParams object with the ability to set a context for a request.

func NewProjectServiceListParamsWithHTTPClient

func NewProjectServiceListParamsWithHTTPClient(client *http.Client) *ProjectServiceListParams

NewProjectServiceListParamsWithHTTPClient creates a new ProjectServiceListParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceListParamsWithTimeout

func NewProjectServiceListParamsWithTimeout(timeout time.Duration) *ProjectServiceListParams

NewProjectServiceListParamsWithTimeout creates a new ProjectServiceListParams object with the ability to set a timeout on a request.

func (*ProjectServiceListParams) SetContext

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

SetContext adds the context to the project service list params

func (*ProjectServiceListParams) SetDefaults

func (o *ProjectServiceListParams) SetDefaults()

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

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

func (*ProjectServiceListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service list params

func (*ProjectServiceListParams) SetPaginationNextPageToken

func (o *ProjectServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)

SetPaginationNextPageToken adds the paginationNextPageToken to the project service list params

func (*ProjectServiceListParams) SetPaginationPageSize

func (o *ProjectServiceListParams) SetPaginationPageSize(paginationPageSize *int64)

SetPaginationPageSize adds the paginationPageSize to the project service list params

func (*ProjectServiceListParams) SetPaginationPreviousPageToken

func (o *ProjectServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params

func (*ProjectServiceListParams) SetScopeID

func (o *ProjectServiceListParams) SetScopeID(scopeID *string)

SetScopeID adds the scopeId to the project service list params

func (*ProjectServiceListParams) SetScopeType

func (o *ProjectServiceListParams) SetScopeType(scopeType *string)

SetScopeType adds the scopeType to the project service list params

func (*ProjectServiceListParams) SetTimeout

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

SetTimeout adds the timeout to the project service list params

func (*ProjectServiceListParams) WithContext

WithContext adds the context to the project service list params

func (*ProjectServiceListParams) WithDefaults

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

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

func (*ProjectServiceListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the project service list params

func (*ProjectServiceListParams) WithPaginationNextPageToken

func (o *ProjectServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ProjectServiceListParams

WithPaginationNextPageToken adds the paginationNextPageToken to the project service list params

func (*ProjectServiceListParams) WithPaginationPageSize

func (o *ProjectServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ProjectServiceListParams

WithPaginationPageSize adds the paginationPageSize to the project service list params

func (*ProjectServiceListParams) WithPaginationPreviousPageToken

func (o *ProjectServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ProjectServiceListParams

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params

func (*ProjectServiceListParams) WithScopeID

func (o *ProjectServiceListParams) WithScopeID(scopeID *string) *ProjectServiceListParams

WithScopeID adds the scopeID to the project service list params

func (*ProjectServiceListParams) WithScopeType

func (o *ProjectServiceListParams) WithScopeType(scopeType *string) *ProjectServiceListParams

WithScopeType adds the scopeType to the project service list params

func (*ProjectServiceListParams) WithTimeout

WithTimeout adds the timeout to the project service list params

func (*ProjectServiceListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceListReader

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

ProjectServiceListReader is a Reader for the ProjectServiceList structure.

func (*ProjectServiceListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceSetDescriptionBody

type ProjectServiceSetDescriptionBody struct {

	// description is the value the project's description should be updated to.
	Description string `json:"description,omitempty"`
}

ProjectServiceSetDescriptionBody ProjectSetDescriptionRequest see ProjectService.SetDescription swagger:model ProjectServiceSetDescriptionBody

func (*ProjectServiceSetDescriptionBody) ContextValidate

func (o *ProjectServiceSetDescriptionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project service set description body based on context it is used

func (*ProjectServiceSetDescriptionBody) MarshalBinary

func (o *ProjectServiceSetDescriptionBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectServiceSetDescriptionBody) UnmarshalBinary

func (o *ProjectServiceSetDescriptionBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectServiceSetDescriptionBody) Validate

Validate validates this project service set description body

type ProjectServiceSetDescriptionDefault

type ProjectServiceSetDescriptionDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceSetDescriptionDefault

func NewProjectServiceSetDescriptionDefault(code int) *ProjectServiceSetDescriptionDefault

NewProjectServiceSetDescriptionDefault creates a ProjectServiceSetDescriptionDefault with default headers values

func (*ProjectServiceSetDescriptionDefault) Code

Code gets the status code for the project service set description default response

func (*ProjectServiceSetDescriptionDefault) Error

func (*ProjectServiceSetDescriptionDefault) GetPayload

func (*ProjectServiceSetDescriptionDefault) IsClientError

func (o *ProjectServiceSetDescriptionDefault) IsClientError() bool

IsClientError returns true when this project service set description default response has a 4xx status code

func (*ProjectServiceSetDescriptionDefault) IsCode

IsCode returns true when this project service set description default response a status code equal to that given

func (*ProjectServiceSetDescriptionDefault) IsRedirect

func (o *ProjectServiceSetDescriptionDefault) IsRedirect() bool

IsRedirect returns true when this project service set description default response has a 3xx status code

func (*ProjectServiceSetDescriptionDefault) IsServerError

func (o *ProjectServiceSetDescriptionDefault) IsServerError() bool

IsServerError returns true when this project service set description default response has a 5xx status code

func (*ProjectServiceSetDescriptionDefault) IsSuccess

IsSuccess returns true when this project service set description default response has a 2xx status code

func (*ProjectServiceSetDescriptionDefault) String

type ProjectServiceSetDescriptionOK

type ProjectServiceSetDescriptionOK struct {
	Payload interface{}
}

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

A successful response.

func NewProjectServiceSetDescriptionOK

func NewProjectServiceSetDescriptionOK() *ProjectServiceSetDescriptionOK

NewProjectServiceSetDescriptionOK creates a ProjectServiceSetDescriptionOK with default headers values

func (*ProjectServiceSetDescriptionOK) Code added in v0.75.0

Code gets the status code for the project service set description o k response

func (*ProjectServiceSetDescriptionOK) Error

func (*ProjectServiceSetDescriptionOK) GetPayload

func (o *ProjectServiceSetDescriptionOK) GetPayload() interface{}

func (*ProjectServiceSetDescriptionOK) IsClientError

func (o *ProjectServiceSetDescriptionOK) IsClientError() bool

IsClientError returns true when this project service set description o k response has a 4xx status code

func (*ProjectServiceSetDescriptionOK) IsCode

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

IsCode returns true when this project service set description o k response a status code equal to that given

func (*ProjectServiceSetDescriptionOK) IsRedirect

func (o *ProjectServiceSetDescriptionOK) IsRedirect() bool

IsRedirect returns true when this project service set description o k response has a 3xx status code

func (*ProjectServiceSetDescriptionOK) IsServerError

func (o *ProjectServiceSetDescriptionOK) IsServerError() bool

IsServerError returns true when this project service set description o k response has a 5xx status code

func (*ProjectServiceSetDescriptionOK) IsSuccess

func (o *ProjectServiceSetDescriptionOK) IsSuccess() bool

IsSuccess returns true when this project service set description o k response has a 2xx status code

func (*ProjectServiceSetDescriptionOK) String

type ProjectServiceSetDescriptionParams

type ProjectServiceSetDescriptionParams struct {

	// Body.
	Body ProjectServiceSetDescriptionBody

	/* ID.

	   id is the identifier of the project to update.
	*/
	ID string

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

ProjectServiceSetDescriptionParams contains all the parameters to send to the API endpoint

for the project service set description operation.

Typically these are written to a http.Request.

func NewProjectServiceSetDescriptionParams

func NewProjectServiceSetDescriptionParams() *ProjectServiceSetDescriptionParams

NewProjectServiceSetDescriptionParams creates a new ProjectServiceSetDescriptionParams 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 NewProjectServiceSetDescriptionParamsWithContext

func NewProjectServiceSetDescriptionParamsWithContext(ctx context.Context) *ProjectServiceSetDescriptionParams

NewProjectServiceSetDescriptionParamsWithContext creates a new ProjectServiceSetDescriptionParams object with the ability to set a context for a request.

func NewProjectServiceSetDescriptionParamsWithHTTPClient

func NewProjectServiceSetDescriptionParamsWithHTTPClient(client *http.Client) *ProjectServiceSetDescriptionParams

NewProjectServiceSetDescriptionParamsWithHTTPClient creates a new ProjectServiceSetDescriptionParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceSetDescriptionParamsWithTimeout

func NewProjectServiceSetDescriptionParamsWithTimeout(timeout time.Duration) *ProjectServiceSetDescriptionParams

NewProjectServiceSetDescriptionParamsWithTimeout creates a new ProjectServiceSetDescriptionParams object with the ability to set a timeout on a request.

func (*ProjectServiceSetDescriptionParams) SetBody

SetBody adds the body to the project service set description params

func (*ProjectServiceSetDescriptionParams) SetContext

SetContext adds the context to the project service set description params

func (*ProjectServiceSetDescriptionParams) SetDefaults

func (o *ProjectServiceSetDescriptionParams) SetDefaults()

SetDefaults hydrates default values in the project service set description params (not the query body).

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

func (*ProjectServiceSetDescriptionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service set description params

func (*ProjectServiceSetDescriptionParams) SetID

SetID adds the id to the project service set description params

func (*ProjectServiceSetDescriptionParams) SetTimeout

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

SetTimeout adds the timeout to the project service set description params

func (*ProjectServiceSetDescriptionParams) WithBody

WithBody adds the body to the project service set description params

func (*ProjectServiceSetDescriptionParams) WithContext

WithContext adds the context to the project service set description params

func (*ProjectServiceSetDescriptionParams) WithDefaults

WithDefaults hydrates default values in the project service set description params (not the query body).

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

func (*ProjectServiceSetDescriptionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service set description params

func (*ProjectServiceSetDescriptionParams) WithID

WithID adds the id to the project service set description params

func (*ProjectServiceSetDescriptionParams) WithTimeout

WithTimeout adds the timeout to the project service set description params

func (*ProjectServiceSetDescriptionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceSetDescriptionReader

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

ProjectServiceSetDescriptionReader is a Reader for the ProjectServiceSetDescription structure.

func (*ProjectServiceSetDescriptionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceSetIamPolicyBody

type ProjectServiceSetIamPolicyBody struct {

	// Policy is the IAM policy to be updated for the project. The policy
	// will be completely replaced and therefore Policy.Etag must be specified
	// in order to prevent concurrent updates.
	Policy *models.HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

ProjectServiceSetIamPolicyBody ProjectSetIamPolicyRequest see ProjectService.SetIamPolicy swagger:model ProjectServiceSetIamPolicyBody

func (*ProjectServiceSetIamPolicyBody) ContextValidate

func (o *ProjectServiceSetIamPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project service set iam policy body based on the context it is used

func (*ProjectServiceSetIamPolicyBody) MarshalBinary

func (o *ProjectServiceSetIamPolicyBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectServiceSetIamPolicyBody) UnmarshalBinary

func (o *ProjectServiceSetIamPolicyBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectServiceSetIamPolicyBody) Validate

func (o *ProjectServiceSetIamPolicyBody) Validate(formats strfmt.Registry) error

Validate validates this project service set iam policy body

type ProjectServiceSetIamPolicyDefault

type ProjectServiceSetIamPolicyDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceSetIamPolicyDefault

func NewProjectServiceSetIamPolicyDefault(code int) *ProjectServiceSetIamPolicyDefault

NewProjectServiceSetIamPolicyDefault creates a ProjectServiceSetIamPolicyDefault with default headers values

func (*ProjectServiceSetIamPolicyDefault) Code

Code gets the status code for the project service set iam policy default response

func (*ProjectServiceSetIamPolicyDefault) Error

func (*ProjectServiceSetIamPolicyDefault) GetPayload

func (*ProjectServiceSetIamPolicyDefault) IsClientError

func (o *ProjectServiceSetIamPolicyDefault) IsClientError() bool

IsClientError returns true when this project service set iam policy default response has a 4xx status code

func (*ProjectServiceSetIamPolicyDefault) IsCode

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

IsCode returns true when this project service set iam policy default response a status code equal to that given

func (*ProjectServiceSetIamPolicyDefault) IsRedirect

func (o *ProjectServiceSetIamPolicyDefault) IsRedirect() bool

IsRedirect returns true when this project service set iam policy default response has a 3xx status code

func (*ProjectServiceSetIamPolicyDefault) IsServerError

func (o *ProjectServiceSetIamPolicyDefault) IsServerError() bool

IsServerError returns true when this project service set iam policy default response has a 5xx status code

func (*ProjectServiceSetIamPolicyDefault) IsSuccess

func (o *ProjectServiceSetIamPolicyDefault) IsSuccess() bool

IsSuccess returns true when this project service set iam policy default response has a 2xx status code

func (*ProjectServiceSetIamPolicyDefault) String

type ProjectServiceSetIamPolicyOK

type ProjectServiceSetIamPolicyOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectSetIamPolicyResponse
}

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

A successful response.

func NewProjectServiceSetIamPolicyOK

func NewProjectServiceSetIamPolicyOK() *ProjectServiceSetIamPolicyOK

NewProjectServiceSetIamPolicyOK creates a ProjectServiceSetIamPolicyOK with default headers values

func (*ProjectServiceSetIamPolicyOK) Code added in v0.75.0

Code gets the status code for the project service set iam policy o k response

func (*ProjectServiceSetIamPolicyOK) Error

func (*ProjectServiceSetIamPolicyOK) IsClientError

func (o *ProjectServiceSetIamPolicyOK) IsClientError() bool

IsClientError returns true when this project service set iam policy o k response has a 4xx status code

func (*ProjectServiceSetIamPolicyOK) IsCode

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

IsCode returns true when this project service set iam policy o k response a status code equal to that given

func (*ProjectServiceSetIamPolicyOK) IsRedirect

func (o *ProjectServiceSetIamPolicyOK) IsRedirect() bool

IsRedirect returns true when this project service set iam policy o k response has a 3xx status code

func (*ProjectServiceSetIamPolicyOK) IsServerError

func (o *ProjectServiceSetIamPolicyOK) IsServerError() bool

IsServerError returns true when this project service set iam policy o k response has a 5xx status code

func (*ProjectServiceSetIamPolicyOK) IsSuccess

func (o *ProjectServiceSetIamPolicyOK) IsSuccess() bool

IsSuccess returns true when this project service set iam policy o k response has a 2xx status code

func (*ProjectServiceSetIamPolicyOK) String

type ProjectServiceSetIamPolicyParams

type ProjectServiceSetIamPolicyParams struct {

	// Body.
	Body ProjectServiceSetIamPolicyBody

	/* ID.

	   ID is the identifier of the project.
	*/
	ID string

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

ProjectServiceSetIamPolicyParams contains all the parameters to send to the API endpoint

for the project service set iam policy operation.

Typically these are written to a http.Request.

func NewProjectServiceSetIamPolicyParams

func NewProjectServiceSetIamPolicyParams() *ProjectServiceSetIamPolicyParams

NewProjectServiceSetIamPolicyParams creates a new ProjectServiceSetIamPolicyParams 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 NewProjectServiceSetIamPolicyParamsWithContext

func NewProjectServiceSetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceSetIamPolicyParams

NewProjectServiceSetIamPolicyParamsWithContext creates a new ProjectServiceSetIamPolicyParams object with the ability to set a context for a request.

func NewProjectServiceSetIamPolicyParamsWithHTTPClient

func NewProjectServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceSetIamPolicyParams

NewProjectServiceSetIamPolicyParamsWithHTTPClient creates a new ProjectServiceSetIamPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceSetIamPolicyParamsWithTimeout

func NewProjectServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceSetIamPolicyParams

NewProjectServiceSetIamPolicyParamsWithTimeout creates a new ProjectServiceSetIamPolicyParams object with the ability to set a timeout on a request.

func (*ProjectServiceSetIamPolicyParams) SetBody

SetBody adds the body to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) SetContext

SetContext adds the context to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) SetDefaults

func (o *ProjectServiceSetIamPolicyParams) SetDefaults()

SetDefaults hydrates default values in the project service set iam policy params (not the query body).

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

func (*ProjectServiceSetIamPolicyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) SetID

SetID adds the id to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) SetTimeout

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

SetTimeout adds the timeout to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WithBody

WithBody adds the body to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WithContext

WithContext adds the context to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WithDefaults

WithDefaults hydrates default values in the project service set iam policy params (not the query body).

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

func (*ProjectServiceSetIamPolicyParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WithID

WithID adds the id to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WithTimeout

WithTimeout adds the timeout to the project service set iam policy params

func (*ProjectServiceSetIamPolicyParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceSetIamPolicyReader

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

ProjectServiceSetIamPolicyReader is a Reader for the ProjectServiceSetIamPolicy structure.

func (*ProjectServiceSetIamPolicyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceSetNameBody

type ProjectServiceSetNameBody struct {

	// name is the value the project's name should be updated to.
	Name string `json:"name,omitempty"`
}

ProjectServiceSetNameBody ProjectSetNameRequest see ProjectService.SetName swagger:model ProjectServiceSetNameBody

func (*ProjectServiceSetNameBody) ContextValidate

func (o *ProjectServiceSetNameBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project service set name body based on context it is used

func (*ProjectServiceSetNameBody) MarshalBinary

func (o *ProjectServiceSetNameBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectServiceSetNameBody) UnmarshalBinary

func (o *ProjectServiceSetNameBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectServiceSetNameBody) Validate

func (o *ProjectServiceSetNameBody) Validate(formats strfmt.Registry) error

Validate validates this project service set name body

type ProjectServiceSetNameDefault

type ProjectServiceSetNameDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceSetNameDefault

func NewProjectServiceSetNameDefault(code int) *ProjectServiceSetNameDefault

NewProjectServiceSetNameDefault creates a ProjectServiceSetNameDefault with default headers values

func (*ProjectServiceSetNameDefault) Code

Code gets the status code for the project service set name default response

func (*ProjectServiceSetNameDefault) Error

func (*ProjectServiceSetNameDefault) GetPayload

func (*ProjectServiceSetNameDefault) IsClientError

func (o *ProjectServiceSetNameDefault) IsClientError() bool

IsClientError returns true when this project service set name default response has a 4xx status code

func (*ProjectServiceSetNameDefault) IsCode

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

IsCode returns true when this project service set name default response a status code equal to that given

func (*ProjectServiceSetNameDefault) IsRedirect

func (o *ProjectServiceSetNameDefault) IsRedirect() bool

IsRedirect returns true when this project service set name default response has a 3xx status code

func (*ProjectServiceSetNameDefault) IsServerError

func (o *ProjectServiceSetNameDefault) IsServerError() bool

IsServerError returns true when this project service set name default response has a 5xx status code

func (*ProjectServiceSetNameDefault) IsSuccess

func (o *ProjectServiceSetNameDefault) IsSuccess() bool

IsSuccess returns true when this project service set name default response has a 2xx status code

func (*ProjectServiceSetNameDefault) String

type ProjectServiceSetNameOK

type ProjectServiceSetNameOK struct {
	Payload interface{}
}

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

A successful response.

func NewProjectServiceSetNameOK

func NewProjectServiceSetNameOK() *ProjectServiceSetNameOK

NewProjectServiceSetNameOK creates a ProjectServiceSetNameOK with default headers values

func (*ProjectServiceSetNameOK) Code added in v0.75.0

func (o *ProjectServiceSetNameOK) Code() int

Code gets the status code for the project service set name o k response

func (*ProjectServiceSetNameOK) Error

func (o *ProjectServiceSetNameOK) Error() string

func (*ProjectServiceSetNameOK) GetPayload

func (o *ProjectServiceSetNameOK) GetPayload() interface{}

func (*ProjectServiceSetNameOK) IsClientError

func (o *ProjectServiceSetNameOK) IsClientError() bool

IsClientError returns true when this project service set name o k response has a 4xx status code

func (*ProjectServiceSetNameOK) IsCode

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

IsCode returns true when this project service set name o k response a status code equal to that given

func (*ProjectServiceSetNameOK) IsRedirect

func (o *ProjectServiceSetNameOK) IsRedirect() bool

IsRedirect returns true when this project service set name o k response has a 3xx status code

func (*ProjectServiceSetNameOK) IsServerError

func (o *ProjectServiceSetNameOK) IsServerError() bool

IsServerError returns true when this project service set name o k response has a 5xx status code

func (*ProjectServiceSetNameOK) IsSuccess

func (o *ProjectServiceSetNameOK) IsSuccess() bool

IsSuccess returns true when this project service set name o k response has a 2xx status code

func (*ProjectServiceSetNameOK) String

func (o *ProjectServiceSetNameOK) String() string

type ProjectServiceSetNameParams

type ProjectServiceSetNameParams struct {

	// Body.
	Body ProjectServiceSetNameBody

	/* ID.

	   id is the identifier of the project to update.
	*/
	ID string

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

ProjectServiceSetNameParams contains all the parameters to send to the API endpoint

for the project service set name operation.

Typically these are written to a http.Request.

func NewProjectServiceSetNameParams

func NewProjectServiceSetNameParams() *ProjectServiceSetNameParams

NewProjectServiceSetNameParams creates a new ProjectServiceSetNameParams 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 NewProjectServiceSetNameParamsWithContext

func NewProjectServiceSetNameParamsWithContext(ctx context.Context) *ProjectServiceSetNameParams

NewProjectServiceSetNameParamsWithContext creates a new ProjectServiceSetNameParams object with the ability to set a context for a request.

func NewProjectServiceSetNameParamsWithHTTPClient

func NewProjectServiceSetNameParamsWithHTTPClient(client *http.Client) *ProjectServiceSetNameParams

NewProjectServiceSetNameParamsWithHTTPClient creates a new ProjectServiceSetNameParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceSetNameParamsWithTimeout

func NewProjectServiceSetNameParamsWithTimeout(timeout time.Duration) *ProjectServiceSetNameParams

NewProjectServiceSetNameParamsWithTimeout creates a new ProjectServiceSetNameParams object with the ability to set a timeout on a request.

func (*ProjectServiceSetNameParams) SetBody

SetBody adds the body to the project service set name params

func (*ProjectServiceSetNameParams) SetContext

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

SetContext adds the context to the project service set name params

func (*ProjectServiceSetNameParams) SetDefaults

func (o *ProjectServiceSetNameParams) SetDefaults()

SetDefaults hydrates default values in the project service set name params (not the query body).

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

func (*ProjectServiceSetNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project service set name params

func (*ProjectServiceSetNameParams) SetID

func (o *ProjectServiceSetNameParams) SetID(id string)

SetID adds the id to the project service set name params

func (*ProjectServiceSetNameParams) SetTimeout

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

SetTimeout adds the timeout to the project service set name params

func (*ProjectServiceSetNameParams) WithBody

WithBody adds the body to the project service set name params

func (*ProjectServiceSetNameParams) WithContext

WithContext adds the context to the project service set name params

func (*ProjectServiceSetNameParams) WithDefaults

WithDefaults hydrates default values in the project service set name params (not the query body).

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

func (*ProjectServiceSetNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project service set name params

func (*ProjectServiceSetNameParams) WithID

WithID adds the id to the project service set name params

func (*ProjectServiceSetNameParams) WithTimeout

WithTimeout adds the timeout to the project service set name params

func (*ProjectServiceSetNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectServiceSetNameReader

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

ProjectServiceSetNameReader is a Reader for the ProjectServiceSetName structure.

func (*ProjectServiceSetNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectServiceTestIamPermissionsBody added in v0.58.0

type ProjectServiceTestIamPermissionsBody struct {

	// Permissions to test.
	Permissions []string `json:"permissions"`
}

ProjectServiceTestIamPermissionsBody see ProjectService.TestIamPermissions swagger:model ProjectServiceTestIamPermissionsBody

func (*ProjectServiceTestIamPermissionsBody) ContextValidate added in v0.58.0

func (o *ProjectServiceTestIamPermissionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project service test iam permissions body based on context it is used

func (*ProjectServiceTestIamPermissionsBody) MarshalBinary added in v0.58.0

func (o *ProjectServiceTestIamPermissionsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectServiceTestIamPermissionsBody) UnmarshalBinary added in v0.58.0

func (o *ProjectServiceTestIamPermissionsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectServiceTestIamPermissionsBody) Validate added in v0.58.0

Validate validates this project service test iam permissions body

type ProjectServiceTestIamPermissionsDefault added in v0.58.0

type ProjectServiceTestIamPermissionsDefault struct {
	Payload *cloud.GoogleRPCStatus
	// contains filtered or unexported fields
}

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

An unexpected error response.

func NewProjectServiceTestIamPermissionsDefault added in v0.58.0

func NewProjectServiceTestIamPermissionsDefault(code int) *ProjectServiceTestIamPermissionsDefault

NewProjectServiceTestIamPermissionsDefault creates a ProjectServiceTestIamPermissionsDefault with default headers values

func (*ProjectServiceTestIamPermissionsDefault) Code added in v0.58.0

Code gets the status code for the project service test iam permissions default response

func (*ProjectServiceTestIamPermissionsDefault) Error added in v0.58.0

func (*ProjectServiceTestIamPermissionsDefault) GetPayload added in v0.58.0

func (*ProjectServiceTestIamPermissionsDefault) IsClientError added in v0.58.0

func (o *ProjectServiceTestIamPermissionsDefault) IsClientError() bool

IsClientError returns true when this project service test iam permissions default response has a 4xx status code

func (*ProjectServiceTestIamPermissionsDefault) IsCode added in v0.58.0

IsCode returns true when this project service test iam permissions default response a status code equal to that given

func (*ProjectServiceTestIamPermissionsDefault) IsRedirect added in v0.58.0

IsRedirect returns true when this project service test iam permissions default response has a 3xx status code

func (*ProjectServiceTestIamPermissionsDefault) IsServerError added in v0.58.0

func (o *ProjectServiceTestIamPermissionsDefault) IsServerError() bool

IsServerError returns true when this project service test iam permissions default response has a 5xx status code

func (*ProjectServiceTestIamPermissionsDefault) IsSuccess added in v0.58.0

IsSuccess returns true when this project service test iam permissions default response has a 2xx status code

func (*ProjectServiceTestIamPermissionsDefault) String added in v0.58.0

type ProjectServiceTestIamPermissionsOK added in v0.58.0

type ProjectServiceTestIamPermissionsOK struct {
	Payload *models.HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse
}

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

A successful response.

func NewProjectServiceTestIamPermissionsOK added in v0.58.0

func NewProjectServiceTestIamPermissionsOK() *ProjectServiceTestIamPermissionsOK

NewProjectServiceTestIamPermissionsOK creates a ProjectServiceTestIamPermissionsOK with default headers values

func (*ProjectServiceTestIamPermissionsOK) Code added in v0.75.0

Code gets the status code for the project service test iam permissions o k response

func (*ProjectServiceTestIamPermissionsOK) Error added in v0.58.0

func (*ProjectServiceTestIamPermissionsOK) GetPayload added in v0.58.0

func (*ProjectServiceTestIamPermissionsOK) IsClientError added in v0.58.0

func (o *ProjectServiceTestIamPermissionsOK) IsClientError() bool

IsClientError returns true when this project service test iam permissions o k response has a 4xx status code

func (*ProjectServiceTestIamPermissionsOK) IsCode added in v0.58.0

IsCode returns true when this project service test iam permissions o k response a status code equal to that given

func (*ProjectServiceTestIamPermissionsOK) IsRedirect added in v0.58.0

func (o *ProjectServiceTestIamPermissionsOK) IsRedirect() bool

IsRedirect returns true when this project service test iam permissions o k response has a 3xx status code

func (*ProjectServiceTestIamPermissionsOK) IsServerError added in v0.58.0

func (o *ProjectServiceTestIamPermissionsOK) IsServerError() bool

IsServerError returns true when this project service test iam permissions o k response has a 5xx status code

func (*ProjectServiceTestIamPermissionsOK) IsSuccess added in v0.58.0

IsSuccess returns true when this project service test iam permissions o k response has a 2xx status code

func (*ProjectServiceTestIamPermissionsOK) String added in v0.58.0

type ProjectServiceTestIamPermissionsParams added in v0.58.0

type ProjectServiceTestIamPermissionsParams struct {

	// Body.
	Body ProjectServiceTestIamPermissionsBody

	/* ID.

	   ID is the identifier of the project.
	*/
	ID string

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

ProjectServiceTestIamPermissionsParams contains all the parameters to send to the API endpoint

for the project service test iam permissions operation.

Typically these are written to a http.Request.

func NewProjectServiceTestIamPermissionsParams added in v0.58.0

func NewProjectServiceTestIamPermissionsParams() *ProjectServiceTestIamPermissionsParams

NewProjectServiceTestIamPermissionsParams creates a new ProjectServiceTestIamPermissionsParams 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 NewProjectServiceTestIamPermissionsParamsWithContext added in v0.58.0

func NewProjectServiceTestIamPermissionsParamsWithContext(ctx context.Context) *ProjectServiceTestIamPermissionsParams

NewProjectServiceTestIamPermissionsParamsWithContext creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a context for a request.

func NewProjectServiceTestIamPermissionsParamsWithHTTPClient added in v0.58.0

func NewProjectServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *ProjectServiceTestIamPermissionsParams

NewProjectServiceTestIamPermissionsParamsWithHTTPClient creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewProjectServiceTestIamPermissionsParamsWithTimeout added in v0.58.0

func NewProjectServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *ProjectServiceTestIamPermissionsParams

NewProjectServiceTestIamPermissionsParamsWithTimeout creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a timeout on a request.

func (*ProjectServiceTestIamPermissionsParams) SetBody added in v0.58.0

SetBody adds the body to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) SetContext added in v0.58.0

SetContext adds the context to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) SetDefaults added in v0.58.0

func (o *ProjectServiceTestIamPermissionsParams) SetDefaults()

SetDefaults hydrates default values in the project service test iam permissions params (not the query body).

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

func (*ProjectServiceTestIamPermissionsParams) SetHTTPClient added in v0.58.0

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

SetHTTPClient adds the HTTPClient to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) SetID added in v0.58.0

SetID adds the id to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) SetTimeout added in v0.58.0

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

SetTimeout adds the timeout to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WithBody added in v0.58.0

WithBody adds the body to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WithContext added in v0.58.0

WithContext adds the context to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WithDefaults added in v0.58.0

WithDefaults hydrates default values in the project service test iam permissions params (not the query body).

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

func (*ProjectServiceTestIamPermissionsParams) WithHTTPClient added in v0.58.0

WithHTTPClient adds the HTTPClient to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WithID added in v0.58.0

WithID adds the id to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WithTimeout added in v0.58.0

WithTimeout adds the timeout to the project service test iam permissions params

func (*ProjectServiceTestIamPermissionsParams) WriteToRequest added in v0.58.0

WriteToRequest writes these params to a swagger request

type ProjectServiceTestIamPermissionsReader added in v0.58.0

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

ProjectServiceTestIamPermissionsReader is a Reader for the ProjectServiceTestIamPermissions structure.

func (*ProjectServiceTestIamPermissionsReader) ReadResponse added in v0.58.0

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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