Documentation ¶
Index ¶
- type Client
- func (a *Client) GroupsServiceCountGroupsForPrincipals(params *GroupsServiceCountGroupsForPrincipalsParams, ...) (*GroupsServiceCountGroupsForPrincipalsOK, error)
- func (a *Client) GroupsServiceCountMembersForGroups(params *GroupsServiceCountMembersForGroupsParams, ...) (*GroupsServiceCountMembersForGroupsOK, error)
- func (a *Client) GroupsServiceCountOrganizationGroups(params *GroupsServiceCountOrganizationGroupsParams, ...) (*GroupsServiceCountOrganizationGroupsOK, error)
- func (a *Client) GroupsServiceCreateGroup(params *GroupsServiceCreateGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsServiceCreateGroupOK, error)
- func (a *Client) GroupsServiceDeleteGroup(params *GroupsServiceDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsServiceDeleteGroupOK, error)
- func (a *Client) GroupsServiceGetGroup(params *GroupsServiceGetGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsServiceGetGroupOK, error)
- func (a *Client) GroupsServiceListGroupMembers(params *GroupsServiceListGroupMembersParams, ...) (*GroupsServiceListGroupMembersOK, error)
- func (a *Client) GroupsServiceListGroups(params *GroupsServiceListGroupsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsServiceListGroupsOK, error)
- func (a *Client) GroupsServiceUpdateGroup(params *GroupsServiceUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GroupsServiceUpdateGroupOK, error)
- func (a *Client) GroupsServiceUpdateGroupMembers(params *GroupsServiceUpdateGroupMembersParams, ...) (*GroupsServiceUpdateGroupMembersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GroupsServiceCountGroupsForPrincipalsDefault
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) Code() int
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) Error() string
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsClientError() bool
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsCode(code int) bool
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsRedirect() bool
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsServerError() bool
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsSuccess() bool
- func (o *GroupsServiceCountGroupsForPrincipalsDefault) String() string
- type GroupsServiceCountGroupsForPrincipalsOK
- func (o *GroupsServiceCountGroupsForPrincipalsOK) Code() int
- func (o *GroupsServiceCountGroupsForPrincipalsOK) Error() string
- func (o *GroupsServiceCountGroupsForPrincipalsOK) GetPayload() *models.HashicorpCloudIamCountGroupsForPrincipalsResponse
- func (o *GroupsServiceCountGroupsForPrincipalsOK) IsClientError() bool
- func (o *GroupsServiceCountGroupsForPrincipalsOK) IsCode(code int) bool
- func (o *GroupsServiceCountGroupsForPrincipalsOK) IsRedirect() bool
- func (o *GroupsServiceCountGroupsForPrincipalsOK) IsServerError() bool
- func (o *GroupsServiceCountGroupsForPrincipalsOK) IsSuccess() bool
- func (o *GroupsServiceCountGroupsForPrincipalsOK) String() string
- type GroupsServiceCountGroupsForPrincipalsParams
- func NewGroupsServiceCountGroupsForPrincipalsParams() *GroupsServiceCountGroupsForPrincipalsParams
- func NewGroupsServiceCountGroupsForPrincipalsParamsWithContext(ctx context.Context) *GroupsServiceCountGroupsForPrincipalsParams
- func NewGroupsServiceCountGroupsForPrincipalsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountGroupsForPrincipalsParams
- func NewGroupsServiceCountGroupsForPrincipalsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetContext(ctx context.Context)
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetDefaults()
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetParentResourceName(parentResourceName string)
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetPrincipalIds(principalIds []string)
- func (o *GroupsServiceCountGroupsForPrincipalsParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithContext(ctx context.Context) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithDefaults() *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithPrincipalIds(principalIds []string) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountGroupsForPrincipalsParams
- func (o *GroupsServiceCountGroupsForPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceCountGroupsForPrincipalsReader
- type GroupsServiceCountMembersForGroupsDefault
- func (o *GroupsServiceCountMembersForGroupsDefault) Code() int
- func (o *GroupsServiceCountMembersForGroupsDefault) Error() string
- func (o *GroupsServiceCountMembersForGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceCountMembersForGroupsDefault) IsClientError() bool
- func (o *GroupsServiceCountMembersForGroupsDefault) IsCode(code int) bool
- func (o *GroupsServiceCountMembersForGroupsDefault) IsRedirect() bool
- func (o *GroupsServiceCountMembersForGroupsDefault) IsServerError() bool
- func (o *GroupsServiceCountMembersForGroupsDefault) IsSuccess() bool
- func (o *GroupsServiceCountMembersForGroupsDefault) String() string
- type GroupsServiceCountMembersForGroupsOK
- func (o *GroupsServiceCountMembersForGroupsOK) Code() int
- func (o *GroupsServiceCountMembersForGroupsOK) Error() string
- func (o *GroupsServiceCountMembersForGroupsOK) GetPayload() *models.HashicorpCloudIamCountMembersForGroupsResponse
- func (o *GroupsServiceCountMembersForGroupsOK) IsClientError() bool
- func (o *GroupsServiceCountMembersForGroupsOK) IsCode(code int) bool
- func (o *GroupsServiceCountMembersForGroupsOK) IsRedirect() bool
- func (o *GroupsServiceCountMembersForGroupsOK) IsServerError() bool
- func (o *GroupsServiceCountMembersForGroupsOK) IsSuccess() bool
- func (o *GroupsServiceCountMembersForGroupsOK) String() string
- type GroupsServiceCountMembersForGroupsParams
- func NewGroupsServiceCountMembersForGroupsParams() *GroupsServiceCountMembersForGroupsParams
- func NewGroupsServiceCountMembersForGroupsParamsWithContext(ctx context.Context) *GroupsServiceCountMembersForGroupsParams
- func NewGroupsServiceCountMembersForGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountMembersForGroupsParams
- func NewGroupsServiceCountMembersForGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) SetContext(ctx context.Context)
- func (o *GroupsServiceCountMembersForGroupsParams) SetDefaults()
- func (o *GroupsServiceCountMembersForGroupsParams) SetGroupResourceNames(groupResourceNames []string)
- func (o *GroupsServiceCountMembersForGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceCountMembersForGroupsParams) SetParentResourceName(parentResourceName string)
- func (o *GroupsServiceCountMembersForGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceCountMembersForGroupsParams) WithContext(ctx context.Context) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WithDefaults() *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WithGroupResourceNames(groupResourceNames []string) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountMembersForGroupsParams
- func (o *GroupsServiceCountMembersForGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceCountMembersForGroupsReader
- type GroupsServiceCountOrganizationGroupsDefault
- func (o *GroupsServiceCountOrganizationGroupsDefault) Code() int
- func (o *GroupsServiceCountOrganizationGroupsDefault) Error() string
- func (o *GroupsServiceCountOrganizationGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceCountOrganizationGroupsDefault) IsClientError() bool
- func (o *GroupsServiceCountOrganizationGroupsDefault) IsCode(code int) bool
- func (o *GroupsServiceCountOrganizationGroupsDefault) IsRedirect() bool
- func (o *GroupsServiceCountOrganizationGroupsDefault) IsServerError() bool
- func (o *GroupsServiceCountOrganizationGroupsDefault) IsSuccess() bool
- func (o *GroupsServiceCountOrganizationGroupsDefault) String() string
- type GroupsServiceCountOrganizationGroupsOK
- func (o *GroupsServiceCountOrganizationGroupsOK) Code() int
- func (o *GroupsServiceCountOrganizationGroupsOK) Error() string
- func (o *GroupsServiceCountOrganizationGroupsOK) GetPayload() *models.HashicorpCloudIamCountOrganizationGroupsResponse
- func (o *GroupsServiceCountOrganizationGroupsOK) IsClientError() bool
- func (o *GroupsServiceCountOrganizationGroupsOK) IsCode(code int) bool
- func (o *GroupsServiceCountOrganizationGroupsOK) IsRedirect() bool
- func (o *GroupsServiceCountOrganizationGroupsOK) IsServerError() bool
- func (o *GroupsServiceCountOrganizationGroupsOK) IsSuccess() bool
- func (o *GroupsServiceCountOrganizationGroupsOK) String() string
- type GroupsServiceCountOrganizationGroupsParams
- func NewGroupsServiceCountOrganizationGroupsParams() *GroupsServiceCountOrganizationGroupsParams
- func NewGroupsServiceCountOrganizationGroupsParamsWithContext(ctx context.Context) *GroupsServiceCountOrganizationGroupsParams
- func NewGroupsServiceCountOrganizationGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountOrganizationGroupsParams
- func NewGroupsServiceCountOrganizationGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) SetContext(ctx context.Context)
- func (o *GroupsServiceCountOrganizationGroupsParams) SetDefaults()
- func (o *GroupsServiceCountOrganizationGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceCountOrganizationGroupsParams) SetParentResourceName(parentResourceName string)
- func (o *GroupsServiceCountOrganizationGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceCountOrganizationGroupsParams) WithContext(ctx context.Context) *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) WithDefaults() *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountOrganizationGroupsParams
- func (o *GroupsServiceCountOrganizationGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceCountOrganizationGroupsReader
- type GroupsServiceCreateGroupBody
- func (o *GroupsServiceCreateGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GroupsServiceCreateGroupBody) MarshalBinary() ([]byte, error)
- func (o *GroupsServiceCreateGroupBody) UnmarshalBinary(b []byte) error
- func (o *GroupsServiceCreateGroupBody) Validate(formats strfmt.Registry) error
- type GroupsServiceCreateGroupDefault
- func (o *GroupsServiceCreateGroupDefault) Code() int
- func (o *GroupsServiceCreateGroupDefault) Error() string
- func (o *GroupsServiceCreateGroupDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceCreateGroupDefault) IsClientError() bool
- func (o *GroupsServiceCreateGroupDefault) IsCode(code int) bool
- func (o *GroupsServiceCreateGroupDefault) IsRedirect() bool
- func (o *GroupsServiceCreateGroupDefault) IsServerError() bool
- func (o *GroupsServiceCreateGroupDefault) IsSuccess() bool
- func (o *GroupsServiceCreateGroupDefault) String() string
- type GroupsServiceCreateGroupOK
- func (o *GroupsServiceCreateGroupOK) Code() int
- func (o *GroupsServiceCreateGroupOK) Error() string
- func (o *GroupsServiceCreateGroupOK) GetPayload() *models.HashicorpCloudIamCreateGroupResponse
- func (o *GroupsServiceCreateGroupOK) IsClientError() bool
- func (o *GroupsServiceCreateGroupOK) IsCode(code int) bool
- func (o *GroupsServiceCreateGroupOK) IsRedirect() bool
- func (o *GroupsServiceCreateGroupOK) IsServerError() bool
- func (o *GroupsServiceCreateGroupOK) IsSuccess() bool
- func (o *GroupsServiceCreateGroupOK) String() string
- type GroupsServiceCreateGroupParams
- func NewGroupsServiceCreateGroupParams() *GroupsServiceCreateGroupParams
- func NewGroupsServiceCreateGroupParamsWithContext(ctx context.Context) *GroupsServiceCreateGroupParams
- func NewGroupsServiceCreateGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceCreateGroupParams
- func NewGroupsServiceCreateGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) SetBody(body GroupsServiceCreateGroupBody)
- func (o *GroupsServiceCreateGroupParams) SetContext(ctx context.Context)
- func (o *GroupsServiceCreateGroupParams) SetDefaults()
- func (o *GroupsServiceCreateGroupParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceCreateGroupParams) SetParentResourceName(parentResourceName string)
- func (o *GroupsServiceCreateGroupParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceCreateGroupParams) WithBody(body GroupsServiceCreateGroupBody) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WithContext(ctx context.Context) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WithDefaults() *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WithParentResourceName(parentResourceName string) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceCreateGroupParams
- func (o *GroupsServiceCreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceCreateGroupReader
- type GroupsServiceDeleteGroupDefault
- func (o *GroupsServiceDeleteGroupDefault) Code() int
- func (o *GroupsServiceDeleteGroupDefault) Error() string
- func (o *GroupsServiceDeleteGroupDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceDeleteGroupDefault) IsClientError() bool
- func (o *GroupsServiceDeleteGroupDefault) IsCode(code int) bool
- func (o *GroupsServiceDeleteGroupDefault) IsRedirect() bool
- func (o *GroupsServiceDeleteGroupDefault) IsServerError() bool
- func (o *GroupsServiceDeleteGroupDefault) IsSuccess() bool
- func (o *GroupsServiceDeleteGroupDefault) String() string
- type GroupsServiceDeleteGroupOK
- func (o *GroupsServiceDeleteGroupOK) Code() int
- func (o *GroupsServiceDeleteGroupOK) Error() string
- func (o *GroupsServiceDeleteGroupOK) GetPayload() interface{}
- func (o *GroupsServiceDeleteGroupOK) IsClientError() bool
- func (o *GroupsServiceDeleteGroupOK) IsCode(code int) bool
- func (o *GroupsServiceDeleteGroupOK) IsRedirect() bool
- func (o *GroupsServiceDeleteGroupOK) IsServerError() bool
- func (o *GroupsServiceDeleteGroupOK) IsSuccess() bool
- func (o *GroupsServiceDeleteGroupOK) String() string
- type GroupsServiceDeleteGroupParams
- func NewGroupsServiceDeleteGroupParams() *GroupsServiceDeleteGroupParams
- func NewGroupsServiceDeleteGroupParamsWithContext(ctx context.Context) *GroupsServiceDeleteGroupParams
- func NewGroupsServiceDeleteGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceDeleteGroupParams
- func NewGroupsServiceDeleteGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) SetContext(ctx context.Context)
- func (o *GroupsServiceDeleteGroupParams) SetDefaults()
- func (o *GroupsServiceDeleteGroupParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceDeleteGroupParams) SetResourceName(resourceName string)
- func (o *GroupsServiceDeleteGroupParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceDeleteGroupParams) WithContext(ctx context.Context) *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) WithDefaults() *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) WithResourceName(resourceName string) *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceDeleteGroupParams
- func (o *GroupsServiceDeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceDeleteGroupReader
- type GroupsServiceGetGroupDefault
- func (o *GroupsServiceGetGroupDefault) Code() int
- func (o *GroupsServiceGetGroupDefault) Error() string
- func (o *GroupsServiceGetGroupDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceGetGroupDefault) IsClientError() bool
- func (o *GroupsServiceGetGroupDefault) IsCode(code int) bool
- func (o *GroupsServiceGetGroupDefault) IsRedirect() bool
- func (o *GroupsServiceGetGroupDefault) IsServerError() bool
- func (o *GroupsServiceGetGroupDefault) IsSuccess() bool
- func (o *GroupsServiceGetGroupDefault) String() string
- type GroupsServiceGetGroupOK
- func (o *GroupsServiceGetGroupOK) Code() int
- func (o *GroupsServiceGetGroupOK) Error() string
- func (o *GroupsServiceGetGroupOK) GetPayload() *models.HashicorpCloudIamGetGroupResponse
- func (o *GroupsServiceGetGroupOK) IsClientError() bool
- func (o *GroupsServiceGetGroupOK) IsCode(code int) bool
- func (o *GroupsServiceGetGroupOK) IsRedirect() bool
- func (o *GroupsServiceGetGroupOK) IsServerError() bool
- func (o *GroupsServiceGetGroupOK) IsSuccess() bool
- func (o *GroupsServiceGetGroupOK) String() string
- type GroupsServiceGetGroupParams
- func NewGroupsServiceGetGroupParams() *GroupsServiceGetGroupParams
- func NewGroupsServiceGetGroupParamsWithContext(ctx context.Context) *GroupsServiceGetGroupParams
- func NewGroupsServiceGetGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceGetGroupParams
- func NewGroupsServiceGetGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) SetContext(ctx context.Context)
- func (o *GroupsServiceGetGroupParams) SetDefaults()
- func (o *GroupsServiceGetGroupParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceGetGroupParams) SetResourceName(resourceName string)
- func (o *GroupsServiceGetGroupParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceGetGroupParams) WithContext(ctx context.Context) *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) WithDefaults() *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) WithResourceName(resourceName string) *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceGetGroupParams
- func (o *GroupsServiceGetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceGetGroupReader
- type GroupsServiceListGroupMembersDefault
- func (o *GroupsServiceListGroupMembersDefault) Code() int
- func (o *GroupsServiceListGroupMembersDefault) Error() string
- func (o *GroupsServiceListGroupMembersDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceListGroupMembersDefault) IsClientError() bool
- func (o *GroupsServiceListGroupMembersDefault) IsCode(code int) bool
- func (o *GroupsServiceListGroupMembersDefault) IsRedirect() bool
- func (o *GroupsServiceListGroupMembersDefault) IsServerError() bool
- func (o *GroupsServiceListGroupMembersDefault) IsSuccess() bool
- func (o *GroupsServiceListGroupMembersDefault) String() string
- type GroupsServiceListGroupMembersOK
- func (o *GroupsServiceListGroupMembersOK) Code() int
- func (o *GroupsServiceListGroupMembersOK) Error() string
- func (o *GroupsServiceListGroupMembersOK) GetPayload() *models.HashicorpCloudIamListGroupMembersResponse
- func (o *GroupsServiceListGroupMembersOK) IsClientError() bool
- func (o *GroupsServiceListGroupMembersOK) IsCode(code int) bool
- func (o *GroupsServiceListGroupMembersOK) IsRedirect() bool
- func (o *GroupsServiceListGroupMembersOK) IsServerError() bool
- func (o *GroupsServiceListGroupMembersOK) IsSuccess() bool
- func (o *GroupsServiceListGroupMembersOK) String() string
- type GroupsServiceListGroupMembersParams
- func NewGroupsServiceListGroupMembersParams() *GroupsServiceListGroupMembersParams
- func NewGroupsServiceListGroupMembersParamsWithContext(ctx context.Context) *GroupsServiceListGroupMembersParams
- func NewGroupsServiceListGroupMembersParamsWithHTTPClient(client *http.Client) *GroupsServiceListGroupMembersParams
- func NewGroupsServiceListGroupMembersParamsWithTimeout(timeout time.Duration) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) SetContext(ctx context.Context)
- func (o *GroupsServiceListGroupMembersParams) SetDefaults()
- func (o *GroupsServiceListGroupMembersParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceListGroupMembersParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *GroupsServiceListGroupMembersParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *GroupsServiceListGroupMembersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *GroupsServiceListGroupMembersParams) SetResourceName(resourceName string)
- func (o *GroupsServiceListGroupMembersParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceListGroupMembersParams) WithContext(ctx context.Context) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithDefaults() *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithHTTPClient(client *http.Client) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithPaginationPageSize(paginationPageSize *int64) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithResourceName(resourceName string) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WithTimeout(timeout time.Duration) *GroupsServiceListGroupMembersParams
- func (o *GroupsServiceListGroupMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceListGroupMembersReader
- type GroupsServiceListGroupsDefault
- func (o *GroupsServiceListGroupsDefault) Code() int
- func (o *GroupsServiceListGroupsDefault) Error() string
- func (o *GroupsServiceListGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceListGroupsDefault) IsClientError() bool
- func (o *GroupsServiceListGroupsDefault) IsCode(code int) bool
- func (o *GroupsServiceListGroupsDefault) IsRedirect() bool
- func (o *GroupsServiceListGroupsDefault) IsServerError() bool
- func (o *GroupsServiceListGroupsDefault) IsSuccess() bool
- func (o *GroupsServiceListGroupsDefault) String() string
- type GroupsServiceListGroupsOK
- func (o *GroupsServiceListGroupsOK) Code() int
- func (o *GroupsServiceListGroupsOK) Error() string
- func (o *GroupsServiceListGroupsOK) GetPayload() *models.HashicorpCloudIamListGroupsResponse
- func (o *GroupsServiceListGroupsOK) IsClientError() bool
- func (o *GroupsServiceListGroupsOK) IsCode(code int) bool
- func (o *GroupsServiceListGroupsOK) IsRedirect() bool
- func (o *GroupsServiceListGroupsOK) IsServerError() bool
- func (o *GroupsServiceListGroupsOK) IsSuccess() bool
- func (o *GroupsServiceListGroupsOK) String() string
- type GroupsServiceListGroupsParams
- func NewGroupsServiceListGroupsParams() *GroupsServiceListGroupsParams
- func NewGroupsServiceListGroupsParamsWithContext(ctx context.Context) *GroupsServiceListGroupsParams
- func NewGroupsServiceListGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceListGroupsParams
- func NewGroupsServiceListGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) SetContext(ctx context.Context)
- func (o *GroupsServiceListGroupsParams) SetDefaults()
- func (o *GroupsServiceListGroupsParams) SetFilterGroupResourceIds(filterGroupResourceIds []string)
- func (o *GroupsServiceListGroupsParams) SetFilterMemberPrincipalID(filterMemberPrincipalID *string)
- func (o *GroupsServiceListGroupsParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceListGroupsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *GroupsServiceListGroupsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *GroupsServiceListGroupsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *GroupsServiceListGroupsParams) SetParentResourceName(parentResourceName string)
- func (o *GroupsServiceListGroupsParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceListGroupsParams) WithContext(ctx context.Context) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithDefaults() *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithFilterGroupResourceIds(filterGroupResourceIds []string) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithFilterMemberPrincipalID(filterMemberPrincipalID *string) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithPaginationPageSize(paginationPageSize *int64) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceListGroupsParams
- func (o *GroupsServiceListGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceListGroupsReader
- type GroupsServiceUpdateGroupBody
- func (o *GroupsServiceUpdateGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GroupsServiceUpdateGroupBody) MarshalBinary() ([]byte, error)
- func (o *GroupsServiceUpdateGroupBody) UnmarshalBinary(b []byte) error
- func (o *GroupsServiceUpdateGroupBody) Validate(formats strfmt.Registry) error
- type GroupsServiceUpdateGroupDefault
- func (o *GroupsServiceUpdateGroupDefault) Code() int
- func (o *GroupsServiceUpdateGroupDefault) Error() string
- func (o *GroupsServiceUpdateGroupDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceUpdateGroupDefault) IsClientError() bool
- func (o *GroupsServiceUpdateGroupDefault) IsCode(code int) bool
- func (o *GroupsServiceUpdateGroupDefault) IsRedirect() bool
- func (o *GroupsServiceUpdateGroupDefault) IsServerError() bool
- func (o *GroupsServiceUpdateGroupDefault) IsSuccess() bool
- func (o *GroupsServiceUpdateGroupDefault) String() string
- type GroupsServiceUpdateGroupMembersBody
- func (o *GroupsServiceUpdateGroupMembersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GroupsServiceUpdateGroupMembersBody) MarshalBinary() ([]byte, error)
- func (o *GroupsServiceUpdateGroupMembersBody) UnmarshalBinary(b []byte) error
- func (o *GroupsServiceUpdateGroupMembersBody) Validate(formats strfmt.Registry) error
- type GroupsServiceUpdateGroupMembersDefault
- func (o *GroupsServiceUpdateGroupMembersDefault) Code() int
- func (o *GroupsServiceUpdateGroupMembersDefault) Error() string
- func (o *GroupsServiceUpdateGroupMembersDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GroupsServiceUpdateGroupMembersDefault) IsClientError() bool
- func (o *GroupsServiceUpdateGroupMembersDefault) IsCode(code int) bool
- func (o *GroupsServiceUpdateGroupMembersDefault) IsRedirect() bool
- func (o *GroupsServiceUpdateGroupMembersDefault) IsServerError() bool
- func (o *GroupsServiceUpdateGroupMembersDefault) IsSuccess() bool
- func (o *GroupsServiceUpdateGroupMembersDefault) String() string
- type GroupsServiceUpdateGroupMembersOK
- func (o *GroupsServiceUpdateGroupMembersOK) Code() int
- func (o *GroupsServiceUpdateGroupMembersOK) Error() string
- func (o *GroupsServiceUpdateGroupMembersOK) GetPayload() interface{}
- func (o *GroupsServiceUpdateGroupMembersOK) IsClientError() bool
- func (o *GroupsServiceUpdateGroupMembersOK) IsCode(code int) bool
- func (o *GroupsServiceUpdateGroupMembersOK) IsRedirect() bool
- func (o *GroupsServiceUpdateGroupMembersOK) IsServerError() bool
- func (o *GroupsServiceUpdateGroupMembersOK) IsSuccess() bool
- func (o *GroupsServiceUpdateGroupMembersOK) String() string
- type GroupsServiceUpdateGroupMembersParams
- func NewGroupsServiceUpdateGroupMembersParams() *GroupsServiceUpdateGroupMembersParams
- func NewGroupsServiceUpdateGroupMembersParamsWithContext(ctx context.Context) *GroupsServiceUpdateGroupMembersParams
- func NewGroupsServiceUpdateGroupMembersParamsWithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupMembersParams
- func NewGroupsServiceUpdateGroupMembersParamsWithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) SetBody(body GroupsServiceUpdateGroupMembersBody)
- func (o *GroupsServiceUpdateGroupMembersParams) SetContext(ctx context.Context)
- func (o *GroupsServiceUpdateGroupMembersParams) SetDefaults()
- func (o *GroupsServiceUpdateGroupMembersParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceUpdateGroupMembersParams) SetResourceName(resourceName string)
- func (o *GroupsServiceUpdateGroupMembersParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceUpdateGroupMembersParams) WithBody(body GroupsServiceUpdateGroupMembersBody) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WithContext(ctx context.Context) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WithDefaults() *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WithResourceName(resourceName string) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupMembersParams
- func (o *GroupsServiceUpdateGroupMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceUpdateGroupMembersReader
- type GroupsServiceUpdateGroupOK
- func (o *GroupsServiceUpdateGroupOK) Code() int
- func (o *GroupsServiceUpdateGroupOK) Error() string
- func (o *GroupsServiceUpdateGroupOK) GetPayload() interface{}
- func (o *GroupsServiceUpdateGroupOK) IsClientError() bool
- func (o *GroupsServiceUpdateGroupOK) IsCode(code int) bool
- func (o *GroupsServiceUpdateGroupOK) IsRedirect() bool
- func (o *GroupsServiceUpdateGroupOK) IsServerError() bool
- func (o *GroupsServiceUpdateGroupOK) IsSuccess() bool
- func (o *GroupsServiceUpdateGroupOK) String() string
- type GroupsServiceUpdateGroupParams
- func NewGroupsServiceUpdateGroupParams() *GroupsServiceUpdateGroupParams
- func NewGroupsServiceUpdateGroupParamsWithContext(ctx context.Context) *GroupsServiceUpdateGroupParams
- func NewGroupsServiceUpdateGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupParams
- func NewGroupsServiceUpdateGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) SetBody(body GroupsServiceUpdateGroupBody)
- func (o *GroupsServiceUpdateGroupParams) SetContext(ctx context.Context)
- func (o *GroupsServiceUpdateGroupParams) SetDefaults()
- func (o *GroupsServiceUpdateGroupParams) SetHTTPClient(client *http.Client)
- func (o *GroupsServiceUpdateGroupParams) SetResourceName(resourceName string)
- func (o *GroupsServiceUpdateGroupParams) SetTimeout(timeout time.Duration)
- func (o *GroupsServiceUpdateGroupParams) WithBody(body GroupsServiceUpdateGroupBody) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WithContext(ctx context.Context) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WithDefaults() *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WithResourceName(resourceName string) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupParams
- func (o *GroupsServiceUpdateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GroupsServiceUpdateGroupReader
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 groups service API
func (*Client) GroupsServiceCountGroupsForPrincipals ¶ added in v0.64.0
func (a *Client) GroupsServiceCountGroupsForPrincipals(params *GroupsServiceCountGroupsForPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountGroupsForPrincipalsOK, error)
GroupsServiceCountGroupsForPrincipals counts groups for principals will count the number of groups a principal is in for a list of principals
func (*Client) GroupsServiceCountMembersForGroups ¶ added in v0.64.0
func (a *Client) GroupsServiceCountMembersForGroups(params *GroupsServiceCountMembersForGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountMembersForGroupsOK, error)
GroupsServiceCountMembersForGroups counts members for groups returns the count of members per group
func (*Client) GroupsServiceCountOrganizationGroups ¶ added in v0.64.0
func (a *Client) GroupsServiceCountOrganizationGroups(params *GroupsServiceCountOrganizationGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountOrganizationGroupsOK, error)
GroupsServiceCountOrganizationGroups counts organization groups returns the count of groups for an organization
func (*Client) GroupsServiceCreateGroup ¶ added in v0.64.0
func (a *Client) GroupsServiceCreateGroup(params *GroupsServiceCreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCreateGroupOK, error)
GroupsServiceCreateGroup creates group creates a group
func (*Client) GroupsServiceDeleteGroup ¶ added in v0.64.0
func (a *Client) GroupsServiceDeleteGroup(params *GroupsServiceDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceDeleteGroupOK, error)
GroupsServiceDeleteGroup deletes group deletes a group
func (*Client) GroupsServiceGetGroup ¶ added in v0.64.0
func (a *Client) GroupsServiceGetGroup(params *GroupsServiceGetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceGetGroupOK, error)
GroupsServiceGetGroup gets group gets a group using the organization ID and group name
func (*Client) GroupsServiceListGroupMembers ¶ added in v0.64.0
func (a *Client) GroupsServiceListGroupMembers(params *GroupsServiceListGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceListGroupMembersOK, error)
GroupsServiceListGroupMembers lists group members retrieves a list of member principals
func (*Client) GroupsServiceListGroups ¶ added in v0.64.0
func (a *Client) GroupsServiceListGroups(params *GroupsServiceListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceListGroupsOK, error)
GroupsServiceListGroups lists groups lists the groups in an organization that match the optional filters
func (*Client) GroupsServiceUpdateGroup ¶ added in v0.64.0
func (a *Client) GroupsServiceUpdateGroup(params *GroupsServiceUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroupOK, error)
GroupsServiceUpdateGroup updates group updates a group s modifiable field
func (*Client) GroupsServiceUpdateGroupMembers ¶ added in v0.64.0
func (a *Client) GroupsServiceUpdateGroupMembers(params *GroupsServiceUpdateGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroupMembersOK, error)
GroupsServiceUpdateGroupMembers updates group members updates the principal memberships of a group
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GroupsServiceCountGroupsForPrincipals(params *GroupsServiceCountGroupsForPrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountGroupsForPrincipalsOK, error) GroupsServiceCountMembersForGroups(params *GroupsServiceCountMembersForGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountMembersForGroupsOK, error) GroupsServiceCountOrganizationGroups(params *GroupsServiceCountOrganizationGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCountOrganizationGroupsOK, error) GroupsServiceCreateGroup(params *GroupsServiceCreateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceCreateGroupOK, error) GroupsServiceDeleteGroup(params *GroupsServiceDeleteGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceDeleteGroupOK, error) GroupsServiceGetGroup(params *GroupsServiceGetGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceGetGroupOK, error) GroupsServiceListGroupMembers(params *GroupsServiceListGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceListGroupMembersOK, error) GroupsServiceListGroups(params *GroupsServiceListGroupsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceListGroupsOK, error) GroupsServiceUpdateGroup(params *GroupsServiceUpdateGroupParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroupOK, error) GroupsServiceUpdateGroupMembers(params *GroupsServiceUpdateGroupMembersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroupMembersOK, 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 groups service API client.
type GroupsServiceCountGroupsForPrincipalsDefault ¶ added in v0.64.0
type GroupsServiceCountGroupsForPrincipalsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceCountGroupsForPrincipalsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceCountGroupsForPrincipalsDefault ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsDefault(code int) *GroupsServiceCountGroupsForPrincipalsDefault
NewGroupsServiceCountGroupsForPrincipalsDefault creates a GroupsServiceCountGroupsForPrincipalsDefault with default headers values
func (*GroupsServiceCountGroupsForPrincipalsDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) Code() int
Code gets the status code for the groups service count groups for principals default response
func (*GroupsServiceCountGroupsForPrincipalsDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) Error() string
func (*GroupsServiceCountGroupsForPrincipalsDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceCountGroupsForPrincipalsDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsClientError() bool
IsClientError returns true when this groups service count groups for principals default response has a 4xx status code
func (*GroupsServiceCountGroupsForPrincipalsDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsCode(code int) bool
IsCode returns true when this groups service count groups for principals default response a status code equal to that given
func (*GroupsServiceCountGroupsForPrincipalsDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsRedirect() bool
IsRedirect returns true when this groups service count groups for principals default response has a 3xx status code
func (*GroupsServiceCountGroupsForPrincipalsDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsServerError() bool
IsServerError returns true when this groups service count groups for principals default response has a 5xx status code
func (*GroupsServiceCountGroupsForPrincipalsDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) IsSuccess() bool
IsSuccess returns true when this groups service count groups for principals default response has a 2xx status code
func (*GroupsServiceCountGroupsForPrincipalsDefault) String ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsDefault) String() string
type GroupsServiceCountGroupsForPrincipalsOK ¶ added in v0.64.0
type GroupsServiceCountGroupsForPrincipalsOK struct {
Payload *models.HashicorpCloudIamCountGroupsForPrincipalsResponse
}
GroupsServiceCountGroupsForPrincipalsOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceCountGroupsForPrincipalsOK ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsOK() *GroupsServiceCountGroupsForPrincipalsOK
NewGroupsServiceCountGroupsForPrincipalsOK creates a GroupsServiceCountGroupsForPrincipalsOK with default headers values
func (*GroupsServiceCountGroupsForPrincipalsOK) Code ¶ added in v0.68.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) Code() int
Code gets the status code for the groups service count groups for principals o k response
func (*GroupsServiceCountGroupsForPrincipalsOK) Error ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) Error() string
func (*GroupsServiceCountGroupsForPrincipalsOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) GetPayload() *models.HashicorpCloudIamCountGroupsForPrincipalsResponse
func (*GroupsServiceCountGroupsForPrincipalsOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) IsClientError() bool
IsClientError returns true when this groups service count groups for principals o k response has a 4xx status code
func (*GroupsServiceCountGroupsForPrincipalsOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) IsCode(code int) bool
IsCode returns true when this groups service count groups for principals o k response a status code equal to that given
func (*GroupsServiceCountGroupsForPrincipalsOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) IsRedirect() bool
IsRedirect returns true when this groups service count groups for principals o k response has a 3xx status code
func (*GroupsServiceCountGroupsForPrincipalsOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) IsServerError() bool
IsServerError returns true when this groups service count groups for principals o k response has a 5xx status code
func (*GroupsServiceCountGroupsForPrincipalsOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) IsSuccess() bool
IsSuccess returns true when this groups service count groups for principals o k response has a 2xx status code
func (*GroupsServiceCountGroupsForPrincipalsOK) String ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsOK) String() string
type GroupsServiceCountGroupsForPrincipalsParams ¶ added in v0.64.0
type GroupsServiceCountGroupsForPrincipalsParams struct { /* ParentResourceName. parent_resource is the parent resource of the groups that should be counted per principal organization/<org_id> */ ParentResourceName string /* PrincipalIds. principal_ids is a list of the ids for which to count groups. */ PrincipalIds []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceCountGroupsForPrincipalsParams contains all the parameters to send to the API endpoint
for the groups service count groups for principals operation. Typically these are written to a http.Request.
func NewGroupsServiceCountGroupsForPrincipalsParams ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsParams() *GroupsServiceCountGroupsForPrincipalsParams
NewGroupsServiceCountGroupsForPrincipalsParams creates a new GroupsServiceCountGroupsForPrincipalsParams 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 NewGroupsServiceCountGroupsForPrincipalsParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsParamsWithContext(ctx context.Context) *GroupsServiceCountGroupsForPrincipalsParams
NewGroupsServiceCountGroupsForPrincipalsParamsWithContext creates a new GroupsServiceCountGroupsForPrincipalsParams object with the ability to set a context for a request.
func NewGroupsServiceCountGroupsForPrincipalsParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountGroupsForPrincipalsParams
NewGroupsServiceCountGroupsForPrincipalsParamsWithHTTPClient creates a new GroupsServiceCountGroupsForPrincipalsParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceCountGroupsForPrincipalsParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceCountGroupsForPrincipalsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountGroupsForPrincipalsParams
NewGroupsServiceCountGroupsForPrincipalsParamsWithTimeout creates a new GroupsServiceCountGroupsForPrincipalsParams object with the ability to set a timeout on a request.
func (*GroupsServiceCountGroupsForPrincipalsParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetDefaults()
SetDefaults hydrates default values in the groups service count groups for principals params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountGroupsForPrincipalsParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) SetParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) SetPrincipalIds ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetPrincipalIds(principalIds []string)
SetPrincipalIds adds the principalIds to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithContext(ctx context.Context) *GroupsServiceCountGroupsForPrincipalsParams
WithContext adds the context to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithDefaults() *GroupsServiceCountGroupsForPrincipalsParams
WithDefaults hydrates default values in the groups service count groups for principals params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountGroupsForPrincipalsParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountGroupsForPrincipalsParams
WithHTTPClient adds the HTTPClient to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WithParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountGroupsForPrincipalsParams
WithParentResourceName adds the parentResourceName to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WithPrincipalIds ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithPrincipalIds(principalIds []string) *GroupsServiceCountGroupsForPrincipalsParams
WithPrincipalIds adds the principalIds to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountGroupsForPrincipalsParams
WithTimeout adds the timeout to the groups service count groups for principals params
func (*GroupsServiceCountGroupsForPrincipalsParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceCountGroupsForPrincipalsReader ¶ added in v0.64.0
type GroupsServiceCountGroupsForPrincipalsReader struct {
// contains filtered or unexported fields
}
GroupsServiceCountGroupsForPrincipalsReader is a Reader for the GroupsServiceCountGroupsForPrincipals structure.
func (*GroupsServiceCountGroupsForPrincipalsReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceCountGroupsForPrincipalsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceCountMembersForGroupsDefault ¶ added in v0.64.0
type GroupsServiceCountMembersForGroupsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceCountMembersForGroupsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceCountMembersForGroupsDefault ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsDefault(code int) *GroupsServiceCountMembersForGroupsDefault
NewGroupsServiceCountMembersForGroupsDefault creates a GroupsServiceCountMembersForGroupsDefault with default headers values
func (*GroupsServiceCountMembersForGroupsDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) Code() int
Code gets the status code for the groups service count members for groups default response
func (*GroupsServiceCountMembersForGroupsDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) Error() string
func (*GroupsServiceCountMembersForGroupsDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceCountMembersForGroupsDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) IsClientError() bool
IsClientError returns true when this groups service count members for groups default response has a 4xx status code
func (*GroupsServiceCountMembersForGroupsDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) IsCode(code int) bool
IsCode returns true when this groups service count members for groups default response a status code equal to that given
func (*GroupsServiceCountMembersForGroupsDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) IsRedirect() bool
IsRedirect returns true when this groups service count members for groups default response has a 3xx status code
func (*GroupsServiceCountMembersForGroupsDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) IsServerError() bool
IsServerError returns true when this groups service count members for groups default response has a 5xx status code
func (*GroupsServiceCountMembersForGroupsDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) IsSuccess() bool
IsSuccess returns true when this groups service count members for groups default response has a 2xx status code
func (*GroupsServiceCountMembersForGroupsDefault) String ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsDefault) String() string
type GroupsServiceCountMembersForGroupsOK ¶ added in v0.64.0
type GroupsServiceCountMembersForGroupsOK struct {
Payload *models.HashicorpCloudIamCountMembersForGroupsResponse
}
GroupsServiceCountMembersForGroupsOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceCountMembersForGroupsOK ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsOK() *GroupsServiceCountMembersForGroupsOK
NewGroupsServiceCountMembersForGroupsOK creates a GroupsServiceCountMembersForGroupsOK with default headers values
func (*GroupsServiceCountMembersForGroupsOK) Code ¶ added in v0.68.0
func (o *GroupsServiceCountMembersForGroupsOK) Code() int
Code gets the status code for the groups service count members for groups o k response
func (*GroupsServiceCountMembersForGroupsOK) Error ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) Error() string
func (*GroupsServiceCountMembersForGroupsOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) GetPayload() *models.HashicorpCloudIamCountMembersForGroupsResponse
func (*GroupsServiceCountMembersForGroupsOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) IsClientError() bool
IsClientError returns true when this groups service count members for groups o k response has a 4xx status code
func (*GroupsServiceCountMembersForGroupsOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) IsCode(code int) bool
IsCode returns true when this groups service count members for groups o k response a status code equal to that given
func (*GroupsServiceCountMembersForGroupsOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) IsRedirect() bool
IsRedirect returns true when this groups service count members for groups o k response has a 3xx status code
func (*GroupsServiceCountMembersForGroupsOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) IsServerError() bool
IsServerError returns true when this groups service count members for groups o k response has a 5xx status code
func (*GroupsServiceCountMembersForGroupsOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) IsSuccess() bool
IsSuccess returns true when this groups service count members for groups o k response has a 2xx status code
func (*GroupsServiceCountMembersForGroupsOK) String ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsOK) String() string
type GroupsServiceCountMembersForGroupsParams ¶ added in v0.64.0
type GroupsServiceCountMembersForGroupsParams struct { /* GroupResourceNames. group_resource_names is a list of the group resource_names for which to count members. */ GroupResourceNames []string /* ParentResourceName. parent_resource is the parent resource of the groups that the groups should belong. organization/<org_id> */ ParentResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceCountMembersForGroupsParams contains all the parameters to send to the API endpoint
for the groups service count members for groups operation. Typically these are written to a http.Request.
func NewGroupsServiceCountMembersForGroupsParams ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsParams() *GroupsServiceCountMembersForGroupsParams
NewGroupsServiceCountMembersForGroupsParams creates a new GroupsServiceCountMembersForGroupsParams 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 NewGroupsServiceCountMembersForGroupsParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsParamsWithContext(ctx context.Context) *GroupsServiceCountMembersForGroupsParams
NewGroupsServiceCountMembersForGroupsParamsWithContext creates a new GroupsServiceCountMembersForGroupsParams object with the ability to set a context for a request.
func NewGroupsServiceCountMembersForGroupsParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountMembersForGroupsParams
NewGroupsServiceCountMembersForGroupsParamsWithHTTPClient creates a new GroupsServiceCountMembersForGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceCountMembersForGroupsParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceCountMembersForGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountMembersForGroupsParams
NewGroupsServiceCountMembersForGroupsParamsWithTimeout creates a new GroupsServiceCountMembersForGroupsParams object with the ability to set a timeout on a request.
func (*GroupsServiceCountMembersForGroupsParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetDefaults()
SetDefaults hydrates default values in the groups service count members for groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountMembersForGroupsParams) SetGroupResourceNames ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetGroupResourceNames(groupResourceNames []string)
SetGroupResourceNames adds the groupResourceNames to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) SetParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithContext(ctx context.Context) *GroupsServiceCountMembersForGroupsParams
WithContext adds the context to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithDefaults() *GroupsServiceCountMembersForGroupsParams
WithDefaults hydrates default values in the groups service count members for groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountMembersForGroupsParams) WithGroupResourceNames ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithGroupResourceNames(groupResourceNames []string) *GroupsServiceCountMembersForGroupsParams
WithGroupResourceNames adds the groupResourceNames to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountMembersForGroupsParams
WithHTTPClient adds the HTTPClient to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WithParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountMembersForGroupsParams
WithParentResourceName adds the parentResourceName to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountMembersForGroupsParams
WithTimeout adds the timeout to the groups service count members for groups params
func (*GroupsServiceCountMembersForGroupsParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceCountMembersForGroupsReader ¶ added in v0.64.0
type GroupsServiceCountMembersForGroupsReader struct {
// contains filtered or unexported fields
}
GroupsServiceCountMembersForGroupsReader is a Reader for the GroupsServiceCountMembersForGroups structure.
func (*GroupsServiceCountMembersForGroupsReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceCountMembersForGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceCountOrganizationGroupsDefault ¶ added in v0.64.0
type GroupsServiceCountOrganizationGroupsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceCountOrganizationGroupsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceCountOrganizationGroupsDefault ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsDefault(code int) *GroupsServiceCountOrganizationGroupsDefault
NewGroupsServiceCountOrganizationGroupsDefault creates a GroupsServiceCountOrganizationGroupsDefault with default headers values
func (*GroupsServiceCountOrganizationGroupsDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) Code() int
Code gets the status code for the groups service count organization groups default response
func (*GroupsServiceCountOrganizationGroupsDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) Error() string
func (*GroupsServiceCountOrganizationGroupsDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceCountOrganizationGroupsDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) IsClientError() bool
IsClientError returns true when this groups service count organization groups default response has a 4xx status code
func (*GroupsServiceCountOrganizationGroupsDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) IsCode(code int) bool
IsCode returns true when this groups service count organization groups default response a status code equal to that given
func (*GroupsServiceCountOrganizationGroupsDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) IsRedirect() bool
IsRedirect returns true when this groups service count organization groups default response has a 3xx status code
func (*GroupsServiceCountOrganizationGroupsDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) IsServerError() bool
IsServerError returns true when this groups service count organization groups default response has a 5xx status code
func (*GroupsServiceCountOrganizationGroupsDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) IsSuccess() bool
IsSuccess returns true when this groups service count organization groups default response has a 2xx status code
func (*GroupsServiceCountOrganizationGroupsDefault) String ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsDefault) String() string
type GroupsServiceCountOrganizationGroupsOK ¶ added in v0.64.0
type GroupsServiceCountOrganizationGroupsOK struct {
Payload *models.HashicorpCloudIamCountOrganizationGroupsResponse
}
GroupsServiceCountOrganizationGroupsOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceCountOrganizationGroupsOK ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsOK() *GroupsServiceCountOrganizationGroupsOK
NewGroupsServiceCountOrganizationGroupsOK creates a GroupsServiceCountOrganizationGroupsOK with default headers values
func (*GroupsServiceCountOrganizationGroupsOK) Code ¶ added in v0.68.0
func (o *GroupsServiceCountOrganizationGroupsOK) Code() int
Code gets the status code for the groups service count organization groups o k response
func (*GroupsServiceCountOrganizationGroupsOK) Error ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) Error() string
func (*GroupsServiceCountOrganizationGroupsOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) GetPayload() *models.HashicorpCloudIamCountOrganizationGroupsResponse
func (*GroupsServiceCountOrganizationGroupsOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) IsClientError() bool
IsClientError returns true when this groups service count organization groups o k response has a 4xx status code
func (*GroupsServiceCountOrganizationGroupsOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) IsCode(code int) bool
IsCode returns true when this groups service count organization groups o k response a status code equal to that given
func (*GroupsServiceCountOrganizationGroupsOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) IsRedirect() bool
IsRedirect returns true when this groups service count organization groups o k response has a 3xx status code
func (*GroupsServiceCountOrganizationGroupsOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) IsServerError() bool
IsServerError returns true when this groups service count organization groups o k response has a 5xx status code
func (*GroupsServiceCountOrganizationGroupsOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) IsSuccess() bool
IsSuccess returns true when this groups service count organization groups o k response has a 2xx status code
func (*GroupsServiceCountOrganizationGroupsOK) String ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsOK) String() string
type GroupsServiceCountOrganizationGroupsParams ¶ added in v0.64.0
type GroupsServiceCountOrganizationGroupsParams struct { /* ParentResourceName. parent_resource is the parent resource of the group. organization/<org_id> */ ParentResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceCountOrganizationGroupsParams contains all the parameters to send to the API endpoint
for the groups service count organization groups operation. Typically these are written to a http.Request.
func NewGroupsServiceCountOrganizationGroupsParams ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsParams() *GroupsServiceCountOrganizationGroupsParams
NewGroupsServiceCountOrganizationGroupsParams creates a new GroupsServiceCountOrganizationGroupsParams 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 NewGroupsServiceCountOrganizationGroupsParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsParamsWithContext(ctx context.Context) *GroupsServiceCountOrganizationGroupsParams
NewGroupsServiceCountOrganizationGroupsParamsWithContext creates a new GroupsServiceCountOrganizationGroupsParams object with the ability to set a context for a request.
func NewGroupsServiceCountOrganizationGroupsParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceCountOrganizationGroupsParams
NewGroupsServiceCountOrganizationGroupsParamsWithHTTPClient creates a new GroupsServiceCountOrganizationGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceCountOrganizationGroupsParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceCountOrganizationGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceCountOrganizationGroupsParams
NewGroupsServiceCountOrganizationGroupsParamsWithTimeout creates a new GroupsServiceCountOrganizationGroupsParams object with the ability to set a timeout on a request.
func (*GroupsServiceCountOrganizationGroupsParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) SetDefaults()
SetDefaults hydrates default values in the groups service count organization groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountOrganizationGroupsParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) SetParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WithContext(ctx context.Context) *GroupsServiceCountOrganizationGroupsParams
WithContext adds the context to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WithDefaults() *GroupsServiceCountOrganizationGroupsParams
WithDefaults hydrates default values in the groups service count organization groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCountOrganizationGroupsParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceCountOrganizationGroupsParams
WithHTTPClient adds the HTTPClient to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) WithParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceCountOrganizationGroupsParams
WithParentResourceName adds the parentResourceName to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceCountOrganizationGroupsParams
WithTimeout adds the timeout to the groups service count organization groups params
func (*GroupsServiceCountOrganizationGroupsParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceCountOrganizationGroupsReader ¶ added in v0.64.0
type GroupsServiceCountOrganizationGroupsReader struct {
// contains filtered or unexported fields
}
GroupsServiceCountOrganizationGroupsReader is a Reader for the GroupsServiceCountOrganizationGroups structure.
func (*GroupsServiceCountOrganizationGroupsReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceCountOrganizationGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceCreateGroupBody ¶ added in v0.68.0
type GroupsServiceCreateGroupBody struct { // description is a description of the group. Description string `json:"description,omitempty"` // member_principal_ids is a list of the ids of the principals that should belong to this group. MemberPrincipalIds []string `json:"member_principal_ids"` // name is the name part of the group resource_name. Name string `json:"name,omitempty"` }
GroupsServiceCreateGroupBody groups service create group body swagger:model GroupsServiceCreateGroupBody
func (*GroupsServiceCreateGroupBody) ContextValidate ¶ added in v0.68.0
func (o *GroupsServiceCreateGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this groups service create group body based on context it is used
func (*GroupsServiceCreateGroupBody) MarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceCreateGroupBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupsServiceCreateGroupBody) UnmarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceCreateGroupBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupsServiceCreateGroupDefault ¶ added in v0.64.0
type GroupsServiceCreateGroupDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceCreateGroupDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceCreateGroupDefault ¶ added in v0.64.0
func NewGroupsServiceCreateGroupDefault(code int) *GroupsServiceCreateGroupDefault
NewGroupsServiceCreateGroupDefault creates a GroupsServiceCreateGroupDefault with default headers values
func (*GroupsServiceCreateGroupDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) Code() int
Code gets the status code for the groups service create group default response
func (*GroupsServiceCreateGroupDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) Error() string
func (*GroupsServiceCreateGroupDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceCreateGroupDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) IsClientError() bool
IsClientError returns true when this groups service create group default response has a 4xx status code
func (*GroupsServiceCreateGroupDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) IsCode(code int) bool
IsCode returns true when this groups service create group default response a status code equal to that given
func (*GroupsServiceCreateGroupDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) IsRedirect() bool
IsRedirect returns true when this groups service create group default response has a 3xx status code
func (*GroupsServiceCreateGroupDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) IsServerError() bool
IsServerError returns true when this groups service create group default response has a 5xx status code
func (*GroupsServiceCreateGroupDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) IsSuccess() bool
IsSuccess returns true when this groups service create group default response has a 2xx status code
func (*GroupsServiceCreateGroupDefault) String ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupDefault) String() string
type GroupsServiceCreateGroupOK ¶ added in v0.64.0
type GroupsServiceCreateGroupOK struct {
Payload *models.HashicorpCloudIamCreateGroupResponse
}
GroupsServiceCreateGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceCreateGroupOK ¶ added in v0.64.0
func NewGroupsServiceCreateGroupOK() *GroupsServiceCreateGroupOK
NewGroupsServiceCreateGroupOK creates a GroupsServiceCreateGroupOK with default headers values
func (*GroupsServiceCreateGroupOK) Code ¶ added in v0.68.0
func (o *GroupsServiceCreateGroupOK) Code() int
Code gets the status code for the groups service create group o k response
func (*GroupsServiceCreateGroupOK) Error ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) Error() string
func (*GroupsServiceCreateGroupOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) GetPayload() *models.HashicorpCloudIamCreateGroupResponse
func (*GroupsServiceCreateGroupOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) IsClientError() bool
IsClientError returns true when this groups service create group o k response has a 4xx status code
func (*GroupsServiceCreateGroupOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) IsCode(code int) bool
IsCode returns true when this groups service create group o k response a status code equal to that given
func (*GroupsServiceCreateGroupOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) IsRedirect() bool
IsRedirect returns true when this groups service create group o k response has a 3xx status code
func (*GroupsServiceCreateGroupOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) IsServerError() bool
IsServerError returns true when this groups service create group o k response has a 5xx status code
func (*GroupsServiceCreateGroupOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) IsSuccess() bool
IsSuccess returns true when this groups service create group o k response has a 2xx status code
func (*GroupsServiceCreateGroupOK) String ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupOK) String() string
type GroupsServiceCreateGroupParams ¶ added in v0.64.0
type GroupsServiceCreateGroupParams struct { // Body. Body GroupsServiceCreateGroupBody /* ParentResourceName. parent_resource is the parent resource of the group. organization/<org_id> */ ParentResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceCreateGroupParams contains all the parameters to send to the API endpoint
for the groups service create group operation. Typically these are written to a http.Request.
func NewGroupsServiceCreateGroupParams ¶ added in v0.64.0
func NewGroupsServiceCreateGroupParams() *GroupsServiceCreateGroupParams
NewGroupsServiceCreateGroupParams creates a new GroupsServiceCreateGroupParams 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 NewGroupsServiceCreateGroupParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceCreateGroupParamsWithContext(ctx context.Context) *GroupsServiceCreateGroupParams
NewGroupsServiceCreateGroupParamsWithContext creates a new GroupsServiceCreateGroupParams object with the ability to set a context for a request.
func NewGroupsServiceCreateGroupParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceCreateGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceCreateGroupParams
NewGroupsServiceCreateGroupParamsWithHTTPClient creates a new GroupsServiceCreateGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceCreateGroupParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceCreateGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceCreateGroupParams
NewGroupsServiceCreateGroupParamsWithTimeout creates a new GroupsServiceCreateGroupParams object with the ability to set a timeout on a request.
func (*GroupsServiceCreateGroupParams) SetBody ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetBody(body GroupsServiceCreateGroupBody)
SetBody adds the body to the groups service create group params
func (*GroupsServiceCreateGroupParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service create group params
func (*GroupsServiceCreateGroupParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetDefaults()
SetDefaults hydrates default values in the groups service create group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCreateGroupParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service create group params
func (*GroupsServiceCreateGroupParams) SetParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the groups service create group params
func (*GroupsServiceCreateGroupParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service create group params
func (*GroupsServiceCreateGroupParams) WithBody ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithBody(body GroupsServiceCreateGroupBody) *GroupsServiceCreateGroupParams
WithBody adds the body to the groups service create group params
func (*GroupsServiceCreateGroupParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithContext(ctx context.Context) *GroupsServiceCreateGroupParams
WithContext adds the context to the groups service create group params
func (*GroupsServiceCreateGroupParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithDefaults() *GroupsServiceCreateGroupParams
WithDefaults hydrates default values in the groups service create group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceCreateGroupParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceCreateGroupParams
WithHTTPClient adds the HTTPClient to the groups service create group params
func (*GroupsServiceCreateGroupParams) WithParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithParentResourceName(parentResourceName string) *GroupsServiceCreateGroupParams
WithParentResourceName adds the parentResourceName to the groups service create group params
func (*GroupsServiceCreateGroupParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceCreateGroupParams
WithTimeout adds the timeout to the groups service create group params
func (*GroupsServiceCreateGroupParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceCreateGroupReader ¶ added in v0.64.0
type GroupsServiceCreateGroupReader struct {
// contains filtered or unexported fields
}
GroupsServiceCreateGroupReader is a Reader for the GroupsServiceCreateGroup structure.
func (*GroupsServiceCreateGroupReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceCreateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceDeleteGroupDefault ¶ added in v0.64.0
type GroupsServiceDeleteGroupDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceDeleteGroupDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceDeleteGroupDefault ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupDefault(code int) *GroupsServiceDeleteGroupDefault
NewGroupsServiceDeleteGroupDefault creates a GroupsServiceDeleteGroupDefault with default headers values
func (*GroupsServiceDeleteGroupDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) Code() int
Code gets the status code for the groups service delete group default response
func (*GroupsServiceDeleteGroupDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) Error() string
func (*GroupsServiceDeleteGroupDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceDeleteGroupDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) IsClientError() bool
IsClientError returns true when this groups service delete group default response has a 4xx status code
func (*GroupsServiceDeleteGroupDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) IsCode(code int) bool
IsCode returns true when this groups service delete group default response a status code equal to that given
func (*GroupsServiceDeleteGroupDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) IsRedirect() bool
IsRedirect returns true when this groups service delete group default response has a 3xx status code
func (*GroupsServiceDeleteGroupDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) IsServerError() bool
IsServerError returns true when this groups service delete group default response has a 5xx status code
func (*GroupsServiceDeleteGroupDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) IsSuccess() bool
IsSuccess returns true when this groups service delete group default response has a 2xx status code
func (*GroupsServiceDeleteGroupDefault) String ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupDefault) String() string
type GroupsServiceDeleteGroupOK ¶ added in v0.64.0
type GroupsServiceDeleteGroupOK struct {
Payload interface{}
}
GroupsServiceDeleteGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceDeleteGroupOK ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupOK() *GroupsServiceDeleteGroupOK
NewGroupsServiceDeleteGroupOK creates a GroupsServiceDeleteGroupOK with default headers values
func (*GroupsServiceDeleteGroupOK) Code ¶ added in v0.68.0
func (o *GroupsServiceDeleteGroupOK) Code() int
Code gets the status code for the groups service delete group o k response
func (*GroupsServiceDeleteGroupOK) Error ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) Error() string
func (*GroupsServiceDeleteGroupOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) GetPayload() interface{}
func (*GroupsServiceDeleteGroupOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) IsClientError() bool
IsClientError returns true when this groups service delete group o k response has a 4xx status code
func (*GroupsServiceDeleteGroupOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) IsCode(code int) bool
IsCode returns true when this groups service delete group o k response a status code equal to that given
func (*GroupsServiceDeleteGroupOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) IsRedirect() bool
IsRedirect returns true when this groups service delete group o k response has a 3xx status code
func (*GroupsServiceDeleteGroupOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) IsServerError() bool
IsServerError returns true when this groups service delete group o k response has a 5xx status code
func (*GroupsServiceDeleteGroupOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) IsSuccess() bool
IsSuccess returns true when this groups service delete group o k response has a 2xx status code
func (*GroupsServiceDeleteGroupOK) String ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupOK) String() string
type GroupsServiceDeleteGroupParams ¶ added in v0.64.0
type GroupsServiceDeleteGroupParams struct { /* ResourceName. resource_name is the resource name of the group. iam/organization/<org_id>/group/<group_id>. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceDeleteGroupParams contains all the parameters to send to the API endpoint
for the groups service delete group operation. Typically these are written to a http.Request.
func NewGroupsServiceDeleteGroupParams ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupParams() *GroupsServiceDeleteGroupParams
NewGroupsServiceDeleteGroupParams creates a new GroupsServiceDeleteGroupParams 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 NewGroupsServiceDeleteGroupParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupParamsWithContext(ctx context.Context) *GroupsServiceDeleteGroupParams
NewGroupsServiceDeleteGroupParamsWithContext creates a new GroupsServiceDeleteGroupParams object with the ability to set a context for a request.
func NewGroupsServiceDeleteGroupParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceDeleteGroupParams
NewGroupsServiceDeleteGroupParamsWithHTTPClient creates a new GroupsServiceDeleteGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceDeleteGroupParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceDeleteGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceDeleteGroupParams
NewGroupsServiceDeleteGroupParamsWithTimeout creates a new GroupsServiceDeleteGroupParams object with the ability to set a timeout on a request.
func (*GroupsServiceDeleteGroupParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) SetDefaults()
SetDefaults hydrates default values in the groups service delete group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceDeleteGroupParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) SetResourceName ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WithContext(ctx context.Context) *GroupsServiceDeleteGroupParams
WithContext adds the context to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WithDefaults() *GroupsServiceDeleteGroupParams
WithDefaults hydrates default values in the groups service delete group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceDeleteGroupParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceDeleteGroupParams
WithHTTPClient adds the HTTPClient to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) WithResourceName ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WithResourceName(resourceName string) *GroupsServiceDeleteGroupParams
WithResourceName adds the resourceName to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceDeleteGroupParams
WithTimeout adds the timeout to the groups service delete group params
func (*GroupsServiceDeleteGroupParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceDeleteGroupReader ¶ added in v0.64.0
type GroupsServiceDeleteGroupReader struct {
// contains filtered or unexported fields
}
GroupsServiceDeleteGroupReader is a Reader for the GroupsServiceDeleteGroup structure.
func (*GroupsServiceDeleteGroupReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceDeleteGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceGetGroupDefault ¶ added in v0.64.0
type GroupsServiceGetGroupDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceGetGroupDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceGetGroupDefault ¶ added in v0.64.0
func NewGroupsServiceGetGroupDefault(code int) *GroupsServiceGetGroupDefault
NewGroupsServiceGetGroupDefault creates a GroupsServiceGetGroupDefault with default headers values
func (*GroupsServiceGetGroupDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) Code() int
Code gets the status code for the groups service get group default response
func (*GroupsServiceGetGroupDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) Error() string
func (*GroupsServiceGetGroupDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceGetGroupDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) IsClientError() bool
IsClientError returns true when this groups service get group default response has a 4xx status code
func (*GroupsServiceGetGroupDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) IsCode(code int) bool
IsCode returns true when this groups service get group default response a status code equal to that given
func (*GroupsServiceGetGroupDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) IsRedirect() bool
IsRedirect returns true when this groups service get group default response has a 3xx status code
func (*GroupsServiceGetGroupDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) IsServerError() bool
IsServerError returns true when this groups service get group default response has a 5xx status code
func (*GroupsServiceGetGroupDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) IsSuccess() bool
IsSuccess returns true when this groups service get group default response has a 2xx status code
func (*GroupsServiceGetGroupDefault) String ¶ added in v0.64.0
func (o *GroupsServiceGetGroupDefault) String() string
type GroupsServiceGetGroupOK ¶ added in v0.64.0
type GroupsServiceGetGroupOK struct {
Payload *models.HashicorpCloudIamGetGroupResponse
}
GroupsServiceGetGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceGetGroupOK ¶ added in v0.64.0
func NewGroupsServiceGetGroupOK() *GroupsServiceGetGroupOK
NewGroupsServiceGetGroupOK creates a GroupsServiceGetGroupOK with default headers values
func (*GroupsServiceGetGroupOK) Code ¶ added in v0.68.0
func (o *GroupsServiceGetGroupOK) Code() int
Code gets the status code for the groups service get group o k response
func (*GroupsServiceGetGroupOK) Error ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) Error() string
func (*GroupsServiceGetGroupOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) GetPayload() *models.HashicorpCloudIamGetGroupResponse
func (*GroupsServiceGetGroupOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) IsClientError() bool
IsClientError returns true when this groups service get group o k response has a 4xx status code
func (*GroupsServiceGetGroupOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) IsCode(code int) bool
IsCode returns true when this groups service get group o k response a status code equal to that given
func (*GroupsServiceGetGroupOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) IsRedirect() bool
IsRedirect returns true when this groups service get group o k response has a 3xx status code
func (*GroupsServiceGetGroupOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) IsServerError() bool
IsServerError returns true when this groups service get group o k response has a 5xx status code
func (*GroupsServiceGetGroupOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) IsSuccess() bool
IsSuccess returns true when this groups service get group o k response has a 2xx status code
func (*GroupsServiceGetGroupOK) String ¶ added in v0.64.0
func (o *GroupsServiceGetGroupOK) String() string
type GroupsServiceGetGroupParams ¶ added in v0.64.0
type GroupsServiceGetGroupParams struct { /* ResourceName. resource_name is the resource name of the group. iam/organization/<org_id>/group/<group_id> */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceGetGroupParams contains all the parameters to send to the API endpoint
for the groups service get group operation. Typically these are written to a http.Request.
func NewGroupsServiceGetGroupParams ¶ added in v0.64.0
func NewGroupsServiceGetGroupParams() *GroupsServiceGetGroupParams
NewGroupsServiceGetGroupParams creates a new GroupsServiceGetGroupParams 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 NewGroupsServiceGetGroupParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceGetGroupParamsWithContext(ctx context.Context) *GroupsServiceGetGroupParams
NewGroupsServiceGetGroupParamsWithContext creates a new GroupsServiceGetGroupParams object with the ability to set a context for a request.
func NewGroupsServiceGetGroupParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceGetGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceGetGroupParams
NewGroupsServiceGetGroupParamsWithHTTPClient creates a new GroupsServiceGetGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceGetGroupParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceGetGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceGetGroupParams
NewGroupsServiceGetGroupParamsWithTimeout creates a new GroupsServiceGetGroupParams object with the ability to set a timeout on a request.
func (*GroupsServiceGetGroupParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service get group params
func (*GroupsServiceGetGroupParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) SetDefaults()
SetDefaults hydrates default values in the groups service get group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceGetGroupParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service get group params
func (*GroupsServiceGetGroupParams) SetResourceName ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the groups service get group params
func (*GroupsServiceGetGroupParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service get group params
func (*GroupsServiceGetGroupParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WithContext(ctx context.Context) *GroupsServiceGetGroupParams
WithContext adds the context to the groups service get group params
func (*GroupsServiceGetGroupParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WithDefaults() *GroupsServiceGetGroupParams
WithDefaults hydrates default values in the groups service get group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceGetGroupParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceGetGroupParams
WithHTTPClient adds the HTTPClient to the groups service get group params
func (*GroupsServiceGetGroupParams) WithResourceName ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WithResourceName(resourceName string) *GroupsServiceGetGroupParams
WithResourceName adds the resourceName to the groups service get group params
func (*GroupsServiceGetGroupParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceGetGroupParams
WithTimeout adds the timeout to the groups service get group params
func (*GroupsServiceGetGroupParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceGetGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceGetGroupReader ¶ added in v0.64.0
type GroupsServiceGetGroupReader struct {
// contains filtered or unexported fields
}
GroupsServiceGetGroupReader is a Reader for the GroupsServiceGetGroup structure.
func (*GroupsServiceGetGroupReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceGetGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceListGroupMembersDefault ¶ added in v0.64.0
type GroupsServiceListGroupMembersDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceListGroupMembersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceListGroupMembersDefault ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersDefault(code int) *GroupsServiceListGroupMembersDefault
NewGroupsServiceListGroupMembersDefault creates a GroupsServiceListGroupMembersDefault with default headers values
func (*GroupsServiceListGroupMembersDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) Code() int
Code gets the status code for the groups service list group members default response
func (*GroupsServiceListGroupMembersDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) Error() string
func (*GroupsServiceListGroupMembersDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceListGroupMembersDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) IsClientError() bool
IsClientError returns true when this groups service list group members default response has a 4xx status code
func (*GroupsServiceListGroupMembersDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) IsCode(code int) bool
IsCode returns true when this groups service list group members default response a status code equal to that given
func (*GroupsServiceListGroupMembersDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) IsRedirect() bool
IsRedirect returns true when this groups service list group members default response has a 3xx status code
func (*GroupsServiceListGroupMembersDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) IsServerError() bool
IsServerError returns true when this groups service list group members default response has a 5xx status code
func (*GroupsServiceListGroupMembersDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) IsSuccess() bool
IsSuccess returns true when this groups service list group members default response has a 2xx status code
func (*GroupsServiceListGroupMembersDefault) String ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersDefault) String() string
type GroupsServiceListGroupMembersOK ¶ added in v0.64.0
type GroupsServiceListGroupMembersOK struct {
Payload *models.HashicorpCloudIamListGroupMembersResponse
}
GroupsServiceListGroupMembersOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceListGroupMembersOK ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersOK() *GroupsServiceListGroupMembersOK
NewGroupsServiceListGroupMembersOK creates a GroupsServiceListGroupMembersOK with default headers values
func (*GroupsServiceListGroupMembersOK) Code ¶ added in v0.68.0
func (o *GroupsServiceListGroupMembersOK) Code() int
Code gets the status code for the groups service list group members o k response
func (*GroupsServiceListGroupMembersOK) Error ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) Error() string
func (*GroupsServiceListGroupMembersOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) GetPayload() *models.HashicorpCloudIamListGroupMembersResponse
func (*GroupsServiceListGroupMembersOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) IsClientError() bool
IsClientError returns true when this groups service list group members o k response has a 4xx status code
func (*GroupsServiceListGroupMembersOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) IsCode(code int) bool
IsCode returns true when this groups service list group members o k response a status code equal to that given
func (*GroupsServiceListGroupMembersOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) IsRedirect() bool
IsRedirect returns true when this groups service list group members o k response has a 3xx status code
func (*GroupsServiceListGroupMembersOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) IsServerError() bool
IsServerError returns true when this groups service list group members o k response has a 5xx status code
func (*GroupsServiceListGroupMembersOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) IsSuccess() bool
IsSuccess returns true when this groups service list group members o k response has a 2xx status code
func (*GroupsServiceListGroupMembersOK) String ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersOK) String() string
type GroupsServiceListGroupMembersParams ¶ added in v0.64.0
type GroupsServiceListGroupMembersParams struct { /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* ResourceName. resource_name is the resource name of the group. iam/organization/<org_id>/group/<group_id>. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceListGroupMembersParams contains all the parameters to send to the API endpoint
for the groups service list group members operation. Typically these are written to a http.Request.
func NewGroupsServiceListGroupMembersParams ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersParams() *GroupsServiceListGroupMembersParams
NewGroupsServiceListGroupMembersParams creates a new GroupsServiceListGroupMembersParams 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 NewGroupsServiceListGroupMembersParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersParamsWithContext(ctx context.Context) *GroupsServiceListGroupMembersParams
NewGroupsServiceListGroupMembersParamsWithContext creates a new GroupsServiceListGroupMembersParams object with the ability to set a context for a request.
func NewGroupsServiceListGroupMembersParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersParamsWithHTTPClient(client *http.Client) *GroupsServiceListGroupMembersParams
NewGroupsServiceListGroupMembersParamsWithHTTPClient creates a new GroupsServiceListGroupMembersParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceListGroupMembersParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceListGroupMembersParamsWithTimeout(timeout time.Duration) *GroupsServiceListGroupMembersParams
NewGroupsServiceListGroupMembersParamsWithTimeout creates a new GroupsServiceListGroupMembersParams object with the ability to set a timeout on a request.
func (*GroupsServiceListGroupMembersParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetDefaults()
SetDefaults hydrates default values in the groups service list group members params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceListGroupMembersParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetPaginationNextPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetPaginationPageSize ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetPaginationPreviousPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetResourceName ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithContext(ctx context.Context) *GroupsServiceListGroupMembersParams
WithContext adds the context to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithDefaults() *GroupsServiceListGroupMembersParams
WithDefaults hydrates default values in the groups service list group members params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceListGroupMembersParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithHTTPClient(client *http.Client) *GroupsServiceListGroupMembersParams
WithHTTPClient adds the HTTPClient to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithPaginationNextPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GroupsServiceListGroupMembersParams
WithPaginationNextPageToken adds the paginationNextPageToken to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithPaginationPageSize ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithPaginationPageSize(paginationPageSize *int64) *GroupsServiceListGroupMembersParams
WithPaginationPageSize adds the paginationPageSize to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithPaginationPreviousPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GroupsServiceListGroupMembersParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithResourceName ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithResourceName(resourceName string) *GroupsServiceListGroupMembersParams
WithResourceName adds the resourceName to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WithTimeout(timeout time.Duration) *GroupsServiceListGroupMembersParams
WithTimeout adds the timeout to the groups service list group members params
func (*GroupsServiceListGroupMembersParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceListGroupMembersReader ¶ added in v0.64.0
type GroupsServiceListGroupMembersReader struct {
// contains filtered or unexported fields
}
GroupsServiceListGroupMembersReader is a Reader for the GroupsServiceListGroupMembers structure.
func (*GroupsServiceListGroupMembersReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceListGroupMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceListGroupsDefault ¶ added in v0.64.0
type GroupsServiceListGroupsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceListGroupsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceListGroupsDefault ¶ added in v0.64.0
func NewGroupsServiceListGroupsDefault(code int) *GroupsServiceListGroupsDefault
NewGroupsServiceListGroupsDefault creates a GroupsServiceListGroupsDefault with default headers values
func (*GroupsServiceListGroupsDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) Code() int
Code gets the status code for the groups service list groups default response
func (*GroupsServiceListGroupsDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) Error() string
func (*GroupsServiceListGroupsDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceListGroupsDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) IsClientError() bool
IsClientError returns true when this groups service list groups default response has a 4xx status code
func (*GroupsServiceListGroupsDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) IsCode(code int) bool
IsCode returns true when this groups service list groups default response a status code equal to that given
func (*GroupsServiceListGroupsDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) IsRedirect() bool
IsRedirect returns true when this groups service list groups default response has a 3xx status code
func (*GroupsServiceListGroupsDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) IsServerError() bool
IsServerError returns true when this groups service list groups default response has a 5xx status code
func (*GroupsServiceListGroupsDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) IsSuccess() bool
IsSuccess returns true when this groups service list groups default response has a 2xx status code
func (*GroupsServiceListGroupsDefault) String ¶ added in v0.64.0
func (o *GroupsServiceListGroupsDefault) String() string
type GroupsServiceListGroupsOK ¶ added in v0.64.0
type GroupsServiceListGroupsOK struct {
Payload *models.HashicorpCloudIamListGroupsResponse
}
GroupsServiceListGroupsOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceListGroupsOK ¶ added in v0.64.0
func NewGroupsServiceListGroupsOK() *GroupsServiceListGroupsOK
NewGroupsServiceListGroupsOK creates a GroupsServiceListGroupsOK with default headers values
func (*GroupsServiceListGroupsOK) Code ¶ added in v0.68.0
func (o *GroupsServiceListGroupsOK) Code() int
Code gets the status code for the groups service list groups o k response
func (*GroupsServiceListGroupsOK) Error ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) Error() string
func (*GroupsServiceListGroupsOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) GetPayload() *models.HashicorpCloudIamListGroupsResponse
func (*GroupsServiceListGroupsOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) IsClientError() bool
IsClientError returns true when this groups service list groups o k response has a 4xx status code
func (*GroupsServiceListGroupsOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) IsCode(code int) bool
IsCode returns true when this groups service list groups o k response a status code equal to that given
func (*GroupsServiceListGroupsOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) IsRedirect() bool
IsRedirect returns true when this groups service list groups o k response has a 3xx status code
func (*GroupsServiceListGroupsOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) IsServerError() bool
IsServerError returns true when this groups service list groups o k response has a 5xx status code
func (*GroupsServiceListGroupsOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) IsSuccess() bool
IsSuccess returns true when this groups service list groups o k response has a 2xx status code
func (*GroupsServiceListGroupsOK) String ¶ added in v0.64.0
func (o *GroupsServiceListGroupsOK) String() string
type GroupsServiceListGroupsParams ¶ added in v0.64.0
type GroupsServiceListGroupsParams struct { /* FilterGroupResourceIds. group_resource_ids is a way to filter groups by a list of group ids when we need to resolve group attributes (e.g. name) from a list of ids we get from a project policy. */ FilterGroupResourceIds []string /* FilterMemberPrincipalID. member_principal_id is an optional query param to filter groups that a principal belongs to. */ FilterMemberPrincipalID *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 /* ParentResourceName. parent_resource is the parent resource of the group. organization/<org_id> */ ParentResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceListGroupsParams contains all the parameters to send to the API endpoint
for the groups service list groups operation. Typically these are written to a http.Request.
func NewGroupsServiceListGroupsParams ¶ added in v0.64.0
func NewGroupsServiceListGroupsParams() *GroupsServiceListGroupsParams
NewGroupsServiceListGroupsParams creates a new GroupsServiceListGroupsParams 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 NewGroupsServiceListGroupsParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceListGroupsParamsWithContext(ctx context.Context) *GroupsServiceListGroupsParams
NewGroupsServiceListGroupsParamsWithContext creates a new GroupsServiceListGroupsParams object with the ability to set a context for a request.
func NewGroupsServiceListGroupsParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceListGroupsParamsWithHTTPClient(client *http.Client) *GroupsServiceListGroupsParams
NewGroupsServiceListGroupsParamsWithHTTPClient creates a new GroupsServiceListGroupsParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceListGroupsParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceListGroupsParamsWithTimeout(timeout time.Duration) *GroupsServiceListGroupsParams
NewGroupsServiceListGroupsParamsWithTimeout creates a new GroupsServiceListGroupsParams object with the ability to set a timeout on a request.
func (*GroupsServiceListGroupsParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetDefaults()
SetDefaults hydrates default values in the groups service list groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceListGroupsParams) SetFilterGroupResourceIds ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetFilterGroupResourceIds(filterGroupResourceIds []string)
SetFilterGroupResourceIds adds the filterGroupResourceIds to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetFilterMemberPrincipalID ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetFilterMemberPrincipalID(filterMemberPrincipalID *string)
SetFilterMemberPrincipalID adds the filterMemberPrincipalId to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetPaginationNextPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetPaginationPageSize ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetPaginationPreviousPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetParentResourceName(parentResourceName string)
SetParentResourceName adds the parentResourceName to the groups service list groups params
func (*GroupsServiceListGroupsParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithContext(ctx context.Context) *GroupsServiceListGroupsParams
WithContext adds the context to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithDefaults() *GroupsServiceListGroupsParams
WithDefaults hydrates default values in the groups service list groups params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceListGroupsParams) WithFilterGroupResourceIds ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithFilterGroupResourceIds(filterGroupResourceIds []string) *GroupsServiceListGroupsParams
WithFilterGroupResourceIds adds the filterGroupResourceIds to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithFilterMemberPrincipalID ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithFilterMemberPrincipalID(filterMemberPrincipalID *string) *GroupsServiceListGroupsParams
WithFilterMemberPrincipalID adds the filterMemberPrincipalID to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithHTTPClient(client *http.Client) *GroupsServiceListGroupsParams
WithHTTPClient adds the HTTPClient to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithPaginationNextPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *GroupsServiceListGroupsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithPaginationPageSize ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithPaginationPageSize(paginationPageSize *int64) *GroupsServiceListGroupsParams
WithPaginationPageSize adds the paginationPageSize to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithPaginationPreviousPageToken ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *GroupsServiceListGroupsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithParentResourceName ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithParentResourceName(parentResourceName string) *GroupsServiceListGroupsParams
WithParentResourceName adds the parentResourceName to the groups service list groups params
func (*GroupsServiceListGroupsParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WithTimeout(timeout time.Duration) *GroupsServiceListGroupsParams
WithTimeout adds the timeout to the groups service list groups params
func (*GroupsServiceListGroupsParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceListGroupsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceListGroupsReader ¶ added in v0.64.0
type GroupsServiceListGroupsReader struct {
// contains filtered or unexported fields
}
GroupsServiceListGroupsReader is a Reader for the GroupsServiceListGroups structure.
func (*GroupsServiceListGroupsReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceListGroupsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceUpdateGroupBody ¶ added in v0.68.0
type GroupsServiceUpdateGroupBody struct { // group is the group being updated. Group *models.HashicorpCloudIamGroup `json:"group,omitempty"` // update_mask is the list of group fields being updated. UpdateMask string `json:"update_mask,omitempty"` }
GroupsServiceUpdateGroupBody groups service update group body swagger:model GroupsServiceUpdateGroupBody
func (*GroupsServiceUpdateGroupBody) ContextValidate ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this groups service update group body based on the context it is used
func (*GroupsServiceUpdateGroupBody) MarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupsServiceUpdateGroupBody) UnmarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupsServiceUpdateGroupDefault ¶ added in v0.64.0
type GroupsServiceUpdateGroupDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceUpdateGroupDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceUpdateGroupDefault ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupDefault(code int) *GroupsServiceUpdateGroupDefault
NewGroupsServiceUpdateGroupDefault creates a GroupsServiceUpdateGroupDefault with default headers values
func (*GroupsServiceUpdateGroupDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) Code() int
Code gets the status code for the groups service update group default response
func (*GroupsServiceUpdateGroupDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) Error() string
func (*GroupsServiceUpdateGroupDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceUpdateGroupDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) IsClientError() bool
IsClientError returns true when this groups service update group default response has a 4xx status code
func (*GroupsServiceUpdateGroupDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) IsCode(code int) bool
IsCode returns true when this groups service update group default response a status code equal to that given
func (*GroupsServiceUpdateGroupDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) IsRedirect() bool
IsRedirect returns true when this groups service update group default response has a 3xx status code
func (*GroupsServiceUpdateGroupDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) IsServerError() bool
IsServerError returns true when this groups service update group default response has a 5xx status code
func (*GroupsServiceUpdateGroupDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) IsSuccess() bool
IsSuccess returns true when this groups service update group default response has a 2xx status code
func (*GroupsServiceUpdateGroupDefault) String ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupDefault) String() string
type GroupsServiceUpdateGroupMembersBody ¶ added in v0.68.0
type GroupsServiceUpdateGroupMembersBody struct { // member_principal_ids_to_add is a list of the principal IDs which should be added // to the group. MemberPrincipalIdsToAdd []string `json:"member_principal_ids_to_add"` // member_principal_ids_to_remove is a list of the principal IDs which should be removed // from the group. MemberPrincipalIdsToRemove []string `json:"member_principal_ids_to_remove"` }
GroupsServiceUpdateGroupMembersBody groups service update group members body swagger:model GroupsServiceUpdateGroupMembersBody
func (*GroupsServiceUpdateGroupMembersBody) ContextValidate ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupMembersBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this groups service update group members body based on context it is used
func (*GroupsServiceUpdateGroupMembersBody) MarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupMembersBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupsServiceUpdateGroupMembersBody) UnmarshalBinary ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupMembersBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupsServiceUpdateGroupMembersDefault ¶ added in v0.64.0
type GroupsServiceUpdateGroupMembersDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GroupsServiceUpdateGroupMembersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGroupsServiceUpdateGroupMembersDefault ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersDefault(code int) *GroupsServiceUpdateGroupMembersDefault
NewGroupsServiceUpdateGroupMembersDefault creates a GroupsServiceUpdateGroupMembersDefault with default headers values
func (*GroupsServiceUpdateGroupMembersDefault) Code ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) Code() int
Code gets the status code for the groups service update group members default response
func (*GroupsServiceUpdateGroupMembersDefault) Error ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) Error() string
func (*GroupsServiceUpdateGroupMembersDefault) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GroupsServiceUpdateGroupMembersDefault) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) IsClientError() bool
IsClientError returns true when this groups service update group members default response has a 4xx status code
func (*GroupsServiceUpdateGroupMembersDefault) IsCode ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) IsCode(code int) bool
IsCode returns true when this groups service update group members default response a status code equal to that given
func (*GroupsServiceUpdateGroupMembersDefault) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) IsRedirect() bool
IsRedirect returns true when this groups service update group members default response has a 3xx status code
func (*GroupsServiceUpdateGroupMembersDefault) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) IsServerError() bool
IsServerError returns true when this groups service update group members default response has a 5xx status code
func (*GroupsServiceUpdateGroupMembersDefault) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) IsSuccess() bool
IsSuccess returns true when this groups service update group members default response has a 2xx status code
func (*GroupsServiceUpdateGroupMembersDefault) String ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersDefault) String() string
type GroupsServiceUpdateGroupMembersOK ¶ added in v0.64.0
type GroupsServiceUpdateGroupMembersOK struct {
Payload interface{}
}
GroupsServiceUpdateGroupMembersOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceUpdateGroupMembersOK ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersOK() *GroupsServiceUpdateGroupMembersOK
NewGroupsServiceUpdateGroupMembersOK creates a GroupsServiceUpdateGroupMembersOK with default headers values
func (*GroupsServiceUpdateGroupMembersOK) Code ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupMembersOK) Code() int
Code gets the status code for the groups service update group members o k response
func (*GroupsServiceUpdateGroupMembersOK) Error ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) Error() string
func (*GroupsServiceUpdateGroupMembersOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) GetPayload() interface{}
func (*GroupsServiceUpdateGroupMembersOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) IsClientError() bool
IsClientError returns true when this groups service update group members o k response has a 4xx status code
func (*GroupsServiceUpdateGroupMembersOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) IsCode(code int) bool
IsCode returns true when this groups service update group members o k response a status code equal to that given
func (*GroupsServiceUpdateGroupMembersOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) IsRedirect() bool
IsRedirect returns true when this groups service update group members o k response has a 3xx status code
func (*GroupsServiceUpdateGroupMembersOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) IsServerError() bool
IsServerError returns true when this groups service update group members o k response has a 5xx status code
func (*GroupsServiceUpdateGroupMembersOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) IsSuccess() bool
IsSuccess returns true when this groups service update group members o k response has a 2xx status code
func (*GroupsServiceUpdateGroupMembersOK) String ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersOK) String() string
type GroupsServiceUpdateGroupMembersParams ¶ added in v0.64.0
type GroupsServiceUpdateGroupMembersParams struct { // Body. Body GroupsServiceUpdateGroupMembersBody /* ResourceName. resource_name is the resource name of the group. iam/organization/<org_id>/group/<group_id>. */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceUpdateGroupMembersParams contains all the parameters to send to the API endpoint
for the groups service update group members operation. Typically these are written to a http.Request.
func NewGroupsServiceUpdateGroupMembersParams ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersParams() *GroupsServiceUpdateGroupMembersParams
NewGroupsServiceUpdateGroupMembersParams creates a new GroupsServiceUpdateGroupMembersParams 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 NewGroupsServiceUpdateGroupMembersParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersParamsWithContext(ctx context.Context) *GroupsServiceUpdateGroupMembersParams
NewGroupsServiceUpdateGroupMembersParamsWithContext creates a new GroupsServiceUpdateGroupMembersParams object with the ability to set a context for a request.
func NewGroupsServiceUpdateGroupMembersParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersParamsWithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupMembersParams
NewGroupsServiceUpdateGroupMembersParamsWithHTTPClient creates a new GroupsServiceUpdateGroupMembersParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceUpdateGroupMembersParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupMembersParamsWithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupMembersParams
NewGroupsServiceUpdateGroupMembersParamsWithTimeout creates a new GroupsServiceUpdateGroupMembersParams object with the ability to set a timeout on a request.
func (*GroupsServiceUpdateGroupMembersParams) SetBody ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetBody(body GroupsServiceUpdateGroupMembersBody)
SetBody adds the body to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetDefaults()
SetDefaults hydrates default values in the groups service update group members params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceUpdateGroupMembersParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) SetResourceName ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WithBody ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithBody(body GroupsServiceUpdateGroupMembersBody) *GroupsServiceUpdateGroupMembersParams
WithBody adds the body to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithContext(ctx context.Context) *GroupsServiceUpdateGroupMembersParams
WithContext adds the context to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithDefaults() *GroupsServiceUpdateGroupMembersParams
WithDefaults hydrates default values in the groups service update group members params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceUpdateGroupMembersParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupMembersParams
WithHTTPClient adds the HTTPClient to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WithResourceName ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithResourceName(resourceName string) *GroupsServiceUpdateGroupMembersParams
WithResourceName adds the resourceName to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupMembersParams
WithTimeout adds the timeout to the groups service update group members params
func (*GroupsServiceUpdateGroupMembersParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceUpdateGroupMembersReader ¶ added in v0.64.0
type GroupsServiceUpdateGroupMembersReader struct {
// contains filtered or unexported fields
}
GroupsServiceUpdateGroupMembersReader is a Reader for the GroupsServiceUpdateGroupMembers structure.
func (*GroupsServiceUpdateGroupMembersReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupMembersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GroupsServiceUpdateGroupOK ¶ added in v0.64.0
type GroupsServiceUpdateGroupOK struct {
Payload interface{}
}
GroupsServiceUpdateGroupOK describes a response with status code 200, with default header values.
A successful response.
func NewGroupsServiceUpdateGroupOK ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupOK() *GroupsServiceUpdateGroupOK
NewGroupsServiceUpdateGroupOK creates a GroupsServiceUpdateGroupOK with default headers values
func (*GroupsServiceUpdateGroupOK) Code ¶ added in v0.68.0
func (o *GroupsServiceUpdateGroupOK) Code() int
Code gets the status code for the groups service update group o k response
func (*GroupsServiceUpdateGroupOK) Error ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) Error() string
func (*GroupsServiceUpdateGroupOK) GetPayload ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) GetPayload() interface{}
func (*GroupsServiceUpdateGroupOK) IsClientError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) IsClientError() bool
IsClientError returns true when this groups service update group o k response has a 4xx status code
func (*GroupsServiceUpdateGroupOK) IsCode ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) IsCode(code int) bool
IsCode returns true when this groups service update group o k response a status code equal to that given
func (*GroupsServiceUpdateGroupOK) IsRedirect ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) IsRedirect() bool
IsRedirect returns true when this groups service update group o k response has a 3xx status code
func (*GroupsServiceUpdateGroupOK) IsServerError ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) IsServerError() bool
IsServerError returns true when this groups service update group o k response has a 5xx status code
func (*GroupsServiceUpdateGroupOK) IsSuccess ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) IsSuccess() bool
IsSuccess returns true when this groups service update group o k response has a 2xx status code
func (*GroupsServiceUpdateGroupOK) String ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupOK) String() string
type GroupsServiceUpdateGroupParams ¶ added in v0.64.0
type GroupsServiceUpdateGroupParams struct { // Body. Body GroupsServiceUpdateGroupBody /* ResourceName. resource_name is the resource name of the group. iam/organization/<org_id>/group/<group_id> */ ResourceName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GroupsServiceUpdateGroupParams contains all the parameters to send to the API endpoint
for the groups service update group operation. Typically these are written to a http.Request.
func NewGroupsServiceUpdateGroupParams ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupParams() *GroupsServiceUpdateGroupParams
NewGroupsServiceUpdateGroupParams creates a new GroupsServiceUpdateGroupParams 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 NewGroupsServiceUpdateGroupParamsWithContext ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupParamsWithContext(ctx context.Context) *GroupsServiceUpdateGroupParams
NewGroupsServiceUpdateGroupParamsWithContext creates a new GroupsServiceUpdateGroupParams object with the ability to set a context for a request.
func NewGroupsServiceUpdateGroupParamsWithHTTPClient ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupParamsWithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupParams
NewGroupsServiceUpdateGroupParamsWithHTTPClient creates a new GroupsServiceUpdateGroupParams object with the ability to set a custom HTTPClient for a request.
func NewGroupsServiceUpdateGroupParamsWithTimeout ¶ added in v0.64.0
func NewGroupsServiceUpdateGroupParamsWithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupParams
NewGroupsServiceUpdateGroupParamsWithTimeout creates a new GroupsServiceUpdateGroupParams object with the ability to set a timeout on a request.
func (*GroupsServiceUpdateGroupParams) SetBody ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetBody(body GroupsServiceUpdateGroupBody)
SetBody adds the body to the groups service update group params
func (*GroupsServiceUpdateGroupParams) SetContext ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetContext(ctx context.Context)
SetContext adds the context to the groups service update group params
func (*GroupsServiceUpdateGroupParams) SetDefaults ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetDefaults()
SetDefaults hydrates default values in the groups service update group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceUpdateGroupParams) SetHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the groups service update group params
func (*GroupsServiceUpdateGroupParams) SetResourceName ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetResourceName(resourceName string)
SetResourceName adds the resourceName to the groups service update group params
func (*GroupsServiceUpdateGroupParams) SetTimeout ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WithBody ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithBody(body GroupsServiceUpdateGroupBody) *GroupsServiceUpdateGroupParams
WithBody adds the body to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WithContext ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithContext(ctx context.Context) *GroupsServiceUpdateGroupParams
WithContext adds the context to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WithDefaults ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithDefaults() *GroupsServiceUpdateGroupParams
WithDefaults hydrates default values in the groups service update group params (not the query body).
All values with no default are reset to their zero value.
func (*GroupsServiceUpdateGroupParams) WithHTTPClient ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithHTTPClient(client *http.Client) *GroupsServiceUpdateGroupParams
WithHTTPClient adds the HTTPClient to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WithResourceName ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithResourceName(resourceName string) *GroupsServiceUpdateGroupParams
WithResourceName adds the resourceName to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WithTimeout ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WithTimeout(timeout time.Duration) *GroupsServiceUpdateGroupParams
WithTimeout adds the timeout to the groups service update group params
func (*GroupsServiceUpdateGroupParams) WriteToRequest ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GroupsServiceUpdateGroupReader ¶ added in v0.64.0
type GroupsServiceUpdateGroupReader struct {
// contains filtered or unexported fields
}
GroupsServiceUpdateGroupReader is a Reader for the GroupsServiceUpdateGroup structure.
func (*GroupsServiceUpdateGroupReader) ReadResponse ¶ added in v0.64.0
func (o *GroupsServiceUpdateGroupReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- groups_service_client.go
- groups_service_count_groups_for_principals_parameters.go
- groups_service_count_groups_for_principals_responses.go
- groups_service_count_members_for_groups_parameters.go
- groups_service_count_members_for_groups_responses.go
- groups_service_count_organization_groups_parameters.go
- groups_service_count_organization_groups_responses.go
- groups_service_create_group_parameters.go
- groups_service_create_group_responses.go
- groups_service_delete_group_parameters.go
- groups_service_delete_group_responses.go
- groups_service_get_group_parameters.go
- groups_service_get_group_responses.go
- groups_service_list_group_members_parameters.go
- groups_service_list_group_members_responses.go
- groups_service_list_groups_parameters.go
- groups_service_list_groups_responses.go
- groups_service_update_group_members_parameters.go
- groups_service_update_group_members_responses.go
- groups_service_update_group_parameters.go
- groups_service_update_group_responses.go