groups_service

package
v0.94.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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 fields

func (*Client) GroupsServiceUpdateGroup2 added in v0.89.0

func (a *Client) GroupsServiceUpdateGroup2(params *GroupsServiceUpdateGroup2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroup2OK, error)

GroupsServiceUpdateGroup2 updates group updates a group s modifiable fields

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)

	GroupsServiceUpdateGroup2(params *GroupsServiceUpdateGroup2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GroupsServiceUpdateGroup2OK, 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

Code gets the status code for the groups service count groups for principals default response

func (*GroupsServiceCountGroupsForPrincipalsDefault) Error added in v0.64.0

func (*GroupsServiceCountGroupsForPrincipalsDefault) GetPayload added in v0.64.0

func (*GroupsServiceCountGroupsForPrincipalsDefault) IsClientError added in v0.64.0

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

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

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

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

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

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

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 (*GroupsServiceCountGroupsForPrincipalsOK) GetPayload added in v0.64.0

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

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

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

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

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

SetContext adds the context to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) SetDefaults added in v0.64.0

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

SetTimeout adds the timeout to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WithContext added in v0.64.0

WithContext adds the context to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WithParentResourceName added in v0.64.0

WithParentResourceName adds the parentResourceName to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WithPrincipalIds added in v0.64.0

WithPrincipalIds adds the principalIds to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the groups service count groups for principals params

func (*GroupsServiceCountGroupsForPrincipalsParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the groups service count members for groups default response

func (*GroupsServiceCountMembersForGroupsDefault) Error added in v0.64.0

func (*GroupsServiceCountMembersForGroupsDefault) GetPayload added in v0.64.0

func (*GroupsServiceCountMembersForGroupsDefault) IsClientError added in v0.64.0

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

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

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

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

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

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

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 (*GroupsServiceCountMembersForGroupsOK) GetPayload added in v0.64.0

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

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

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

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

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

SetContext adds the context to the groups service count members for groups params

func (*GroupsServiceCountMembersForGroupsParams) SetDefaults added in v0.64.0

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

SetTimeout adds the timeout to the groups service count members for groups params

func (*GroupsServiceCountMembersForGroupsParams) WithContext added in v0.64.0

WithContext adds the context to the groups service count members for groups params

func (*GroupsServiceCountMembersForGroupsParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service count members for groups params

func (*GroupsServiceCountMembersForGroupsParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the groups service count organization groups default response

func (*GroupsServiceCountOrganizationGroupsDefault) Error added in v0.64.0

func (*GroupsServiceCountOrganizationGroupsDefault) GetPayload added in v0.64.0

func (*GroupsServiceCountOrganizationGroupsDefault) IsClientError added in v0.64.0

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

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

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

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

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

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

Code gets the status code for the groups service count organization groups o k response

func (*GroupsServiceCountOrganizationGroupsOK) Error added in v0.64.0

func (*GroupsServiceCountOrganizationGroupsOK) GetPayload added in v0.64.0

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

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

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

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

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

SetContext adds the context to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) SetDefaults added in v0.64.0

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

SetTimeout adds the timeout to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) WithContext added in v0.64.0

WithContext adds the context to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) WithParentResourceName added in v0.64.0

WithParentResourceName adds the parentResourceName to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the groups service count organization groups params

func (*GroupsServiceCountOrganizationGroupsParams) WriteToRequest added in v0.64.0

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

func (*GroupsServiceCreateGroupBody) Validate added in v0.68.0

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

Validate validates this groups service create group body

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

Code gets the status code for the groups service create group default response

func (*GroupsServiceCreateGroupDefault) Error added in v0.64.0

func (*GroupsServiceCreateGroupDefault) GetPayload added in v0.64.0

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

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 (*GroupsServiceCreateGroupOK) GetPayload added in v0.64.0

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

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

WithBody adds the body to the groups service create group params

func (*GroupsServiceCreateGroupParams) WithContext added in v0.64.0

WithContext adds the context to the groups service create group params

func (*GroupsServiceCreateGroupParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service create group params

func (*GroupsServiceCreateGroupParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the groups service delete group default response

func (*GroupsServiceDeleteGroupDefault) Error added in v0.64.0

func (*GroupsServiceDeleteGroupDefault) GetPayload added in v0.64.0

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

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

WithContext adds the context to the groups service delete group params

func (*GroupsServiceDeleteGroupParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service delete group params

func (*GroupsServiceDeleteGroupParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the groups service get group default response

func (*GroupsServiceGetGroupDefault) Error added in v0.64.0

func (*GroupsServiceGetGroupDefault) GetPayload added in v0.64.0

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

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

WithContext adds the context to the groups service get group params

func (*GroupsServiceGetGroupParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service get group params

func (*GroupsServiceGetGroupParams) WriteToRequest added in v0.64.0

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

Code gets the status code for the groups service list group members default response

func (*GroupsServiceListGroupMembersDefault) Error added in v0.64.0

func (*GroupsServiceListGroupMembersDefault) GetPayload added in v0.64.0

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

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

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

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

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

Code gets the status code for the groups service list group members o k response

func (*GroupsServiceListGroupMembersOK) Error added in v0.64.0

func (*GroupsServiceListGroupMembersOK) GetPayload added in v0.64.0

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

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

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

WithContext adds the context to the groups service list group members params

func (*GroupsServiceListGroupMembersParams) WithDefaults added in v0.64.0

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

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

WithResourceName adds the resourceName to the groups service list group members params

func (*GroupsServiceListGroupMembersParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the groups service list group members params

func (*GroupsServiceListGroupMembersParams) WriteToRequest added in v0.64.0

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

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

func (*GroupsServiceListGroupsDefault) Error added in v0.64.0

func (*GroupsServiceListGroupsDefault) GetPayload added in v0.64.0

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

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

WithContext adds the context to the groups service list groups params

func (*GroupsServiceListGroupsParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service list groups params

func (*GroupsServiceListGroupsParams) WriteToRequest added in v0.64.0

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 GroupsServiceUpdateGroup2Default added in v0.89.0

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

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

An unexpected error response.

func NewGroupsServiceUpdateGroup2Default added in v0.89.0

func NewGroupsServiceUpdateGroup2Default(code int) *GroupsServiceUpdateGroup2Default

NewGroupsServiceUpdateGroup2Default creates a GroupsServiceUpdateGroup2Default with default headers values

func (*GroupsServiceUpdateGroup2Default) Code added in v0.89.0

Code gets the status code for the groups service update group2 default response

func (*GroupsServiceUpdateGroup2Default) Error added in v0.89.0

func (*GroupsServiceUpdateGroup2Default) GetPayload added in v0.89.0

func (*GroupsServiceUpdateGroup2Default) IsClientError added in v0.89.0

func (o *GroupsServiceUpdateGroup2Default) IsClientError() bool

IsClientError returns true when this groups service update group2 default response has a 4xx status code

func (*GroupsServiceUpdateGroup2Default) IsCode added in v0.89.0

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

IsCode returns true when this groups service update group2 default response a status code equal to that given

func (*GroupsServiceUpdateGroup2Default) IsRedirect added in v0.89.0

func (o *GroupsServiceUpdateGroup2Default) IsRedirect() bool

IsRedirect returns true when this groups service update group2 default response has a 3xx status code

func (*GroupsServiceUpdateGroup2Default) IsServerError added in v0.89.0

func (o *GroupsServiceUpdateGroup2Default) IsServerError() bool

IsServerError returns true when this groups service update group2 default response has a 5xx status code

func (*GroupsServiceUpdateGroup2Default) IsSuccess added in v0.89.0

func (o *GroupsServiceUpdateGroup2Default) IsSuccess() bool

IsSuccess returns true when this groups service update group2 default response has a 2xx status code

func (*GroupsServiceUpdateGroup2Default) String added in v0.89.0

type GroupsServiceUpdateGroup2OK added in v0.89.0

type GroupsServiceUpdateGroup2OK struct {
	Payload interface{}
}

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

A successful response.

func NewGroupsServiceUpdateGroup2OK added in v0.89.0

func NewGroupsServiceUpdateGroup2OK() *GroupsServiceUpdateGroup2OK

NewGroupsServiceUpdateGroup2OK creates a GroupsServiceUpdateGroup2OK with default headers values

func (*GroupsServiceUpdateGroup2OK) Code added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) Code() int

Code gets the status code for the groups service update group2 o k response

func (*GroupsServiceUpdateGroup2OK) Error added in v0.89.0

func (*GroupsServiceUpdateGroup2OK) GetPayload added in v0.89.0

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

func (*GroupsServiceUpdateGroup2OK) IsClientError added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) IsClientError() bool

IsClientError returns true when this groups service update group2 o k response has a 4xx status code

func (*GroupsServiceUpdateGroup2OK) IsCode added in v0.89.0

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

IsCode returns true when this groups service update group2 o k response a status code equal to that given

func (*GroupsServiceUpdateGroup2OK) IsRedirect added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) IsRedirect() bool

IsRedirect returns true when this groups service update group2 o k response has a 3xx status code

func (*GroupsServiceUpdateGroup2OK) IsServerError added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) IsServerError() bool

IsServerError returns true when this groups service update group2 o k response has a 5xx status code

func (*GroupsServiceUpdateGroup2OK) IsSuccess added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) IsSuccess() bool

IsSuccess returns true when this groups service update group2 o k response has a 2xx status code

func (*GroupsServiceUpdateGroup2OK) String added in v0.89.0

func (o *GroupsServiceUpdateGroup2OK) String() string

type GroupsServiceUpdateGroup2Params added in v0.89.0

type GroupsServiceUpdateGroup2Params struct {

	/* Group.

	   group is the group being updated.
	*/
	Group *models.HashicorpCloudIamGroup

	/* ResourceName.

	     resource_name is the resource name of the group.
	iam/organization/<org_id>/group/<group_id>
	*/
	ResourceName string

	/* UpdateMask.

	   update_mask is the list of group fields being updated.
	*/
	UpdateMask *string

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

GroupsServiceUpdateGroup2Params contains all the parameters to send to the API endpoint

for the groups service update group2 operation.

Typically these are written to a http.Request.

func NewGroupsServiceUpdateGroup2Params added in v0.89.0

func NewGroupsServiceUpdateGroup2Params() *GroupsServiceUpdateGroup2Params

NewGroupsServiceUpdateGroup2Params creates a new GroupsServiceUpdateGroup2Params 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 NewGroupsServiceUpdateGroup2ParamsWithContext added in v0.89.0

func NewGroupsServiceUpdateGroup2ParamsWithContext(ctx context.Context) *GroupsServiceUpdateGroup2Params

NewGroupsServiceUpdateGroup2ParamsWithContext creates a new GroupsServiceUpdateGroup2Params object with the ability to set a context for a request.

func NewGroupsServiceUpdateGroup2ParamsWithHTTPClient added in v0.89.0

func NewGroupsServiceUpdateGroup2ParamsWithHTTPClient(client *http.Client) *GroupsServiceUpdateGroup2Params

NewGroupsServiceUpdateGroup2ParamsWithHTTPClient creates a new GroupsServiceUpdateGroup2Params object with the ability to set a custom HTTPClient for a request.

func NewGroupsServiceUpdateGroup2ParamsWithTimeout added in v0.89.0

func NewGroupsServiceUpdateGroup2ParamsWithTimeout(timeout time.Duration) *GroupsServiceUpdateGroup2Params

NewGroupsServiceUpdateGroup2ParamsWithTimeout creates a new GroupsServiceUpdateGroup2Params object with the ability to set a timeout on a request.

func (*GroupsServiceUpdateGroup2Params) SetContext added in v0.89.0

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

SetContext adds the context to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) SetDefaults added in v0.89.0

func (o *GroupsServiceUpdateGroup2Params) SetDefaults()

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

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

func (*GroupsServiceUpdateGroup2Params) SetGroup added in v0.89.0

SetGroup adds the group to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) SetHTTPClient added in v0.89.0

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

SetHTTPClient adds the HTTPClient to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) SetResourceName added in v0.89.0

func (o *GroupsServiceUpdateGroup2Params) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) SetTimeout added in v0.89.0

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

SetTimeout adds the timeout to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) SetUpdateMask added in v0.89.0

func (o *GroupsServiceUpdateGroup2Params) SetUpdateMask(updateMask *string)

SetUpdateMask adds the updateMask to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithContext added in v0.89.0

WithContext adds the context to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithDefaults added in v0.89.0

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

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

func (*GroupsServiceUpdateGroup2Params) WithGroup added in v0.89.0

WithGroup adds the group to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithHTTPClient added in v0.89.0

WithHTTPClient adds the HTTPClient to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithResourceName added in v0.89.0

func (o *GroupsServiceUpdateGroup2Params) WithResourceName(resourceName string) *GroupsServiceUpdateGroup2Params

WithResourceName adds the resourceName to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithTimeout added in v0.89.0

WithTimeout adds the timeout to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WithUpdateMask added in v0.89.0

WithUpdateMask adds the updateMask to the groups service update group2 params

func (*GroupsServiceUpdateGroup2Params) WriteToRequest added in v0.89.0

WriteToRequest writes these params to a swagger request

type GroupsServiceUpdateGroup2Reader added in v0.89.0

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

GroupsServiceUpdateGroup2Reader is a Reader for the GroupsServiceUpdateGroup2 structure.

func (*GroupsServiceUpdateGroup2Reader) ReadResponse added in v0.89.0

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

func (*GroupsServiceUpdateGroupBody) Validate added in v0.68.0

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

Validate validates this groups service update group body

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

Code gets the status code for the groups service update group default response

func (*GroupsServiceUpdateGroupDefault) Error added in v0.64.0

func (*GroupsServiceUpdateGroupDefault) GetPayload added in v0.64.0

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

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

func (*GroupsServiceUpdateGroupMembersBody) Validate added in v0.68.0

Validate validates this groups service update group members body

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

Code gets the status code for the groups service update group members default response

func (*GroupsServiceUpdateGroupMembersDefault) Error added in v0.64.0

func (*GroupsServiceUpdateGroupMembersDefault) GetPayload added in v0.64.0

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

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

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

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

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

Code gets the status code for the groups service update group members o k response

func (*GroupsServiceUpdateGroupMembersOK) Error added in v0.64.0

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

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

SetBody adds the body to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) SetContext added in v0.64.0

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

WithBody adds the body to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) WithContext added in v0.64.0

WithContext adds the context to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) WithDefaults added in v0.64.0

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

WithHTTPClient adds the HTTPClient to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) WithResourceName added in v0.64.0

WithResourceName adds the resourceName to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the groups service update group members params

func (*GroupsServiceUpdateGroupMembersParams) WriteToRequest added in v0.64.0

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

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

WithBody adds the body to the groups service update group params

func (*GroupsServiceUpdateGroupParams) WithContext added in v0.64.0

WithContext adds the context to the groups service update group params

func (*GroupsServiceUpdateGroupParams) WithDefaults added in v0.64.0

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

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

WithTimeout adds the timeout to the groups service update group params

func (*GroupsServiceUpdateGroupParams) WriteToRequest added in v0.64.0

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.

Jump to

Keyboard shortcuts

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