resource_service

package
v0.121.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 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 resource service API

func (*Client) ResourceServiceGetIamPolicy added in v0.75.0

func (a *Client) ResourceServiceGetIamPolicy(params *ResourceServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceGetIamPolicyOK, error)

ResourceServiceGetIamPolicy gets iam policy gets the i a m policy for a resource

func (*Client) ResourceServiceGetResource added in v0.118.0

func (a *Client) ResourceServiceGetResource(params *ResourceServiceGetResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceGetResourceOK, error)

ResourceServiceGetResource gets resource retrieves a resource

func (*Client) ResourceServiceList

func (a *Client) ResourceServiceList(params *ResourceServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListOK, error)

ResourceServiceList lists lists the resources the caller has access to

func (*Client) ResourceServiceListAccessibleResources added in v0.118.0

ResourceServiceListAccessibleResources lists accessible resources lists the resources the caller has access to at and below the given scope

func (*Client) ResourceServiceListRoles added in v0.118.0

func (a *Client) ResourceServiceListRoles(params *ResourceServiceListRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListRolesOK, error)

ResourceServiceListRoles lists roles lists roles applicable on the given resource requires caller to have resource manager resource list roles permission on the given resource

func (*Client) ResourceServiceSetIamPolicy added in v0.75.0

func (a *Client) ResourceServiceSetIamPolicy(params *ResourceServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceSetIamPolicyOK, error)

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

func (*Client) ResourceServiceTestIamPermissions added in v0.75.0

func (a *Client) ResourceServiceTestIamPermissions(params *ResourceServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceTestIamPermissionsOK, error)

ResourceServiceTestIamPermissions tests iam permissions returns a subset of the request permissions the calling principal has on the resource

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 {
	ResourceServiceGetIamPolicy(params *ResourceServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceGetIamPolicyOK, error)

	ResourceServiceGetResource(params *ResourceServiceGetResourceParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceGetResourceOK, error)

	ResourceServiceList(params *ResourceServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListOK, error)

	ResourceServiceListAccessibleResources(params *ResourceServiceListAccessibleResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListAccessibleResourcesOK, error)

	ResourceServiceListRoles(params *ResourceServiceListRolesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListRolesOK, error)

	ResourceServiceSetIamPolicy(params *ResourceServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceSetIamPolicyOK, error)

	ResourceServiceTestIamPermissions(params *ResourceServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceTestIamPermissionsOK, 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 resource service API client.

type ResourceServiceGetIamPolicyDefault added in v0.75.0

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

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

An unexpected error response.

func NewResourceServiceGetIamPolicyDefault added in v0.75.0

func NewResourceServiceGetIamPolicyDefault(code int) *ResourceServiceGetIamPolicyDefault

NewResourceServiceGetIamPolicyDefault creates a ResourceServiceGetIamPolicyDefault with default headers values

func (*ResourceServiceGetIamPolicyDefault) Code added in v0.75.0

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

func (*ResourceServiceGetIamPolicyDefault) Error added in v0.75.0

func (*ResourceServiceGetIamPolicyDefault) GetPayload added in v0.75.0

func (*ResourceServiceGetIamPolicyDefault) IsClientError added in v0.75.0

func (o *ResourceServiceGetIamPolicyDefault) IsClientError() bool

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

func (*ResourceServiceGetIamPolicyDefault) IsCode added in v0.75.0

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

func (*ResourceServiceGetIamPolicyDefault) IsRedirect added in v0.75.0

func (o *ResourceServiceGetIamPolicyDefault) IsRedirect() bool

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

func (*ResourceServiceGetIamPolicyDefault) IsServerError added in v0.75.0

func (o *ResourceServiceGetIamPolicyDefault) IsServerError() bool

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

func (*ResourceServiceGetIamPolicyDefault) IsSuccess added in v0.75.0

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

func (*ResourceServiceGetIamPolicyDefault) String added in v0.75.0

type ResourceServiceGetIamPolicyOK added in v0.75.0

type ResourceServiceGetIamPolicyOK struct {
	Payload *models.HashicorpCloudResourcemanagerResourceGetIamPolicyResponse
}

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

A successful response.

func NewResourceServiceGetIamPolicyOK added in v0.75.0

func NewResourceServiceGetIamPolicyOK() *ResourceServiceGetIamPolicyOK

NewResourceServiceGetIamPolicyOK creates a ResourceServiceGetIamPolicyOK with default headers values

func (*ResourceServiceGetIamPolicyOK) Code added in v0.75.0

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

func (*ResourceServiceGetIamPolicyOK) Error added in v0.75.0

func (*ResourceServiceGetIamPolicyOK) GetPayload added in v0.75.0

func (*ResourceServiceGetIamPolicyOK) IsClientError added in v0.75.0

func (o *ResourceServiceGetIamPolicyOK) IsClientError() bool

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

func (*ResourceServiceGetIamPolicyOK) IsCode added in v0.75.0

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

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

func (*ResourceServiceGetIamPolicyOK) IsRedirect added in v0.75.0

func (o *ResourceServiceGetIamPolicyOK) IsRedirect() bool

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

func (*ResourceServiceGetIamPolicyOK) IsServerError added in v0.75.0

func (o *ResourceServiceGetIamPolicyOK) IsServerError() bool

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

func (*ResourceServiceGetIamPolicyOK) IsSuccess added in v0.75.0

func (o *ResourceServiceGetIamPolicyOK) IsSuccess() bool

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

func (*ResourceServiceGetIamPolicyOK) String added in v0.75.0

type ResourceServiceGetIamPolicyParams added in v0.75.0

type ResourceServiceGetIamPolicyParams struct {

	/* ResourceID.

	   ResourceId is the resource name of the resource. Either this or the ResourceName needs to be provided.
	*/
	ResourceID *string

	/* ResourceName.

	   ResourceName is the resource name of the resource. Either this or the ResourceId needs to be provided.
	*/
	ResourceName *string

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

ResourceServiceGetIamPolicyParams contains all the parameters to send to the API endpoint

for the resource service get iam policy operation.

Typically these are written to a http.Request.

func NewResourceServiceGetIamPolicyParams added in v0.75.0

func NewResourceServiceGetIamPolicyParams() *ResourceServiceGetIamPolicyParams

NewResourceServiceGetIamPolicyParams creates a new ResourceServiceGetIamPolicyParams 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 NewResourceServiceGetIamPolicyParamsWithContext added in v0.75.0

func NewResourceServiceGetIamPolicyParamsWithContext(ctx context.Context) *ResourceServiceGetIamPolicyParams

NewResourceServiceGetIamPolicyParamsWithContext creates a new ResourceServiceGetIamPolicyParams object with the ability to set a context for a request.

func NewResourceServiceGetIamPolicyParamsWithHTTPClient added in v0.75.0

func NewResourceServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *ResourceServiceGetIamPolicyParams

NewResourceServiceGetIamPolicyParamsWithHTTPClient creates a new ResourceServiceGetIamPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceGetIamPolicyParamsWithTimeout added in v0.75.0

func NewResourceServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *ResourceServiceGetIamPolicyParams

NewResourceServiceGetIamPolicyParamsWithTimeout creates a new ResourceServiceGetIamPolicyParams object with the ability to set a timeout on a request.

func (*ResourceServiceGetIamPolicyParams) SetContext added in v0.75.0

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

func (*ResourceServiceGetIamPolicyParams) SetDefaults added in v0.75.0

func (o *ResourceServiceGetIamPolicyParams) SetDefaults()

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

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

func (*ResourceServiceGetIamPolicyParams) SetHTTPClient added in v0.75.0

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

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

func (*ResourceServiceGetIamPolicyParams) SetResourceID added in v0.75.0

func (o *ResourceServiceGetIamPolicyParams) SetResourceID(resourceID *string)

SetResourceID adds the resourceId to the resource service get iam policy params

func (*ResourceServiceGetIamPolicyParams) SetResourceName added in v0.75.0

func (o *ResourceServiceGetIamPolicyParams) SetResourceName(resourceName *string)

SetResourceName adds the resourceName to the resource service get iam policy params

func (*ResourceServiceGetIamPolicyParams) SetTimeout added in v0.75.0

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

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

func (*ResourceServiceGetIamPolicyParams) WithContext added in v0.75.0

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

func (*ResourceServiceGetIamPolicyParams) WithDefaults added in v0.75.0

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

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

func (*ResourceServiceGetIamPolicyParams) WithHTTPClient added in v0.75.0

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

func (*ResourceServiceGetIamPolicyParams) WithResourceID added in v0.75.0

WithResourceID adds the resourceID to the resource service get iam policy params

func (*ResourceServiceGetIamPolicyParams) WithResourceName added in v0.75.0

WithResourceName adds the resourceName to the resource service get iam policy params

func (*ResourceServiceGetIamPolicyParams) WithTimeout added in v0.75.0

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

func (*ResourceServiceGetIamPolicyParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type ResourceServiceGetIamPolicyReader added in v0.75.0

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

ResourceServiceGetIamPolicyReader is a Reader for the ResourceServiceGetIamPolicy structure.

func (*ResourceServiceGetIamPolicyReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type ResourceServiceGetResourceDefault added in v0.118.0

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

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

An unexpected error response.

func NewResourceServiceGetResourceDefault added in v0.118.0

func NewResourceServiceGetResourceDefault(code int) *ResourceServiceGetResourceDefault

NewResourceServiceGetResourceDefault creates a ResourceServiceGetResourceDefault with default headers values

func (*ResourceServiceGetResourceDefault) Code added in v0.118.0

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

func (*ResourceServiceGetResourceDefault) Error added in v0.118.0

func (*ResourceServiceGetResourceDefault) GetPayload added in v0.118.0

func (*ResourceServiceGetResourceDefault) IsClientError added in v0.118.0

func (o *ResourceServiceGetResourceDefault) IsClientError() bool

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

func (*ResourceServiceGetResourceDefault) IsCode added in v0.118.0

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

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

func (*ResourceServiceGetResourceDefault) IsRedirect added in v0.118.0

func (o *ResourceServiceGetResourceDefault) IsRedirect() bool

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

func (*ResourceServiceGetResourceDefault) IsServerError added in v0.118.0

func (o *ResourceServiceGetResourceDefault) IsServerError() bool

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

func (*ResourceServiceGetResourceDefault) IsSuccess added in v0.118.0

func (o *ResourceServiceGetResourceDefault) IsSuccess() bool

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

func (*ResourceServiceGetResourceDefault) String added in v0.118.0

type ResourceServiceGetResourceOK added in v0.118.0

type ResourceServiceGetResourceOK struct {
	Payload *models.HashicorpCloudResourcemanagerGetResourceResponse
}

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

A successful response.

func NewResourceServiceGetResourceOK added in v0.118.0

func NewResourceServiceGetResourceOK() *ResourceServiceGetResourceOK

NewResourceServiceGetResourceOK creates a ResourceServiceGetResourceOK with default headers values

func (*ResourceServiceGetResourceOK) Code added in v0.118.0

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

func (*ResourceServiceGetResourceOK) Error added in v0.118.0

func (*ResourceServiceGetResourceOK) GetPayload added in v0.118.0

func (*ResourceServiceGetResourceOK) IsClientError added in v0.118.0

func (o *ResourceServiceGetResourceOK) IsClientError() bool

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

func (*ResourceServiceGetResourceOK) IsCode added in v0.118.0

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

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

func (*ResourceServiceGetResourceOK) IsRedirect added in v0.118.0

func (o *ResourceServiceGetResourceOK) IsRedirect() bool

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

func (*ResourceServiceGetResourceOK) IsServerError added in v0.118.0

func (o *ResourceServiceGetResourceOK) IsServerError() bool

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

func (*ResourceServiceGetResourceOK) IsSuccess added in v0.118.0

func (o *ResourceServiceGetResourceOK) IsSuccess() bool

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

func (*ResourceServiceGetResourceOK) String added in v0.118.0

type ResourceServiceGetResourceParams added in v0.118.0

type ResourceServiceGetResourceParams struct {

	/* ResourceID.

	   ResourceId is the unique identifier of the resource.
	*/
	ResourceID *string

	/* ResourceName.

	   ResourceName is the name of the resource.
	*/
	ResourceName *string

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

ResourceServiceGetResourceParams contains all the parameters to send to the API endpoint

for the resource service get resource operation.

Typically these are written to a http.Request.

func NewResourceServiceGetResourceParams added in v0.118.0

func NewResourceServiceGetResourceParams() *ResourceServiceGetResourceParams

NewResourceServiceGetResourceParams creates a new ResourceServiceGetResourceParams 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 NewResourceServiceGetResourceParamsWithContext added in v0.118.0

func NewResourceServiceGetResourceParamsWithContext(ctx context.Context) *ResourceServiceGetResourceParams

NewResourceServiceGetResourceParamsWithContext creates a new ResourceServiceGetResourceParams object with the ability to set a context for a request.

func NewResourceServiceGetResourceParamsWithHTTPClient added in v0.118.0

func NewResourceServiceGetResourceParamsWithHTTPClient(client *http.Client) *ResourceServiceGetResourceParams

NewResourceServiceGetResourceParamsWithHTTPClient creates a new ResourceServiceGetResourceParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceGetResourceParamsWithTimeout added in v0.118.0

func NewResourceServiceGetResourceParamsWithTimeout(timeout time.Duration) *ResourceServiceGetResourceParams

NewResourceServiceGetResourceParamsWithTimeout creates a new ResourceServiceGetResourceParams object with the ability to set a timeout on a request.

func (*ResourceServiceGetResourceParams) SetContext added in v0.118.0

SetContext adds the context to the resource service get resource params

func (*ResourceServiceGetResourceParams) SetDefaults added in v0.118.0

func (o *ResourceServiceGetResourceParams) SetDefaults()

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

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

func (*ResourceServiceGetResourceParams) SetHTTPClient added in v0.118.0

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

SetHTTPClient adds the HTTPClient to the resource service get resource params

func (*ResourceServiceGetResourceParams) SetResourceID added in v0.118.0

func (o *ResourceServiceGetResourceParams) SetResourceID(resourceID *string)

SetResourceID adds the resourceId to the resource service get resource params

func (*ResourceServiceGetResourceParams) SetResourceName added in v0.118.0

func (o *ResourceServiceGetResourceParams) SetResourceName(resourceName *string)

SetResourceName adds the resourceName to the resource service get resource params

func (*ResourceServiceGetResourceParams) SetTimeout added in v0.118.0

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

SetTimeout adds the timeout to the resource service get resource params

func (*ResourceServiceGetResourceParams) WithContext added in v0.118.0

WithContext adds the context to the resource service get resource params

func (*ResourceServiceGetResourceParams) WithDefaults added in v0.118.0

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

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

func (*ResourceServiceGetResourceParams) WithHTTPClient added in v0.118.0

WithHTTPClient adds the HTTPClient to the resource service get resource params

func (*ResourceServiceGetResourceParams) WithResourceID added in v0.118.0

WithResourceID adds the resourceID to the resource service get resource params

func (*ResourceServiceGetResourceParams) WithResourceName added in v0.118.0

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

WithResourceName adds the resourceName to the resource service get resource params

func (*ResourceServiceGetResourceParams) WithTimeout added in v0.118.0

WithTimeout adds the timeout to the resource service get resource params

func (*ResourceServiceGetResourceParams) WriteToRequest added in v0.118.0

WriteToRequest writes these params to a swagger request

type ResourceServiceGetResourceReader added in v0.118.0

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

ResourceServiceGetResourceReader is a Reader for the ResourceServiceGetResource structure.

func (*ResourceServiceGetResourceReader) ReadResponse added in v0.118.0

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

ReadResponse reads a server response into the received o.

type ResourceServiceListAccessibleResourcesDefault added in v0.118.0

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

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

An unexpected error response.

func NewResourceServiceListAccessibleResourcesDefault added in v0.118.0

func NewResourceServiceListAccessibleResourcesDefault(code int) *ResourceServiceListAccessibleResourcesDefault

NewResourceServiceListAccessibleResourcesDefault creates a ResourceServiceListAccessibleResourcesDefault with default headers values

func (*ResourceServiceListAccessibleResourcesDefault) Code added in v0.118.0

Code gets the status code for the resource service list accessible resources default response

func (*ResourceServiceListAccessibleResourcesDefault) Error added in v0.118.0

func (*ResourceServiceListAccessibleResourcesDefault) GetPayload added in v0.118.0

func (*ResourceServiceListAccessibleResourcesDefault) IsClientError added in v0.118.0

IsClientError returns true when this resource service list accessible resources default response has a 4xx status code

func (*ResourceServiceListAccessibleResourcesDefault) IsCode added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesDefault) IsRedirect added in v0.118.0

IsRedirect returns true when this resource service list accessible resources default response has a 3xx status code

func (*ResourceServiceListAccessibleResourcesDefault) IsServerError added in v0.118.0

IsServerError returns true when this resource service list accessible resources default response has a 5xx status code

func (*ResourceServiceListAccessibleResourcesDefault) IsSuccess added in v0.118.0

IsSuccess returns true when this resource service list accessible resources default response has a 2xx status code

func (*ResourceServiceListAccessibleResourcesDefault) String added in v0.118.0

type ResourceServiceListAccessibleResourcesOK added in v0.118.0

type ResourceServiceListAccessibleResourcesOK struct {
	Payload *models.HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse
}

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

A successful response.

func NewResourceServiceListAccessibleResourcesOK added in v0.118.0

func NewResourceServiceListAccessibleResourcesOK() *ResourceServiceListAccessibleResourcesOK

NewResourceServiceListAccessibleResourcesOK creates a ResourceServiceListAccessibleResourcesOK with default headers values

func (*ResourceServiceListAccessibleResourcesOK) Code added in v0.118.0

Code gets the status code for the resource service list accessible resources o k response

func (*ResourceServiceListAccessibleResourcesOK) Error added in v0.118.0

func (*ResourceServiceListAccessibleResourcesOK) GetPayload added in v0.118.0

func (*ResourceServiceListAccessibleResourcesOK) IsClientError added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesOK) IsCode added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesOK) IsRedirect added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesOK) IsServerError added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesOK) IsSuccess added in v0.118.0

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

func (*ResourceServiceListAccessibleResourcesOK) String added in v0.118.0

type ResourceServiceListAccessibleResourcesParams added in v0.118.0

type ResourceServiceListAccessibleResourcesParams struct {

	/* LeafNameFilter.

	     LeafNameFilter optionally allows for filtering results based on a
	substring match of the final/leaf name within the resource's resource
	name.
	*/
	LeafNameFilter *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

	/* Permission.

	   Permission is the permission to check.
	*/
	Permission *string

	/* ResourceType.

	   ResourceType is the resource type of the resources to list.
	*/
	ResourceType *string

	/* ScopeResourceID.

	     ScopeResourceId is resource ID of the parent object to list resources under.
	Either this or the ResourceName needs to be provided.
	*/
	ScopeResourceID *string

	/* ScopeResourceName.

	     ScopeResourceName is resource name of the parent object to list resources under.
	Either this or the ResourceId needs to be provided.
	*/
	ScopeResourceName *string

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

ResourceServiceListAccessibleResourcesParams contains all the parameters to send to the API endpoint

for the resource service list accessible resources operation.

Typically these are written to a http.Request.

func NewResourceServiceListAccessibleResourcesParams added in v0.118.0

func NewResourceServiceListAccessibleResourcesParams() *ResourceServiceListAccessibleResourcesParams

NewResourceServiceListAccessibleResourcesParams creates a new ResourceServiceListAccessibleResourcesParams 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 NewResourceServiceListAccessibleResourcesParamsWithContext added in v0.118.0

func NewResourceServiceListAccessibleResourcesParamsWithContext(ctx context.Context) *ResourceServiceListAccessibleResourcesParams

NewResourceServiceListAccessibleResourcesParamsWithContext creates a new ResourceServiceListAccessibleResourcesParams object with the ability to set a context for a request.

func NewResourceServiceListAccessibleResourcesParamsWithHTTPClient added in v0.118.0

func NewResourceServiceListAccessibleResourcesParamsWithHTTPClient(client *http.Client) *ResourceServiceListAccessibleResourcesParams

NewResourceServiceListAccessibleResourcesParamsWithHTTPClient creates a new ResourceServiceListAccessibleResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceListAccessibleResourcesParamsWithTimeout added in v0.118.0

func NewResourceServiceListAccessibleResourcesParamsWithTimeout(timeout time.Duration) *ResourceServiceListAccessibleResourcesParams

NewResourceServiceListAccessibleResourcesParamsWithTimeout creates a new ResourceServiceListAccessibleResourcesParams object with the ability to set a timeout on a request.

func (*ResourceServiceListAccessibleResourcesParams) SetContext added in v0.118.0

SetContext adds the context to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetDefaults added in v0.118.0

SetDefaults hydrates default values in the resource service list accessible resources params (not the query body).

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

func (*ResourceServiceListAccessibleResourcesParams) SetHTTPClient added in v0.118.0

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

SetHTTPClient adds the HTTPClient to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetLeafNameFilter added in v0.118.0

func (o *ResourceServiceListAccessibleResourcesParams) SetLeafNameFilter(leafNameFilter *string)

SetLeafNameFilter adds the leafNameFilter to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetPaginationNextPageToken added in v0.118.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetPaginationPageSize added in v0.118.0

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

SetPaginationPageSize adds the paginationPageSize to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetPaginationPreviousPageToken added in v0.118.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetPermission added in v0.118.0

func (o *ResourceServiceListAccessibleResourcesParams) SetPermission(permission *string)

SetPermission adds the permission to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetResourceType added in v0.118.0

func (o *ResourceServiceListAccessibleResourcesParams) SetResourceType(resourceType *string)

SetResourceType adds the resourceType to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetScopeResourceID added in v0.118.0

func (o *ResourceServiceListAccessibleResourcesParams) SetScopeResourceID(scopeResourceID *string)

SetScopeResourceID adds the scopeResourceId to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetScopeResourceName added in v0.118.0

func (o *ResourceServiceListAccessibleResourcesParams) SetScopeResourceName(scopeResourceName *string)

SetScopeResourceName adds the scopeResourceName to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) SetTimeout added in v0.118.0

SetTimeout adds the timeout to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithContext added in v0.118.0

WithContext adds the context to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithDefaults added in v0.118.0

WithDefaults hydrates default values in the resource service list accessible resources params (not the query body).

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

func (*ResourceServiceListAccessibleResourcesParams) WithHTTPClient added in v0.118.0

WithHTTPClient adds the HTTPClient to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithLeafNameFilter added in v0.118.0

WithLeafNameFilter adds the leafNameFilter to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithPaginationNextPageToken added in v0.118.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithPaginationPageSize added in v0.118.0

WithPaginationPageSize adds the paginationPageSize to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithPaginationPreviousPageToken added in v0.118.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithPermission added in v0.118.0

WithPermission adds the permission to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithResourceType added in v0.118.0

WithResourceType adds the resourceType to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithScopeResourceID added in v0.118.0

WithScopeResourceID adds the scopeResourceID to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithScopeResourceName added in v0.118.0

WithScopeResourceName adds the scopeResourceName to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WithTimeout added in v0.118.0

WithTimeout adds the timeout to the resource service list accessible resources params

func (*ResourceServiceListAccessibleResourcesParams) WriteToRequest added in v0.118.0

WriteToRequest writes these params to a swagger request

type ResourceServiceListAccessibleResourcesReader added in v0.118.0

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

ResourceServiceListAccessibleResourcesReader is a Reader for the ResourceServiceListAccessibleResources structure.

func (*ResourceServiceListAccessibleResourcesReader) ReadResponse added in v0.118.0

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

ReadResponse reads a server response into the received o.

type ResourceServiceListDefault

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

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

An unexpected error response.

func NewResourceServiceListDefault

func NewResourceServiceListDefault(code int) *ResourceServiceListDefault

NewResourceServiceListDefault creates a ResourceServiceListDefault with default headers values

func (*ResourceServiceListDefault) Code

func (o *ResourceServiceListDefault) Code() int

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

func (*ResourceServiceListDefault) Error

func (*ResourceServiceListDefault) GetPayload

func (*ResourceServiceListDefault) IsClientError

func (o *ResourceServiceListDefault) IsClientError() bool

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

func (*ResourceServiceListDefault) IsCode

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

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

func (*ResourceServiceListDefault) IsRedirect

func (o *ResourceServiceListDefault) IsRedirect() bool

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

func (*ResourceServiceListDefault) IsServerError

func (o *ResourceServiceListDefault) IsServerError() bool

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

func (*ResourceServiceListDefault) IsSuccess

func (o *ResourceServiceListDefault) IsSuccess() bool

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

func (*ResourceServiceListDefault) String

func (o *ResourceServiceListDefault) String() string

type ResourceServiceListOK

type ResourceServiceListOK struct {
	Payload *models.HashicorpCloudResourcemanagerResourceListResponse
}

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

A successful response.

func NewResourceServiceListOK

func NewResourceServiceListOK() *ResourceServiceListOK

NewResourceServiceListOK creates a ResourceServiceListOK with default headers values

func (*ResourceServiceListOK) Code added in v0.75.0

func (o *ResourceServiceListOK) Code() int

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

func (*ResourceServiceListOK) Error

func (o *ResourceServiceListOK) Error() string

func (*ResourceServiceListOK) GetPayload

func (*ResourceServiceListOK) IsClientError

func (o *ResourceServiceListOK) IsClientError() bool

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

func (*ResourceServiceListOK) IsCode

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

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

func (*ResourceServiceListOK) IsRedirect

func (o *ResourceServiceListOK) IsRedirect() bool

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

func (*ResourceServiceListOK) IsServerError

func (o *ResourceServiceListOK) IsServerError() bool

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

func (*ResourceServiceListOK) IsSuccess

func (o *ResourceServiceListOK) IsSuccess() bool

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

func (*ResourceServiceListOK) String

func (o *ResourceServiceListOK) String() string

type ResourceServiceListParams

type ResourceServiceListParams struct {

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

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

	/* ScopeID.

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

	/* ScopeType.

	   ResourceType is the type of object being referenced.

	   Default: "UNKNOWN"
	*/
	ScopeType *string

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

ResourceServiceListParams contains all the parameters to send to the API endpoint

for the resource service list operation.

Typically these are written to a http.Request.

func NewResourceServiceListParams

func NewResourceServiceListParams() *ResourceServiceListParams

NewResourceServiceListParams creates a new ResourceServiceListParams 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 NewResourceServiceListParamsWithContext

func NewResourceServiceListParamsWithContext(ctx context.Context) *ResourceServiceListParams

NewResourceServiceListParamsWithContext creates a new ResourceServiceListParams object with the ability to set a context for a request.

func NewResourceServiceListParamsWithHTTPClient

func NewResourceServiceListParamsWithHTTPClient(client *http.Client) *ResourceServiceListParams

NewResourceServiceListParamsWithHTTPClient creates a new ResourceServiceListParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceListParamsWithTimeout

func NewResourceServiceListParamsWithTimeout(timeout time.Duration) *ResourceServiceListParams

NewResourceServiceListParamsWithTimeout creates a new ResourceServiceListParams object with the ability to set a timeout on a request.

func (*ResourceServiceListParams) SetContext

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

SetContext adds the context to the resource service list params

func (*ResourceServiceListParams) SetDefaults

func (o *ResourceServiceListParams) SetDefaults()

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

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

func (*ResourceServiceListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the resource service list params

func (*ResourceServiceListParams) SetPaginationNextPageToken

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

SetPaginationNextPageToken adds the paginationNextPageToken to the resource service list params

func (*ResourceServiceListParams) SetPaginationPageSize

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

SetPaginationPageSize adds the paginationPageSize to the resource service list params

func (*ResourceServiceListParams) SetPaginationPreviousPageToken

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list params

func (*ResourceServiceListParams) SetScopeID

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

SetScopeID adds the scopeId to the resource service list params

func (*ResourceServiceListParams) SetScopeType

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

SetScopeType adds the scopeType to the resource service list params

func (*ResourceServiceListParams) SetTimeout

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

SetTimeout adds the timeout to the resource service list params

func (*ResourceServiceListParams) WithContext

WithContext adds the context to the resource service list params

func (*ResourceServiceListParams) WithDefaults

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

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

func (*ResourceServiceListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the resource service list params

func (*ResourceServiceListParams) WithPaginationNextPageToken

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

WithPaginationNextPageToken adds the paginationNextPageToken to the resource service list params

func (*ResourceServiceListParams) WithPaginationPageSize

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

WithPaginationPageSize adds the paginationPageSize to the resource service list params

func (*ResourceServiceListParams) WithPaginationPreviousPageToken

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list params

func (*ResourceServiceListParams) WithScopeID

WithScopeID adds the scopeID to the resource service list params

func (*ResourceServiceListParams) WithScopeType

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

WithScopeType adds the scopeType to the resource service list params

func (*ResourceServiceListParams) WithTimeout

WithTimeout adds the timeout to the resource service list params

func (*ResourceServiceListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourceServiceListReader

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

ResourceServiceListReader is a Reader for the ResourceServiceList structure.

func (*ResourceServiceListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ResourceServiceListRolesDefault added in v0.118.0

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

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

An unexpected error response.

func NewResourceServiceListRolesDefault added in v0.118.0

func NewResourceServiceListRolesDefault(code int) *ResourceServiceListRolesDefault

NewResourceServiceListRolesDefault creates a ResourceServiceListRolesDefault with default headers values

func (*ResourceServiceListRolesDefault) Code added in v0.118.0

Code gets the status code for the resource service list roles default response

func (*ResourceServiceListRolesDefault) Error added in v0.118.0

func (*ResourceServiceListRolesDefault) GetPayload added in v0.118.0

func (*ResourceServiceListRolesDefault) IsClientError added in v0.118.0

func (o *ResourceServiceListRolesDefault) IsClientError() bool

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

func (*ResourceServiceListRolesDefault) IsCode added in v0.118.0

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

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

func (*ResourceServiceListRolesDefault) IsRedirect added in v0.118.0

func (o *ResourceServiceListRolesDefault) IsRedirect() bool

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

func (*ResourceServiceListRolesDefault) IsServerError added in v0.118.0

func (o *ResourceServiceListRolesDefault) IsServerError() bool

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

func (*ResourceServiceListRolesDefault) IsSuccess added in v0.118.0

func (o *ResourceServiceListRolesDefault) IsSuccess() bool

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

func (*ResourceServiceListRolesDefault) String added in v0.118.0

type ResourceServiceListRolesOK added in v0.118.0

type ResourceServiceListRolesOK struct {
	Payload *models.HashicorpCloudResourcemanagerListRolesResponse
}

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

A successful response.

func NewResourceServiceListRolesOK added in v0.118.0

func NewResourceServiceListRolesOK() *ResourceServiceListRolesOK

NewResourceServiceListRolesOK creates a ResourceServiceListRolesOK with default headers values

func (*ResourceServiceListRolesOK) Code added in v0.118.0

func (o *ResourceServiceListRolesOK) Code() int

Code gets the status code for the resource service list roles o k response

func (*ResourceServiceListRolesOK) Error added in v0.118.0

func (*ResourceServiceListRolesOK) GetPayload added in v0.118.0

func (*ResourceServiceListRolesOK) IsClientError added in v0.118.0

func (o *ResourceServiceListRolesOK) IsClientError() bool

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

func (*ResourceServiceListRolesOK) IsCode added in v0.118.0

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

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

func (*ResourceServiceListRolesOK) IsRedirect added in v0.118.0

func (o *ResourceServiceListRolesOK) IsRedirect() bool

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

func (*ResourceServiceListRolesOK) IsServerError added in v0.118.0

func (o *ResourceServiceListRolesOK) IsServerError() bool

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

func (*ResourceServiceListRolesOK) IsSuccess added in v0.118.0

func (o *ResourceServiceListRolesOK) IsSuccess() bool

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

func (*ResourceServiceListRolesOK) String added in v0.118.0

func (o *ResourceServiceListRolesOK) String() string

type ResourceServiceListRolesParams added in v0.118.0

type ResourceServiceListRolesParams 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

	/* ResourceID.

	   Id is the resource id of the resource.
	*/
	ResourceID *string

	/* ResourceName.

	   Name is the resource name of the resource.
	*/
	ResourceName *string

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

ResourceServiceListRolesParams contains all the parameters to send to the API endpoint

for the resource service list roles operation.

Typically these are written to a http.Request.

func NewResourceServiceListRolesParams added in v0.118.0

func NewResourceServiceListRolesParams() *ResourceServiceListRolesParams

NewResourceServiceListRolesParams creates a new ResourceServiceListRolesParams 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 NewResourceServiceListRolesParamsWithContext added in v0.118.0

func NewResourceServiceListRolesParamsWithContext(ctx context.Context) *ResourceServiceListRolesParams

NewResourceServiceListRolesParamsWithContext creates a new ResourceServiceListRolesParams object with the ability to set a context for a request.

func NewResourceServiceListRolesParamsWithHTTPClient added in v0.118.0

func NewResourceServiceListRolesParamsWithHTTPClient(client *http.Client) *ResourceServiceListRolesParams

NewResourceServiceListRolesParamsWithHTTPClient creates a new ResourceServiceListRolesParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceListRolesParamsWithTimeout added in v0.118.0

func NewResourceServiceListRolesParamsWithTimeout(timeout time.Duration) *ResourceServiceListRolesParams

NewResourceServiceListRolesParamsWithTimeout creates a new ResourceServiceListRolesParams object with the ability to set a timeout on a request.

func (*ResourceServiceListRolesParams) SetContext added in v0.118.0

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

SetContext adds the context to the resource service list roles params

func (*ResourceServiceListRolesParams) SetDefaults added in v0.118.0

func (o *ResourceServiceListRolesParams) SetDefaults()

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

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

func (*ResourceServiceListRolesParams) SetHTTPClient added in v0.118.0

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

SetHTTPClient adds the HTTPClient to the resource service list roles params

func (*ResourceServiceListRolesParams) SetPaginationNextPageToken added in v0.118.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the resource service list roles params

func (*ResourceServiceListRolesParams) SetPaginationPageSize added in v0.118.0

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

SetPaginationPageSize adds the paginationPageSize to the resource service list roles params

func (*ResourceServiceListRolesParams) SetPaginationPreviousPageToken added in v0.118.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list roles params

func (*ResourceServiceListRolesParams) SetResourceID added in v0.118.0

func (o *ResourceServiceListRolesParams) SetResourceID(resourceID *string)

SetResourceID adds the resourceId to the resource service list roles params

func (*ResourceServiceListRolesParams) SetResourceName added in v0.118.0

func (o *ResourceServiceListRolesParams) SetResourceName(resourceName *string)

SetResourceName adds the resourceName to the resource service list roles params

func (*ResourceServiceListRolesParams) SetTimeout added in v0.118.0

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

SetTimeout adds the timeout to the resource service list roles params

func (*ResourceServiceListRolesParams) WithContext added in v0.118.0

WithContext adds the context to the resource service list roles params

func (*ResourceServiceListRolesParams) WithDefaults added in v0.118.0

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

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

func (*ResourceServiceListRolesParams) WithHTTPClient added in v0.118.0

WithHTTPClient adds the HTTPClient to the resource service list roles params

func (*ResourceServiceListRolesParams) WithPaginationNextPageToken added in v0.118.0

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

WithPaginationNextPageToken adds the paginationNextPageToken to the resource service list roles params

func (*ResourceServiceListRolesParams) WithPaginationPageSize added in v0.118.0

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

WithPaginationPageSize adds the paginationPageSize to the resource service list roles params

func (*ResourceServiceListRolesParams) WithPaginationPreviousPageToken added in v0.118.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the resource service list roles params

func (*ResourceServiceListRolesParams) WithResourceID added in v0.118.0

WithResourceID adds the resourceID to the resource service list roles params

func (*ResourceServiceListRolesParams) WithResourceName added in v0.118.0

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

WithResourceName adds the resourceName to the resource service list roles params

func (*ResourceServiceListRolesParams) WithTimeout added in v0.118.0

WithTimeout adds the timeout to the resource service list roles params

func (*ResourceServiceListRolesParams) WriteToRequest added in v0.118.0

WriteToRequest writes these params to a swagger request

type ResourceServiceListRolesReader added in v0.118.0

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

ResourceServiceListRolesReader is a Reader for the ResourceServiceListRoles structure.

func (*ResourceServiceListRolesReader) ReadResponse added in v0.118.0

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

ReadResponse reads a server response into the received o.

type ResourceServiceSetIamPolicyDefault added in v0.75.0

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

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

An unexpected error response.

func NewResourceServiceSetIamPolicyDefault added in v0.75.0

func NewResourceServiceSetIamPolicyDefault(code int) *ResourceServiceSetIamPolicyDefault

NewResourceServiceSetIamPolicyDefault creates a ResourceServiceSetIamPolicyDefault with default headers values

func (*ResourceServiceSetIamPolicyDefault) Code added in v0.75.0

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

func (*ResourceServiceSetIamPolicyDefault) Error added in v0.75.0

func (*ResourceServiceSetIamPolicyDefault) GetPayload added in v0.75.0

func (*ResourceServiceSetIamPolicyDefault) IsClientError added in v0.75.0

func (o *ResourceServiceSetIamPolicyDefault) IsClientError() bool

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

func (*ResourceServiceSetIamPolicyDefault) IsCode added in v0.75.0

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

func (*ResourceServiceSetIamPolicyDefault) IsRedirect added in v0.75.0

func (o *ResourceServiceSetIamPolicyDefault) IsRedirect() bool

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

func (*ResourceServiceSetIamPolicyDefault) IsServerError added in v0.75.0

func (o *ResourceServiceSetIamPolicyDefault) IsServerError() bool

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

func (*ResourceServiceSetIamPolicyDefault) IsSuccess added in v0.75.0

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

func (*ResourceServiceSetIamPolicyDefault) String added in v0.75.0

type ResourceServiceSetIamPolicyOK added in v0.75.0

type ResourceServiceSetIamPolicyOK struct {
	Payload *models.HashicorpCloudResourcemanagerResourceSetIamPolicyResponse
}

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

A successful response.

func NewResourceServiceSetIamPolicyOK added in v0.75.0

func NewResourceServiceSetIamPolicyOK() *ResourceServiceSetIamPolicyOK

NewResourceServiceSetIamPolicyOK creates a ResourceServiceSetIamPolicyOK with default headers values

func (*ResourceServiceSetIamPolicyOK) Code added in v0.75.0

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

func (*ResourceServiceSetIamPolicyOK) Error added in v0.75.0

func (*ResourceServiceSetIamPolicyOK) GetPayload added in v0.75.0

func (*ResourceServiceSetIamPolicyOK) IsClientError added in v0.75.0

func (o *ResourceServiceSetIamPolicyOK) IsClientError() bool

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

func (*ResourceServiceSetIamPolicyOK) IsCode added in v0.75.0

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

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

func (*ResourceServiceSetIamPolicyOK) IsRedirect added in v0.75.0

func (o *ResourceServiceSetIamPolicyOK) IsRedirect() bool

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

func (*ResourceServiceSetIamPolicyOK) IsServerError added in v0.75.0

func (o *ResourceServiceSetIamPolicyOK) IsServerError() bool

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

func (*ResourceServiceSetIamPolicyOK) IsSuccess added in v0.75.0

func (o *ResourceServiceSetIamPolicyOK) IsSuccess() bool

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

func (*ResourceServiceSetIamPolicyOK) String added in v0.75.0

type ResourceServiceSetIamPolicyParams added in v0.75.0

type ResourceServiceSetIamPolicyParams struct {

	// Body.
	Body *models.HashicorpCloudResourcemanagerResourceSetIamPolicyRequest

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

ResourceServiceSetIamPolicyParams contains all the parameters to send to the API endpoint

for the resource service set iam policy operation.

Typically these are written to a http.Request.

func NewResourceServiceSetIamPolicyParams added in v0.75.0

func NewResourceServiceSetIamPolicyParams() *ResourceServiceSetIamPolicyParams

NewResourceServiceSetIamPolicyParams creates a new ResourceServiceSetIamPolicyParams 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 NewResourceServiceSetIamPolicyParamsWithContext added in v0.75.0

func NewResourceServiceSetIamPolicyParamsWithContext(ctx context.Context) *ResourceServiceSetIamPolicyParams

NewResourceServiceSetIamPolicyParamsWithContext creates a new ResourceServiceSetIamPolicyParams object with the ability to set a context for a request.

func NewResourceServiceSetIamPolicyParamsWithHTTPClient added in v0.75.0

func NewResourceServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *ResourceServiceSetIamPolicyParams

NewResourceServiceSetIamPolicyParamsWithHTTPClient creates a new ResourceServiceSetIamPolicyParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceSetIamPolicyParamsWithTimeout added in v0.75.0

func NewResourceServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *ResourceServiceSetIamPolicyParams

NewResourceServiceSetIamPolicyParamsWithTimeout creates a new ResourceServiceSetIamPolicyParams object with the ability to set a timeout on a request.

func (*ResourceServiceSetIamPolicyParams) SetBody added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) SetContext added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) SetDefaults added in v0.75.0

func (o *ResourceServiceSetIamPolicyParams) SetDefaults()

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

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

func (*ResourceServiceSetIamPolicyParams) SetHTTPClient added in v0.75.0

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

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

func (*ResourceServiceSetIamPolicyParams) SetTimeout added in v0.75.0

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

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

func (*ResourceServiceSetIamPolicyParams) WithBody added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) WithContext added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) WithDefaults added in v0.75.0

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

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

func (*ResourceServiceSetIamPolicyParams) WithHTTPClient added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) WithTimeout added in v0.75.0

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

func (*ResourceServiceSetIamPolicyParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type ResourceServiceSetIamPolicyReader added in v0.75.0

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

ResourceServiceSetIamPolicyReader is a Reader for the ResourceServiceSetIamPolicy structure.

func (*ResourceServiceSetIamPolicyReader) ReadResponse added in v0.75.0

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

ReadResponse reads a server response into the received o.

type ResourceServiceTestIamPermissionsDefault added in v0.75.0

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

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

An unexpected error response.

func NewResourceServiceTestIamPermissionsDefault added in v0.75.0

func NewResourceServiceTestIamPermissionsDefault(code int) *ResourceServiceTestIamPermissionsDefault

NewResourceServiceTestIamPermissionsDefault creates a ResourceServiceTestIamPermissionsDefault with default headers values

func (*ResourceServiceTestIamPermissionsDefault) Code added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) Error added in v0.75.0

func (*ResourceServiceTestIamPermissionsDefault) GetPayload added in v0.75.0

func (*ResourceServiceTestIamPermissionsDefault) IsClientError added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) IsCode added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) IsRedirect added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) IsServerError added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) IsSuccess added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsDefault) String added in v0.75.0

type ResourceServiceTestIamPermissionsOK added in v0.75.0

type ResourceServiceTestIamPermissionsOK struct {
	Payload *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse
}

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

A successful response.

func NewResourceServiceTestIamPermissionsOK added in v0.75.0

func NewResourceServiceTestIamPermissionsOK() *ResourceServiceTestIamPermissionsOK

NewResourceServiceTestIamPermissionsOK creates a ResourceServiceTestIamPermissionsOK with default headers values

func (*ResourceServiceTestIamPermissionsOK) Code added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsOK) Error added in v0.75.0

func (*ResourceServiceTestIamPermissionsOK) GetPayload added in v0.75.0

func (*ResourceServiceTestIamPermissionsOK) IsClientError added in v0.75.0

func (o *ResourceServiceTestIamPermissionsOK) IsClientError() bool

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

func (*ResourceServiceTestIamPermissionsOK) IsCode added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsOK) IsRedirect added in v0.75.0

func (o *ResourceServiceTestIamPermissionsOK) IsRedirect() bool

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

func (*ResourceServiceTestIamPermissionsOK) IsServerError added in v0.75.0

func (o *ResourceServiceTestIamPermissionsOK) IsServerError() bool

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

func (*ResourceServiceTestIamPermissionsOK) IsSuccess added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsOK) String added in v0.75.0

type ResourceServiceTestIamPermissionsParams added in v0.75.0

type ResourceServiceTestIamPermissionsParams struct {

	// Body.
	Body *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest

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

ResourceServiceTestIamPermissionsParams contains all the parameters to send to the API endpoint

for the resource service test iam permissions operation.

Typically these are written to a http.Request.

func NewResourceServiceTestIamPermissionsParams added in v0.75.0

func NewResourceServiceTestIamPermissionsParams() *ResourceServiceTestIamPermissionsParams

NewResourceServiceTestIamPermissionsParams creates a new ResourceServiceTestIamPermissionsParams 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 NewResourceServiceTestIamPermissionsParamsWithContext added in v0.75.0

func NewResourceServiceTestIamPermissionsParamsWithContext(ctx context.Context) *ResourceServiceTestIamPermissionsParams

NewResourceServiceTestIamPermissionsParamsWithContext creates a new ResourceServiceTestIamPermissionsParams object with the ability to set a context for a request.

func NewResourceServiceTestIamPermissionsParamsWithHTTPClient added in v0.75.0

func NewResourceServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *ResourceServiceTestIamPermissionsParams

NewResourceServiceTestIamPermissionsParamsWithHTTPClient creates a new ResourceServiceTestIamPermissionsParams object with the ability to set a custom HTTPClient for a request.

func NewResourceServiceTestIamPermissionsParamsWithTimeout added in v0.75.0

func NewResourceServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *ResourceServiceTestIamPermissionsParams

NewResourceServiceTestIamPermissionsParamsWithTimeout creates a new ResourceServiceTestIamPermissionsParams object with the ability to set a timeout on a request.

func (*ResourceServiceTestIamPermissionsParams) SetBody added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) SetContext added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) SetDefaults added in v0.75.0

func (o *ResourceServiceTestIamPermissionsParams) SetDefaults()

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

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

func (*ResourceServiceTestIamPermissionsParams) SetHTTPClient added in v0.75.0

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

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

func (*ResourceServiceTestIamPermissionsParams) SetTimeout added in v0.75.0

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

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

func (*ResourceServiceTestIamPermissionsParams) WithBody added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) WithContext added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) WithDefaults added in v0.75.0

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

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

func (*ResourceServiceTestIamPermissionsParams) WithHTTPClient added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) WithTimeout added in v0.75.0

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

func (*ResourceServiceTestIamPermissionsParams) WriteToRequest added in v0.75.0

WriteToRequest writes these params to a swagger request

type ResourceServiceTestIamPermissionsReader added in v0.75.0

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

ResourceServiceTestIamPermissionsReader is a Reader for the ResourceServiceTestIamPermissions structure.

func (*ResourceServiceTestIamPermissionsReader) ReadResponse added in v0.75.0

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