iam_service

package
v0.119.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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 iam service API

func (*Client) IamServiceBatchGetPrincipals added in v0.66.0

func (a *Client) IamServiceBatchGetPrincipals(params *IamServiceBatchGetPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceBatchGetPrincipalsOK, error)

IamServiceBatchGetPrincipals batches get principals retrieves principals in a batch

func (*Client) IamServiceCreateUserPrincipal added in v0.64.0

func (a *Client) IamServiceCreateUserPrincipal(params *IamServiceCreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceCreateUserPrincipalOK, error)

IamServiceCreateUserPrincipal creates user principal creates a new user principal

func (*Client) IamServiceDeleteOrganizationMembership added in v0.64.0

IamServiceDeleteOrganizationMembership deletes organization membership deletes a user principal s organization membership

func (*Client) IamServiceGetCallerIdentity added in v0.65.0

func (a *Client) IamServiceGetCallerIdentity(params *IamServiceGetCallerIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCallerIdentityOK, error)

IamServiceGetCallerIdentity gets caller identity returns the identity of the current caller

func (*Client) IamServiceGetCurrentUserPrincipal added in v0.64.0

func (a *Client) IamServiceGetCurrentUserPrincipal(params *IamServiceGetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCurrentUserPrincipalOK, error)

IamServiceGetCurrentUserPrincipal gets current user principal retrieves information about the current user principal this endpoint it meant to be used by external clients over an HTTP API it supports retrieving the basic user principal data useful for any client and optionally the user preferences for the h c p web portal j s application

func (*Client) IamServiceGetOrganizationAuthMetadata added in v0.64.0

func (a *Client) IamServiceGetOrganizationAuthMetadata(params *IamServiceGetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetOrganizationAuthMetadataOK, error)

IamServiceGetOrganizationAuthMetadata gets organization auth metadata returns metadata about the organization s configured authentication methods

func (*Client) IamServiceGetUserPrincipalByIDInOrganization added in v0.64.0

IamServiceGetUserPrincipalByIDInOrganization gets user principal retrieves a user principal

func (*Client) IamServiceGetUserPrincipalsByIDsInOrganization added in v0.64.0

IamServiceGetUserPrincipalsByIDsInOrganization gets user principals by i ds in organization is a batch method to fetch users by ID for a given organization if some of the requested users don t exist or aren t members of the given organization then they will be omitted in response we re using p o s t because g e t has a length limitation for URL which is given that user id is UUID would limit us to fetching up to 48 users at a time which is less than ideal

func (*Client) IamServiceListUserPrincipalsByOrganization added in v0.64.0

IamServiceListUserPrincipalsByOrganization lists user principals by organization returns a list of principals that are members of an organization

func (*Client) IamServicePing added in v0.64.0

func (a *Client) IamServicePing(params *IamServicePingParams, opts ...ClientOption) (*IamServicePingOK, error)

IamServicePing pings pings the healthcheck endpoint exposed for HTTP healthchecks via datadog synthetic monitoring

func (*Client) IamServiceSearchPrincipals added in v0.64.0

func (a *Client) IamServiceSearchPrincipals(params *IamServiceSearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceSearchPrincipalsOK, error)

IamServiceSearchPrincipals searches principals returns principal details for principals within the supplied organization optional filters may be specified to filter the result set

func (*Client) IamServiceUpdateWebConsolePreferences added in v0.64.0

func (a *Client) IamServiceUpdateWebConsolePreferences(params *IamServiceUpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceUpdateWebConsolePreferencesOK, error)

IamServiceUpdateWebConsolePreferences updates web console preferences updates a user principal s web portal fka web console preferences

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 {
	IamServiceBatchGetPrincipals(params *IamServiceBatchGetPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceBatchGetPrincipalsOK, error)

	IamServiceCreateUserPrincipal(params *IamServiceCreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceCreateUserPrincipalOK, error)

	IamServiceDeleteOrganizationMembership(params *IamServiceDeleteOrganizationMembershipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceDeleteOrganizationMembershipOK, error)

	IamServiceGetCallerIdentity(params *IamServiceGetCallerIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCallerIdentityOK, error)

	IamServiceGetCurrentUserPrincipal(params *IamServiceGetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetCurrentUserPrincipalOK, error)

	IamServiceGetOrganizationAuthMetadata(params *IamServiceGetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetOrganizationAuthMetadataOK, error)

	IamServiceGetUserPrincipalByIDInOrganization(params *IamServiceGetUserPrincipalByIDInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalByIDInOrganizationOK, error)

	IamServiceGetUserPrincipalsByIDsInOrganization(params *IamServiceGetUserPrincipalsByIDsInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceGetUserPrincipalsByIDsInOrganizationOK, error)

	IamServiceListUserPrincipalsByOrganization(params *IamServiceListUserPrincipalsByOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceListUserPrincipalsByOrganizationOK, error)

	IamServicePing(params *IamServicePingParams, opts ...ClientOption) (*IamServicePingOK, error)

	IamServiceSearchPrincipals(params *IamServiceSearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceSearchPrincipalsOK, error)

	IamServiceUpdateWebConsolePreferences(params *IamServiceUpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*IamServiceUpdateWebConsolePreferencesOK, 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 iam service API client.

type IamServiceBatchGetPrincipalsDefault added in v0.66.0

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

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

An unexpected error response.

func NewIamServiceBatchGetPrincipalsDefault added in v0.66.0

func NewIamServiceBatchGetPrincipalsDefault(code int) *IamServiceBatchGetPrincipalsDefault

NewIamServiceBatchGetPrincipalsDefault creates a IamServiceBatchGetPrincipalsDefault with default headers values

func (*IamServiceBatchGetPrincipalsDefault) Code added in v0.66.0

Code gets the status code for the iam service batch get principals default response

func (*IamServiceBatchGetPrincipalsDefault) Error added in v0.66.0

func (*IamServiceBatchGetPrincipalsDefault) GetPayload added in v0.66.0

func (*IamServiceBatchGetPrincipalsDefault) IsClientError added in v0.66.0

func (o *IamServiceBatchGetPrincipalsDefault) IsClientError() bool

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

func (*IamServiceBatchGetPrincipalsDefault) IsCode added in v0.66.0

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

func (*IamServiceBatchGetPrincipalsDefault) IsRedirect added in v0.66.0

func (o *IamServiceBatchGetPrincipalsDefault) IsRedirect() bool

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

func (*IamServiceBatchGetPrincipalsDefault) IsServerError added in v0.66.0

func (o *IamServiceBatchGetPrincipalsDefault) IsServerError() bool

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

func (*IamServiceBatchGetPrincipalsDefault) IsSuccess added in v0.66.0

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

func (*IamServiceBatchGetPrincipalsDefault) String added in v0.66.0

type IamServiceBatchGetPrincipalsOK added in v0.66.0

type IamServiceBatchGetPrincipalsOK struct {
	Payload *models.HashicorpCloudIamBatchGetPrincipalsResponse
}

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

A successful response.

func NewIamServiceBatchGetPrincipalsOK added in v0.66.0

func NewIamServiceBatchGetPrincipalsOK() *IamServiceBatchGetPrincipalsOK

NewIamServiceBatchGetPrincipalsOK creates a IamServiceBatchGetPrincipalsOK with default headers values

func (*IamServiceBatchGetPrincipalsOK) Code added in v0.68.0

Code gets the status code for the iam service batch get principals o k response

func (*IamServiceBatchGetPrincipalsOK) Error added in v0.66.0

func (*IamServiceBatchGetPrincipalsOK) GetPayload added in v0.66.0

func (*IamServiceBatchGetPrincipalsOK) IsClientError added in v0.66.0

func (o *IamServiceBatchGetPrincipalsOK) IsClientError() bool

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

func (*IamServiceBatchGetPrincipalsOK) IsCode added in v0.66.0

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

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

func (*IamServiceBatchGetPrincipalsOK) IsRedirect added in v0.66.0

func (o *IamServiceBatchGetPrincipalsOK) IsRedirect() bool

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

func (*IamServiceBatchGetPrincipalsOK) IsServerError added in v0.66.0

func (o *IamServiceBatchGetPrincipalsOK) IsServerError() bool

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

func (*IamServiceBatchGetPrincipalsOK) IsSuccess added in v0.66.0

func (o *IamServiceBatchGetPrincipalsOK) IsSuccess() bool

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

func (*IamServiceBatchGetPrincipalsOK) String added in v0.66.0

type IamServiceBatchGetPrincipalsParams added in v0.66.0

type IamServiceBatchGetPrincipalsParams struct {

	/* OrganizationID.

	   organization_id is the organization to query principals in.
	*/
	OrganizationID string

	/* PrincipalIds.

	     principal_ids is the list of principals to retrieve.
	A maximum of 1000 princiapls are allowed in a single request.
	*/
	PrincipalIds []string

	/* View.

	     view allows the caller to choose the set of principal data that is returned.
	If unset, the request defaults to PRINCIPAL_VIEW_BASIC.

	 - PRINCIPAL_VIEW_UNSPECIFIED: The default / unset value.
	 - PRINCIPAL_VIEW_BASIC: Include basic metadata about the principal, but not the principal details.
	This will return the Id and Type only.
	 - PRINCIPAL_VIEW_FULL: Include everything.

	     Default: "PRINCIPAL_VIEW_UNSPECIFIED"
	*/
	View *string

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

IamServiceBatchGetPrincipalsParams contains all the parameters to send to the API endpoint

for the iam service batch get principals operation.

Typically these are written to a http.Request.

func NewIamServiceBatchGetPrincipalsParams added in v0.66.0

func NewIamServiceBatchGetPrincipalsParams() *IamServiceBatchGetPrincipalsParams

NewIamServiceBatchGetPrincipalsParams creates a new IamServiceBatchGetPrincipalsParams 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 NewIamServiceBatchGetPrincipalsParamsWithContext added in v0.66.0

func NewIamServiceBatchGetPrincipalsParamsWithContext(ctx context.Context) *IamServiceBatchGetPrincipalsParams

NewIamServiceBatchGetPrincipalsParamsWithContext creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a context for a request.

func NewIamServiceBatchGetPrincipalsParamsWithHTTPClient added in v0.66.0

func NewIamServiceBatchGetPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceBatchGetPrincipalsParams

NewIamServiceBatchGetPrincipalsParamsWithHTTPClient creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceBatchGetPrincipalsParamsWithTimeout added in v0.66.0

func NewIamServiceBatchGetPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceBatchGetPrincipalsParams

NewIamServiceBatchGetPrincipalsParamsWithTimeout creates a new IamServiceBatchGetPrincipalsParams object with the ability to set a timeout on a request.

func (*IamServiceBatchGetPrincipalsParams) SetContext added in v0.66.0

SetContext adds the context to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) SetDefaults added in v0.66.0

func (o *IamServiceBatchGetPrincipalsParams) SetDefaults()

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

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

func (*IamServiceBatchGetPrincipalsParams) SetHTTPClient added in v0.66.0

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

SetHTTPClient adds the HTTPClient to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) SetOrganizationID added in v0.66.0

func (o *IamServiceBatchGetPrincipalsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) SetPrincipalIds added in v0.66.0

func (o *IamServiceBatchGetPrincipalsParams) SetPrincipalIds(principalIds []string)

SetPrincipalIds adds the principalIds to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) SetTimeout added in v0.66.0

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

SetTimeout adds the timeout to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) SetView added in v0.66.0

func (o *IamServiceBatchGetPrincipalsParams) SetView(view *string)

SetView adds the view to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithContext added in v0.66.0

WithContext adds the context to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithDefaults added in v0.66.0

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

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

func (*IamServiceBatchGetPrincipalsParams) WithHTTPClient added in v0.66.0

WithHTTPClient adds the HTTPClient to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithOrganizationID added in v0.66.0

func (o *IamServiceBatchGetPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceBatchGetPrincipalsParams

WithOrganizationID adds the organizationID to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithPrincipalIds added in v0.66.0

WithPrincipalIds adds the principalIds to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithTimeout added in v0.66.0

WithTimeout adds the timeout to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WithView added in v0.66.0

WithView adds the view to the iam service batch get principals params

func (*IamServiceBatchGetPrincipalsParams) WriteToRequest added in v0.66.0

WriteToRequest writes these params to a swagger request

type IamServiceBatchGetPrincipalsReader added in v0.66.0

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

IamServiceBatchGetPrincipalsReader is a Reader for the IamServiceBatchGetPrincipals structure.

func (*IamServiceBatchGetPrincipalsReader) ReadResponse added in v0.66.0

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

ReadResponse reads a server response into the received o.

type IamServiceCreateUserPrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceCreateUserPrincipalDefault added in v0.64.0

func NewIamServiceCreateUserPrincipalDefault(code int) *IamServiceCreateUserPrincipalDefault

NewIamServiceCreateUserPrincipalDefault creates a IamServiceCreateUserPrincipalDefault with default headers values

func (*IamServiceCreateUserPrincipalDefault) Code added in v0.64.0

Code gets the status code for the iam service create user principal default response

func (*IamServiceCreateUserPrincipalDefault) Error added in v0.64.0

func (*IamServiceCreateUserPrincipalDefault) GetPayload added in v0.64.0

func (*IamServiceCreateUserPrincipalDefault) IsClientError added in v0.64.0

func (o *IamServiceCreateUserPrincipalDefault) IsClientError() bool

IsClientError returns true when this iam service create user principal default response has a 4xx status code

func (*IamServiceCreateUserPrincipalDefault) IsCode added in v0.64.0

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

func (*IamServiceCreateUserPrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service create user principal default response has a 3xx status code

func (*IamServiceCreateUserPrincipalDefault) IsServerError added in v0.64.0

func (o *IamServiceCreateUserPrincipalDefault) IsServerError() bool

IsServerError returns true when this iam service create user principal default response has a 5xx status code

func (*IamServiceCreateUserPrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service create user principal default response has a 2xx status code

func (*IamServiceCreateUserPrincipalDefault) String added in v0.64.0

type IamServiceCreateUserPrincipalOK added in v0.64.0

type IamServiceCreateUserPrincipalOK struct {
	Payload *models.HashicorpCloudIamUserPrincipalResponse
}

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

A successful response.

func NewIamServiceCreateUserPrincipalOK added in v0.64.0

func NewIamServiceCreateUserPrincipalOK() *IamServiceCreateUserPrincipalOK

NewIamServiceCreateUserPrincipalOK creates a IamServiceCreateUserPrincipalOK with default headers values

func (*IamServiceCreateUserPrincipalOK) Code added in v0.68.0

Code gets the status code for the iam service create user principal o k response

func (*IamServiceCreateUserPrincipalOK) Error added in v0.64.0

func (*IamServiceCreateUserPrincipalOK) GetPayload added in v0.64.0

func (*IamServiceCreateUserPrincipalOK) IsClientError added in v0.64.0

func (o *IamServiceCreateUserPrincipalOK) IsClientError() bool

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

func (*IamServiceCreateUserPrincipalOK) IsCode added in v0.64.0

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

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

func (*IamServiceCreateUserPrincipalOK) IsRedirect added in v0.64.0

func (o *IamServiceCreateUserPrincipalOK) IsRedirect() bool

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

func (*IamServiceCreateUserPrincipalOK) IsServerError added in v0.64.0

func (o *IamServiceCreateUserPrincipalOK) IsServerError() bool

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

func (*IamServiceCreateUserPrincipalOK) IsSuccess added in v0.64.0

func (o *IamServiceCreateUserPrincipalOK) IsSuccess() bool

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

func (*IamServiceCreateUserPrincipalOK) String added in v0.64.0

type IamServiceCreateUserPrincipalParams added in v0.64.0

type IamServiceCreateUserPrincipalParams struct {

	/* Body.

	   CreateUserPrincipalRequest is the request to create a user principal on the IAM service.
	*/
	Body *models.HashicorpCloudIamCreateUserPrincipalRequest

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

IamServiceCreateUserPrincipalParams contains all the parameters to send to the API endpoint

for the iam service create user principal operation.

Typically these are written to a http.Request.

func NewIamServiceCreateUserPrincipalParams added in v0.64.0

func NewIamServiceCreateUserPrincipalParams() *IamServiceCreateUserPrincipalParams

NewIamServiceCreateUserPrincipalParams creates a new IamServiceCreateUserPrincipalParams 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 NewIamServiceCreateUserPrincipalParamsWithContext added in v0.64.0

func NewIamServiceCreateUserPrincipalParamsWithContext(ctx context.Context) *IamServiceCreateUserPrincipalParams

NewIamServiceCreateUserPrincipalParamsWithContext creates a new IamServiceCreateUserPrincipalParams object with the ability to set a context for a request.

func NewIamServiceCreateUserPrincipalParamsWithHTTPClient added in v0.64.0

func NewIamServiceCreateUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceCreateUserPrincipalParams

NewIamServiceCreateUserPrincipalParamsWithHTTPClient creates a new IamServiceCreateUserPrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceCreateUserPrincipalParamsWithTimeout added in v0.64.0

func NewIamServiceCreateUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceCreateUserPrincipalParams

NewIamServiceCreateUserPrincipalParamsWithTimeout creates a new IamServiceCreateUserPrincipalParams object with the ability to set a timeout on a request.

func (*IamServiceCreateUserPrincipalParams) SetBody added in v0.64.0

SetBody adds the body to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) SetDefaults added in v0.64.0

func (o *IamServiceCreateUserPrincipalParams) SetDefaults()

SetDefaults hydrates default values in the iam service create user principal params (not the query body).

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

func (*IamServiceCreateUserPrincipalParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) SetTimeout added in v0.64.0

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

SetTimeout adds the timeout to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) WithBody added in v0.64.0

WithBody adds the body to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service create user principal params (not the query body).

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

func (*IamServiceCreateUserPrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service create user principal params

func (*IamServiceCreateUserPrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceCreateUserPrincipalReader added in v0.64.0

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

IamServiceCreateUserPrincipalReader is a Reader for the IamServiceCreateUserPrincipal structure.

func (*IamServiceCreateUserPrincipalReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceDeleteOrganizationMembershipDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceDeleteOrganizationMembershipDefault added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipDefault(code int) *IamServiceDeleteOrganizationMembershipDefault

NewIamServiceDeleteOrganizationMembershipDefault creates a IamServiceDeleteOrganizationMembershipDefault with default headers values

func (*IamServiceDeleteOrganizationMembershipDefault) Code added in v0.64.0

Code gets the status code for the iam service delete organization membership default response

func (*IamServiceDeleteOrganizationMembershipDefault) Error added in v0.64.0

func (*IamServiceDeleteOrganizationMembershipDefault) GetPayload added in v0.64.0

func (*IamServiceDeleteOrganizationMembershipDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service delete organization membership default response has a 4xx status code

func (*IamServiceDeleteOrganizationMembershipDefault) IsCode added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service delete organization membership default response has a 3xx status code

func (*IamServiceDeleteOrganizationMembershipDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service delete organization membership default response has a 5xx status code

func (*IamServiceDeleteOrganizationMembershipDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service delete organization membership default response has a 2xx status code

func (*IamServiceDeleteOrganizationMembershipDefault) String added in v0.64.0

type IamServiceDeleteOrganizationMembershipOK added in v0.64.0

type IamServiceDeleteOrganizationMembershipOK struct {
	Payload models.HashicorpCloudIamDeleteOrganizationMembershipResponse
}

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

A successful response.

func NewIamServiceDeleteOrganizationMembershipOK added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipOK() *IamServiceDeleteOrganizationMembershipOK

NewIamServiceDeleteOrganizationMembershipOK creates a IamServiceDeleteOrganizationMembershipOK with default headers values

func (*IamServiceDeleteOrganizationMembershipOK) Code added in v0.68.0

Code gets the status code for the iam service delete organization membership o k response

func (*IamServiceDeleteOrganizationMembershipOK) Error added in v0.64.0

func (*IamServiceDeleteOrganizationMembershipOK) GetPayload added in v0.64.0

func (*IamServiceDeleteOrganizationMembershipOK) IsClientError added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipOK) IsCode added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipOK) IsRedirect added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipOK) IsServerError added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipOK) IsSuccess added in v0.64.0

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

func (*IamServiceDeleteOrganizationMembershipOK) String added in v0.64.0

type IamServiceDeleteOrganizationMembershipParams added in v0.64.0

type IamServiceDeleteOrganizationMembershipParams struct {

	/* OrganizationID.

	   organization_id is the ID of the organization the user principal is being deleted from.
	*/
	OrganizationID string

	/* UserPrincipalID.

	   user_principal_id is the ID of the user principal to delete from the organization.
	*/
	UserPrincipalID string

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

IamServiceDeleteOrganizationMembershipParams contains all the parameters to send to the API endpoint

for the iam service delete organization membership operation.

Typically these are written to a http.Request.

func NewIamServiceDeleteOrganizationMembershipParams added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipParams() *IamServiceDeleteOrganizationMembershipParams

NewIamServiceDeleteOrganizationMembershipParams creates a new IamServiceDeleteOrganizationMembershipParams 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 NewIamServiceDeleteOrganizationMembershipParamsWithContext added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipParamsWithContext(ctx context.Context) *IamServiceDeleteOrganizationMembershipParams

NewIamServiceDeleteOrganizationMembershipParamsWithContext creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a context for a request.

func NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient(client *http.Client) *IamServiceDeleteOrganizationMembershipParams

NewIamServiceDeleteOrganizationMembershipParamsWithHTTPClient creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceDeleteOrganizationMembershipParamsWithTimeout added in v0.64.0

func NewIamServiceDeleteOrganizationMembershipParamsWithTimeout(timeout time.Duration) *IamServiceDeleteOrganizationMembershipParams

NewIamServiceDeleteOrganizationMembershipParamsWithTimeout creates a new IamServiceDeleteOrganizationMembershipParams object with the ability to set a timeout on a request.

func (*IamServiceDeleteOrganizationMembershipParams) SetContext added in v0.64.0

SetContext adds the context to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service delete organization membership params (not the query body).

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

func (*IamServiceDeleteOrganizationMembershipParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) SetOrganizationID added in v0.64.0

func (o *IamServiceDeleteOrganizationMembershipParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) SetUserPrincipalID added in v0.64.0

func (o *IamServiceDeleteOrganizationMembershipParams) SetUserPrincipalID(userPrincipalID string)

SetUserPrincipalID adds the userPrincipalId to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WithContext added in v0.64.0

WithContext adds the context to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service delete organization membership params (not the query body).

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

func (*IamServiceDeleteOrganizationMembershipParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WithUserPrincipalID added in v0.64.0

WithUserPrincipalID adds the userPrincipalID to the iam service delete organization membership params

func (*IamServiceDeleteOrganizationMembershipParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceDeleteOrganizationMembershipReader added in v0.64.0

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

IamServiceDeleteOrganizationMembershipReader is a Reader for the IamServiceDeleteOrganizationMembership structure.

func (*IamServiceDeleteOrganizationMembershipReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceGetCallerIdentityDefault added in v0.65.0

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

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

An unexpected error response.

func NewIamServiceGetCallerIdentityDefault added in v0.65.0

func NewIamServiceGetCallerIdentityDefault(code int) *IamServiceGetCallerIdentityDefault

NewIamServiceGetCallerIdentityDefault creates a IamServiceGetCallerIdentityDefault with default headers values

func (*IamServiceGetCallerIdentityDefault) Code added in v0.65.0

Code gets the status code for the iam service get caller identity default response

func (*IamServiceGetCallerIdentityDefault) Error added in v0.65.0

func (*IamServiceGetCallerIdentityDefault) GetPayload added in v0.65.0

func (*IamServiceGetCallerIdentityDefault) IsClientError added in v0.65.0

func (o *IamServiceGetCallerIdentityDefault) IsClientError() bool

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

func (*IamServiceGetCallerIdentityDefault) IsCode added in v0.65.0

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

func (*IamServiceGetCallerIdentityDefault) IsRedirect added in v0.65.0

func (o *IamServiceGetCallerIdentityDefault) IsRedirect() bool

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

func (*IamServiceGetCallerIdentityDefault) IsServerError added in v0.65.0

func (o *IamServiceGetCallerIdentityDefault) IsServerError() bool

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

func (*IamServiceGetCallerIdentityDefault) IsSuccess added in v0.65.0

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

func (*IamServiceGetCallerIdentityDefault) String added in v0.65.0

type IamServiceGetCallerIdentityOK added in v0.65.0

type IamServiceGetCallerIdentityOK struct {
	Payload *models.HashicorpCloudIamGetCallerIdentityResponse
}

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

A successful response.

func NewIamServiceGetCallerIdentityOK added in v0.65.0

func NewIamServiceGetCallerIdentityOK() *IamServiceGetCallerIdentityOK

NewIamServiceGetCallerIdentityOK creates a IamServiceGetCallerIdentityOK with default headers values

func (*IamServiceGetCallerIdentityOK) Code added in v0.68.0

Code gets the status code for the iam service get caller identity o k response

func (*IamServiceGetCallerIdentityOK) Error added in v0.65.0

func (*IamServiceGetCallerIdentityOK) GetPayload added in v0.65.0

func (*IamServiceGetCallerIdentityOK) IsClientError added in v0.65.0

func (o *IamServiceGetCallerIdentityOK) IsClientError() bool

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

func (*IamServiceGetCallerIdentityOK) IsCode added in v0.65.0

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

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

func (*IamServiceGetCallerIdentityOK) IsRedirect added in v0.65.0

func (o *IamServiceGetCallerIdentityOK) IsRedirect() bool

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

func (*IamServiceGetCallerIdentityOK) IsServerError added in v0.65.0

func (o *IamServiceGetCallerIdentityOK) IsServerError() bool

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

func (*IamServiceGetCallerIdentityOK) IsSuccess added in v0.65.0

func (o *IamServiceGetCallerIdentityOK) IsSuccess() bool

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

func (*IamServiceGetCallerIdentityOK) String added in v0.65.0

type IamServiceGetCallerIdentityParams added in v0.65.0

type IamServiceGetCallerIdentityParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IamServiceGetCallerIdentityParams contains all the parameters to send to the API endpoint

for the iam service get caller identity operation.

Typically these are written to a http.Request.

func NewIamServiceGetCallerIdentityParams added in v0.65.0

func NewIamServiceGetCallerIdentityParams() *IamServiceGetCallerIdentityParams

NewIamServiceGetCallerIdentityParams creates a new IamServiceGetCallerIdentityParams 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 NewIamServiceGetCallerIdentityParamsWithContext added in v0.65.0

func NewIamServiceGetCallerIdentityParamsWithContext(ctx context.Context) *IamServiceGetCallerIdentityParams

NewIamServiceGetCallerIdentityParamsWithContext creates a new IamServiceGetCallerIdentityParams object with the ability to set a context for a request.

func NewIamServiceGetCallerIdentityParamsWithHTTPClient added in v0.65.0

func NewIamServiceGetCallerIdentityParamsWithHTTPClient(client *http.Client) *IamServiceGetCallerIdentityParams

NewIamServiceGetCallerIdentityParamsWithHTTPClient creates a new IamServiceGetCallerIdentityParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceGetCallerIdentityParamsWithTimeout added in v0.65.0

func NewIamServiceGetCallerIdentityParamsWithTimeout(timeout time.Duration) *IamServiceGetCallerIdentityParams

NewIamServiceGetCallerIdentityParamsWithTimeout creates a new IamServiceGetCallerIdentityParams object with the ability to set a timeout on a request.

func (*IamServiceGetCallerIdentityParams) SetContext added in v0.65.0

SetContext adds the context to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) SetDefaults added in v0.65.0

func (o *IamServiceGetCallerIdentityParams) SetDefaults()

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

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

func (*IamServiceGetCallerIdentityParams) SetHTTPClient added in v0.65.0

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

SetHTTPClient adds the HTTPClient to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) SetTimeout added in v0.65.0

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

SetTimeout adds the timeout to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) WithContext added in v0.65.0

WithContext adds the context to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) WithDefaults added in v0.65.0

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

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

func (*IamServiceGetCallerIdentityParams) WithHTTPClient added in v0.65.0

WithHTTPClient adds the HTTPClient to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) WithTimeout added in v0.65.0

WithTimeout adds the timeout to the iam service get caller identity params

func (*IamServiceGetCallerIdentityParams) WriteToRequest added in v0.65.0

WriteToRequest writes these params to a swagger request

type IamServiceGetCallerIdentityReader added in v0.65.0

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

IamServiceGetCallerIdentityReader is a Reader for the IamServiceGetCallerIdentity structure.

func (*IamServiceGetCallerIdentityReader) ReadResponse added in v0.65.0

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

ReadResponse reads a server response into the received o.

type IamServiceGetCurrentUserPrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceGetCurrentUserPrincipalDefault added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalDefault(code int) *IamServiceGetCurrentUserPrincipalDefault

NewIamServiceGetCurrentUserPrincipalDefault creates a IamServiceGetCurrentUserPrincipalDefault with default headers values

func (*IamServiceGetCurrentUserPrincipalDefault) Code added in v0.64.0

Code gets the status code for the iam service get current user principal default response

func (*IamServiceGetCurrentUserPrincipalDefault) Error added in v0.64.0

func (*IamServiceGetCurrentUserPrincipalDefault) GetPayload added in v0.64.0

func (*IamServiceGetCurrentUserPrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service get current user principal default response has a 4xx status code

func (*IamServiceGetCurrentUserPrincipalDefault) IsCode added in v0.64.0

IsCode returns true when this iam service get current user principal default response a status code equal to that given

func (*IamServiceGetCurrentUserPrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get current user principal default response has a 3xx status code

func (*IamServiceGetCurrentUserPrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service get current user principal default response has a 5xx status code

func (*IamServiceGetCurrentUserPrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get current user principal default response has a 2xx status code

func (*IamServiceGetCurrentUserPrincipalDefault) String added in v0.64.0

type IamServiceGetCurrentUserPrincipalOK added in v0.64.0

type IamServiceGetCurrentUserPrincipalOK struct {
	Payload *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
}

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

A successful response.

func NewIamServiceGetCurrentUserPrincipalOK added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalOK() *IamServiceGetCurrentUserPrincipalOK

NewIamServiceGetCurrentUserPrincipalOK creates a IamServiceGetCurrentUserPrincipalOK with default headers values

func (*IamServiceGetCurrentUserPrincipalOK) Code added in v0.68.0

Code gets the status code for the iam service get current user principal o k response

func (*IamServiceGetCurrentUserPrincipalOK) Error added in v0.64.0

func (*IamServiceGetCurrentUserPrincipalOK) GetPayload added in v0.64.0

func (*IamServiceGetCurrentUserPrincipalOK) IsClientError added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalOK) IsClientError() bool

IsClientError returns true when this iam service get current user principal o k response has a 4xx status code

func (*IamServiceGetCurrentUserPrincipalOK) IsCode added in v0.64.0

IsCode returns true when this iam service get current user principal o k response a status code equal to that given

func (*IamServiceGetCurrentUserPrincipalOK) IsRedirect added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalOK) IsRedirect() bool

IsRedirect returns true when this iam service get current user principal o k response has a 3xx status code

func (*IamServiceGetCurrentUserPrincipalOK) IsServerError added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalOK) IsServerError() bool

IsServerError returns true when this iam service get current user principal o k response has a 5xx status code

func (*IamServiceGetCurrentUserPrincipalOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get current user principal o k response has a 2xx status code

func (*IamServiceGetCurrentUserPrincipalOK) String added in v0.64.0

type IamServiceGetCurrentUserPrincipalParams added in v0.64.0

type IamServiceGetCurrentUserPrincipalParams struct {

	/* WebPortalPreferences.

	     web_portal_preferences is a flag indicating whether user's portal preferences
	need to be included or not. Typically the HCP Web Portal JS application will
	set this option to true, as its the main consumer of this data. Other clients
	(e.g. a CLI, a TF provider) will not need to enable it.
	*/
	WebPortalPreferences *bool

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

IamServiceGetCurrentUserPrincipalParams contains all the parameters to send to the API endpoint

for the iam service get current user principal operation.

Typically these are written to a http.Request.

func NewIamServiceGetCurrentUserPrincipalParams added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalParams() *IamServiceGetCurrentUserPrincipalParams

NewIamServiceGetCurrentUserPrincipalParams creates a new IamServiceGetCurrentUserPrincipalParams 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 NewIamServiceGetCurrentUserPrincipalParamsWithContext added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalParamsWithContext(ctx context.Context) *IamServiceGetCurrentUserPrincipalParams

NewIamServiceGetCurrentUserPrincipalParamsWithContext creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a context for a request.

func NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient(client *http.Client) *IamServiceGetCurrentUserPrincipalParams

NewIamServiceGetCurrentUserPrincipalParamsWithHTTPClient creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceGetCurrentUserPrincipalParamsWithTimeout added in v0.64.0

func NewIamServiceGetCurrentUserPrincipalParamsWithTimeout(timeout time.Duration) *IamServiceGetCurrentUserPrincipalParams

NewIamServiceGetCurrentUserPrincipalParamsWithTimeout creates a new IamServiceGetCurrentUserPrincipalParams object with the ability to set a timeout on a request.

func (*IamServiceGetCurrentUserPrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) SetDefaults added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalParams) SetDefaults()

SetDefaults hydrates default values in the iam service get current user principal params (not the query body).

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

func (*IamServiceGetCurrentUserPrincipalParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) SetTimeout added in v0.64.0

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

SetTimeout adds the timeout to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) SetWebPortalPreferences added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalParams) SetWebPortalPreferences(webPortalPreferences *bool)

SetWebPortalPreferences adds the webPortalPreferences to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service get current user principal params (not the query body).

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

func (*IamServiceGetCurrentUserPrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) WithWebPortalPreferences added in v0.64.0

func (o *IamServiceGetCurrentUserPrincipalParams) WithWebPortalPreferences(webPortalPreferences *bool) *IamServiceGetCurrentUserPrincipalParams

WithWebPortalPreferences adds the webPortalPreferences to the iam service get current user principal params

func (*IamServiceGetCurrentUserPrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceGetCurrentUserPrincipalReader added in v0.64.0

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

IamServiceGetCurrentUserPrincipalReader is a Reader for the IamServiceGetCurrentUserPrincipal structure.

func (*IamServiceGetCurrentUserPrincipalReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceGetOrganizationAuthMetadataDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceGetOrganizationAuthMetadataDefault added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataDefault(code int) *IamServiceGetOrganizationAuthMetadataDefault

NewIamServiceGetOrganizationAuthMetadataDefault creates a IamServiceGetOrganizationAuthMetadataDefault with default headers values

func (*IamServiceGetOrganizationAuthMetadataDefault) Code added in v0.64.0

Code gets the status code for the iam service get organization auth metadata default response

func (*IamServiceGetOrganizationAuthMetadataDefault) Error added in v0.64.0

func (*IamServiceGetOrganizationAuthMetadataDefault) GetPayload added in v0.64.0

func (*IamServiceGetOrganizationAuthMetadataDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service get organization auth metadata default response has a 4xx status code

func (*IamServiceGetOrganizationAuthMetadataDefault) IsCode added in v0.64.0

IsCode returns true when this iam service get organization auth metadata default response a status code equal to that given

func (*IamServiceGetOrganizationAuthMetadataDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get organization auth metadata default response has a 3xx status code

func (*IamServiceGetOrganizationAuthMetadataDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service get organization auth metadata default response has a 5xx status code

func (*IamServiceGetOrganizationAuthMetadataDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get organization auth metadata default response has a 2xx status code

func (*IamServiceGetOrganizationAuthMetadataDefault) String added in v0.64.0

type IamServiceGetOrganizationAuthMetadataOK added in v0.64.0

type IamServiceGetOrganizationAuthMetadataOK struct {
	Payload *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
}

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

A successful response.

func NewIamServiceGetOrganizationAuthMetadataOK added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataOK() *IamServiceGetOrganizationAuthMetadataOK

NewIamServiceGetOrganizationAuthMetadataOK creates a IamServiceGetOrganizationAuthMetadataOK with default headers values

func (*IamServiceGetOrganizationAuthMetadataOK) Code added in v0.68.0

Code gets the status code for the iam service get organization auth metadata o k response

func (*IamServiceGetOrganizationAuthMetadataOK) Error added in v0.64.0

func (*IamServiceGetOrganizationAuthMetadataOK) GetPayload added in v0.64.0

func (*IamServiceGetOrganizationAuthMetadataOK) IsClientError added in v0.64.0

func (o *IamServiceGetOrganizationAuthMetadataOK) IsClientError() bool

IsClientError returns true when this iam service get organization auth metadata o k response has a 4xx status code

func (*IamServiceGetOrganizationAuthMetadataOK) IsCode added in v0.64.0

IsCode returns true when this iam service get organization auth metadata o k response a status code equal to that given

func (*IamServiceGetOrganizationAuthMetadataOK) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get organization auth metadata o k response has a 3xx status code

func (*IamServiceGetOrganizationAuthMetadataOK) IsServerError added in v0.64.0

func (o *IamServiceGetOrganizationAuthMetadataOK) IsServerError() bool

IsServerError returns true when this iam service get organization auth metadata o k response has a 5xx status code

func (*IamServiceGetOrganizationAuthMetadataOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get organization auth metadata o k response has a 2xx status code

func (*IamServiceGetOrganizationAuthMetadataOK) String added in v0.64.0

type IamServiceGetOrganizationAuthMetadataParams added in v0.64.0

type IamServiceGetOrganizationAuthMetadataParams struct {

	/* OrganizationID.

	     organization_id is the UUID identifier of the organization for which
	authentication metadata will be retrieved.
	*/
	OrganizationID string

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

IamServiceGetOrganizationAuthMetadataParams contains all the parameters to send to the API endpoint

for the iam service get organization auth metadata operation.

Typically these are written to a http.Request.

func NewIamServiceGetOrganizationAuthMetadataParams added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataParams() *IamServiceGetOrganizationAuthMetadataParams

NewIamServiceGetOrganizationAuthMetadataParams creates a new IamServiceGetOrganizationAuthMetadataParams 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 NewIamServiceGetOrganizationAuthMetadataParamsWithContext added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataParamsWithContext(ctx context.Context) *IamServiceGetOrganizationAuthMetadataParams

NewIamServiceGetOrganizationAuthMetadataParamsWithContext creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a context for a request.

func NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient(client *http.Client) *IamServiceGetOrganizationAuthMetadataParams

NewIamServiceGetOrganizationAuthMetadataParamsWithHTTPClient creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout added in v0.64.0

func NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout(timeout time.Duration) *IamServiceGetOrganizationAuthMetadataParams

NewIamServiceGetOrganizationAuthMetadataParamsWithTimeout creates a new IamServiceGetOrganizationAuthMetadataParams object with the ability to set a timeout on a request.

func (*IamServiceGetOrganizationAuthMetadataParams) SetContext added in v0.64.0

SetContext adds the context to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service get organization auth metadata params (not the query body).

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

func (*IamServiceGetOrganizationAuthMetadataParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) SetOrganizationID added in v0.64.0

func (o *IamServiceGetOrganizationAuthMetadataParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) WithContext added in v0.64.0

WithContext adds the context to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service get organization auth metadata params (not the query body).

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

func (*IamServiceGetOrganizationAuthMetadataParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service get organization auth metadata params

func (*IamServiceGetOrganizationAuthMetadataParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceGetOrganizationAuthMetadataReader added in v0.64.0

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

IamServiceGetOrganizationAuthMetadataReader is a Reader for the IamServiceGetOrganizationAuthMetadata structure.

func (*IamServiceGetOrganizationAuthMetadataReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceGetUserPrincipalByIDInOrganizationDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceGetUserPrincipalByIDInOrganizationDefault added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationDefault(code int) *IamServiceGetUserPrincipalByIDInOrganizationDefault

NewIamServiceGetUserPrincipalByIDInOrganizationDefault creates a IamServiceGetUserPrincipalByIDInOrganizationDefault with default headers values

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) Code added in v0.64.0

Code gets the status code for the iam service get user principal by Id in organization default response

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) Error added in v0.64.0

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) GetPayload added in v0.64.0

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service get user principal by Id in organization default response has a 4xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsCode added in v0.64.0

IsCode returns true when this iam service get user principal by Id in organization default response a status code equal to that given

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get user principal by Id in organization default response has a 3xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service get user principal by Id in organization default response has a 5xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get user principal by Id in organization default response has a 2xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationDefault) String added in v0.64.0

type IamServiceGetUserPrincipalByIDInOrganizationOK added in v0.64.0

type IamServiceGetUserPrincipalByIDInOrganizationOK struct {
	Payload *models.HashicorpCloudIamUserPrincipalResponse
}

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

A successful response.

func NewIamServiceGetUserPrincipalByIDInOrganizationOK added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationOK() *IamServiceGetUserPrincipalByIDInOrganizationOK

NewIamServiceGetUserPrincipalByIDInOrganizationOK creates a IamServiceGetUserPrincipalByIDInOrganizationOK with default headers values

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) Code added in v0.68.0

Code gets the status code for the iam service get user principal by Id in organization o k response

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) Error added in v0.64.0

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) GetPayload added in v0.64.0

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsClientError added in v0.64.0

IsClientError returns true when this iam service get user principal by Id in organization o k response has a 4xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsCode added in v0.64.0

IsCode returns true when this iam service get user principal by Id in organization o k response a status code equal to that given

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get user principal by Id in organization o k response has a 3xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsServerError added in v0.64.0

IsServerError returns true when this iam service get user principal by Id in organization o k response has a 5xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get user principal by Id in organization o k response has a 2xx status code

func (*IamServiceGetUserPrincipalByIDInOrganizationOK) String added in v0.64.0

type IamServiceGetUserPrincipalByIDInOrganizationParams added in v0.64.0

type IamServiceGetUserPrincipalByIDInOrganizationParams struct {

	/* OrganizationID.

	   organization_id is the organization_id the requested user principal belongs to.
	*/
	OrganizationID string

	/* UserPrincipalID.

	   user_principal_id is the user ID for the requested user principal.
	*/
	UserPrincipalID string

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

IamServiceGetUserPrincipalByIDInOrganizationParams contains all the parameters to send to the API endpoint

for the iam service get user principal by Id in organization operation.

Typically these are written to a http.Request.

func NewIamServiceGetUserPrincipalByIDInOrganizationParams added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationParams() *IamServiceGetUserPrincipalByIDInOrganizationParams

NewIamServiceGetUserPrincipalByIDInOrganizationParams creates a new IamServiceGetUserPrincipalByIDInOrganizationParams 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 NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalByIDInOrganizationParams

NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithContext creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a context for a request.

func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalByIDInOrganizationParams

NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithHTTPClient creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout added in v0.64.0

func NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalByIDInOrganizationParams

NewIamServiceGetUserPrincipalByIDInOrganizationParamsWithTimeout creates a new IamServiceGetUserPrincipalByIDInOrganizationParams object with the ability to set a timeout on a request.

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetContext added in v0.64.0

SetContext adds the context to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service get user principal by Id in organization params (not the query body).

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

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetOrganizationID added in v0.64.0

func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID added in v0.64.0

func (o *IamServiceGetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID(userPrincipalID string)

SetUserPrincipalID adds the userPrincipalId to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithContext added in v0.64.0

WithContext adds the context to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service get user principal by Id in organization params (not the query body).

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

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID added in v0.64.0

WithUserPrincipalID adds the userPrincipalID to the iam service get user principal by Id in organization params

func (*IamServiceGetUserPrincipalByIDInOrganizationParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceGetUserPrincipalByIDInOrganizationReader added in v0.64.0

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

IamServiceGetUserPrincipalByIDInOrganizationReader is a Reader for the IamServiceGetUserPrincipalByIDInOrganization structure.

func (*IamServiceGetUserPrincipalByIDInOrganizationReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceGetUserPrincipalsByIDsInOrganizationBody added in v0.68.0

type IamServiceGetUserPrincipalsByIDsInOrganizationBody struct {

	// ids is a list of user IDs to look up
	Ids []string `json:"ids"`
}

IamServiceGetUserPrincipalsByIDsInOrganizationBody GetUserPrincipalsByIDsInOrganizationRequest is a request for users by ID in a given organization swagger:model IamServiceGetUserPrincipalsByIDsInOrganizationBody

func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) ContextValidate added in v0.68.0

ContextValidate validates this iam service get user principals by i ds in organization body based on context it is used

func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*IamServiceGetUserPrincipalsByIDsInOrganizationBody) Validate added in v0.68.0

Validate validates this iam service get user principals by i ds in organization body

type IamServiceGetUserPrincipalsByIDsInOrganizationDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault(code int) *IamServiceGetUserPrincipalsByIDsInOrganizationDefault

NewIamServiceGetUserPrincipalsByIDsInOrganizationDefault creates a IamServiceGetUserPrincipalsByIDsInOrganizationDefault with default headers values

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Code added in v0.64.0

Code gets the status code for the iam service get user principals by i ds in organization default response

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) Error added in v0.64.0

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) GetPayload added in v0.64.0

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service get user principals by i ds in organization default response has a 4xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsCode added in v0.64.0

IsCode returns true when this iam service get user principals by i ds in organization default response a status code equal to that given

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get user principals by i ds in organization default response has a 3xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service get user principals by i ds in organization default response has a 5xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get user principals by i ds in organization default response has a 2xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationDefault) String added in v0.64.0

type IamServiceGetUserPrincipalsByIDsInOrganizationOK added in v0.64.0

type IamServiceGetUserPrincipalsByIDsInOrganizationOK struct {
	Payload *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse
}

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

A successful response.

func NewIamServiceGetUserPrincipalsByIDsInOrganizationOK added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationOK() *IamServiceGetUserPrincipalsByIDsInOrganizationOK

NewIamServiceGetUserPrincipalsByIDsInOrganizationOK creates a IamServiceGetUserPrincipalsByIDsInOrganizationOK with default headers values

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) Code added in v0.68.0

Code gets the status code for the iam service get user principals by i ds in organization o k response

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) Error added in v0.64.0

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) GetPayload added in v0.64.0

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsClientError added in v0.64.0

IsClientError returns true when this iam service get user principals by i ds in organization o k response has a 4xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsCode added in v0.64.0

IsCode returns true when this iam service get user principals by i ds in organization o k response a status code equal to that given

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service get user principals by i ds in organization o k response has a 3xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsServerError added in v0.64.0

IsServerError returns true when this iam service get user principals by i ds in organization o k response has a 5xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service get user principals by i ds in organization o k response has a 2xx status code

func (*IamServiceGetUserPrincipalsByIDsInOrganizationOK) String added in v0.64.0

type IamServiceGetUserPrincipalsByIDsInOrganizationParams added in v0.64.0

type IamServiceGetUserPrincipalsByIDsInOrganizationParams struct {

	// Body.
	Body IamServiceGetUserPrincipalsByIDsInOrganizationBody

	/* OrganizationID.

	   organization_id is the ID of organization for users to look up
	*/
	OrganizationID string

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

IamServiceGetUserPrincipalsByIDsInOrganizationParams contains all the parameters to send to the API endpoint

for the iam service get user principals by i ds in organization operation.

Typically these are written to a http.Request.

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParams added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParams() *IamServiceGetUserPrincipalsByIDsInOrganizationParams

NewIamServiceGetUserPrincipalsByIDsInOrganizationParams creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams 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 NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext(ctx context.Context) *IamServiceGetUserPrincipalsByIDsInOrganizationParams

NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithContext creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a context for a request.

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceGetUserPrincipalsByIDsInOrganizationParams

NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout added in v0.64.0

func NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceGetUserPrincipalsByIDsInOrganizationParams

NewIamServiceGetUserPrincipalsByIDsInOrganizationParamsWithTimeout creates a new IamServiceGetUserPrincipalsByIDsInOrganizationParams object with the ability to set a timeout on a request.

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetBody added in v0.64.0

SetBody adds the body to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetContext added in v0.64.0

SetContext adds the context to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service get user principals by i ds in organization params (not the query body).

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

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID added in v0.64.0

func (o *IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithBody added in v0.64.0

WithBody adds the body to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithContext added in v0.64.0

WithContext adds the context to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service get user principals by i ds in organization params (not the query body).

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

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service get user principals by i ds in organization params

func (*IamServiceGetUserPrincipalsByIDsInOrganizationParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceGetUserPrincipalsByIDsInOrganizationReader added in v0.64.0

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

IamServiceGetUserPrincipalsByIDsInOrganizationReader is a Reader for the IamServiceGetUserPrincipalsByIDsInOrganization structure.

func (*IamServiceGetUserPrincipalsByIDsInOrganizationReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceListUserPrincipalsByOrganizationDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceListUserPrincipalsByOrganizationDefault added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationDefault(code int) *IamServiceListUserPrincipalsByOrganizationDefault

NewIamServiceListUserPrincipalsByOrganizationDefault creates a IamServiceListUserPrincipalsByOrganizationDefault with default headers values

func (*IamServiceListUserPrincipalsByOrganizationDefault) Code added in v0.64.0

Code gets the status code for the iam service list user principals by organization default response

func (*IamServiceListUserPrincipalsByOrganizationDefault) Error added in v0.64.0

func (*IamServiceListUserPrincipalsByOrganizationDefault) GetPayload added in v0.64.0

func (*IamServiceListUserPrincipalsByOrganizationDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service list user principals by organization default response has a 4xx status code

func (*IamServiceListUserPrincipalsByOrganizationDefault) IsCode added in v0.64.0

IsCode returns true when this iam service list user principals by organization default response a status code equal to that given

func (*IamServiceListUserPrincipalsByOrganizationDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service list user principals by organization default response has a 3xx status code

func (*IamServiceListUserPrincipalsByOrganizationDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service list user principals by organization default response has a 5xx status code

func (*IamServiceListUserPrincipalsByOrganizationDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service list user principals by organization default response has a 2xx status code

func (*IamServiceListUserPrincipalsByOrganizationDefault) String added in v0.64.0

type IamServiceListUserPrincipalsByOrganizationOK added in v0.64.0

type IamServiceListUserPrincipalsByOrganizationOK struct {
	Payload *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
}

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

A successful response.

func NewIamServiceListUserPrincipalsByOrganizationOK added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationOK() *IamServiceListUserPrincipalsByOrganizationOK

NewIamServiceListUserPrincipalsByOrganizationOK creates a IamServiceListUserPrincipalsByOrganizationOK with default headers values

func (*IamServiceListUserPrincipalsByOrganizationOK) Code added in v0.68.0

Code gets the status code for the iam service list user principals by organization o k response

func (*IamServiceListUserPrincipalsByOrganizationOK) Error added in v0.64.0

func (*IamServiceListUserPrincipalsByOrganizationOK) GetPayload added in v0.64.0

func (*IamServiceListUserPrincipalsByOrganizationOK) IsClientError added in v0.64.0

IsClientError returns true when this iam service list user principals by organization o k response has a 4xx status code

func (*IamServiceListUserPrincipalsByOrganizationOK) IsCode added in v0.64.0

IsCode returns true when this iam service list user principals by organization o k response a status code equal to that given

func (*IamServiceListUserPrincipalsByOrganizationOK) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service list user principals by organization o k response has a 3xx status code

func (*IamServiceListUserPrincipalsByOrganizationOK) IsServerError added in v0.64.0

IsServerError returns true when this iam service list user principals by organization o k response has a 5xx status code

func (*IamServiceListUserPrincipalsByOrganizationOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service list user principals by organization o k response has a 2xx status code

func (*IamServiceListUserPrincipalsByOrganizationOK) String added in v0.64.0

type IamServiceListUserPrincipalsByOrganizationParams added in v0.64.0

type IamServiceListUserPrincipalsByOrganizationParams struct {

	/* OrganizationID.

	   organization_id is the UUID of an organization.
	*/
	OrganizationID string

	/* 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

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

IamServiceListUserPrincipalsByOrganizationParams contains all the parameters to send to the API endpoint

for the iam service list user principals by organization operation.

Typically these are written to a http.Request.

func NewIamServiceListUserPrincipalsByOrganizationParams added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationParams() *IamServiceListUserPrincipalsByOrganizationParams

NewIamServiceListUserPrincipalsByOrganizationParams creates a new IamServiceListUserPrincipalsByOrganizationParams 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 NewIamServiceListUserPrincipalsByOrganizationParamsWithContext added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationParamsWithContext(ctx context.Context) *IamServiceListUserPrincipalsByOrganizationParams

NewIamServiceListUserPrincipalsByOrganizationParamsWithContext creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a context for a request.

func NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient(client *http.Client) *IamServiceListUserPrincipalsByOrganizationParams

NewIamServiceListUserPrincipalsByOrganizationParamsWithHTTPClient creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout added in v0.64.0

func NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout(timeout time.Duration) *IamServiceListUserPrincipalsByOrganizationParams

NewIamServiceListUserPrincipalsByOrganizationParamsWithTimeout creates a new IamServiceListUserPrincipalsByOrganizationParams object with the ability to set a timeout on a request.

func (*IamServiceListUserPrincipalsByOrganizationParams) SetContext added in v0.64.0

SetContext adds the context to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service list user principals by organization params (not the query body).

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

func (*IamServiceListUserPrincipalsByOrganizationParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetOrganizationID added in v0.64.0

func (o *IamServiceListUserPrincipalsByOrganizationParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken added in v0.64.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPageSize added in v0.64.0

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

SetPaginationPageSize adds the paginationPageSize to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken added in v0.64.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithContext added in v0.64.0

WithContext adds the context to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service list user principals by organization params (not the query body).

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

func (*IamServiceListUserPrincipalsByOrganizationParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken added in v0.64.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPageSize added in v0.64.0

WithPaginationPageSize adds the paginationPageSize to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken added in v0.64.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service list user principals by organization params

func (*IamServiceListUserPrincipalsByOrganizationParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceListUserPrincipalsByOrganizationReader added in v0.64.0

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

IamServiceListUserPrincipalsByOrganizationReader is a Reader for the IamServiceListUserPrincipalsByOrganization structure.

func (*IamServiceListUserPrincipalsByOrganizationReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServicePingDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServicePingDefault added in v0.64.0

func NewIamServicePingDefault(code int) *IamServicePingDefault

NewIamServicePingDefault creates a IamServicePingDefault with default headers values

func (*IamServicePingDefault) Code added in v0.64.0

func (o *IamServicePingDefault) Code() int

Code gets the status code for the iam service ping default response

func (*IamServicePingDefault) Error added in v0.64.0

func (o *IamServicePingDefault) Error() string

func (*IamServicePingDefault) GetPayload added in v0.64.0

func (o *IamServicePingDefault) GetPayload() *cloud.GoogleRPCStatus

func (*IamServicePingDefault) IsClientError added in v0.64.0

func (o *IamServicePingDefault) IsClientError() bool

IsClientError returns true when this iam service ping default response has a 4xx status code

func (*IamServicePingDefault) IsCode added in v0.64.0

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

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

func (*IamServicePingDefault) IsRedirect added in v0.64.0

func (o *IamServicePingDefault) IsRedirect() bool

IsRedirect returns true when this iam service ping default response has a 3xx status code

func (*IamServicePingDefault) IsServerError added in v0.64.0

func (o *IamServicePingDefault) IsServerError() bool

IsServerError returns true when this iam service ping default response has a 5xx status code

func (*IamServicePingDefault) IsSuccess added in v0.64.0

func (o *IamServicePingDefault) IsSuccess() bool

IsSuccess returns true when this iam service ping default response has a 2xx status code

func (*IamServicePingDefault) String added in v0.64.0

func (o *IamServicePingDefault) String() string

type IamServicePingOK added in v0.64.0

type IamServicePingOK struct {
	Payload models.HashicorpCloudIamPingResponse
}

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

A successful response.

func NewIamServicePingOK added in v0.64.0

func NewIamServicePingOK() *IamServicePingOK

NewIamServicePingOK creates a IamServicePingOK with default headers values

func (*IamServicePingOK) Code added in v0.68.0

func (o *IamServicePingOK) Code() int

Code gets the status code for the iam service ping o k response

func (*IamServicePingOK) Error added in v0.64.0

func (o *IamServicePingOK) Error() string

func (*IamServicePingOK) GetPayload added in v0.64.0

func (*IamServicePingOK) IsClientError added in v0.64.0

func (o *IamServicePingOK) IsClientError() bool

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

func (*IamServicePingOK) IsCode added in v0.64.0

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

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

func (*IamServicePingOK) IsRedirect added in v0.64.0

func (o *IamServicePingOK) IsRedirect() bool

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

func (*IamServicePingOK) IsServerError added in v0.64.0

func (o *IamServicePingOK) IsServerError() bool

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

func (*IamServicePingOK) IsSuccess added in v0.64.0

func (o *IamServicePingOK) IsSuccess() bool

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

func (*IamServicePingOK) String added in v0.64.0

func (o *IamServicePingOK) String() string

type IamServicePingParams added in v0.64.0

type IamServicePingParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

IamServicePingParams contains all the parameters to send to the API endpoint

for the iam service ping operation.

Typically these are written to a http.Request.

func NewIamServicePingParams added in v0.64.0

func NewIamServicePingParams() *IamServicePingParams

NewIamServicePingParams creates a new IamServicePingParams 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 NewIamServicePingParamsWithContext added in v0.64.0

func NewIamServicePingParamsWithContext(ctx context.Context) *IamServicePingParams

NewIamServicePingParamsWithContext creates a new IamServicePingParams object with the ability to set a context for a request.

func NewIamServicePingParamsWithHTTPClient added in v0.64.0

func NewIamServicePingParamsWithHTTPClient(client *http.Client) *IamServicePingParams

NewIamServicePingParamsWithHTTPClient creates a new IamServicePingParams object with the ability to set a custom HTTPClient for a request.

func NewIamServicePingParamsWithTimeout added in v0.64.0

func NewIamServicePingParamsWithTimeout(timeout time.Duration) *IamServicePingParams

NewIamServicePingParamsWithTimeout creates a new IamServicePingParams object with the ability to set a timeout on a request.

func (*IamServicePingParams) SetContext added in v0.64.0

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

SetContext adds the context to the iam service ping params

func (*IamServicePingParams) SetDefaults added in v0.64.0

func (o *IamServicePingParams) SetDefaults()

SetDefaults hydrates default values in the iam service ping params (not the query body).

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

func (*IamServicePingParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service ping params

func (*IamServicePingParams) SetTimeout added in v0.64.0

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

SetTimeout adds the timeout to the iam service ping params

func (*IamServicePingParams) WithContext added in v0.64.0

WithContext adds the context to the iam service ping params

func (*IamServicePingParams) WithDefaults added in v0.64.0

func (o *IamServicePingParams) WithDefaults() *IamServicePingParams

WithDefaults hydrates default values in the iam service ping params (not the query body).

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

func (*IamServicePingParams) WithHTTPClient added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the iam service ping params

func (*IamServicePingParams) WithTimeout added in v0.64.0

func (o *IamServicePingParams) WithTimeout(timeout time.Duration) *IamServicePingParams

WithTimeout adds the timeout to the iam service ping params

func (*IamServicePingParams) WriteToRequest added in v0.64.0

func (o *IamServicePingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type IamServicePingReader added in v0.64.0

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

IamServicePingReader is a Reader for the IamServicePing structure.

func (*IamServicePingReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceSearchPrincipalsBody added in v0.68.0

type IamServiceSearchPrincipalsBody struct {

	// filter contains optional fields to filter the search results down.
	Filter *models.HashicorpCloudIamSearchPrincipalsFilter `json:"filter,omitempty"`

	// pagination contains page data.
	Pagination *cloud.HashicorpCloudCommonPaginationRequest `json:"pagination,omitempty"`
}

IamServiceSearchPrincipalsBody SearchPrincipalsRequest is the request to the SearchPrincipals rpc. swagger:model IamServiceSearchPrincipalsBody

func (*IamServiceSearchPrincipalsBody) ContextValidate added in v0.68.0

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

ContextValidate validate this iam service search principals body based on the context it is used

func (*IamServiceSearchPrincipalsBody) MarshalBinary added in v0.68.0

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

MarshalBinary interface implementation

func (*IamServiceSearchPrincipalsBody) UnmarshalBinary added in v0.68.0

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

UnmarshalBinary interface implementation

func (*IamServiceSearchPrincipalsBody) Validate added in v0.68.0

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

Validate validates this iam service search principals body

type IamServiceSearchPrincipalsDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceSearchPrincipalsDefault added in v0.64.0

func NewIamServiceSearchPrincipalsDefault(code int) *IamServiceSearchPrincipalsDefault

NewIamServiceSearchPrincipalsDefault creates a IamServiceSearchPrincipalsDefault with default headers values

func (*IamServiceSearchPrincipalsDefault) Code added in v0.64.0

Code gets the status code for the iam service search principals default response

func (*IamServiceSearchPrincipalsDefault) Error added in v0.64.0

func (*IamServiceSearchPrincipalsDefault) GetPayload added in v0.64.0

func (*IamServiceSearchPrincipalsDefault) IsClientError added in v0.64.0

func (o *IamServiceSearchPrincipalsDefault) IsClientError() bool

IsClientError returns true when this iam service search principals default response has a 4xx status code

func (*IamServiceSearchPrincipalsDefault) IsCode added in v0.64.0

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

IsCode returns true when this iam service search principals default response a status code equal to that given

func (*IamServiceSearchPrincipalsDefault) IsRedirect added in v0.64.0

func (o *IamServiceSearchPrincipalsDefault) IsRedirect() bool

IsRedirect returns true when this iam service search principals default response has a 3xx status code

func (*IamServiceSearchPrincipalsDefault) IsServerError added in v0.64.0

func (o *IamServiceSearchPrincipalsDefault) IsServerError() bool

IsServerError returns true when this iam service search principals default response has a 5xx status code

func (*IamServiceSearchPrincipalsDefault) IsSuccess added in v0.64.0

func (o *IamServiceSearchPrincipalsDefault) IsSuccess() bool

IsSuccess returns true when this iam service search principals default response has a 2xx status code

func (*IamServiceSearchPrincipalsDefault) String added in v0.64.0

type IamServiceSearchPrincipalsOK added in v0.64.0

type IamServiceSearchPrincipalsOK struct {
	Payload *models.HashicorpCloudIamSearchPrincipalsResponse
}

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

A successful response.

func NewIamServiceSearchPrincipalsOK added in v0.64.0

func NewIamServiceSearchPrincipalsOK() *IamServiceSearchPrincipalsOK

NewIamServiceSearchPrincipalsOK creates a IamServiceSearchPrincipalsOK with default headers values

func (*IamServiceSearchPrincipalsOK) Code added in v0.68.0

Code gets the status code for the iam service search principals o k response

func (*IamServiceSearchPrincipalsOK) Error added in v0.64.0

func (*IamServiceSearchPrincipalsOK) GetPayload added in v0.64.0

func (*IamServiceSearchPrincipalsOK) IsClientError added in v0.64.0

func (o *IamServiceSearchPrincipalsOK) IsClientError() bool

IsClientError returns true when this iam service search principals o k response has a 4xx status code

func (*IamServiceSearchPrincipalsOK) IsCode added in v0.64.0

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

IsCode returns true when this iam service search principals o k response a status code equal to that given

func (*IamServiceSearchPrincipalsOK) IsRedirect added in v0.64.0

func (o *IamServiceSearchPrincipalsOK) IsRedirect() bool

IsRedirect returns true when this iam service search principals o k response has a 3xx status code

func (*IamServiceSearchPrincipalsOK) IsServerError added in v0.64.0

func (o *IamServiceSearchPrincipalsOK) IsServerError() bool

IsServerError returns true when this iam service search principals o k response has a 5xx status code

func (*IamServiceSearchPrincipalsOK) IsSuccess added in v0.64.0

func (o *IamServiceSearchPrincipalsOK) IsSuccess() bool

IsSuccess returns true when this iam service search principals o k response has a 2xx status code

func (*IamServiceSearchPrincipalsOK) String added in v0.64.0

type IamServiceSearchPrincipalsParams added in v0.64.0

type IamServiceSearchPrincipalsParams struct {

	// Body.
	Body IamServiceSearchPrincipalsBody

	/* OrganizationID.

	     organization_id is the ID of the organization in which the principals
	belong.
	*/
	OrganizationID string

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

IamServiceSearchPrincipalsParams contains all the parameters to send to the API endpoint

for the iam service search principals operation.

Typically these are written to a http.Request.

func NewIamServiceSearchPrincipalsParams added in v0.64.0

func NewIamServiceSearchPrincipalsParams() *IamServiceSearchPrincipalsParams

NewIamServiceSearchPrincipalsParams creates a new IamServiceSearchPrincipalsParams 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 NewIamServiceSearchPrincipalsParamsWithContext added in v0.64.0

func NewIamServiceSearchPrincipalsParamsWithContext(ctx context.Context) *IamServiceSearchPrincipalsParams

NewIamServiceSearchPrincipalsParamsWithContext creates a new IamServiceSearchPrincipalsParams object with the ability to set a context for a request.

func NewIamServiceSearchPrincipalsParamsWithHTTPClient added in v0.64.0

func NewIamServiceSearchPrincipalsParamsWithHTTPClient(client *http.Client) *IamServiceSearchPrincipalsParams

NewIamServiceSearchPrincipalsParamsWithHTTPClient creates a new IamServiceSearchPrincipalsParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceSearchPrincipalsParamsWithTimeout added in v0.64.0

func NewIamServiceSearchPrincipalsParamsWithTimeout(timeout time.Duration) *IamServiceSearchPrincipalsParams

NewIamServiceSearchPrincipalsParamsWithTimeout creates a new IamServiceSearchPrincipalsParams object with the ability to set a timeout on a request.

func (*IamServiceSearchPrincipalsParams) SetBody added in v0.64.0

SetBody adds the body to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) SetContext added in v0.64.0

SetContext adds the context to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) SetDefaults added in v0.64.0

func (o *IamServiceSearchPrincipalsParams) SetDefaults()

SetDefaults hydrates default values in the iam service search principals params (not the query body).

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

func (*IamServiceSearchPrincipalsParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) SetOrganizationID added in v0.64.0

func (o *IamServiceSearchPrincipalsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) SetTimeout added in v0.64.0

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

SetTimeout adds the timeout to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WithBody added in v0.64.0

WithBody adds the body to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WithContext added in v0.64.0

WithContext adds the context to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service search principals params (not the query body).

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

func (*IamServiceSearchPrincipalsParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WithOrganizationID added in v0.64.0

func (o *IamServiceSearchPrincipalsParams) WithOrganizationID(organizationID string) *IamServiceSearchPrincipalsParams

WithOrganizationID adds the organizationID to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service search principals params

func (*IamServiceSearchPrincipalsParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceSearchPrincipalsReader added in v0.64.0

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

IamServiceSearchPrincipalsReader is a Reader for the IamServiceSearchPrincipals structure.

func (*IamServiceSearchPrincipalsReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type IamServiceUpdateWebConsolePreferencesDefault added in v0.64.0

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

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

An unexpected error response.

func NewIamServiceUpdateWebConsolePreferencesDefault added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesDefault(code int) *IamServiceUpdateWebConsolePreferencesDefault

NewIamServiceUpdateWebConsolePreferencesDefault creates a IamServiceUpdateWebConsolePreferencesDefault with default headers values

func (*IamServiceUpdateWebConsolePreferencesDefault) Code added in v0.64.0

Code gets the status code for the iam service update web console preferences default response

func (*IamServiceUpdateWebConsolePreferencesDefault) Error added in v0.64.0

func (*IamServiceUpdateWebConsolePreferencesDefault) GetPayload added in v0.64.0

func (*IamServiceUpdateWebConsolePreferencesDefault) IsClientError added in v0.64.0

IsClientError returns true when this iam service update web console preferences default response has a 4xx status code

func (*IamServiceUpdateWebConsolePreferencesDefault) IsCode added in v0.64.0

IsCode returns true when this iam service update web console preferences default response a status code equal to that given

func (*IamServiceUpdateWebConsolePreferencesDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service update web console preferences default response has a 3xx status code

func (*IamServiceUpdateWebConsolePreferencesDefault) IsServerError added in v0.64.0

IsServerError returns true when this iam service update web console preferences default response has a 5xx status code

func (*IamServiceUpdateWebConsolePreferencesDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service update web console preferences default response has a 2xx status code

func (*IamServiceUpdateWebConsolePreferencesDefault) String added in v0.64.0

type IamServiceUpdateWebConsolePreferencesOK added in v0.64.0

type IamServiceUpdateWebConsolePreferencesOK struct {
	Payload *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
}

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

A successful response.

func NewIamServiceUpdateWebConsolePreferencesOK added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesOK() *IamServiceUpdateWebConsolePreferencesOK

NewIamServiceUpdateWebConsolePreferencesOK creates a IamServiceUpdateWebConsolePreferencesOK with default headers values

func (*IamServiceUpdateWebConsolePreferencesOK) Code added in v0.68.0

Code gets the status code for the iam service update web console preferences o k response

func (*IamServiceUpdateWebConsolePreferencesOK) Error added in v0.64.0

func (*IamServiceUpdateWebConsolePreferencesOK) GetPayload added in v0.64.0

func (*IamServiceUpdateWebConsolePreferencesOK) IsClientError added in v0.64.0

func (o *IamServiceUpdateWebConsolePreferencesOK) IsClientError() bool

IsClientError returns true when this iam service update web console preferences o k response has a 4xx status code

func (*IamServiceUpdateWebConsolePreferencesOK) IsCode added in v0.64.0

IsCode returns true when this iam service update web console preferences o k response a status code equal to that given

func (*IamServiceUpdateWebConsolePreferencesOK) IsRedirect added in v0.64.0

IsRedirect returns true when this iam service update web console preferences o k response has a 3xx status code

func (*IamServiceUpdateWebConsolePreferencesOK) IsServerError added in v0.64.0

func (o *IamServiceUpdateWebConsolePreferencesOK) IsServerError() bool

IsServerError returns true when this iam service update web console preferences o k response has a 5xx status code

func (*IamServiceUpdateWebConsolePreferencesOK) IsSuccess added in v0.64.0

IsSuccess returns true when this iam service update web console preferences o k response has a 2xx status code

func (*IamServiceUpdateWebConsolePreferencesOK) String added in v0.64.0

type IamServiceUpdateWebConsolePreferencesParams added in v0.64.0

type IamServiceUpdateWebConsolePreferencesParams struct {

	/* Body.

	   UpdateWebConsolePreferencesRequest is the request to update a user principal's web portal preferences on the IAM service.
	*/
	Body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest

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

IamServiceUpdateWebConsolePreferencesParams contains all the parameters to send to the API endpoint

for the iam service update web console preferences operation.

Typically these are written to a http.Request.

func NewIamServiceUpdateWebConsolePreferencesParams added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesParams() *IamServiceUpdateWebConsolePreferencesParams

NewIamServiceUpdateWebConsolePreferencesParams creates a new IamServiceUpdateWebConsolePreferencesParams 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 NewIamServiceUpdateWebConsolePreferencesParamsWithContext added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesParamsWithContext(ctx context.Context) *IamServiceUpdateWebConsolePreferencesParams

NewIamServiceUpdateWebConsolePreferencesParamsWithContext creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a context for a request.

func NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient(client *http.Client) *IamServiceUpdateWebConsolePreferencesParams

NewIamServiceUpdateWebConsolePreferencesParamsWithHTTPClient creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a custom HTTPClient for a request.

func NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout added in v0.64.0

func NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout(timeout time.Duration) *IamServiceUpdateWebConsolePreferencesParams

NewIamServiceUpdateWebConsolePreferencesParamsWithTimeout creates a new IamServiceUpdateWebConsolePreferencesParams object with the ability to set a timeout on a request.

func (*IamServiceUpdateWebConsolePreferencesParams) SetBody added in v0.64.0

SetBody adds the body to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) SetContext added in v0.64.0

SetContext adds the context to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the iam service update web console preferences params (not the query body).

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

func (*IamServiceUpdateWebConsolePreferencesParams) SetHTTPClient added in v0.64.0

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

SetHTTPClient adds the HTTPClient to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) WithBody added in v0.64.0

WithBody adds the body to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) WithContext added in v0.64.0

WithContext adds the context to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the iam service update web console preferences params (not the query body).

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

func (*IamServiceUpdateWebConsolePreferencesParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the iam service update web console preferences params

func (*IamServiceUpdateWebConsolePreferencesParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type IamServiceUpdateWebConsolePreferencesReader added in v0.64.0

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

IamServiceUpdateWebConsolePreferencesReader is a Reader for the IamServiceUpdateWebConsolePreferences structure.

func (*IamServiceUpdateWebConsolePreferencesReader) ReadResponse added in v0.64.0

func (o *IamServiceUpdateWebConsolePreferencesReader) 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