Documentation ¶
Index ¶
- type Client
- func (a *Client) ResourceServiceGetIamPolicy(params *ResourceServiceGetIamPolicyParams, ...) (*ResourceServiceGetIamPolicyOK, error)
- func (a *Client) ResourceServiceGetResource(params *ResourceServiceGetResourceParams, ...) (*ResourceServiceGetResourceOK, error)
- func (a *Client) ResourceServiceList(params *ResourceServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResourceServiceListOK, error)
- func (a *Client) ResourceServiceListAccessibleResources(params *ResourceServiceListAccessibleResourcesParams, ...) (*ResourceServiceListAccessibleResourcesOK, error)
- func (a *Client) ResourceServiceListRoles(params *ResourceServiceListRolesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResourceServiceListRolesOK, error)
- func (a *Client) ResourceServiceSetIamPolicy(params *ResourceServiceSetIamPolicyParams, ...) (*ResourceServiceSetIamPolicyOK, error)
- func (a *Client) ResourceServiceTestIamPermissions(params *ResourceServiceTestIamPermissionsParams, ...) (*ResourceServiceTestIamPermissionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ResourceServiceGetIamPolicyDefault
- func (o *ResourceServiceGetIamPolicyDefault) Code() int
- func (o *ResourceServiceGetIamPolicyDefault) Error() string
- func (o *ResourceServiceGetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceGetIamPolicyDefault) IsClientError() bool
- func (o *ResourceServiceGetIamPolicyDefault) IsCode(code int) bool
- func (o *ResourceServiceGetIamPolicyDefault) IsRedirect() bool
- func (o *ResourceServiceGetIamPolicyDefault) IsServerError() bool
- func (o *ResourceServiceGetIamPolicyDefault) IsSuccess() bool
- func (o *ResourceServiceGetIamPolicyDefault) String() string
- type ResourceServiceGetIamPolicyOK
- func (o *ResourceServiceGetIamPolicyOK) Code() int
- func (o *ResourceServiceGetIamPolicyOK) Error() string
- func (o *ResourceServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceGetIamPolicyResponse
- func (o *ResourceServiceGetIamPolicyOK) IsClientError() bool
- func (o *ResourceServiceGetIamPolicyOK) IsCode(code int) bool
- func (o *ResourceServiceGetIamPolicyOK) IsRedirect() bool
- func (o *ResourceServiceGetIamPolicyOK) IsServerError() bool
- func (o *ResourceServiceGetIamPolicyOK) IsSuccess() bool
- func (o *ResourceServiceGetIamPolicyOK) String() string
- type ResourceServiceGetIamPolicyParams
- func NewResourceServiceGetIamPolicyParams() *ResourceServiceGetIamPolicyParams
- func NewResourceServiceGetIamPolicyParamsWithContext(ctx context.Context) *ResourceServiceGetIamPolicyParams
- func NewResourceServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *ResourceServiceGetIamPolicyParams
- func NewResourceServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) SetContext(ctx context.Context)
- func (o *ResourceServiceGetIamPolicyParams) SetDefaults()
- func (o *ResourceServiceGetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceGetIamPolicyParams) SetResourceID(resourceID *string)
- func (o *ResourceServiceGetIamPolicyParams) SetResourceName(resourceName *string)
- func (o *ResourceServiceGetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceGetIamPolicyParams) WithContext(ctx context.Context) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WithDefaults() *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WithResourceID(resourceID *string) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WithResourceName(resourceName *string) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *ResourceServiceGetIamPolicyParams
- func (o *ResourceServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceGetIamPolicyReader
- type ResourceServiceGetResourceDefault
- func (o *ResourceServiceGetResourceDefault) Code() int
- func (o *ResourceServiceGetResourceDefault) Error() string
- func (o *ResourceServiceGetResourceDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceGetResourceDefault) IsClientError() bool
- func (o *ResourceServiceGetResourceDefault) IsCode(code int) bool
- func (o *ResourceServiceGetResourceDefault) IsRedirect() bool
- func (o *ResourceServiceGetResourceDefault) IsServerError() bool
- func (o *ResourceServiceGetResourceDefault) IsSuccess() bool
- func (o *ResourceServiceGetResourceDefault) String() string
- type ResourceServiceGetResourceOK
- func (o *ResourceServiceGetResourceOK) Code() int
- func (o *ResourceServiceGetResourceOK) Error() string
- func (o *ResourceServiceGetResourceOK) GetPayload() *models.HashicorpCloudResourcemanagerGetResourceResponse
- func (o *ResourceServiceGetResourceOK) IsClientError() bool
- func (o *ResourceServiceGetResourceOK) IsCode(code int) bool
- func (o *ResourceServiceGetResourceOK) IsRedirect() bool
- func (o *ResourceServiceGetResourceOK) IsServerError() bool
- func (o *ResourceServiceGetResourceOK) IsSuccess() bool
- func (o *ResourceServiceGetResourceOK) String() string
- type ResourceServiceGetResourceParams
- func NewResourceServiceGetResourceParams() *ResourceServiceGetResourceParams
- func NewResourceServiceGetResourceParamsWithContext(ctx context.Context) *ResourceServiceGetResourceParams
- func NewResourceServiceGetResourceParamsWithHTTPClient(client *http.Client) *ResourceServiceGetResourceParams
- func NewResourceServiceGetResourceParamsWithTimeout(timeout time.Duration) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) SetContext(ctx context.Context)
- func (o *ResourceServiceGetResourceParams) SetDefaults()
- func (o *ResourceServiceGetResourceParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceGetResourceParams) SetResourceID(resourceID *string)
- func (o *ResourceServiceGetResourceParams) SetResourceName(resourceName *string)
- func (o *ResourceServiceGetResourceParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceGetResourceParams) WithContext(ctx context.Context) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WithDefaults() *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WithHTTPClient(client *http.Client) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WithResourceID(resourceID *string) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WithResourceName(resourceName *string) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WithTimeout(timeout time.Duration) *ResourceServiceGetResourceParams
- func (o *ResourceServiceGetResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceGetResourceReader
- type ResourceServiceListAccessibleResourcesDefault
- func (o *ResourceServiceListAccessibleResourcesDefault) Code() int
- func (o *ResourceServiceListAccessibleResourcesDefault) Error() string
- func (o *ResourceServiceListAccessibleResourcesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceListAccessibleResourcesDefault) IsClientError() bool
- func (o *ResourceServiceListAccessibleResourcesDefault) IsCode(code int) bool
- func (o *ResourceServiceListAccessibleResourcesDefault) IsRedirect() bool
- func (o *ResourceServiceListAccessibleResourcesDefault) IsServerError() bool
- func (o *ResourceServiceListAccessibleResourcesDefault) IsSuccess() bool
- func (o *ResourceServiceListAccessibleResourcesDefault) String() string
- type ResourceServiceListAccessibleResourcesOK
- func (o *ResourceServiceListAccessibleResourcesOK) Code() int
- func (o *ResourceServiceListAccessibleResourcesOK) Error() string
- func (o *ResourceServiceListAccessibleResourcesOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse
- func (o *ResourceServiceListAccessibleResourcesOK) IsClientError() bool
- func (o *ResourceServiceListAccessibleResourcesOK) IsCode(code int) bool
- func (o *ResourceServiceListAccessibleResourcesOK) IsRedirect() bool
- func (o *ResourceServiceListAccessibleResourcesOK) IsServerError() bool
- func (o *ResourceServiceListAccessibleResourcesOK) IsSuccess() bool
- func (o *ResourceServiceListAccessibleResourcesOK) String() string
- type ResourceServiceListAccessibleResourcesParams
- func NewResourceServiceListAccessibleResourcesParams() *ResourceServiceListAccessibleResourcesParams
- func NewResourceServiceListAccessibleResourcesParamsWithContext(ctx context.Context) *ResourceServiceListAccessibleResourcesParams
- func NewResourceServiceListAccessibleResourcesParamsWithHTTPClient(client *http.Client) *ResourceServiceListAccessibleResourcesParams
- func NewResourceServiceListAccessibleResourcesParamsWithTimeout(timeout time.Duration) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) SetContext(ctx context.Context)
- func (o *ResourceServiceListAccessibleResourcesParams) SetDefaults()
- func (o *ResourceServiceListAccessibleResourcesParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceListAccessibleResourcesParams) SetLeafNameFilter(leafNameFilter *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ResourceServiceListAccessibleResourcesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetPermission(permission *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetResourceType(resourceType *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetScopeResourceID(scopeResourceID *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetScopeResourceName(scopeResourceName *string)
- func (o *ResourceServiceListAccessibleResourcesParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceListAccessibleResourcesParams) WithContext(ctx context.Context) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithDefaults() *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithHTTPClient(client *http.Client) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithLeafNameFilter(leafNameFilter *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithPaginationPageSize(paginationPageSize *int64) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithPermission(permission *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithResourceType(resourceType *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithScopeResourceID(scopeResourceID *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithScopeResourceName(scopeResourceName *string) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WithTimeout(timeout time.Duration) *ResourceServiceListAccessibleResourcesParams
- func (o *ResourceServiceListAccessibleResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceListAccessibleResourcesReader
- type ResourceServiceListDefault
- func (o *ResourceServiceListDefault) Code() int
- func (o *ResourceServiceListDefault) Error() string
- func (o *ResourceServiceListDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceListDefault) IsClientError() bool
- func (o *ResourceServiceListDefault) IsCode(code int) bool
- func (o *ResourceServiceListDefault) IsRedirect() bool
- func (o *ResourceServiceListDefault) IsServerError() bool
- func (o *ResourceServiceListDefault) IsSuccess() bool
- func (o *ResourceServiceListDefault) String() string
- type ResourceServiceListOK
- func (o *ResourceServiceListOK) Code() int
- func (o *ResourceServiceListOK) Error() string
- func (o *ResourceServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceListResponse
- func (o *ResourceServiceListOK) IsClientError() bool
- func (o *ResourceServiceListOK) IsCode(code int) bool
- func (o *ResourceServiceListOK) IsRedirect() bool
- func (o *ResourceServiceListOK) IsServerError() bool
- func (o *ResourceServiceListOK) IsSuccess() bool
- func (o *ResourceServiceListOK) String() string
- type ResourceServiceListParams
- func NewResourceServiceListParams() *ResourceServiceListParams
- func NewResourceServiceListParamsWithContext(ctx context.Context) *ResourceServiceListParams
- func NewResourceServiceListParamsWithHTTPClient(client *http.Client) *ResourceServiceListParams
- func NewResourceServiceListParamsWithTimeout(timeout time.Duration) *ResourceServiceListParams
- func (o *ResourceServiceListParams) SetContext(ctx context.Context)
- func (o *ResourceServiceListParams) SetDefaults()
- func (o *ResourceServiceListParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ResourceServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ResourceServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ResourceServiceListParams) SetScopeID(scopeID *string)
- func (o *ResourceServiceListParams) SetScopeType(scopeType *string)
- func (o *ResourceServiceListParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceListParams) WithContext(ctx context.Context) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithDefaults() *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithHTTPClient(client *http.Client) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithScopeID(scopeID *string) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithScopeType(scopeType *string) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WithTimeout(timeout time.Duration) *ResourceServiceListParams
- func (o *ResourceServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceListReader
- type ResourceServiceListRolesDefault
- func (o *ResourceServiceListRolesDefault) Code() int
- func (o *ResourceServiceListRolesDefault) Error() string
- func (o *ResourceServiceListRolesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceListRolesDefault) IsClientError() bool
- func (o *ResourceServiceListRolesDefault) IsCode(code int) bool
- func (o *ResourceServiceListRolesDefault) IsRedirect() bool
- func (o *ResourceServiceListRolesDefault) IsServerError() bool
- func (o *ResourceServiceListRolesDefault) IsSuccess() bool
- func (o *ResourceServiceListRolesDefault) String() string
- type ResourceServiceListRolesOK
- func (o *ResourceServiceListRolesOK) Code() int
- func (o *ResourceServiceListRolesOK) Error() string
- func (o *ResourceServiceListRolesOK) GetPayload() *models.HashicorpCloudResourcemanagerListRolesResponse
- func (o *ResourceServiceListRolesOK) IsClientError() bool
- func (o *ResourceServiceListRolesOK) IsCode(code int) bool
- func (o *ResourceServiceListRolesOK) IsRedirect() bool
- func (o *ResourceServiceListRolesOK) IsServerError() bool
- func (o *ResourceServiceListRolesOK) IsSuccess() bool
- func (o *ResourceServiceListRolesOK) String() string
- type ResourceServiceListRolesParams
- func NewResourceServiceListRolesParams() *ResourceServiceListRolesParams
- func NewResourceServiceListRolesParamsWithContext(ctx context.Context) *ResourceServiceListRolesParams
- func NewResourceServiceListRolesParamsWithHTTPClient(client *http.Client) *ResourceServiceListRolesParams
- func NewResourceServiceListRolesParamsWithTimeout(timeout time.Duration) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) SetContext(ctx context.Context)
- func (o *ResourceServiceListRolesParams) SetDefaults()
- func (o *ResourceServiceListRolesParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceListRolesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ResourceServiceListRolesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ResourceServiceListRolesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ResourceServiceListRolesParams) SetResourceID(resourceID *string)
- func (o *ResourceServiceListRolesParams) SetResourceName(resourceName *string)
- func (o *ResourceServiceListRolesParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceListRolesParams) WithContext(ctx context.Context) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithDefaults() *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithHTTPClient(client *http.Client) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithPaginationPageSize(paginationPageSize *int64) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithResourceID(resourceID *string) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithResourceName(resourceName *string) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WithTimeout(timeout time.Duration) *ResourceServiceListRolesParams
- func (o *ResourceServiceListRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceListRolesReader
- type ResourceServiceSetIamPolicyDefault
- func (o *ResourceServiceSetIamPolicyDefault) Code() int
- func (o *ResourceServiceSetIamPolicyDefault) Error() string
- func (o *ResourceServiceSetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceSetIamPolicyDefault) IsClientError() bool
- func (o *ResourceServiceSetIamPolicyDefault) IsCode(code int) bool
- func (o *ResourceServiceSetIamPolicyDefault) IsRedirect() bool
- func (o *ResourceServiceSetIamPolicyDefault) IsServerError() bool
- func (o *ResourceServiceSetIamPolicyDefault) IsSuccess() bool
- func (o *ResourceServiceSetIamPolicyDefault) String() string
- type ResourceServiceSetIamPolicyOK
- func (o *ResourceServiceSetIamPolicyOK) Code() int
- func (o *ResourceServiceSetIamPolicyOK) Error() string
- func (o *ResourceServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceSetIamPolicyResponse
- func (o *ResourceServiceSetIamPolicyOK) IsClientError() bool
- func (o *ResourceServiceSetIamPolicyOK) IsCode(code int) bool
- func (o *ResourceServiceSetIamPolicyOK) IsRedirect() bool
- func (o *ResourceServiceSetIamPolicyOK) IsServerError() bool
- func (o *ResourceServiceSetIamPolicyOK) IsSuccess() bool
- func (o *ResourceServiceSetIamPolicyOK) String() string
- type ResourceServiceSetIamPolicyParams
- func NewResourceServiceSetIamPolicyParams() *ResourceServiceSetIamPolicyParams
- func NewResourceServiceSetIamPolicyParamsWithContext(ctx context.Context) *ResourceServiceSetIamPolicyParams
- func NewResourceServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *ResourceServiceSetIamPolicyParams
- func NewResourceServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) SetBody(body *models.HashicorpCloudResourcemanagerResourceSetIamPolicyRequest)
- func (o *ResourceServiceSetIamPolicyParams) SetContext(ctx context.Context)
- func (o *ResourceServiceSetIamPolicyParams) SetDefaults()
- func (o *ResourceServiceSetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceSetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceSetIamPolicyParams) WithBody(body *models.HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) WithContext(ctx context.Context) *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) WithDefaults() *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *ResourceServiceSetIamPolicyParams
- func (o *ResourceServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceSetIamPolicyReader
- type ResourceServiceTestIamPermissionsDefault
- func (o *ResourceServiceTestIamPermissionsDefault) Code() int
- func (o *ResourceServiceTestIamPermissionsDefault) Error() string
- func (o *ResourceServiceTestIamPermissionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ResourceServiceTestIamPermissionsDefault) IsClientError() bool
- func (o *ResourceServiceTestIamPermissionsDefault) IsCode(code int) bool
- func (o *ResourceServiceTestIamPermissionsDefault) IsRedirect() bool
- func (o *ResourceServiceTestIamPermissionsDefault) IsServerError() bool
- func (o *ResourceServiceTestIamPermissionsDefault) IsSuccess() bool
- func (o *ResourceServiceTestIamPermissionsDefault) String() string
- type ResourceServiceTestIamPermissionsOK
- func (o *ResourceServiceTestIamPermissionsOK) Code() int
- func (o *ResourceServiceTestIamPermissionsOK) Error() string
- func (o *ResourceServiceTestIamPermissionsOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse
- func (o *ResourceServiceTestIamPermissionsOK) IsClientError() bool
- func (o *ResourceServiceTestIamPermissionsOK) IsCode(code int) bool
- func (o *ResourceServiceTestIamPermissionsOK) IsRedirect() bool
- func (o *ResourceServiceTestIamPermissionsOK) IsServerError() bool
- func (o *ResourceServiceTestIamPermissionsOK) IsSuccess() bool
- func (o *ResourceServiceTestIamPermissionsOK) String() string
- type ResourceServiceTestIamPermissionsParams
- func NewResourceServiceTestIamPermissionsParams() *ResourceServiceTestIamPermissionsParams
- func NewResourceServiceTestIamPermissionsParamsWithContext(ctx context.Context) *ResourceServiceTestIamPermissionsParams
- func NewResourceServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *ResourceServiceTestIamPermissionsParams
- func NewResourceServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) SetBody(body *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest)
- func (o *ResourceServiceTestIamPermissionsParams) SetContext(ctx context.Context)
- func (o *ResourceServiceTestIamPermissionsParams) SetDefaults()
- func (o *ResourceServiceTestIamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ResourceServiceTestIamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ResourceServiceTestIamPermissionsParams) WithBody(body *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) WithContext(ctx context.Context) *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) WithDefaults() *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *ResourceServiceTestIamPermissionsParams
- func (o *ResourceServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ResourceServiceTestIamPermissionsReader
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
func (a *Client) ResourceServiceListAccessibleResources(params *ResourceServiceListAccessibleResourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListAccessibleResourcesOK, error)
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
func (o *ResourceServiceGetIamPolicyDefault) Code() int
Code gets the status code for the resource service get iam policy default response
func (*ResourceServiceGetIamPolicyDefault) Error ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyDefault) Error() string
func (*ResourceServiceGetIamPolicyDefault) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
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
func (o *ResourceServiceGetIamPolicyDefault) IsCode(code int) bool
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
func (o *ResourceServiceGetIamPolicyDefault) IsSuccess() bool
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
func (o *ResourceServiceGetIamPolicyDefault) String() string
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
func (o *ResourceServiceGetIamPolicyOK) Code() int
Code gets the status code for the resource service get iam policy o k response
func (*ResourceServiceGetIamPolicyOK) Error ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyOK) Error() string
func (*ResourceServiceGetIamPolicyOK) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceGetIamPolicyResponse
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
func (o *ResourceServiceGetIamPolicyOK) String() string
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
func (o *ResourceServiceGetIamPolicyParams) SetContext(ctx context.Context)
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
func (o *ResourceServiceGetIamPolicyParams) WithContext(ctx context.Context) *ResourceServiceGetIamPolicyParams
WithContext adds the context to the resource service get iam policy params
func (*ResourceServiceGetIamPolicyParams) WithDefaults ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyParams) WithDefaults() *ResourceServiceGetIamPolicyParams
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
func (o *ResourceServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *ResourceServiceGetIamPolicyParams
WithHTTPClient adds the HTTPClient to the resource service get iam policy params
func (*ResourceServiceGetIamPolicyParams) WithResourceID ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyParams) WithResourceID(resourceID *string) *ResourceServiceGetIamPolicyParams
WithResourceID adds the resourceID to the resource service get iam policy params
func (*ResourceServiceGetIamPolicyParams) WithResourceName ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyParams) WithResourceName(resourceName *string) *ResourceServiceGetIamPolicyParams
WithResourceName adds the resourceName to the resource service get iam policy params
func (*ResourceServiceGetIamPolicyParams) WithTimeout ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *ResourceServiceGetIamPolicyParams
WithTimeout adds the timeout to the resource service get iam policy params
func (*ResourceServiceGetIamPolicyParams) WriteToRequest ¶ added in v0.75.0
func (o *ResourceServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ResourceServiceGetResourceDefault) Code() int
Code gets the status code for the resource service get resource default response
func (*ResourceServiceGetResourceDefault) Error ¶ added in v0.118.0
func (o *ResourceServiceGetResourceDefault) Error() string
func (*ResourceServiceGetResourceDefault) GetPayload ¶ added in v0.118.0
func (o *ResourceServiceGetResourceDefault) GetPayload() *cloud.GoogleRPCStatus
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
func (o *ResourceServiceGetResourceDefault) String() string
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
func (o *ResourceServiceGetResourceOK) Code() int
Code gets the status code for the resource service get resource o k response
func (*ResourceServiceGetResourceOK) Error ¶ added in v0.118.0
func (o *ResourceServiceGetResourceOK) Error() string
func (*ResourceServiceGetResourceOK) GetPayload ¶ added in v0.118.0
func (o *ResourceServiceGetResourceOK) GetPayload() *models.HashicorpCloudResourcemanagerGetResourceResponse
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
func (o *ResourceServiceGetResourceOK) String() string
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
func (o *ResourceServiceGetResourceParams) SetContext(ctx context.Context)
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
func (o *ResourceServiceGetResourceParams) WithContext(ctx context.Context) *ResourceServiceGetResourceParams
WithContext adds the context to the resource service get resource params
func (*ResourceServiceGetResourceParams) WithDefaults ¶ added in v0.118.0
func (o *ResourceServiceGetResourceParams) WithDefaults() *ResourceServiceGetResourceParams
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
func (o *ResourceServiceGetResourceParams) WithHTTPClient(client *http.Client) *ResourceServiceGetResourceParams
WithHTTPClient adds the HTTPClient to the resource service get resource params
func (*ResourceServiceGetResourceParams) WithResourceID ¶ added in v0.118.0
func (o *ResourceServiceGetResourceParams) WithResourceID(resourceID *string) *ResourceServiceGetResourceParams
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
func (o *ResourceServiceGetResourceParams) WithTimeout(timeout time.Duration) *ResourceServiceGetResourceParams
WithTimeout adds the timeout to the resource service get resource params
func (*ResourceServiceGetResourceParams) WriteToRequest ¶ added in v0.118.0
func (o *ResourceServiceGetResourceParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ResourceServiceListAccessibleResourcesDefault) Code() int
Code gets the status code for the resource service list accessible resources default response
func (*ResourceServiceListAccessibleResourcesDefault) Error ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesDefault) Error() string
func (*ResourceServiceListAccessibleResourcesDefault) GetPayload ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ResourceServiceListAccessibleResourcesDefault) IsClientError ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesDefault) IsClientError() bool
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
func (o *ResourceServiceListAccessibleResourcesDefault) IsCode(code int) bool
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
func (o *ResourceServiceListAccessibleResourcesDefault) IsRedirect() bool
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
func (o *ResourceServiceListAccessibleResourcesDefault) IsServerError() bool
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
func (o *ResourceServiceListAccessibleResourcesDefault) IsSuccess() bool
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
func (o *ResourceServiceListAccessibleResourcesDefault) String() string
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
func (o *ResourceServiceListAccessibleResourcesOK) Code() int
Code gets the status code for the resource service list accessible resources o k response
func (*ResourceServiceListAccessibleResourcesOK) Error ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesOK) Error() string
func (*ResourceServiceListAccessibleResourcesOK) GetPayload ¶ added in v0.118.0
func (*ResourceServiceListAccessibleResourcesOK) IsClientError ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesOK) IsClientError() bool
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
func (o *ResourceServiceListAccessibleResourcesOK) IsCode(code int) bool
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
func (o *ResourceServiceListAccessibleResourcesOK) IsRedirect() bool
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
func (o *ResourceServiceListAccessibleResourcesOK) IsServerError() bool
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
func (o *ResourceServiceListAccessibleResourcesOK) IsSuccess() bool
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
func (o *ResourceServiceListAccessibleResourcesOK) String() string
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
func (o *ResourceServiceListAccessibleResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) SetDefaults ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) SetDefaults()
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
func (o *ResourceServiceListAccessibleResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithContext ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithContext(ctx context.Context) *ResourceServiceListAccessibleResourcesParams
WithContext adds the context to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithDefaults ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithDefaults() *ResourceServiceListAccessibleResourcesParams
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
func (o *ResourceServiceListAccessibleResourcesParams) WithHTTPClient(client *http.Client) *ResourceServiceListAccessibleResourcesParams
WithHTTPClient adds the HTTPClient to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithLeafNameFilter ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithLeafNameFilter(leafNameFilter *string) *ResourceServiceListAccessibleResourcesParams
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
func (o *ResourceServiceListAccessibleResourcesParams) WithPaginationPageSize(paginationPageSize *int64) *ResourceServiceListAccessibleResourcesParams
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
func (o *ResourceServiceListAccessibleResourcesParams) WithPermission(permission *string) *ResourceServiceListAccessibleResourcesParams
WithPermission adds the permission to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithResourceType ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithResourceType(resourceType *string) *ResourceServiceListAccessibleResourcesParams
WithResourceType adds the resourceType to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithScopeResourceID ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithScopeResourceID(scopeResourceID *string) *ResourceServiceListAccessibleResourcesParams
WithScopeResourceID adds the scopeResourceID to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithScopeResourceName ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithScopeResourceName(scopeResourceName *string) *ResourceServiceListAccessibleResourcesParams
WithScopeResourceName adds the scopeResourceName to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WithTimeout ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WithTimeout(timeout time.Duration) *ResourceServiceListAccessibleResourcesParams
WithTimeout adds the timeout to the resource service list accessible resources params
func (*ResourceServiceListAccessibleResourcesParams) WriteToRequest ¶ added in v0.118.0
func (o *ResourceServiceListAccessibleResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ResourceServiceListDefault) Error() string
func (*ResourceServiceListDefault) GetPayload ¶
func (o *ResourceServiceListDefault) GetPayload() *cloud.GoogleRPCStatus
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 (o *ResourceServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceListResponse
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 ¶
func (o *ResourceServiceListParams) WithContext(ctx context.Context) *ResourceServiceListParams
WithContext adds the context to the resource service list params
func (*ResourceServiceListParams) WithDefaults ¶
func (o *ResourceServiceListParams) WithDefaults() *ResourceServiceListParams
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 ¶
func (o *ResourceServiceListParams) WithScopeID(scopeID *string) *ResourceServiceListParams
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 ¶
func (o *ResourceServiceListParams) WithTimeout(timeout time.Duration) *ResourceServiceListParams
WithTimeout adds the timeout to the resource service list params
func (*ResourceServiceListParams) WriteToRequest ¶
func (o *ResourceServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ResourceServiceListRolesDefault) Code() int
Code gets the status code for the resource service list roles default response
func (*ResourceServiceListRolesDefault) Error ¶ added in v0.118.0
func (o *ResourceServiceListRolesDefault) Error() string
func (*ResourceServiceListRolesDefault) GetPayload ¶ added in v0.118.0
func (o *ResourceServiceListRolesDefault) GetPayload() *cloud.GoogleRPCStatus
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
func (o *ResourceServiceListRolesDefault) String() string
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 (o *ResourceServiceListRolesOK) Error() string
func (*ResourceServiceListRolesOK) GetPayload ¶ added in v0.118.0
func (o *ResourceServiceListRolesOK) GetPayload() *models.HashicorpCloudResourcemanagerListRolesResponse
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
func (o *ResourceServiceListRolesParams) WithContext(ctx context.Context) *ResourceServiceListRolesParams
WithContext adds the context to the resource service list roles params
func (*ResourceServiceListRolesParams) WithDefaults ¶ added in v0.118.0
func (o *ResourceServiceListRolesParams) WithDefaults() *ResourceServiceListRolesParams
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
func (o *ResourceServiceListRolesParams) WithHTTPClient(client *http.Client) *ResourceServiceListRolesParams
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
func (o *ResourceServiceListRolesParams) WithResourceID(resourceID *string) *ResourceServiceListRolesParams
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
func (o *ResourceServiceListRolesParams) WithTimeout(timeout time.Duration) *ResourceServiceListRolesParams
WithTimeout adds the timeout to the resource service list roles params
func (*ResourceServiceListRolesParams) WriteToRequest ¶ added in v0.118.0
func (o *ResourceServiceListRolesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ResourceServiceSetIamPolicyDefault) Code() int
Code gets the status code for the resource service set iam policy default response
func (*ResourceServiceSetIamPolicyDefault) Error ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyDefault) Error() string
func (*ResourceServiceSetIamPolicyDefault) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
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
func (o *ResourceServiceSetIamPolicyDefault) IsCode(code int) bool
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
func (o *ResourceServiceSetIamPolicyDefault) IsSuccess() bool
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
func (o *ResourceServiceSetIamPolicyDefault) String() string
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
func (o *ResourceServiceSetIamPolicyOK) Code() int
Code gets the status code for the resource service set iam policy o k response
func (*ResourceServiceSetIamPolicyOK) Error ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyOK) Error() string
func (*ResourceServiceSetIamPolicyOK) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceSetIamPolicyResponse
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
func (o *ResourceServiceSetIamPolicyOK) String() string
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
func (o *ResourceServiceSetIamPolicyParams) SetBody(body *models.HashicorpCloudResourcemanagerResourceSetIamPolicyRequest)
SetBody adds the body to the resource service set iam policy params
func (*ResourceServiceSetIamPolicyParams) SetContext ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyParams) SetContext(ctx context.Context)
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
func (o *ResourceServiceSetIamPolicyParams) WithBody(body *models.HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) *ResourceServiceSetIamPolicyParams
WithBody adds the body to the resource service set iam policy params
func (*ResourceServiceSetIamPolicyParams) WithContext ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyParams) WithContext(ctx context.Context) *ResourceServiceSetIamPolicyParams
WithContext adds the context to the resource service set iam policy params
func (*ResourceServiceSetIamPolicyParams) WithDefaults ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyParams) WithDefaults() *ResourceServiceSetIamPolicyParams
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
func (o *ResourceServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *ResourceServiceSetIamPolicyParams
WithHTTPClient adds the HTTPClient to the resource service set iam policy params
func (*ResourceServiceSetIamPolicyParams) WithTimeout ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *ResourceServiceSetIamPolicyParams
WithTimeout adds the timeout to the resource service set iam policy params
func (*ResourceServiceSetIamPolicyParams) WriteToRequest ¶ added in v0.75.0
func (o *ResourceServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
func (o *ResourceServiceTestIamPermissionsDefault) Code() int
Code gets the status code for the resource service test iam permissions default response
func (*ResourceServiceTestIamPermissionsDefault) Error ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsDefault) Error() string
func (*ResourceServiceTestIamPermissionsDefault) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ResourceServiceTestIamPermissionsDefault) IsClientError ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsDefault) IsClientError() bool
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
func (o *ResourceServiceTestIamPermissionsDefault) IsCode(code int) bool
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
func (o *ResourceServiceTestIamPermissionsDefault) IsRedirect() bool
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
func (o *ResourceServiceTestIamPermissionsDefault) IsServerError() bool
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
func (o *ResourceServiceTestIamPermissionsDefault) IsSuccess() bool
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
func (o *ResourceServiceTestIamPermissionsDefault) String() string
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
func (o *ResourceServiceTestIamPermissionsOK) Code() int
Code gets the status code for the resource service test iam permissions o k response
func (*ResourceServiceTestIamPermissionsOK) Error ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsOK) Error() string
func (*ResourceServiceTestIamPermissionsOK) GetPayload ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsOK) GetPayload() *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse
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
func (o *ResourceServiceTestIamPermissionsOK) IsCode(code int) bool
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
func (o *ResourceServiceTestIamPermissionsOK) IsSuccess() bool
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
func (o *ResourceServiceTestIamPermissionsOK) String() string
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
func (o *ResourceServiceTestIamPermissionsParams) SetBody(body *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest)
SetBody adds the body to the resource service test iam permissions params
func (*ResourceServiceTestIamPermissionsParams) SetContext ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsParams) SetContext(ctx context.Context)
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
func (o *ResourceServiceTestIamPermissionsParams) WithBody(body *models.HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) *ResourceServiceTestIamPermissionsParams
WithBody adds the body to the resource service test iam permissions params
func (*ResourceServiceTestIamPermissionsParams) WithContext ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsParams) WithContext(ctx context.Context) *ResourceServiceTestIamPermissionsParams
WithContext adds the context to the resource service test iam permissions params
func (*ResourceServiceTestIamPermissionsParams) WithDefaults ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsParams) WithDefaults() *ResourceServiceTestIamPermissionsParams
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
func (o *ResourceServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *ResourceServiceTestIamPermissionsParams
WithHTTPClient adds the HTTPClient to the resource service test iam permissions params
func (*ResourceServiceTestIamPermissionsParams) WithTimeout ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *ResourceServiceTestIamPermissionsParams
WithTimeout adds the timeout to the resource service test iam permissions params
func (*ResourceServiceTestIamPermissionsParams) WriteToRequest ¶ added in v0.75.0
func (o *ResourceServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- resource_service_client.go
- resource_service_get_iam_policy_parameters.go
- resource_service_get_iam_policy_responses.go
- resource_service_get_resource_parameters.go
- resource_service_get_resource_responses.go
- resource_service_list_accessible_resources_parameters.go
- resource_service_list_accessible_resources_responses.go
- resource_service_list_parameters.go
- resource_service_list_responses.go
- resource_service_list_roles_parameters.go
- resource_service_list_roles_responses.go
- resource_service_set_iam_policy_parameters.go
- resource_service_set_iam_policy_responses.go
- resource_service_test_iam_permissions_parameters.go
- resource_service_test_iam_permissions_responses.go