Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateUserPrincipal(params *CreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateUserPrincipalOK, error)
- func (a *Client) DeleteOrganizationMembership(params *DeleteOrganizationMembershipParams, ...) (*DeleteOrganizationMembershipOK, error)
- func (a *Client) GetCurrentUserPrincipal(params *GetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetCurrentUserPrincipalOK, error)
- func (a *Client) GetOrganizationAuthMetadata(params *GetOrganizationAuthMetadataParams, ...) (*GetOrganizationAuthMetadataOK, error)
- func (a *Client) GetUserPrincipalByIDInOrganization(params *GetUserPrincipalByIDInOrganizationParams, ...) (*GetUserPrincipalByIDInOrganizationOK, error)
- func (a *Client) GetUserPrincipalsByIDsInOrganization(params *GetUserPrincipalsByIDsInOrganizationParams, ...) (*GetUserPrincipalsByIDsInOrganizationOK, error)
- func (a *Client) ListUserPrincipalsByOrganization(params *ListUserPrincipalsByOrganizationParams, ...) (*ListUserPrincipalsByOrganizationOK, error)
- func (a *Client) Ping(params *PingParams, opts ...ClientOption) (*PingOK, error)
- func (a *Client) SearchPrincipals(params *SearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchPrincipalsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateWebConsolePreferences(params *UpdateWebConsolePreferencesParams, ...) (*UpdateWebConsolePreferencesOK, error)
- type ClientOption
- type ClientService
- type CreateUserPrincipalDefault
- func (o *CreateUserPrincipalDefault) Code() int
- func (o *CreateUserPrincipalDefault) Error() string
- func (o *CreateUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateUserPrincipalDefault) IsClientError() bool
- func (o *CreateUserPrincipalDefault) IsCode(code int) bool
- func (o *CreateUserPrincipalDefault) IsRedirect() bool
- func (o *CreateUserPrincipalDefault) IsServerError() bool
- func (o *CreateUserPrincipalDefault) IsSuccess() bool
- func (o *CreateUserPrincipalDefault) String() string
- type CreateUserPrincipalOK
- func (o *CreateUserPrincipalOK) Error() string
- func (o *CreateUserPrincipalOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
- func (o *CreateUserPrincipalOK) IsClientError() bool
- func (o *CreateUserPrincipalOK) IsCode(code int) bool
- func (o *CreateUserPrincipalOK) IsRedirect() bool
- func (o *CreateUserPrincipalOK) IsServerError() bool
- func (o *CreateUserPrincipalOK) IsSuccess() bool
- func (o *CreateUserPrincipalOK) String() string
- type CreateUserPrincipalParams
- func NewCreateUserPrincipalParams() *CreateUserPrincipalParams
- func NewCreateUserPrincipalParamsWithContext(ctx context.Context) *CreateUserPrincipalParams
- func NewCreateUserPrincipalParamsWithHTTPClient(client *http.Client) *CreateUserPrincipalParams
- func NewCreateUserPrincipalParamsWithTimeout(timeout time.Duration) *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) SetBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest)
- func (o *CreateUserPrincipalParams) SetContext(ctx context.Context)
- func (o *CreateUserPrincipalParams) SetDefaults()
- func (o *CreateUserPrincipalParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserPrincipalParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserPrincipalParams) WithBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest) *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) WithContext(ctx context.Context) *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) WithDefaults() *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) WithHTTPClient(client *http.Client) *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) WithTimeout(timeout time.Duration) *CreateUserPrincipalParams
- func (o *CreateUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserPrincipalReader
- type DeleteOrganizationMembershipDefault
- func (o *DeleteOrganizationMembershipDefault) Code() int
- func (o *DeleteOrganizationMembershipDefault) Error() string
- func (o *DeleteOrganizationMembershipDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteOrganizationMembershipDefault) IsClientError() bool
- func (o *DeleteOrganizationMembershipDefault) IsCode(code int) bool
- func (o *DeleteOrganizationMembershipDefault) IsRedirect() bool
- func (o *DeleteOrganizationMembershipDefault) IsServerError() bool
- func (o *DeleteOrganizationMembershipDefault) IsSuccess() bool
- func (o *DeleteOrganizationMembershipDefault) String() string
- type DeleteOrganizationMembershipOK
- func (o *DeleteOrganizationMembershipOK) Error() string
- func (o *DeleteOrganizationMembershipOK) GetPayload() models.HashicorpCloudIamDeleteOrganizationMembershipResponse
- func (o *DeleteOrganizationMembershipOK) IsClientError() bool
- func (o *DeleteOrganizationMembershipOK) IsCode(code int) bool
- func (o *DeleteOrganizationMembershipOK) IsRedirect() bool
- func (o *DeleteOrganizationMembershipOK) IsServerError() bool
- func (o *DeleteOrganizationMembershipOK) IsSuccess() bool
- func (o *DeleteOrganizationMembershipOK) String() string
- type DeleteOrganizationMembershipParams
- func NewDeleteOrganizationMembershipParams() *DeleteOrganizationMembershipParams
- func NewDeleteOrganizationMembershipParamsWithContext(ctx context.Context) *DeleteOrganizationMembershipParams
- func NewDeleteOrganizationMembershipParamsWithHTTPClient(client *http.Client) *DeleteOrganizationMembershipParams
- func NewDeleteOrganizationMembershipParamsWithTimeout(timeout time.Duration) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) SetContext(ctx context.Context)
- func (o *DeleteOrganizationMembershipParams) SetDefaults()
- func (o *DeleteOrganizationMembershipParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrganizationMembershipParams) SetOrganizationID(organizationID string)
- func (o *DeleteOrganizationMembershipParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrganizationMembershipParams) SetUserPrincipalID(userPrincipalID string)
- func (o *DeleteOrganizationMembershipParams) WithContext(ctx context.Context) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WithDefaults() *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WithHTTPClient(client *http.Client) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WithOrganizationID(organizationID string) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WithTimeout(timeout time.Duration) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WithUserPrincipalID(userPrincipalID string) *DeleteOrganizationMembershipParams
- func (o *DeleteOrganizationMembershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrganizationMembershipReader
- type GetCurrentUserPrincipalDefault
- func (o *GetCurrentUserPrincipalDefault) Code() int
- func (o *GetCurrentUserPrincipalDefault) Error() string
- func (o *GetCurrentUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetCurrentUserPrincipalDefault) IsClientError() bool
- func (o *GetCurrentUserPrincipalDefault) IsCode(code int) bool
- func (o *GetCurrentUserPrincipalDefault) IsRedirect() bool
- func (o *GetCurrentUserPrincipalDefault) IsServerError() bool
- func (o *GetCurrentUserPrincipalDefault) IsSuccess() bool
- func (o *GetCurrentUserPrincipalDefault) String() string
- type GetCurrentUserPrincipalOK
- func (o *GetCurrentUserPrincipalOK) Error() string
- func (o *GetCurrentUserPrincipalOK) GetPayload() *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
- func (o *GetCurrentUserPrincipalOK) IsClientError() bool
- func (o *GetCurrentUserPrincipalOK) IsCode(code int) bool
- func (o *GetCurrentUserPrincipalOK) IsRedirect() bool
- func (o *GetCurrentUserPrincipalOK) IsServerError() bool
- func (o *GetCurrentUserPrincipalOK) IsSuccess() bool
- func (o *GetCurrentUserPrincipalOK) String() string
- type GetCurrentUserPrincipalParams
- func NewGetCurrentUserPrincipalParams() *GetCurrentUserPrincipalParams
- func NewGetCurrentUserPrincipalParamsWithContext(ctx context.Context) *GetCurrentUserPrincipalParams
- func NewGetCurrentUserPrincipalParamsWithHTTPClient(client *http.Client) *GetCurrentUserPrincipalParams
- func NewGetCurrentUserPrincipalParamsWithTimeout(timeout time.Duration) *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) SetContext(ctx context.Context)
- func (o *GetCurrentUserPrincipalParams) SetDefaults()
- func (o *GetCurrentUserPrincipalParams) SetHTTPClient(client *http.Client)
- func (o *GetCurrentUserPrincipalParams) SetTimeout(timeout time.Duration)
- func (o *GetCurrentUserPrincipalParams) SetWebPortalPreferences(webPortalPreferences *bool)
- func (o *GetCurrentUserPrincipalParams) WithContext(ctx context.Context) *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) WithDefaults() *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) WithHTTPClient(client *http.Client) *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) WithTimeout(timeout time.Duration) *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) WithWebPortalPreferences(webPortalPreferences *bool) *GetCurrentUserPrincipalParams
- func (o *GetCurrentUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCurrentUserPrincipalReader
- type GetOrganizationAuthMetadataDefault
- func (o *GetOrganizationAuthMetadataDefault) Code() int
- func (o *GetOrganizationAuthMetadataDefault) Error() string
- func (o *GetOrganizationAuthMetadataDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetOrganizationAuthMetadataDefault) IsClientError() bool
- func (o *GetOrganizationAuthMetadataDefault) IsCode(code int) bool
- func (o *GetOrganizationAuthMetadataDefault) IsRedirect() bool
- func (o *GetOrganizationAuthMetadataDefault) IsServerError() bool
- func (o *GetOrganizationAuthMetadataDefault) IsSuccess() bool
- func (o *GetOrganizationAuthMetadataDefault) String() string
- type GetOrganizationAuthMetadataOK
- func (o *GetOrganizationAuthMetadataOK) Error() string
- func (o *GetOrganizationAuthMetadataOK) GetPayload() *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
- func (o *GetOrganizationAuthMetadataOK) IsClientError() bool
- func (o *GetOrganizationAuthMetadataOK) IsCode(code int) bool
- func (o *GetOrganizationAuthMetadataOK) IsRedirect() bool
- func (o *GetOrganizationAuthMetadataOK) IsServerError() bool
- func (o *GetOrganizationAuthMetadataOK) IsSuccess() bool
- func (o *GetOrganizationAuthMetadataOK) String() string
- type GetOrganizationAuthMetadataParams
- func NewGetOrganizationAuthMetadataParams() *GetOrganizationAuthMetadataParams
- func NewGetOrganizationAuthMetadataParamsWithContext(ctx context.Context) *GetOrganizationAuthMetadataParams
- func NewGetOrganizationAuthMetadataParamsWithHTTPClient(client *http.Client) *GetOrganizationAuthMetadataParams
- func NewGetOrganizationAuthMetadataParamsWithTimeout(timeout time.Duration) *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) SetContext(ctx context.Context)
- func (o *GetOrganizationAuthMetadataParams) SetDefaults()
- func (o *GetOrganizationAuthMetadataParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationAuthMetadataParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationAuthMetadataParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationAuthMetadataParams) WithContext(ctx context.Context) *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) WithDefaults() *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) WithHTTPClient(client *http.Client) *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) WithOrganizationID(organizationID string) *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) WithTimeout(timeout time.Duration) *GetOrganizationAuthMetadataParams
- func (o *GetOrganizationAuthMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationAuthMetadataReader
- type GetUserPrincipalByIDInOrganizationDefault
- func (o *GetUserPrincipalByIDInOrganizationDefault) Code() int
- func (o *GetUserPrincipalByIDInOrganizationDefault) Error() string
- func (o *GetUserPrincipalByIDInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetUserPrincipalByIDInOrganizationDefault) IsClientError() bool
- func (o *GetUserPrincipalByIDInOrganizationDefault) IsCode(code int) bool
- func (o *GetUserPrincipalByIDInOrganizationDefault) IsRedirect() bool
- func (o *GetUserPrincipalByIDInOrganizationDefault) IsServerError() bool
- func (o *GetUserPrincipalByIDInOrganizationDefault) IsSuccess() bool
- func (o *GetUserPrincipalByIDInOrganizationDefault) String() string
- type GetUserPrincipalByIDInOrganizationOK
- func (o *GetUserPrincipalByIDInOrganizationOK) Error() string
- func (o *GetUserPrincipalByIDInOrganizationOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
- func (o *GetUserPrincipalByIDInOrganizationOK) IsClientError() bool
- func (o *GetUserPrincipalByIDInOrganizationOK) IsCode(code int) bool
- func (o *GetUserPrincipalByIDInOrganizationOK) IsRedirect() bool
- func (o *GetUserPrincipalByIDInOrganizationOK) IsServerError() bool
- func (o *GetUserPrincipalByIDInOrganizationOK) IsSuccess() bool
- func (o *GetUserPrincipalByIDInOrganizationOK) String() string
- type GetUserPrincipalByIDInOrganizationParams
- func NewGetUserPrincipalByIDInOrganizationParams() *GetUserPrincipalByIDInOrganizationParams
- func NewGetUserPrincipalByIDInOrganizationParamsWithContext(ctx context.Context) *GetUserPrincipalByIDInOrganizationParams
- func NewGetUserPrincipalByIDInOrganizationParamsWithHTTPClient(client *http.Client) *GetUserPrincipalByIDInOrganizationParams
- func NewGetUserPrincipalByIDInOrganizationParamsWithTimeout(timeout time.Duration) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetUserPrincipalByIDInOrganizationParams) SetDefaults()
- func (o *GetUserPrincipalByIDInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetUserPrincipalByIDInOrganizationParams) SetOrganizationID(organizationID string)
- func (o *GetUserPrincipalByIDInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID(userPrincipalID string)
- func (o *GetUserPrincipalByIDInOrganizationParams) WithContext(ctx context.Context) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WithDefaults() *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WithHTTPClient(client *http.Client) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WithOrganizationID(organizationID string) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WithTimeout(timeout time.Duration) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID(userPrincipalID string) *GetUserPrincipalByIDInOrganizationParams
- func (o *GetUserPrincipalByIDInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserPrincipalByIDInOrganizationReader
- type GetUserPrincipalsByIDsInOrganizationDefault
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) Code() int
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) Error() string
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsClientError() bool
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsCode(code int) bool
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsRedirect() bool
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsServerError() bool
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsSuccess() bool
- func (o *GetUserPrincipalsByIDsInOrganizationDefault) String() string
- type GetUserPrincipalsByIDsInOrganizationOK
- func (o *GetUserPrincipalsByIDsInOrganizationOK) Error() string
- func (o *GetUserPrincipalsByIDsInOrganizationOK) GetPayload() *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse
- func (o *GetUserPrincipalsByIDsInOrganizationOK) IsClientError() bool
- func (o *GetUserPrincipalsByIDsInOrganizationOK) IsCode(code int) bool
- func (o *GetUserPrincipalsByIDsInOrganizationOK) IsRedirect() bool
- func (o *GetUserPrincipalsByIDsInOrganizationOK) IsServerError() bool
- func (o *GetUserPrincipalsByIDsInOrganizationOK) IsSuccess() bool
- func (o *GetUserPrincipalsByIDsInOrganizationOK) String() string
- type GetUserPrincipalsByIDsInOrganizationParams
- func NewGetUserPrincipalsByIDsInOrganizationParams() *GetUserPrincipalsByIDsInOrganizationParams
- func NewGetUserPrincipalsByIDsInOrganizationParamsWithContext(ctx context.Context) *GetUserPrincipalsByIDsInOrganizationParams
- func NewGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient(client *http.Client) *GetUserPrincipalsByIDsInOrganizationParams
- func NewGetUserPrincipalsByIDsInOrganizationParamsWithTimeout(timeout time.Duration) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetBody(body *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationRequest)
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetContext(ctx context.Context)
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetDefaults()
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID(organizationID string)
- func (o *GetUserPrincipalsByIDsInOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithBody(body *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationRequest) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithContext(ctx context.Context) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithDefaults() *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient(client *http.Client) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID(organizationID string) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WithTimeout(timeout time.Duration) *GetUserPrincipalsByIDsInOrganizationParams
- func (o *GetUserPrincipalsByIDsInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserPrincipalsByIDsInOrganizationReader
- type ListUserPrincipalsByOrganizationDefault
- func (o *ListUserPrincipalsByOrganizationDefault) Code() int
- func (o *ListUserPrincipalsByOrganizationDefault) Error() string
- func (o *ListUserPrincipalsByOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListUserPrincipalsByOrganizationDefault) IsClientError() bool
- func (o *ListUserPrincipalsByOrganizationDefault) IsCode(code int) bool
- func (o *ListUserPrincipalsByOrganizationDefault) IsRedirect() bool
- func (o *ListUserPrincipalsByOrganizationDefault) IsServerError() bool
- func (o *ListUserPrincipalsByOrganizationDefault) IsSuccess() bool
- func (o *ListUserPrincipalsByOrganizationDefault) String() string
- type ListUserPrincipalsByOrganizationOK
- func (o *ListUserPrincipalsByOrganizationOK) Error() string
- func (o *ListUserPrincipalsByOrganizationOK) GetPayload() *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
- func (o *ListUserPrincipalsByOrganizationOK) IsClientError() bool
- func (o *ListUserPrincipalsByOrganizationOK) IsCode(code int) bool
- func (o *ListUserPrincipalsByOrganizationOK) IsRedirect() bool
- func (o *ListUserPrincipalsByOrganizationOK) IsServerError() bool
- func (o *ListUserPrincipalsByOrganizationOK) IsSuccess() bool
- func (o *ListUserPrincipalsByOrganizationOK) String() string
- type ListUserPrincipalsByOrganizationParams
- func NewListUserPrincipalsByOrganizationParams() *ListUserPrincipalsByOrganizationParams
- func NewListUserPrincipalsByOrganizationParamsWithContext(ctx context.Context) *ListUserPrincipalsByOrganizationParams
- func NewListUserPrincipalsByOrganizationParamsWithHTTPClient(client *http.Client) *ListUserPrincipalsByOrganizationParams
- func NewListUserPrincipalsByOrganizationParamsWithTimeout(timeout time.Duration) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) SetContext(ctx context.Context)
- func (o *ListUserPrincipalsByOrganizationParams) SetDefaults()
- func (o *ListUserPrincipalsByOrganizationParams) SetHTTPClient(client *http.Client)
- func (o *ListUserPrincipalsByOrganizationParams) SetOrganizationID(organizationID string)
- func (o *ListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListUserPrincipalsByOrganizationParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListUserPrincipalsByOrganizationParams) SetTimeout(timeout time.Duration)
- func (o *ListUserPrincipalsByOrganizationParams) WithContext(ctx context.Context) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithDefaults() *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithHTTPClient(client *http.Client) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithOrganizationID(organizationID string) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithPaginationPageSize(paginationPageSize *int64) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WithTimeout(timeout time.Duration) *ListUserPrincipalsByOrganizationParams
- func (o *ListUserPrincipalsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListUserPrincipalsByOrganizationReader
- type PingDefault
- func (o *PingDefault) Code() int
- func (o *PingDefault) Error() string
- func (o *PingDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *PingDefault) IsClientError() bool
- func (o *PingDefault) IsCode(code int) bool
- func (o *PingDefault) IsRedirect() bool
- func (o *PingDefault) IsServerError() bool
- func (o *PingDefault) IsSuccess() bool
- func (o *PingDefault) String() string
- type PingOK
- func (o *PingOK) Error() string
- func (o *PingOK) GetPayload() models.HashicorpCloudIamPingResponse
- func (o *PingOK) IsClientError() bool
- func (o *PingOK) IsCode(code int) bool
- func (o *PingOK) IsRedirect() bool
- func (o *PingOK) IsServerError() bool
- func (o *PingOK) IsSuccess() bool
- func (o *PingOK) String() string
- type PingParams
- func (o *PingParams) SetContext(ctx context.Context)
- func (o *PingParams) SetDefaults()
- func (o *PingParams) SetHTTPClient(client *http.Client)
- func (o *PingParams) SetTimeout(timeout time.Duration)
- func (o *PingParams) WithContext(ctx context.Context) *PingParams
- func (o *PingParams) WithDefaults() *PingParams
- func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams
- func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams
- func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingReader
- type SearchPrincipalsDefault
- func (o *SearchPrincipalsDefault) Code() int
- func (o *SearchPrincipalsDefault) Error() string
- func (o *SearchPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *SearchPrincipalsDefault) IsClientError() bool
- func (o *SearchPrincipalsDefault) IsCode(code int) bool
- func (o *SearchPrincipalsDefault) IsRedirect() bool
- func (o *SearchPrincipalsDefault) IsServerError() bool
- func (o *SearchPrincipalsDefault) IsSuccess() bool
- func (o *SearchPrincipalsDefault) String() string
- type SearchPrincipalsOK
- func (o *SearchPrincipalsOK) Error() string
- func (o *SearchPrincipalsOK) GetPayload() *models.HashicorpCloudIamSearchPrincipalsResponse
- func (o *SearchPrincipalsOK) IsClientError() bool
- func (o *SearchPrincipalsOK) IsCode(code int) bool
- func (o *SearchPrincipalsOK) IsRedirect() bool
- func (o *SearchPrincipalsOK) IsServerError() bool
- func (o *SearchPrincipalsOK) IsSuccess() bool
- func (o *SearchPrincipalsOK) String() string
- type SearchPrincipalsParams
- func NewSearchPrincipalsParams() *SearchPrincipalsParams
- func NewSearchPrincipalsParamsWithContext(ctx context.Context) *SearchPrincipalsParams
- func NewSearchPrincipalsParamsWithHTTPClient(client *http.Client) *SearchPrincipalsParams
- func NewSearchPrincipalsParamsWithTimeout(timeout time.Duration) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) SetBody(body *models.HashicorpCloudIamSearchPrincipalsRequest)
- func (o *SearchPrincipalsParams) SetContext(ctx context.Context)
- func (o *SearchPrincipalsParams) SetDefaults()
- func (o *SearchPrincipalsParams) SetHTTPClient(client *http.Client)
- func (o *SearchPrincipalsParams) SetOrganizationID(organizationID string)
- func (o *SearchPrincipalsParams) SetTimeout(timeout time.Duration)
- func (o *SearchPrincipalsParams) WithBody(body *models.HashicorpCloudIamSearchPrincipalsRequest) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WithContext(ctx context.Context) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WithDefaults() *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WithHTTPClient(client *http.Client) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WithOrganizationID(organizationID string) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WithTimeout(timeout time.Duration) *SearchPrincipalsParams
- func (o *SearchPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchPrincipalsReader
- type UpdateWebConsolePreferencesDefault
- func (o *UpdateWebConsolePreferencesDefault) Code() int
- func (o *UpdateWebConsolePreferencesDefault) Error() string
- func (o *UpdateWebConsolePreferencesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateWebConsolePreferencesDefault) IsClientError() bool
- func (o *UpdateWebConsolePreferencesDefault) IsCode(code int) bool
- func (o *UpdateWebConsolePreferencesDefault) IsRedirect() bool
- func (o *UpdateWebConsolePreferencesDefault) IsServerError() bool
- func (o *UpdateWebConsolePreferencesDefault) IsSuccess() bool
- func (o *UpdateWebConsolePreferencesDefault) String() string
- type UpdateWebConsolePreferencesOK
- func (o *UpdateWebConsolePreferencesOK) Error() string
- func (o *UpdateWebConsolePreferencesOK) GetPayload() *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
- func (o *UpdateWebConsolePreferencesOK) IsClientError() bool
- func (o *UpdateWebConsolePreferencesOK) IsCode(code int) bool
- func (o *UpdateWebConsolePreferencesOK) IsRedirect() bool
- func (o *UpdateWebConsolePreferencesOK) IsServerError() bool
- func (o *UpdateWebConsolePreferencesOK) IsSuccess() bool
- func (o *UpdateWebConsolePreferencesOK) String() string
- type UpdateWebConsolePreferencesParams
- func NewUpdateWebConsolePreferencesParams() *UpdateWebConsolePreferencesParams
- func NewUpdateWebConsolePreferencesParamsWithContext(ctx context.Context) *UpdateWebConsolePreferencesParams
- func NewUpdateWebConsolePreferencesParamsWithHTTPClient(client *http.Client) *UpdateWebConsolePreferencesParams
- func NewUpdateWebConsolePreferencesParamsWithTimeout(timeout time.Duration) *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) SetBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest)
- func (o *UpdateWebConsolePreferencesParams) SetContext(ctx context.Context)
- func (o *UpdateWebConsolePreferencesParams) SetDefaults()
- func (o *UpdateWebConsolePreferencesParams) SetHTTPClient(client *http.Client)
- func (o *UpdateWebConsolePreferencesParams) SetTimeout(timeout time.Duration)
- func (o *UpdateWebConsolePreferencesParams) WithBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest) *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) WithContext(ctx context.Context) *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) WithDefaults() *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) WithHTTPClient(client *http.Client) *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) WithTimeout(timeout time.Duration) *UpdateWebConsolePreferencesParams
- func (o *UpdateWebConsolePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateWebConsolePreferencesReader
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) CreateUserPrincipal ¶
func (a *Client) CreateUserPrincipal(params *CreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserPrincipalOK, error)
CreateUserPrincipal creates user principal creates a new user principal
func (*Client) DeleteOrganizationMembership ¶
func (a *Client) DeleteOrganizationMembership(params *DeleteOrganizationMembershipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipOK, error)
DeleteOrganizationMembership deletes organization membership deletes a user principal s organization membership
func (*Client) GetCurrentUserPrincipal ¶
func (a *Client) GetCurrentUserPrincipal(params *GetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentUserPrincipalOK, error)
GetCurrentUserPrincipal 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) GetOrganizationAuthMetadata ¶
func (a *Client) GetOrganizationAuthMetadata(params *GetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationAuthMetadataOK, error)
GetOrganizationAuthMetadata gets organization auth metadata returns metadata about the organization s configured authentication methods
func (*Client) GetUserPrincipalByIDInOrganization ¶
func (a *Client) GetUserPrincipalByIDInOrganization(params *GetUserPrincipalByIDInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserPrincipalByIDInOrganizationOK, error)
GetUserPrincipalByIDInOrganization gets user principal retrieves a user principal
func (*Client) GetUserPrincipalsByIDsInOrganization ¶
func (a *Client) GetUserPrincipalsByIDsInOrganization(params *GetUserPrincipalsByIDsInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserPrincipalsByIDsInOrganizationOK, error)
GetUserPrincipalsByIDsInOrganization 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) ListUserPrincipalsByOrganization ¶
func (a *Client) ListUserPrincipalsByOrganization(params *ListUserPrincipalsByOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPrincipalsByOrganizationOK, error)
ListUserPrincipalsByOrganization lists user principals by organization returns a list of principals that are members of an organization
func (*Client) Ping ¶
func (a *Client) Ping(params *PingParams, opts ...ClientOption) (*PingOK, error)
Ping pings pings the healthcheck endpoint exposed for HTTP healthchecks via datadog synthetic monitoring
func (*Client) SearchPrincipals ¶
func (a *Client) SearchPrincipals(params *SearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPrincipalsOK, error)
SearchPrincipals searches principals returns principal details for principals within the supplied organization optional filters may be specified to filter the result set
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateWebConsolePreferences ¶
func (a *Client) UpdateWebConsolePreferences(params *UpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWebConsolePreferencesOK, error)
UpdateWebConsolePreferences updates web console preferences updates a user principal s web portal fka web console preferences
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateUserPrincipal(params *CreateUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateUserPrincipalOK, error) DeleteOrganizationMembership(params *DeleteOrganizationMembershipParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOrganizationMembershipOK, error) GetCurrentUserPrincipal(params *GetCurrentUserPrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetCurrentUserPrincipalOK, error) GetOrganizationAuthMetadata(params *GetOrganizationAuthMetadataParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationAuthMetadataOK, error) GetUserPrincipalByIDInOrganization(params *GetUserPrincipalByIDInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserPrincipalByIDInOrganizationOK, error) GetUserPrincipalsByIDsInOrganization(params *GetUserPrincipalsByIDsInOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserPrincipalsByIDsInOrganizationOK, error) ListUserPrincipalsByOrganization(params *ListUserPrincipalsByOrganizationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListUserPrincipalsByOrganizationOK, error) Ping(params *PingParams, opts ...ClientOption) (*PingOK, error) SearchPrincipals(params *SearchPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPrincipalsOK, error) UpdateWebConsolePreferences(params *UpdateWebConsolePreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateWebConsolePreferencesOK, 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 CreateUserPrincipalDefault ¶
type CreateUserPrincipalDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateUserPrincipalDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateUserPrincipalDefault ¶
func NewCreateUserPrincipalDefault(code int) *CreateUserPrincipalDefault
NewCreateUserPrincipalDefault creates a CreateUserPrincipalDefault with default headers values
func (*CreateUserPrincipalDefault) Code ¶
func (o *CreateUserPrincipalDefault) Code() int
Code gets the status code for the create user principal default response
func (*CreateUserPrincipalDefault) Error ¶
func (o *CreateUserPrincipalDefault) Error() string
func (*CreateUserPrincipalDefault) GetPayload ¶
func (o *CreateUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateUserPrincipalDefault) IsClientError ¶
func (o *CreateUserPrincipalDefault) IsClientError() bool
IsClientError returns true when this create user principal default response has a 4xx status code
func (*CreateUserPrincipalDefault) IsCode ¶
func (o *CreateUserPrincipalDefault) IsCode(code int) bool
IsCode returns true when this create user principal default response a status code equal to that given
func (*CreateUserPrincipalDefault) IsRedirect ¶
func (o *CreateUserPrincipalDefault) IsRedirect() bool
IsRedirect returns true when this create user principal default response has a 3xx status code
func (*CreateUserPrincipalDefault) IsServerError ¶
func (o *CreateUserPrincipalDefault) IsServerError() bool
IsServerError returns true when this create user principal default response has a 5xx status code
func (*CreateUserPrincipalDefault) IsSuccess ¶
func (o *CreateUserPrincipalDefault) IsSuccess() bool
IsSuccess returns true when this create user principal default response has a 2xx status code
func (*CreateUserPrincipalDefault) String ¶
func (o *CreateUserPrincipalDefault) String() string
type CreateUserPrincipalOK ¶
type CreateUserPrincipalOK struct {
Payload *models.HashicorpCloudIamUserPrincipalResponse
}
CreateUserPrincipalOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateUserPrincipalOK ¶
func NewCreateUserPrincipalOK() *CreateUserPrincipalOK
NewCreateUserPrincipalOK creates a CreateUserPrincipalOK with default headers values
func (*CreateUserPrincipalOK) Error ¶
func (o *CreateUserPrincipalOK) Error() string
func (*CreateUserPrincipalOK) GetPayload ¶
func (o *CreateUserPrincipalOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
func (*CreateUserPrincipalOK) IsClientError ¶
func (o *CreateUserPrincipalOK) IsClientError() bool
IsClientError returns true when this create user principal o k response has a 4xx status code
func (*CreateUserPrincipalOK) IsCode ¶
func (o *CreateUserPrincipalOK) IsCode(code int) bool
IsCode returns true when this create user principal o k response a status code equal to that given
func (*CreateUserPrincipalOK) IsRedirect ¶
func (o *CreateUserPrincipalOK) IsRedirect() bool
IsRedirect returns true when this create user principal o k response has a 3xx status code
func (*CreateUserPrincipalOK) IsServerError ¶
func (o *CreateUserPrincipalOK) IsServerError() bool
IsServerError returns true when this create user principal o k response has a 5xx status code
func (*CreateUserPrincipalOK) IsSuccess ¶
func (o *CreateUserPrincipalOK) IsSuccess() bool
IsSuccess returns true when this create user principal o k response has a 2xx status code
func (*CreateUserPrincipalOK) String ¶
func (o *CreateUserPrincipalOK) String() string
type CreateUserPrincipalParams ¶
type CreateUserPrincipalParams struct { // Body. Body *models.HashicorpCloudIamCreateUserPrincipalRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserPrincipalParams contains all the parameters to send to the API endpoint
for the create user principal operation. Typically these are written to a http.Request.
func NewCreateUserPrincipalParams ¶
func NewCreateUserPrincipalParams() *CreateUserPrincipalParams
NewCreateUserPrincipalParams creates a new CreateUserPrincipalParams 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 NewCreateUserPrincipalParamsWithContext ¶
func NewCreateUserPrincipalParamsWithContext(ctx context.Context) *CreateUserPrincipalParams
NewCreateUserPrincipalParamsWithContext creates a new CreateUserPrincipalParams object with the ability to set a context for a request.
func NewCreateUserPrincipalParamsWithHTTPClient ¶
func NewCreateUserPrincipalParamsWithHTTPClient(client *http.Client) *CreateUserPrincipalParams
NewCreateUserPrincipalParamsWithHTTPClient creates a new CreateUserPrincipalParams object with the ability to set a custom HTTPClient for a request.
func NewCreateUserPrincipalParamsWithTimeout ¶
func NewCreateUserPrincipalParamsWithTimeout(timeout time.Duration) *CreateUserPrincipalParams
NewCreateUserPrincipalParamsWithTimeout creates a new CreateUserPrincipalParams object with the ability to set a timeout on a request.
func (*CreateUserPrincipalParams) SetBody ¶
func (o *CreateUserPrincipalParams) SetBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest)
SetBody adds the body to the create user principal params
func (*CreateUserPrincipalParams) SetContext ¶
func (o *CreateUserPrincipalParams) SetContext(ctx context.Context)
SetContext adds the context to the create user principal params
func (*CreateUserPrincipalParams) SetDefaults ¶
func (o *CreateUserPrincipalParams) SetDefaults()
SetDefaults hydrates default values in the create user principal params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserPrincipalParams) SetHTTPClient ¶
func (o *CreateUserPrincipalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user principal params
func (*CreateUserPrincipalParams) SetTimeout ¶
func (o *CreateUserPrincipalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user principal params
func (*CreateUserPrincipalParams) WithBody ¶
func (o *CreateUserPrincipalParams) WithBody(body *models.HashicorpCloudIamCreateUserPrincipalRequest) *CreateUserPrincipalParams
WithBody adds the body to the create user principal params
func (*CreateUserPrincipalParams) WithContext ¶
func (o *CreateUserPrincipalParams) WithContext(ctx context.Context) *CreateUserPrincipalParams
WithContext adds the context to the create user principal params
func (*CreateUserPrincipalParams) WithDefaults ¶
func (o *CreateUserPrincipalParams) WithDefaults() *CreateUserPrincipalParams
WithDefaults hydrates default values in the create user principal params (not the query body).
All values with no default are reset to their zero value.
func (*CreateUserPrincipalParams) WithHTTPClient ¶
func (o *CreateUserPrincipalParams) WithHTTPClient(client *http.Client) *CreateUserPrincipalParams
WithHTTPClient adds the HTTPClient to the create user principal params
func (*CreateUserPrincipalParams) WithTimeout ¶
func (o *CreateUserPrincipalParams) WithTimeout(timeout time.Duration) *CreateUserPrincipalParams
WithTimeout adds the timeout to the create user principal params
func (*CreateUserPrincipalParams) WriteToRequest ¶
func (o *CreateUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserPrincipalReader ¶
type CreateUserPrincipalReader struct {
// contains filtered or unexported fields
}
CreateUserPrincipalReader is a Reader for the CreateUserPrincipal structure.
func (*CreateUserPrincipalReader) ReadResponse ¶
func (o *CreateUserPrincipalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOrganizationMembershipDefault ¶
type DeleteOrganizationMembershipDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteOrganizationMembershipDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteOrganizationMembershipDefault ¶
func NewDeleteOrganizationMembershipDefault(code int) *DeleteOrganizationMembershipDefault
NewDeleteOrganizationMembershipDefault creates a DeleteOrganizationMembershipDefault with default headers values
func (*DeleteOrganizationMembershipDefault) Code ¶
func (o *DeleteOrganizationMembershipDefault) Code() int
Code gets the status code for the delete organization membership default response
func (*DeleteOrganizationMembershipDefault) Error ¶
func (o *DeleteOrganizationMembershipDefault) Error() string
func (*DeleteOrganizationMembershipDefault) GetPayload ¶
func (o *DeleteOrganizationMembershipDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteOrganizationMembershipDefault) IsClientError ¶
func (o *DeleteOrganizationMembershipDefault) IsClientError() bool
IsClientError returns true when this delete organization membership default response has a 4xx status code
func (*DeleteOrganizationMembershipDefault) IsCode ¶
func (o *DeleteOrganizationMembershipDefault) IsCode(code int) bool
IsCode returns true when this delete organization membership default response a status code equal to that given
func (*DeleteOrganizationMembershipDefault) IsRedirect ¶
func (o *DeleteOrganizationMembershipDefault) IsRedirect() bool
IsRedirect returns true when this delete organization membership default response has a 3xx status code
func (*DeleteOrganizationMembershipDefault) IsServerError ¶
func (o *DeleteOrganizationMembershipDefault) IsServerError() bool
IsServerError returns true when this delete organization membership default response has a 5xx status code
func (*DeleteOrganizationMembershipDefault) IsSuccess ¶
func (o *DeleteOrganizationMembershipDefault) IsSuccess() bool
IsSuccess returns true when this delete organization membership default response has a 2xx status code
func (*DeleteOrganizationMembershipDefault) String ¶
func (o *DeleteOrganizationMembershipDefault) String() string
type DeleteOrganizationMembershipOK ¶
type DeleteOrganizationMembershipOK struct {
Payload models.HashicorpCloudIamDeleteOrganizationMembershipResponse
}
DeleteOrganizationMembershipOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOrganizationMembershipOK ¶
func NewDeleteOrganizationMembershipOK() *DeleteOrganizationMembershipOK
NewDeleteOrganizationMembershipOK creates a DeleteOrganizationMembershipOK with default headers values
func (*DeleteOrganizationMembershipOK) Error ¶
func (o *DeleteOrganizationMembershipOK) Error() string
func (*DeleteOrganizationMembershipOK) GetPayload ¶
func (o *DeleteOrganizationMembershipOK) GetPayload() models.HashicorpCloudIamDeleteOrganizationMembershipResponse
func (*DeleteOrganizationMembershipOK) IsClientError ¶
func (o *DeleteOrganizationMembershipOK) IsClientError() bool
IsClientError returns true when this delete organization membership o k response has a 4xx status code
func (*DeleteOrganizationMembershipOK) IsCode ¶
func (o *DeleteOrganizationMembershipOK) IsCode(code int) bool
IsCode returns true when this delete organization membership o k response a status code equal to that given
func (*DeleteOrganizationMembershipOK) IsRedirect ¶
func (o *DeleteOrganizationMembershipOK) IsRedirect() bool
IsRedirect returns true when this delete organization membership o k response has a 3xx status code
func (*DeleteOrganizationMembershipOK) IsServerError ¶
func (o *DeleteOrganizationMembershipOK) IsServerError() bool
IsServerError returns true when this delete organization membership o k response has a 5xx status code
func (*DeleteOrganizationMembershipOK) IsSuccess ¶
func (o *DeleteOrganizationMembershipOK) IsSuccess() bool
IsSuccess returns true when this delete organization membership o k response has a 2xx status code
func (*DeleteOrganizationMembershipOK) String ¶
func (o *DeleteOrganizationMembershipOK) String() string
type DeleteOrganizationMembershipParams ¶
type DeleteOrganizationMembershipParams 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 }
DeleteOrganizationMembershipParams contains all the parameters to send to the API endpoint
for the delete organization membership operation. Typically these are written to a http.Request.
func NewDeleteOrganizationMembershipParams ¶
func NewDeleteOrganizationMembershipParams() *DeleteOrganizationMembershipParams
NewDeleteOrganizationMembershipParams creates a new DeleteOrganizationMembershipParams 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 NewDeleteOrganizationMembershipParamsWithContext ¶
func NewDeleteOrganizationMembershipParamsWithContext(ctx context.Context) *DeleteOrganizationMembershipParams
NewDeleteOrganizationMembershipParamsWithContext creates a new DeleteOrganizationMembershipParams object with the ability to set a context for a request.
func NewDeleteOrganizationMembershipParamsWithHTTPClient ¶
func NewDeleteOrganizationMembershipParamsWithHTTPClient(client *http.Client) *DeleteOrganizationMembershipParams
NewDeleteOrganizationMembershipParamsWithHTTPClient creates a new DeleteOrganizationMembershipParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteOrganizationMembershipParamsWithTimeout ¶
func NewDeleteOrganizationMembershipParamsWithTimeout(timeout time.Duration) *DeleteOrganizationMembershipParams
NewDeleteOrganizationMembershipParamsWithTimeout creates a new DeleteOrganizationMembershipParams object with the ability to set a timeout on a request.
func (*DeleteOrganizationMembershipParams) SetContext ¶
func (o *DeleteOrganizationMembershipParams) SetContext(ctx context.Context)
SetContext adds the context to the delete organization membership params
func (*DeleteOrganizationMembershipParams) SetDefaults ¶
func (o *DeleteOrganizationMembershipParams) SetDefaults()
SetDefaults hydrates default values in the delete organization membership params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationMembershipParams) SetHTTPClient ¶
func (o *DeleteOrganizationMembershipParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete organization membership params
func (*DeleteOrganizationMembershipParams) SetOrganizationID ¶
func (o *DeleteOrganizationMembershipParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the delete organization membership params
func (*DeleteOrganizationMembershipParams) SetTimeout ¶
func (o *DeleteOrganizationMembershipParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete organization membership params
func (*DeleteOrganizationMembershipParams) SetUserPrincipalID ¶
func (o *DeleteOrganizationMembershipParams) SetUserPrincipalID(userPrincipalID string)
SetUserPrincipalID adds the userPrincipalId to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WithContext ¶
func (o *DeleteOrganizationMembershipParams) WithContext(ctx context.Context) *DeleteOrganizationMembershipParams
WithContext adds the context to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WithDefaults ¶
func (o *DeleteOrganizationMembershipParams) WithDefaults() *DeleteOrganizationMembershipParams
WithDefaults hydrates default values in the delete organization membership params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteOrganizationMembershipParams) WithHTTPClient ¶
func (o *DeleteOrganizationMembershipParams) WithHTTPClient(client *http.Client) *DeleteOrganizationMembershipParams
WithHTTPClient adds the HTTPClient to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WithOrganizationID ¶
func (o *DeleteOrganizationMembershipParams) WithOrganizationID(organizationID string) *DeleteOrganizationMembershipParams
WithOrganizationID adds the organizationID to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WithTimeout ¶
func (o *DeleteOrganizationMembershipParams) WithTimeout(timeout time.Duration) *DeleteOrganizationMembershipParams
WithTimeout adds the timeout to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WithUserPrincipalID ¶
func (o *DeleteOrganizationMembershipParams) WithUserPrincipalID(userPrincipalID string) *DeleteOrganizationMembershipParams
WithUserPrincipalID adds the userPrincipalID to the delete organization membership params
func (*DeleteOrganizationMembershipParams) WriteToRequest ¶
func (o *DeleteOrganizationMembershipParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrganizationMembershipReader ¶
type DeleteOrganizationMembershipReader struct {
// contains filtered or unexported fields
}
DeleteOrganizationMembershipReader is a Reader for the DeleteOrganizationMembership structure.
func (*DeleteOrganizationMembershipReader) ReadResponse ¶
func (o *DeleteOrganizationMembershipReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCurrentUserPrincipalDefault ¶
type GetCurrentUserPrincipalDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetCurrentUserPrincipalDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetCurrentUserPrincipalDefault ¶
func NewGetCurrentUserPrincipalDefault(code int) *GetCurrentUserPrincipalDefault
NewGetCurrentUserPrincipalDefault creates a GetCurrentUserPrincipalDefault with default headers values
func (*GetCurrentUserPrincipalDefault) Code ¶
func (o *GetCurrentUserPrincipalDefault) Code() int
Code gets the status code for the get current user principal default response
func (*GetCurrentUserPrincipalDefault) Error ¶
func (o *GetCurrentUserPrincipalDefault) Error() string
func (*GetCurrentUserPrincipalDefault) GetPayload ¶
func (o *GetCurrentUserPrincipalDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetCurrentUserPrincipalDefault) IsClientError ¶
func (o *GetCurrentUserPrincipalDefault) IsClientError() bool
IsClientError returns true when this get current user principal default response has a 4xx status code
func (*GetCurrentUserPrincipalDefault) IsCode ¶
func (o *GetCurrentUserPrincipalDefault) IsCode(code int) bool
IsCode returns true when this get current user principal default response a status code equal to that given
func (*GetCurrentUserPrincipalDefault) IsRedirect ¶
func (o *GetCurrentUserPrincipalDefault) IsRedirect() bool
IsRedirect returns true when this get current user principal default response has a 3xx status code
func (*GetCurrentUserPrincipalDefault) IsServerError ¶
func (o *GetCurrentUserPrincipalDefault) IsServerError() bool
IsServerError returns true when this get current user principal default response has a 5xx status code
func (*GetCurrentUserPrincipalDefault) IsSuccess ¶
func (o *GetCurrentUserPrincipalDefault) IsSuccess() bool
IsSuccess returns true when this get current user principal default response has a 2xx status code
func (*GetCurrentUserPrincipalDefault) String ¶
func (o *GetCurrentUserPrincipalDefault) String() string
type GetCurrentUserPrincipalOK ¶
type GetCurrentUserPrincipalOK struct {
Payload *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
}
GetCurrentUserPrincipalOK describes a response with status code 200, with default header values.
A successful response.
func NewGetCurrentUserPrincipalOK ¶
func NewGetCurrentUserPrincipalOK() *GetCurrentUserPrincipalOK
NewGetCurrentUserPrincipalOK creates a GetCurrentUserPrincipalOK with default headers values
func (*GetCurrentUserPrincipalOK) Error ¶
func (o *GetCurrentUserPrincipalOK) Error() string
func (*GetCurrentUserPrincipalOK) GetPayload ¶
func (o *GetCurrentUserPrincipalOK) GetPayload() *models.HashicorpCloudIamGetCurrentUserPrincipalResponse
func (*GetCurrentUserPrincipalOK) IsClientError ¶
func (o *GetCurrentUserPrincipalOK) IsClientError() bool
IsClientError returns true when this get current user principal o k response has a 4xx status code
func (*GetCurrentUserPrincipalOK) IsCode ¶
func (o *GetCurrentUserPrincipalOK) IsCode(code int) bool
IsCode returns true when this get current user principal o k response a status code equal to that given
func (*GetCurrentUserPrincipalOK) IsRedirect ¶
func (o *GetCurrentUserPrincipalOK) IsRedirect() bool
IsRedirect returns true when this get current user principal o k response has a 3xx status code
func (*GetCurrentUserPrincipalOK) IsServerError ¶
func (o *GetCurrentUserPrincipalOK) IsServerError() bool
IsServerError returns true when this get current user principal o k response has a 5xx status code
func (*GetCurrentUserPrincipalOK) IsSuccess ¶
func (o *GetCurrentUserPrincipalOK) IsSuccess() bool
IsSuccess returns true when this get current user principal o k response has a 2xx status code
func (*GetCurrentUserPrincipalOK) String ¶
func (o *GetCurrentUserPrincipalOK) String() string
type GetCurrentUserPrincipalParams ¶
type GetCurrentUserPrincipalParams 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 }
GetCurrentUserPrincipalParams contains all the parameters to send to the API endpoint
for the get current user principal operation. Typically these are written to a http.Request.
func NewGetCurrentUserPrincipalParams ¶
func NewGetCurrentUserPrincipalParams() *GetCurrentUserPrincipalParams
NewGetCurrentUserPrincipalParams creates a new GetCurrentUserPrincipalParams 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 NewGetCurrentUserPrincipalParamsWithContext ¶
func NewGetCurrentUserPrincipalParamsWithContext(ctx context.Context) *GetCurrentUserPrincipalParams
NewGetCurrentUserPrincipalParamsWithContext creates a new GetCurrentUserPrincipalParams object with the ability to set a context for a request.
func NewGetCurrentUserPrincipalParamsWithHTTPClient ¶
func NewGetCurrentUserPrincipalParamsWithHTTPClient(client *http.Client) *GetCurrentUserPrincipalParams
NewGetCurrentUserPrincipalParamsWithHTTPClient creates a new GetCurrentUserPrincipalParams object with the ability to set a custom HTTPClient for a request.
func NewGetCurrentUserPrincipalParamsWithTimeout ¶
func NewGetCurrentUserPrincipalParamsWithTimeout(timeout time.Duration) *GetCurrentUserPrincipalParams
NewGetCurrentUserPrincipalParamsWithTimeout creates a new GetCurrentUserPrincipalParams object with the ability to set a timeout on a request.
func (*GetCurrentUserPrincipalParams) SetContext ¶
func (o *GetCurrentUserPrincipalParams) SetContext(ctx context.Context)
SetContext adds the context to the get current user principal params
func (*GetCurrentUserPrincipalParams) SetDefaults ¶
func (o *GetCurrentUserPrincipalParams) SetDefaults()
SetDefaults hydrates default values in the get current user principal params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentUserPrincipalParams) SetHTTPClient ¶
func (o *GetCurrentUserPrincipalParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get current user principal params
func (*GetCurrentUserPrincipalParams) SetTimeout ¶
func (o *GetCurrentUserPrincipalParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get current user principal params
func (*GetCurrentUserPrincipalParams) SetWebPortalPreferences ¶
func (o *GetCurrentUserPrincipalParams) SetWebPortalPreferences(webPortalPreferences *bool)
SetWebPortalPreferences adds the webPortalPreferences to the get current user principal params
func (*GetCurrentUserPrincipalParams) WithContext ¶
func (o *GetCurrentUserPrincipalParams) WithContext(ctx context.Context) *GetCurrentUserPrincipalParams
WithContext adds the context to the get current user principal params
func (*GetCurrentUserPrincipalParams) WithDefaults ¶
func (o *GetCurrentUserPrincipalParams) WithDefaults() *GetCurrentUserPrincipalParams
WithDefaults hydrates default values in the get current user principal params (not the query body).
All values with no default are reset to their zero value.
func (*GetCurrentUserPrincipalParams) WithHTTPClient ¶
func (o *GetCurrentUserPrincipalParams) WithHTTPClient(client *http.Client) *GetCurrentUserPrincipalParams
WithHTTPClient adds the HTTPClient to the get current user principal params
func (*GetCurrentUserPrincipalParams) WithTimeout ¶
func (o *GetCurrentUserPrincipalParams) WithTimeout(timeout time.Duration) *GetCurrentUserPrincipalParams
WithTimeout adds the timeout to the get current user principal params
func (*GetCurrentUserPrincipalParams) WithWebPortalPreferences ¶
func (o *GetCurrentUserPrincipalParams) WithWebPortalPreferences(webPortalPreferences *bool) *GetCurrentUserPrincipalParams
WithWebPortalPreferences adds the webPortalPreferences to the get current user principal params
func (*GetCurrentUserPrincipalParams) WriteToRequest ¶
func (o *GetCurrentUserPrincipalParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCurrentUserPrincipalReader ¶
type GetCurrentUserPrincipalReader struct {
// contains filtered or unexported fields
}
GetCurrentUserPrincipalReader is a Reader for the GetCurrentUserPrincipal structure.
func (*GetCurrentUserPrincipalReader) ReadResponse ¶
func (o *GetCurrentUserPrincipalReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationAuthMetadataDefault ¶
type GetOrganizationAuthMetadataDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetOrganizationAuthMetadataDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetOrganizationAuthMetadataDefault ¶
func NewGetOrganizationAuthMetadataDefault(code int) *GetOrganizationAuthMetadataDefault
NewGetOrganizationAuthMetadataDefault creates a GetOrganizationAuthMetadataDefault with default headers values
func (*GetOrganizationAuthMetadataDefault) Code ¶
func (o *GetOrganizationAuthMetadataDefault) Code() int
Code gets the status code for the get organization auth metadata default response
func (*GetOrganizationAuthMetadataDefault) Error ¶
func (o *GetOrganizationAuthMetadataDefault) Error() string
func (*GetOrganizationAuthMetadataDefault) GetPayload ¶
func (o *GetOrganizationAuthMetadataDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetOrganizationAuthMetadataDefault) IsClientError ¶
func (o *GetOrganizationAuthMetadataDefault) IsClientError() bool
IsClientError returns true when this get organization auth metadata default response has a 4xx status code
func (*GetOrganizationAuthMetadataDefault) IsCode ¶
func (o *GetOrganizationAuthMetadataDefault) IsCode(code int) bool
IsCode returns true when this get organization auth metadata default response a status code equal to that given
func (*GetOrganizationAuthMetadataDefault) IsRedirect ¶
func (o *GetOrganizationAuthMetadataDefault) IsRedirect() bool
IsRedirect returns true when this get organization auth metadata default response has a 3xx status code
func (*GetOrganizationAuthMetadataDefault) IsServerError ¶
func (o *GetOrganizationAuthMetadataDefault) IsServerError() bool
IsServerError returns true when this get organization auth metadata default response has a 5xx status code
func (*GetOrganizationAuthMetadataDefault) IsSuccess ¶
func (o *GetOrganizationAuthMetadataDefault) IsSuccess() bool
IsSuccess returns true when this get organization auth metadata default response has a 2xx status code
func (*GetOrganizationAuthMetadataDefault) String ¶
func (o *GetOrganizationAuthMetadataDefault) String() string
type GetOrganizationAuthMetadataOK ¶
type GetOrganizationAuthMetadataOK struct {
Payload *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
}
GetOrganizationAuthMetadataOK describes a response with status code 200, with default header values.
A successful response.
func NewGetOrganizationAuthMetadataOK ¶
func NewGetOrganizationAuthMetadataOK() *GetOrganizationAuthMetadataOK
NewGetOrganizationAuthMetadataOK creates a GetOrganizationAuthMetadataOK with default headers values
func (*GetOrganizationAuthMetadataOK) Error ¶
func (o *GetOrganizationAuthMetadataOK) Error() string
func (*GetOrganizationAuthMetadataOK) GetPayload ¶
func (o *GetOrganizationAuthMetadataOK) GetPayload() *models.HashicorpCloudIamGetOrganizationAuthMetadataResponse
func (*GetOrganizationAuthMetadataOK) IsClientError ¶
func (o *GetOrganizationAuthMetadataOK) IsClientError() bool
IsClientError returns true when this get organization auth metadata o k response has a 4xx status code
func (*GetOrganizationAuthMetadataOK) IsCode ¶
func (o *GetOrganizationAuthMetadataOK) IsCode(code int) bool
IsCode returns true when this get organization auth metadata o k response a status code equal to that given
func (*GetOrganizationAuthMetadataOK) IsRedirect ¶
func (o *GetOrganizationAuthMetadataOK) IsRedirect() bool
IsRedirect returns true when this get organization auth metadata o k response has a 3xx status code
func (*GetOrganizationAuthMetadataOK) IsServerError ¶
func (o *GetOrganizationAuthMetadataOK) IsServerError() bool
IsServerError returns true when this get organization auth metadata o k response has a 5xx status code
func (*GetOrganizationAuthMetadataOK) IsSuccess ¶
func (o *GetOrganizationAuthMetadataOK) IsSuccess() bool
IsSuccess returns true when this get organization auth metadata o k response has a 2xx status code
func (*GetOrganizationAuthMetadataOK) String ¶
func (o *GetOrganizationAuthMetadataOK) String() string
type GetOrganizationAuthMetadataParams ¶
type GetOrganizationAuthMetadataParams 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 }
GetOrganizationAuthMetadataParams contains all the parameters to send to the API endpoint
for the get organization auth metadata operation. Typically these are written to a http.Request.
func NewGetOrganizationAuthMetadataParams ¶
func NewGetOrganizationAuthMetadataParams() *GetOrganizationAuthMetadataParams
NewGetOrganizationAuthMetadataParams creates a new GetOrganizationAuthMetadataParams 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 NewGetOrganizationAuthMetadataParamsWithContext ¶
func NewGetOrganizationAuthMetadataParamsWithContext(ctx context.Context) *GetOrganizationAuthMetadataParams
NewGetOrganizationAuthMetadataParamsWithContext creates a new GetOrganizationAuthMetadataParams object with the ability to set a context for a request.
func NewGetOrganizationAuthMetadataParamsWithHTTPClient ¶
func NewGetOrganizationAuthMetadataParamsWithHTTPClient(client *http.Client) *GetOrganizationAuthMetadataParams
NewGetOrganizationAuthMetadataParamsWithHTTPClient creates a new GetOrganizationAuthMetadataParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationAuthMetadataParamsWithTimeout ¶
func NewGetOrganizationAuthMetadataParamsWithTimeout(timeout time.Duration) *GetOrganizationAuthMetadataParams
NewGetOrganizationAuthMetadataParamsWithTimeout creates a new GetOrganizationAuthMetadataParams object with the ability to set a timeout on a request.
func (*GetOrganizationAuthMetadataParams) SetContext ¶
func (o *GetOrganizationAuthMetadataParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) SetDefaults ¶
func (o *GetOrganizationAuthMetadataParams) SetDefaults()
SetDefaults hydrates default values in the get organization auth metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationAuthMetadataParams) SetHTTPClient ¶
func (o *GetOrganizationAuthMetadataParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) SetOrganizationID ¶
func (o *GetOrganizationAuthMetadataParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) SetTimeout ¶
func (o *GetOrganizationAuthMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) WithContext ¶
func (o *GetOrganizationAuthMetadataParams) WithContext(ctx context.Context) *GetOrganizationAuthMetadataParams
WithContext adds the context to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) WithDefaults ¶
func (o *GetOrganizationAuthMetadataParams) WithDefaults() *GetOrganizationAuthMetadataParams
WithDefaults hydrates default values in the get organization auth metadata params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationAuthMetadataParams) WithHTTPClient ¶
func (o *GetOrganizationAuthMetadataParams) WithHTTPClient(client *http.Client) *GetOrganizationAuthMetadataParams
WithHTTPClient adds the HTTPClient to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) WithOrganizationID ¶
func (o *GetOrganizationAuthMetadataParams) WithOrganizationID(organizationID string) *GetOrganizationAuthMetadataParams
WithOrganizationID adds the organizationID to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) WithTimeout ¶
func (o *GetOrganizationAuthMetadataParams) WithTimeout(timeout time.Duration) *GetOrganizationAuthMetadataParams
WithTimeout adds the timeout to the get organization auth metadata params
func (*GetOrganizationAuthMetadataParams) WriteToRequest ¶
func (o *GetOrganizationAuthMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationAuthMetadataReader ¶
type GetOrganizationAuthMetadataReader struct {
// contains filtered or unexported fields
}
GetOrganizationAuthMetadataReader is a Reader for the GetOrganizationAuthMetadata structure.
func (*GetOrganizationAuthMetadataReader) ReadResponse ¶
func (o *GetOrganizationAuthMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserPrincipalByIDInOrganizationDefault ¶
type GetUserPrincipalByIDInOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetUserPrincipalByIDInOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetUserPrincipalByIDInOrganizationDefault ¶
func NewGetUserPrincipalByIDInOrganizationDefault(code int) *GetUserPrincipalByIDInOrganizationDefault
NewGetUserPrincipalByIDInOrganizationDefault creates a GetUserPrincipalByIDInOrganizationDefault with default headers values
func (*GetUserPrincipalByIDInOrganizationDefault) Code ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) Code() int
Code gets the status code for the get user principal by Id in organization default response
func (*GetUserPrincipalByIDInOrganizationDefault) Error ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) Error() string
func (*GetUserPrincipalByIDInOrganizationDefault) GetPayload ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetUserPrincipalByIDInOrganizationDefault) IsClientError ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) IsClientError() bool
IsClientError returns true when this get user principal by Id in organization default response has a 4xx status code
func (*GetUserPrincipalByIDInOrganizationDefault) IsCode ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) IsCode(code int) bool
IsCode returns true when this get user principal by Id in organization default response a status code equal to that given
func (*GetUserPrincipalByIDInOrganizationDefault) IsRedirect ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this get user principal by Id in organization default response has a 3xx status code
func (*GetUserPrincipalByIDInOrganizationDefault) IsServerError ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) IsServerError() bool
IsServerError returns true when this get user principal by Id in organization default response has a 5xx status code
func (*GetUserPrincipalByIDInOrganizationDefault) IsSuccess ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this get user principal by Id in organization default response has a 2xx status code
func (*GetUserPrincipalByIDInOrganizationDefault) String ¶
func (o *GetUserPrincipalByIDInOrganizationDefault) String() string
type GetUserPrincipalByIDInOrganizationOK ¶
type GetUserPrincipalByIDInOrganizationOK struct {
Payload *models.HashicorpCloudIamUserPrincipalResponse
}
GetUserPrincipalByIDInOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewGetUserPrincipalByIDInOrganizationOK ¶
func NewGetUserPrincipalByIDInOrganizationOK() *GetUserPrincipalByIDInOrganizationOK
NewGetUserPrincipalByIDInOrganizationOK creates a GetUserPrincipalByIDInOrganizationOK with default headers values
func (*GetUserPrincipalByIDInOrganizationOK) Error ¶
func (o *GetUserPrincipalByIDInOrganizationOK) Error() string
func (*GetUserPrincipalByIDInOrganizationOK) GetPayload ¶
func (o *GetUserPrincipalByIDInOrganizationOK) GetPayload() *models.HashicorpCloudIamUserPrincipalResponse
func (*GetUserPrincipalByIDInOrganizationOK) IsClientError ¶
func (o *GetUserPrincipalByIDInOrganizationOK) IsClientError() bool
IsClientError returns true when this get user principal by Id in organization o k response has a 4xx status code
func (*GetUserPrincipalByIDInOrganizationOK) IsCode ¶
func (o *GetUserPrincipalByIDInOrganizationOK) IsCode(code int) bool
IsCode returns true when this get user principal by Id in organization o k response a status code equal to that given
func (*GetUserPrincipalByIDInOrganizationOK) IsRedirect ¶
func (o *GetUserPrincipalByIDInOrganizationOK) IsRedirect() bool
IsRedirect returns true when this get user principal by Id in organization o k response has a 3xx status code
func (*GetUserPrincipalByIDInOrganizationOK) IsServerError ¶
func (o *GetUserPrincipalByIDInOrganizationOK) IsServerError() bool
IsServerError returns true when this get user principal by Id in organization o k response has a 5xx status code
func (*GetUserPrincipalByIDInOrganizationOK) IsSuccess ¶
func (o *GetUserPrincipalByIDInOrganizationOK) IsSuccess() bool
IsSuccess returns true when this get user principal by Id in organization o k response has a 2xx status code
func (*GetUserPrincipalByIDInOrganizationOK) String ¶
func (o *GetUserPrincipalByIDInOrganizationOK) String() string
type GetUserPrincipalByIDInOrganizationParams ¶
type GetUserPrincipalByIDInOrganizationParams 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 }
GetUserPrincipalByIDInOrganizationParams contains all the parameters to send to the API endpoint
for the get user principal by Id in organization operation. Typically these are written to a http.Request.
func NewGetUserPrincipalByIDInOrganizationParams ¶
func NewGetUserPrincipalByIDInOrganizationParams() *GetUserPrincipalByIDInOrganizationParams
NewGetUserPrincipalByIDInOrganizationParams creates a new GetUserPrincipalByIDInOrganizationParams 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 NewGetUserPrincipalByIDInOrganizationParamsWithContext ¶
func NewGetUserPrincipalByIDInOrganizationParamsWithContext(ctx context.Context) *GetUserPrincipalByIDInOrganizationParams
NewGetUserPrincipalByIDInOrganizationParamsWithContext creates a new GetUserPrincipalByIDInOrganizationParams object with the ability to set a context for a request.
func NewGetUserPrincipalByIDInOrganizationParamsWithHTTPClient ¶
func NewGetUserPrincipalByIDInOrganizationParamsWithHTTPClient(client *http.Client) *GetUserPrincipalByIDInOrganizationParams
NewGetUserPrincipalByIDInOrganizationParamsWithHTTPClient creates a new GetUserPrincipalByIDInOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserPrincipalByIDInOrganizationParamsWithTimeout ¶
func NewGetUserPrincipalByIDInOrganizationParamsWithTimeout(timeout time.Duration) *GetUserPrincipalByIDInOrganizationParams
NewGetUserPrincipalByIDInOrganizationParamsWithTimeout creates a new GetUserPrincipalByIDInOrganizationParams object with the ability to set a timeout on a request.
func (*GetUserPrincipalByIDInOrganizationParams) SetContext ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) SetDefaults ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the get user principal by Id in organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserPrincipalByIDInOrganizationParams) SetHTTPClient ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) SetOrganizationID ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) SetTimeout ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID ¶
func (o *GetUserPrincipalByIDInOrganizationParams) SetUserPrincipalID(userPrincipalID string)
SetUserPrincipalID adds the userPrincipalId to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WithContext ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithContext(ctx context.Context) *GetUserPrincipalByIDInOrganizationParams
WithContext adds the context to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WithDefaults ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithDefaults() *GetUserPrincipalByIDInOrganizationParams
WithDefaults hydrates default values in the get user principal by Id in organization params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserPrincipalByIDInOrganizationParams) WithHTTPClient ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithHTTPClient(client *http.Client) *GetUserPrincipalByIDInOrganizationParams
WithHTTPClient adds the HTTPClient to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WithOrganizationID ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithOrganizationID(organizationID string) *GetUserPrincipalByIDInOrganizationParams
WithOrganizationID adds the organizationID to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WithTimeout ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithTimeout(timeout time.Duration) *GetUserPrincipalByIDInOrganizationParams
WithTimeout adds the timeout to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WithUserPrincipalID(userPrincipalID string) *GetUserPrincipalByIDInOrganizationParams
WithUserPrincipalID adds the userPrincipalID to the get user principal by Id in organization params
func (*GetUserPrincipalByIDInOrganizationParams) WriteToRequest ¶
func (o *GetUserPrincipalByIDInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserPrincipalByIDInOrganizationReader ¶
type GetUserPrincipalByIDInOrganizationReader struct {
// contains filtered or unexported fields
}
GetUserPrincipalByIDInOrganizationReader is a Reader for the GetUserPrincipalByIDInOrganization structure.
func (*GetUserPrincipalByIDInOrganizationReader) ReadResponse ¶
func (o *GetUserPrincipalByIDInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserPrincipalsByIDsInOrganizationDefault ¶
type GetUserPrincipalsByIDsInOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetUserPrincipalsByIDsInOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetUserPrincipalsByIDsInOrganizationDefault ¶
func NewGetUserPrincipalsByIDsInOrganizationDefault(code int) *GetUserPrincipalsByIDsInOrganizationDefault
NewGetUserPrincipalsByIDsInOrganizationDefault creates a GetUserPrincipalsByIDsInOrganizationDefault with default headers values
func (*GetUserPrincipalsByIDsInOrganizationDefault) Code ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) Code() int
Code gets the status code for the get user principals by i ds in organization default response
func (*GetUserPrincipalsByIDsInOrganizationDefault) Error ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) Error() string
func (*GetUserPrincipalsByIDsInOrganizationDefault) GetPayload ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetUserPrincipalsByIDsInOrganizationDefault) IsClientError ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsClientError() bool
IsClientError returns true when this get user principals by i ds in organization default response has a 4xx status code
func (*GetUserPrincipalsByIDsInOrganizationDefault) IsCode ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsCode(code int) bool
IsCode returns true when this get user principals by i ds in organization default response a status code equal to that given
func (*GetUserPrincipalsByIDsInOrganizationDefault) IsRedirect ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this get user principals by i ds in organization default response has a 3xx status code
func (*GetUserPrincipalsByIDsInOrganizationDefault) IsServerError ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsServerError() bool
IsServerError returns true when this get user principals by i ds in organization default response has a 5xx status code
func (*GetUserPrincipalsByIDsInOrganizationDefault) IsSuccess ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this get user principals by i ds in organization default response has a 2xx status code
func (*GetUserPrincipalsByIDsInOrganizationDefault) String ¶
func (o *GetUserPrincipalsByIDsInOrganizationDefault) String() string
type GetUserPrincipalsByIDsInOrganizationOK ¶
type GetUserPrincipalsByIDsInOrganizationOK struct {
Payload *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationResponse
}
GetUserPrincipalsByIDsInOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewGetUserPrincipalsByIDsInOrganizationOK ¶
func NewGetUserPrincipalsByIDsInOrganizationOK() *GetUserPrincipalsByIDsInOrganizationOK
NewGetUserPrincipalsByIDsInOrganizationOK creates a GetUserPrincipalsByIDsInOrganizationOK with default headers values
func (*GetUserPrincipalsByIDsInOrganizationOK) Error ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) Error() string
func (*GetUserPrincipalsByIDsInOrganizationOK) GetPayload ¶
func (*GetUserPrincipalsByIDsInOrganizationOK) IsClientError ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) IsClientError() bool
IsClientError returns true when this get user principals by i ds in organization o k response has a 4xx status code
func (*GetUserPrincipalsByIDsInOrganizationOK) IsCode ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) IsCode(code int) bool
IsCode returns true when this get user principals by i ds in organization o k response a status code equal to that given
func (*GetUserPrincipalsByIDsInOrganizationOK) IsRedirect ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) IsRedirect() bool
IsRedirect returns true when this get user principals by i ds in organization o k response has a 3xx status code
func (*GetUserPrincipalsByIDsInOrganizationOK) IsServerError ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) IsServerError() bool
IsServerError returns true when this get user principals by i ds in organization o k response has a 5xx status code
func (*GetUserPrincipalsByIDsInOrganizationOK) IsSuccess ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) IsSuccess() bool
IsSuccess returns true when this get user principals by i ds in organization o k response has a 2xx status code
func (*GetUserPrincipalsByIDsInOrganizationOK) String ¶
func (o *GetUserPrincipalsByIDsInOrganizationOK) String() string
type GetUserPrincipalsByIDsInOrganizationParams ¶
type GetUserPrincipalsByIDsInOrganizationParams struct { // Body. Body *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationRequest /* 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 }
GetUserPrincipalsByIDsInOrganizationParams contains all the parameters to send to the API endpoint
for the get user principals by i ds in organization operation. Typically these are written to a http.Request.
func NewGetUserPrincipalsByIDsInOrganizationParams ¶
func NewGetUserPrincipalsByIDsInOrganizationParams() *GetUserPrincipalsByIDsInOrganizationParams
NewGetUserPrincipalsByIDsInOrganizationParams creates a new GetUserPrincipalsByIDsInOrganizationParams 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 NewGetUserPrincipalsByIDsInOrganizationParamsWithContext ¶
func NewGetUserPrincipalsByIDsInOrganizationParamsWithContext(ctx context.Context) *GetUserPrincipalsByIDsInOrganizationParams
NewGetUserPrincipalsByIDsInOrganizationParamsWithContext creates a new GetUserPrincipalsByIDsInOrganizationParams object with the ability to set a context for a request.
func NewGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient ¶
func NewGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient(client *http.Client) *GetUserPrincipalsByIDsInOrganizationParams
NewGetUserPrincipalsByIDsInOrganizationParamsWithHTTPClient creates a new GetUserPrincipalsByIDsInOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserPrincipalsByIDsInOrganizationParamsWithTimeout ¶
func NewGetUserPrincipalsByIDsInOrganizationParamsWithTimeout(timeout time.Duration) *GetUserPrincipalsByIDsInOrganizationParams
NewGetUserPrincipalsByIDsInOrganizationParamsWithTimeout creates a new GetUserPrincipalsByIDsInOrganizationParams object with the ability to set a timeout on a request.
func (*GetUserPrincipalsByIDsInOrganizationParams) SetBody ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetBody(body *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationRequest)
SetBody adds the body to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) SetContext ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) SetDefaults ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the 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 (*GetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) SetTimeout ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WithBody ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithBody(body *models.HashicorpCloudIamGetUserPrincipalsByIDsInOrganizationRequest) *GetUserPrincipalsByIDsInOrganizationParams
WithBody adds the body to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WithContext ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithContext(ctx context.Context) *GetUserPrincipalsByIDsInOrganizationParams
WithContext adds the context to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WithDefaults ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithDefaults() *GetUserPrincipalsByIDsInOrganizationParams
WithDefaults hydrates default values in the 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 (*GetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithHTTPClient(client *http.Client) *GetUserPrincipalsByIDsInOrganizationParams
WithHTTPClient adds the HTTPClient to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithOrganizationID(organizationID string) *GetUserPrincipalsByIDsInOrganizationParams
WithOrganizationID adds the organizationID to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WithTimeout ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WithTimeout(timeout time.Duration) *GetUserPrincipalsByIDsInOrganizationParams
WithTimeout adds the timeout to the get user principals by i ds in organization params
func (*GetUserPrincipalsByIDsInOrganizationParams) WriteToRequest ¶
func (o *GetUserPrincipalsByIDsInOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserPrincipalsByIDsInOrganizationReader ¶
type GetUserPrincipalsByIDsInOrganizationReader struct {
// contains filtered or unexported fields
}
GetUserPrincipalsByIDsInOrganizationReader is a Reader for the GetUserPrincipalsByIDsInOrganization structure.
func (*GetUserPrincipalsByIDsInOrganizationReader) ReadResponse ¶
func (o *GetUserPrincipalsByIDsInOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListUserPrincipalsByOrganizationDefault ¶
type ListUserPrincipalsByOrganizationDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListUserPrincipalsByOrganizationDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListUserPrincipalsByOrganizationDefault ¶
func NewListUserPrincipalsByOrganizationDefault(code int) *ListUserPrincipalsByOrganizationDefault
NewListUserPrincipalsByOrganizationDefault creates a ListUserPrincipalsByOrganizationDefault with default headers values
func (*ListUserPrincipalsByOrganizationDefault) Code ¶
func (o *ListUserPrincipalsByOrganizationDefault) Code() int
Code gets the status code for the list user principals by organization default response
func (*ListUserPrincipalsByOrganizationDefault) Error ¶
func (o *ListUserPrincipalsByOrganizationDefault) Error() string
func (*ListUserPrincipalsByOrganizationDefault) GetPayload ¶
func (o *ListUserPrincipalsByOrganizationDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListUserPrincipalsByOrganizationDefault) IsClientError ¶
func (o *ListUserPrincipalsByOrganizationDefault) IsClientError() bool
IsClientError returns true when this list user principals by organization default response has a 4xx status code
func (*ListUserPrincipalsByOrganizationDefault) IsCode ¶
func (o *ListUserPrincipalsByOrganizationDefault) IsCode(code int) bool
IsCode returns true when this list user principals by organization default response a status code equal to that given
func (*ListUserPrincipalsByOrganizationDefault) IsRedirect ¶
func (o *ListUserPrincipalsByOrganizationDefault) IsRedirect() bool
IsRedirect returns true when this list user principals by organization default response has a 3xx status code
func (*ListUserPrincipalsByOrganizationDefault) IsServerError ¶
func (o *ListUserPrincipalsByOrganizationDefault) IsServerError() bool
IsServerError returns true when this list user principals by organization default response has a 5xx status code
func (*ListUserPrincipalsByOrganizationDefault) IsSuccess ¶
func (o *ListUserPrincipalsByOrganizationDefault) IsSuccess() bool
IsSuccess returns true when this list user principals by organization default response has a 2xx status code
func (*ListUserPrincipalsByOrganizationDefault) String ¶
func (o *ListUserPrincipalsByOrganizationDefault) String() string
type ListUserPrincipalsByOrganizationOK ¶
type ListUserPrincipalsByOrganizationOK struct {
Payload *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
}
ListUserPrincipalsByOrganizationOK describes a response with status code 200, with default header values.
A successful response.
func NewListUserPrincipalsByOrganizationOK ¶
func NewListUserPrincipalsByOrganizationOK() *ListUserPrincipalsByOrganizationOK
NewListUserPrincipalsByOrganizationOK creates a ListUserPrincipalsByOrganizationOK with default headers values
func (*ListUserPrincipalsByOrganizationOK) Error ¶
func (o *ListUserPrincipalsByOrganizationOK) Error() string
func (*ListUserPrincipalsByOrganizationOK) GetPayload ¶
func (o *ListUserPrincipalsByOrganizationOK) GetPayload() *models.HashicorpCloudIamListUserPrincipalsByOrganizationResponse
func (*ListUserPrincipalsByOrganizationOK) IsClientError ¶
func (o *ListUserPrincipalsByOrganizationOK) IsClientError() bool
IsClientError returns true when this list user principals by organization o k response has a 4xx status code
func (*ListUserPrincipalsByOrganizationOK) IsCode ¶
func (o *ListUserPrincipalsByOrganizationOK) IsCode(code int) bool
IsCode returns true when this list user principals by organization o k response a status code equal to that given
func (*ListUserPrincipalsByOrganizationOK) IsRedirect ¶
func (o *ListUserPrincipalsByOrganizationOK) IsRedirect() bool
IsRedirect returns true when this list user principals by organization o k response has a 3xx status code
func (*ListUserPrincipalsByOrganizationOK) IsServerError ¶
func (o *ListUserPrincipalsByOrganizationOK) IsServerError() bool
IsServerError returns true when this list user principals by organization o k response has a 5xx status code
func (*ListUserPrincipalsByOrganizationOK) IsSuccess ¶
func (o *ListUserPrincipalsByOrganizationOK) IsSuccess() bool
IsSuccess returns true when this list user principals by organization o k response has a 2xx status code
func (*ListUserPrincipalsByOrganizationOK) String ¶
func (o *ListUserPrincipalsByOrganizationOK) String() string
type ListUserPrincipalsByOrganizationParams ¶
type ListUserPrincipalsByOrganizationParams 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 }
ListUserPrincipalsByOrganizationParams contains all the parameters to send to the API endpoint
for the list user principals by organization operation. Typically these are written to a http.Request.
func NewListUserPrincipalsByOrganizationParams ¶
func NewListUserPrincipalsByOrganizationParams() *ListUserPrincipalsByOrganizationParams
NewListUserPrincipalsByOrganizationParams creates a new ListUserPrincipalsByOrganizationParams 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 NewListUserPrincipalsByOrganizationParamsWithContext ¶
func NewListUserPrincipalsByOrganizationParamsWithContext(ctx context.Context) *ListUserPrincipalsByOrganizationParams
NewListUserPrincipalsByOrganizationParamsWithContext creates a new ListUserPrincipalsByOrganizationParams object with the ability to set a context for a request.
func NewListUserPrincipalsByOrganizationParamsWithHTTPClient ¶
func NewListUserPrincipalsByOrganizationParamsWithHTTPClient(client *http.Client) *ListUserPrincipalsByOrganizationParams
NewListUserPrincipalsByOrganizationParamsWithHTTPClient creates a new ListUserPrincipalsByOrganizationParams object with the ability to set a custom HTTPClient for a request.
func NewListUserPrincipalsByOrganizationParamsWithTimeout ¶
func NewListUserPrincipalsByOrganizationParamsWithTimeout(timeout time.Duration) *ListUserPrincipalsByOrganizationParams
NewListUserPrincipalsByOrganizationParamsWithTimeout creates a new ListUserPrincipalsByOrganizationParams object with the ability to set a timeout on a request.
func (*ListUserPrincipalsByOrganizationParams) SetContext ¶
func (o *ListUserPrincipalsByOrganizationParams) SetContext(ctx context.Context)
SetContext adds the context to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetDefaults ¶
func (o *ListUserPrincipalsByOrganizationParams) SetDefaults()
SetDefaults hydrates default values in the list user principals by organization params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserPrincipalsByOrganizationParams) SetHTTPClient ¶
func (o *ListUserPrincipalsByOrganizationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetOrganizationID ¶
func (o *ListUserPrincipalsByOrganizationParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken ¶
func (o *ListUserPrincipalsByOrganizationParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetPaginationPageSize ¶
func (o *ListUserPrincipalsByOrganizationParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken ¶
func (o *ListUserPrincipalsByOrganizationParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) SetTimeout ¶
func (o *ListUserPrincipalsByOrganizationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithContext ¶
func (o *ListUserPrincipalsByOrganizationParams) WithContext(ctx context.Context) *ListUserPrincipalsByOrganizationParams
WithContext adds the context to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithDefaults ¶
func (o *ListUserPrincipalsByOrganizationParams) WithDefaults() *ListUserPrincipalsByOrganizationParams
WithDefaults hydrates default values in the list user principals by organization params (not the query body).
All values with no default are reset to their zero value.
func (*ListUserPrincipalsByOrganizationParams) WithHTTPClient ¶
func (o *ListUserPrincipalsByOrganizationParams) WithHTTPClient(client *http.Client) *ListUserPrincipalsByOrganizationParams
WithHTTPClient adds the HTTPClient to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithOrganizationID ¶
func (o *ListUserPrincipalsByOrganizationParams) WithOrganizationID(organizationID string) *ListUserPrincipalsByOrganizationParams
WithOrganizationID adds the organizationID to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken ¶
func (o *ListUserPrincipalsByOrganizationParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListUserPrincipalsByOrganizationParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithPaginationPageSize ¶
func (o *ListUserPrincipalsByOrganizationParams) WithPaginationPageSize(paginationPageSize *int64) *ListUserPrincipalsByOrganizationParams
WithPaginationPageSize adds the paginationPageSize to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken ¶
func (o *ListUserPrincipalsByOrganizationParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListUserPrincipalsByOrganizationParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WithTimeout ¶
func (o *ListUserPrincipalsByOrganizationParams) WithTimeout(timeout time.Duration) *ListUserPrincipalsByOrganizationParams
WithTimeout adds the timeout to the list user principals by organization params
func (*ListUserPrincipalsByOrganizationParams) WriteToRequest ¶
func (o *ListUserPrincipalsByOrganizationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListUserPrincipalsByOrganizationReader ¶
type ListUserPrincipalsByOrganizationReader struct {
// contains filtered or unexported fields
}
ListUserPrincipalsByOrganizationReader is a Reader for the ListUserPrincipalsByOrganization structure.
func (*ListUserPrincipalsByOrganizationReader) ReadResponse ¶
func (o *ListUserPrincipalsByOrganizationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PingDefault ¶
type PingDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
PingDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPingDefault ¶
func NewPingDefault(code int) *PingDefault
NewPingDefault creates a PingDefault with default headers values
func (*PingDefault) Code ¶
func (o *PingDefault) Code() int
Code gets the status code for the ping default response
func (*PingDefault) Error ¶
func (o *PingDefault) Error() string
func (*PingDefault) GetPayload ¶
func (o *PingDefault) GetPayload() *cloud.GoogleRPCStatus
func (*PingDefault) IsClientError ¶
func (o *PingDefault) IsClientError() bool
IsClientError returns true when this ping default response has a 4xx status code
func (*PingDefault) IsCode ¶
func (o *PingDefault) IsCode(code int) bool
IsCode returns true when this ping default response a status code equal to that given
func (*PingDefault) IsRedirect ¶
func (o *PingDefault) IsRedirect() bool
IsRedirect returns true when this ping default response has a 3xx status code
func (*PingDefault) IsServerError ¶
func (o *PingDefault) IsServerError() bool
IsServerError returns true when this ping default response has a 5xx status code
func (*PingDefault) IsSuccess ¶
func (o *PingDefault) IsSuccess() bool
IsSuccess returns true when this ping default response has a 2xx status code
func (*PingDefault) String ¶
func (o *PingDefault) String() string
type PingOK ¶
type PingOK struct {
Payload models.HashicorpCloudIamPingResponse
}
PingOK describes a response with status code 200, with default header values.
A successful response.
func (*PingOK) GetPayload ¶
func (o *PingOK) GetPayload() models.HashicorpCloudIamPingResponse
func (*PingOK) IsClientError ¶
IsClientError returns true when this ping o k response has a 4xx status code
func (*PingOK) IsCode ¶
IsCode returns true when this ping o k response a status code equal to that given
func (*PingOK) IsRedirect ¶
IsRedirect returns true when this ping o k response has a 3xx status code
func (*PingOK) IsServerError ¶
IsServerError returns true when this ping o k response has a 5xx status code
type PingParams ¶
type PingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PingParams contains all the parameters to send to the API endpoint
for the ping operation. Typically these are written to a http.Request.
func NewPingParams ¶
func NewPingParams() *PingParams
NewPingParams creates a new PingParams 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 NewPingParamsWithContext ¶
func NewPingParamsWithContext(ctx context.Context) *PingParams
NewPingParamsWithContext creates a new PingParams object with the ability to set a context for a request.
func NewPingParamsWithHTTPClient ¶
func NewPingParamsWithHTTPClient(client *http.Client) *PingParams
NewPingParamsWithHTTPClient creates a new PingParams object with the ability to set a custom HTTPClient for a request.
func NewPingParamsWithTimeout ¶
func NewPingParamsWithTimeout(timeout time.Duration) *PingParams
NewPingParamsWithTimeout creates a new PingParams object with the ability to set a timeout on a request.
func (*PingParams) SetContext ¶
func (o *PingParams) SetContext(ctx context.Context)
SetContext adds the context to the ping params
func (*PingParams) SetDefaults ¶
func (o *PingParams) SetDefaults()
SetDefaults hydrates default values in the ping params (not the query body).
All values with no default are reset to their zero value.
func (*PingParams) SetHTTPClient ¶
func (o *PingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ping params
func (*PingParams) SetTimeout ¶
func (o *PingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping params
func (*PingParams) WithContext ¶
func (o *PingParams) WithContext(ctx context.Context) *PingParams
WithContext adds the context to the ping params
func (*PingParams) WithDefaults ¶
func (o *PingParams) WithDefaults() *PingParams
WithDefaults hydrates default values in the ping params (not the query body).
All values with no default are reset to their zero value.
func (*PingParams) WithHTTPClient ¶
func (o *PingParams) WithHTTPClient(client *http.Client) *PingParams
WithHTTPClient adds the HTTPClient to the ping params
func (*PingParams) WithTimeout ¶
func (o *PingParams) WithTimeout(timeout time.Duration) *PingParams
WithTimeout adds the timeout to the ping params
func (*PingParams) WriteToRequest ¶
func (o *PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PingReader ¶
type PingReader struct {
// contains filtered or unexported fields
}
PingReader is a Reader for the Ping structure.
func (*PingReader) ReadResponse ¶
func (o *PingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchPrincipalsDefault ¶
type SearchPrincipalsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
SearchPrincipalsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSearchPrincipalsDefault ¶
func NewSearchPrincipalsDefault(code int) *SearchPrincipalsDefault
NewSearchPrincipalsDefault creates a SearchPrincipalsDefault with default headers values
func (*SearchPrincipalsDefault) Code ¶
func (o *SearchPrincipalsDefault) Code() int
Code gets the status code for the search principals default response
func (*SearchPrincipalsDefault) Error ¶
func (o *SearchPrincipalsDefault) Error() string
func (*SearchPrincipalsDefault) GetPayload ¶
func (o *SearchPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*SearchPrincipalsDefault) IsClientError ¶
func (o *SearchPrincipalsDefault) IsClientError() bool
IsClientError returns true when this search principals default response has a 4xx status code
func (*SearchPrincipalsDefault) IsCode ¶
func (o *SearchPrincipalsDefault) IsCode(code int) bool
IsCode returns true when this search principals default response a status code equal to that given
func (*SearchPrincipalsDefault) IsRedirect ¶
func (o *SearchPrincipalsDefault) IsRedirect() bool
IsRedirect returns true when this search principals default response has a 3xx status code
func (*SearchPrincipalsDefault) IsServerError ¶
func (o *SearchPrincipalsDefault) IsServerError() bool
IsServerError returns true when this search principals default response has a 5xx status code
func (*SearchPrincipalsDefault) IsSuccess ¶
func (o *SearchPrincipalsDefault) IsSuccess() bool
IsSuccess returns true when this search principals default response has a 2xx status code
func (*SearchPrincipalsDefault) String ¶
func (o *SearchPrincipalsDefault) String() string
type SearchPrincipalsOK ¶
type SearchPrincipalsOK struct {
Payload *models.HashicorpCloudIamSearchPrincipalsResponse
}
SearchPrincipalsOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchPrincipalsOK ¶
func NewSearchPrincipalsOK() *SearchPrincipalsOK
NewSearchPrincipalsOK creates a SearchPrincipalsOK with default headers values
func (*SearchPrincipalsOK) Error ¶
func (o *SearchPrincipalsOK) Error() string
func (*SearchPrincipalsOK) GetPayload ¶
func (o *SearchPrincipalsOK) GetPayload() *models.HashicorpCloudIamSearchPrincipalsResponse
func (*SearchPrincipalsOK) IsClientError ¶
func (o *SearchPrincipalsOK) IsClientError() bool
IsClientError returns true when this search principals o k response has a 4xx status code
func (*SearchPrincipalsOK) IsCode ¶
func (o *SearchPrincipalsOK) IsCode(code int) bool
IsCode returns true when this search principals o k response a status code equal to that given
func (*SearchPrincipalsOK) IsRedirect ¶
func (o *SearchPrincipalsOK) IsRedirect() bool
IsRedirect returns true when this search principals o k response has a 3xx status code
func (*SearchPrincipalsOK) IsServerError ¶
func (o *SearchPrincipalsOK) IsServerError() bool
IsServerError returns true when this search principals o k response has a 5xx status code
func (*SearchPrincipalsOK) IsSuccess ¶
func (o *SearchPrincipalsOK) IsSuccess() bool
IsSuccess returns true when this search principals o k response has a 2xx status code
func (*SearchPrincipalsOK) String ¶
func (o *SearchPrincipalsOK) String() string
type SearchPrincipalsParams ¶
type SearchPrincipalsParams struct { // Body. Body *models.HashicorpCloudIamSearchPrincipalsRequest /* 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 }
SearchPrincipalsParams contains all the parameters to send to the API endpoint
for the search principals operation. Typically these are written to a http.Request.
func NewSearchPrincipalsParams ¶
func NewSearchPrincipalsParams() *SearchPrincipalsParams
NewSearchPrincipalsParams creates a new SearchPrincipalsParams 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 NewSearchPrincipalsParamsWithContext ¶
func NewSearchPrincipalsParamsWithContext(ctx context.Context) *SearchPrincipalsParams
NewSearchPrincipalsParamsWithContext creates a new SearchPrincipalsParams object with the ability to set a context for a request.
func NewSearchPrincipalsParamsWithHTTPClient ¶
func NewSearchPrincipalsParamsWithHTTPClient(client *http.Client) *SearchPrincipalsParams
NewSearchPrincipalsParamsWithHTTPClient creates a new SearchPrincipalsParams object with the ability to set a custom HTTPClient for a request.
func NewSearchPrincipalsParamsWithTimeout ¶
func NewSearchPrincipalsParamsWithTimeout(timeout time.Duration) *SearchPrincipalsParams
NewSearchPrincipalsParamsWithTimeout creates a new SearchPrincipalsParams object with the ability to set a timeout on a request.
func (*SearchPrincipalsParams) SetBody ¶
func (o *SearchPrincipalsParams) SetBody(body *models.HashicorpCloudIamSearchPrincipalsRequest)
SetBody adds the body to the search principals params
func (*SearchPrincipalsParams) SetContext ¶
func (o *SearchPrincipalsParams) SetContext(ctx context.Context)
SetContext adds the context to the search principals params
func (*SearchPrincipalsParams) SetDefaults ¶
func (o *SearchPrincipalsParams) SetDefaults()
SetDefaults hydrates default values in the search principals params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPrincipalsParams) SetHTTPClient ¶
func (o *SearchPrincipalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search principals params
func (*SearchPrincipalsParams) SetOrganizationID ¶
func (o *SearchPrincipalsParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the search principals params
func (*SearchPrincipalsParams) SetTimeout ¶
func (o *SearchPrincipalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search principals params
func (*SearchPrincipalsParams) WithBody ¶
func (o *SearchPrincipalsParams) WithBody(body *models.HashicorpCloudIamSearchPrincipalsRequest) *SearchPrincipalsParams
WithBody adds the body to the search principals params
func (*SearchPrincipalsParams) WithContext ¶
func (o *SearchPrincipalsParams) WithContext(ctx context.Context) *SearchPrincipalsParams
WithContext adds the context to the search principals params
func (*SearchPrincipalsParams) WithDefaults ¶
func (o *SearchPrincipalsParams) WithDefaults() *SearchPrincipalsParams
WithDefaults hydrates default values in the search principals params (not the query body).
All values with no default are reset to their zero value.
func (*SearchPrincipalsParams) WithHTTPClient ¶
func (o *SearchPrincipalsParams) WithHTTPClient(client *http.Client) *SearchPrincipalsParams
WithHTTPClient adds the HTTPClient to the search principals params
func (*SearchPrincipalsParams) WithOrganizationID ¶
func (o *SearchPrincipalsParams) WithOrganizationID(organizationID string) *SearchPrincipalsParams
WithOrganizationID adds the organizationID to the search principals params
func (*SearchPrincipalsParams) WithTimeout ¶
func (o *SearchPrincipalsParams) WithTimeout(timeout time.Duration) *SearchPrincipalsParams
WithTimeout adds the timeout to the search principals params
func (*SearchPrincipalsParams) WriteToRequest ¶
func (o *SearchPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchPrincipalsReader ¶
type SearchPrincipalsReader struct {
// contains filtered or unexported fields
}
SearchPrincipalsReader is a Reader for the SearchPrincipals structure.
func (*SearchPrincipalsReader) ReadResponse ¶
func (o *SearchPrincipalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateWebConsolePreferencesDefault ¶
type UpdateWebConsolePreferencesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateWebConsolePreferencesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateWebConsolePreferencesDefault ¶
func NewUpdateWebConsolePreferencesDefault(code int) *UpdateWebConsolePreferencesDefault
NewUpdateWebConsolePreferencesDefault creates a UpdateWebConsolePreferencesDefault with default headers values
func (*UpdateWebConsolePreferencesDefault) Code ¶
func (o *UpdateWebConsolePreferencesDefault) Code() int
Code gets the status code for the update web console preferences default response
func (*UpdateWebConsolePreferencesDefault) Error ¶
func (o *UpdateWebConsolePreferencesDefault) Error() string
func (*UpdateWebConsolePreferencesDefault) GetPayload ¶
func (o *UpdateWebConsolePreferencesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateWebConsolePreferencesDefault) IsClientError ¶
func (o *UpdateWebConsolePreferencesDefault) IsClientError() bool
IsClientError returns true when this update web console preferences default response has a 4xx status code
func (*UpdateWebConsolePreferencesDefault) IsCode ¶
func (o *UpdateWebConsolePreferencesDefault) IsCode(code int) bool
IsCode returns true when this update web console preferences default response a status code equal to that given
func (*UpdateWebConsolePreferencesDefault) IsRedirect ¶
func (o *UpdateWebConsolePreferencesDefault) IsRedirect() bool
IsRedirect returns true when this update web console preferences default response has a 3xx status code
func (*UpdateWebConsolePreferencesDefault) IsServerError ¶
func (o *UpdateWebConsolePreferencesDefault) IsServerError() bool
IsServerError returns true when this update web console preferences default response has a 5xx status code
func (*UpdateWebConsolePreferencesDefault) IsSuccess ¶
func (o *UpdateWebConsolePreferencesDefault) IsSuccess() bool
IsSuccess returns true when this update web console preferences default response has a 2xx status code
func (*UpdateWebConsolePreferencesDefault) String ¶
func (o *UpdateWebConsolePreferencesDefault) String() string
type UpdateWebConsolePreferencesOK ¶
type UpdateWebConsolePreferencesOK struct {
Payload *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
}
UpdateWebConsolePreferencesOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateWebConsolePreferencesOK ¶
func NewUpdateWebConsolePreferencesOK() *UpdateWebConsolePreferencesOK
NewUpdateWebConsolePreferencesOK creates a UpdateWebConsolePreferencesOK with default headers values
func (*UpdateWebConsolePreferencesOK) Error ¶
func (o *UpdateWebConsolePreferencesOK) Error() string
func (*UpdateWebConsolePreferencesOK) GetPayload ¶
func (o *UpdateWebConsolePreferencesOK) GetPayload() *models.HashicorpCloudIamUpdateWebConsolePreferencesResponse
func (*UpdateWebConsolePreferencesOK) IsClientError ¶
func (o *UpdateWebConsolePreferencesOK) IsClientError() bool
IsClientError returns true when this update web console preferences o k response has a 4xx status code
func (*UpdateWebConsolePreferencesOK) IsCode ¶
func (o *UpdateWebConsolePreferencesOK) IsCode(code int) bool
IsCode returns true when this update web console preferences o k response a status code equal to that given
func (*UpdateWebConsolePreferencesOK) IsRedirect ¶
func (o *UpdateWebConsolePreferencesOK) IsRedirect() bool
IsRedirect returns true when this update web console preferences o k response has a 3xx status code
func (*UpdateWebConsolePreferencesOK) IsServerError ¶
func (o *UpdateWebConsolePreferencesOK) IsServerError() bool
IsServerError returns true when this update web console preferences o k response has a 5xx status code
func (*UpdateWebConsolePreferencesOK) IsSuccess ¶
func (o *UpdateWebConsolePreferencesOK) IsSuccess() bool
IsSuccess returns true when this update web console preferences o k response has a 2xx status code
func (*UpdateWebConsolePreferencesOK) String ¶
func (o *UpdateWebConsolePreferencesOK) String() string
type UpdateWebConsolePreferencesParams ¶
type UpdateWebConsolePreferencesParams struct { // Body. Body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateWebConsolePreferencesParams contains all the parameters to send to the API endpoint
for the update web console preferences operation. Typically these are written to a http.Request.
func NewUpdateWebConsolePreferencesParams ¶
func NewUpdateWebConsolePreferencesParams() *UpdateWebConsolePreferencesParams
NewUpdateWebConsolePreferencesParams creates a new UpdateWebConsolePreferencesParams 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 NewUpdateWebConsolePreferencesParamsWithContext ¶
func NewUpdateWebConsolePreferencesParamsWithContext(ctx context.Context) *UpdateWebConsolePreferencesParams
NewUpdateWebConsolePreferencesParamsWithContext creates a new UpdateWebConsolePreferencesParams object with the ability to set a context for a request.
func NewUpdateWebConsolePreferencesParamsWithHTTPClient ¶
func NewUpdateWebConsolePreferencesParamsWithHTTPClient(client *http.Client) *UpdateWebConsolePreferencesParams
NewUpdateWebConsolePreferencesParamsWithHTTPClient creates a new UpdateWebConsolePreferencesParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateWebConsolePreferencesParamsWithTimeout ¶
func NewUpdateWebConsolePreferencesParamsWithTimeout(timeout time.Duration) *UpdateWebConsolePreferencesParams
NewUpdateWebConsolePreferencesParamsWithTimeout creates a new UpdateWebConsolePreferencesParams object with the ability to set a timeout on a request.
func (*UpdateWebConsolePreferencesParams) SetBody ¶
func (o *UpdateWebConsolePreferencesParams) SetBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest)
SetBody adds the body to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) SetContext ¶
func (o *UpdateWebConsolePreferencesParams) SetContext(ctx context.Context)
SetContext adds the context to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) SetDefaults ¶
func (o *UpdateWebConsolePreferencesParams) SetDefaults()
SetDefaults hydrates default values in the update web console preferences params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWebConsolePreferencesParams) SetHTTPClient ¶
func (o *UpdateWebConsolePreferencesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) SetTimeout ¶
func (o *UpdateWebConsolePreferencesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) WithBody ¶
func (o *UpdateWebConsolePreferencesParams) WithBody(body *models.HashicorpCloudIamUpdateWebConsolePreferencesRequest) *UpdateWebConsolePreferencesParams
WithBody adds the body to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) WithContext ¶
func (o *UpdateWebConsolePreferencesParams) WithContext(ctx context.Context) *UpdateWebConsolePreferencesParams
WithContext adds the context to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) WithDefaults ¶
func (o *UpdateWebConsolePreferencesParams) WithDefaults() *UpdateWebConsolePreferencesParams
WithDefaults hydrates default values in the update web console preferences params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateWebConsolePreferencesParams) WithHTTPClient ¶
func (o *UpdateWebConsolePreferencesParams) WithHTTPClient(client *http.Client) *UpdateWebConsolePreferencesParams
WithHTTPClient adds the HTTPClient to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) WithTimeout ¶
func (o *UpdateWebConsolePreferencesParams) WithTimeout(timeout time.Duration) *UpdateWebConsolePreferencesParams
WithTimeout adds the timeout to the update web console preferences params
func (*UpdateWebConsolePreferencesParams) WriteToRequest ¶
func (o *UpdateWebConsolePreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateWebConsolePreferencesReader ¶
type UpdateWebConsolePreferencesReader struct {
// contains filtered or unexported fields
}
UpdateWebConsolePreferencesReader is a Reader for the UpdateWebConsolePreferences structure.
func (*UpdateWebConsolePreferencesReader) ReadResponse ¶
func (o *UpdateWebConsolePreferencesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_user_principal_parameters.go
- create_user_principal_responses.go
- delete_organization_membership_parameters.go
- delete_organization_membership_responses.go
- get_current_user_principal_parameters.go
- get_current_user_principal_responses.go
- get_organization_auth_metadata_parameters.go
- get_organization_auth_metadata_responses.go
- get_user_principal_by_id_in_organization_parameters.go
- get_user_principal_by_id_in_organization_responses.go
- get_user_principals_by_i_ds_in_organization_parameters.go
- get_user_principals_by_i_ds_in_organization_responses.go
- iam_service_client.go
- list_user_principals_by_organization_parameters.go
- list_user_principals_by_organization_responses.go
- ping_parameters.go
- ping_responses.go
- search_principals_parameters.go
- search_principals_responses.go
- update_web_console_preferences_parameters.go
- update_web_console_preferences_responses.go