Documentation ¶
Index ¶
- type Client
- func (a *Client) ResourceServiceGetIamPolicy(params *ResourceServiceGetIamPolicyParams, ...) (*ResourceServiceGetIamPolicyOK, error)
- func (a *Client) ResourceServiceList(params *ResourceServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ResourceServiceListOK, 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 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 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) 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) 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) ResourceServiceList(params *ResourceServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ResourceServiceListOK, 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 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 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_list_parameters.go
- resource_service_list_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