Documentation ¶
Index ¶
- type Client
- func (a *Client) ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceCreateOK, error)
- func (a *Client) ProjectServiceDelete(params *ProjectServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceDeleteOK, error)
- func (a *Client) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceGetOK, error)
- func (a *Client) ProjectServiceGetIamPolicy(params *ProjectServiceGetIamPolicyParams, ...) (*ProjectServiceGetIamPolicyOK, error)
- func (a *Client) ProjectServiceGetProjectsCount(params *ProjectServiceGetProjectsCountParams, ...) (*ProjectServiceGetProjectsCountOK, error)
- func (a *Client) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceListOK, error)
- func (a *Client) ProjectServiceSetDescription(params *ProjectServiceSetDescriptionParams, ...) (*ProjectServiceSetDescriptionOK, error)
- func (a *Client) ProjectServiceSetIamPolicy(params *ProjectServiceSetIamPolicyParams, ...) (*ProjectServiceSetIamPolicyOK, error)
- func (a *Client) ProjectServiceSetName(params *ProjectServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ProjectServiceSetNameOK, error)
- func (a *Client) ProjectServiceTestIamPermissions(params *ProjectServiceTestIamPermissionsParams, ...) (*ProjectServiceTestIamPermissionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ProjectServiceCreateDefault
- func (o *ProjectServiceCreateDefault) Code() int
- func (o *ProjectServiceCreateDefault) Error() string
- func (o *ProjectServiceCreateDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceCreateDefault) IsClientError() bool
- func (o *ProjectServiceCreateDefault) IsCode(code int) bool
- func (o *ProjectServiceCreateDefault) IsRedirect() bool
- func (o *ProjectServiceCreateDefault) IsServerError() bool
- func (o *ProjectServiceCreateDefault) IsSuccess() bool
- func (o *ProjectServiceCreateDefault) String() string
- type ProjectServiceCreateOK
- func (o *ProjectServiceCreateOK) Code() int
- func (o *ProjectServiceCreateOK) Error() string
- func (o *ProjectServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectCreateResponse
- func (o *ProjectServiceCreateOK) IsClientError() bool
- func (o *ProjectServiceCreateOK) IsCode(code int) bool
- func (o *ProjectServiceCreateOK) IsRedirect() bool
- func (o *ProjectServiceCreateOK) IsServerError() bool
- func (o *ProjectServiceCreateOK) IsSuccess() bool
- func (o *ProjectServiceCreateOK) String() string
- type ProjectServiceCreateParams
- func NewProjectServiceCreateParams() *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithContext(ctx context.Context) *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithHTTPClient(client *http.Client) *ProjectServiceCreateParams
- func NewProjectServiceCreateParamsWithTimeout(timeout time.Duration) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest)
- func (o *ProjectServiceCreateParams) SetContext(ctx context.Context)
- func (o *ProjectServiceCreateParams) SetDefaults()
- func (o *ProjectServiceCreateParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceCreateParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithContext(ctx context.Context) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithDefaults() *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithHTTPClient(client *http.Client) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WithTimeout(timeout time.Duration) *ProjectServiceCreateParams
- func (o *ProjectServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceCreateReader
- type ProjectServiceDeleteDefault
- func (o *ProjectServiceDeleteDefault) Code() int
- func (o *ProjectServiceDeleteDefault) Error() string
- func (o *ProjectServiceDeleteDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceDeleteDefault) IsClientError() bool
- func (o *ProjectServiceDeleteDefault) IsCode(code int) bool
- func (o *ProjectServiceDeleteDefault) IsRedirect() bool
- func (o *ProjectServiceDeleteDefault) IsServerError() bool
- func (o *ProjectServiceDeleteDefault) IsSuccess() bool
- func (o *ProjectServiceDeleteDefault) String() string
- type ProjectServiceDeleteOK
- func (o *ProjectServiceDeleteOK) Code() int
- func (o *ProjectServiceDeleteOK) Error() string
- func (o *ProjectServiceDeleteOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectDeleteResponse
- func (o *ProjectServiceDeleteOK) IsClientError() bool
- func (o *ProjectServiceDeleteOK) IsCode(code int) bool
- func (o *ProjectServiceDeleteOK) IsRedirect() bool
- func (o *ProjectServiceDeleteOK) IsServerError() bool
- func (o *ProjectServiceDeleteOK) IsSuccess() bool
- func (o *ProjectServiceDeleteOK) String() string
- type ProjectServiceDeleteParams
- func NewProjectServiceDeleteParams() *ProjectServiceDeleteParams
- func NewProjectServiceDeleteParamsWithContext(ctx context.Context) *ProjectServiceDeleteParams
- func NewProjectServiceDeleteParamsWithHTTPClient(client *http.Client) *ProjectServiceDeleteParams
- func NewProjectServiceDeleteParamsWithTimeout(timeout time.Duration) *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) SetContext(ctx context.Context)
- func (o *ProjectServiceDeleteParams) SetDefaults()
- func (o *ProjectServiceDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceDeleteParams) SetID(id string)
- func (o *ProjectServiceDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceDeleteParams) WithContext(ctx context.Context) *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) WithDefaults() *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) WithHTTPClient(client *http.Client) *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) WithID(id string) *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) WithTimeout(timeout time.Duration) *ProjectServiceDeleteParams
- func (o *ProjectServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceDeleteReader
- type ProjectServiceGetDefault
- func (o *ProjectServiceGetDefault) Code() int
- func (o *ProjectServiceGetDefault) Error() string
- func (o *ProjectServiceGetDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceGetDefault) IsClientError() bool
- func (o *ProjectServiceGetDefault) IsCode(code int) bool
- func (o *ProjectServiceGetDefault) IsRedirect() bool
- func (o *ProjectServiceGetDefault) IsServerError() bool
- func (o *ProjectServiceGetDefault) IsSuccess() bool
- func (o *ProjectServiceGetDefault) String() string
- type ProjectServiceGetIamPolicyDefault
- func (o *ProjectServiceGetIamPolicyDefault) Code() int
- func (o *ProjectServiceGetIamPolicyDefault) Error() string
- func (o *ProjectServiceGetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceGetIamPolicyDefault) IsClientError() bool
- func (o *ProjectServiceGetIamPolicyDefault) IsCode(code int) bool
- func (o *ProjectServiceGetIamPolicyDefault) IsRedirect() bool
- func (o *ProjectServiceGetIamPolicyDefault) IsServerError() bool
- func (o *ProjectServiceGetIamPolicyDefault) IsSuccess() bool
- func (o *ProjectServiceGetIamPolicyDefault) String() string
- type ProjectServiceGetIamPolicyOK
- func (o *ProjectServiceGetIamPolicyOK) Code() int
- func (o *ProjectServiceGetIamPolicyOK) Error() string
- func (o *ProjectServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetIamPolicyResponse
- func (o *ProjectServiceGetIamPolicyOK) IsClientError() bool
- func (o *ProjectServiceGetIamPolicyOK) IsCode(code int) bool
- func (o *ProjectServiceGetIamPolicyOK) IsRedirect() bool
- func (o *ProjectServiceGetIamPolicyOK) IsServerError() bool
- func (o *ProjectServiceGetIamPolicyOK) IsSuccess() bool
- func (o *ProjectServiceGetIamPolicyOK) String() string
- type ProjectServiceGetIamPolicyParams
- func NewProjectServiceGetIamPolicyParams() *ProjectServiceGetIamPolicyParams
- func NewProjectServiceGetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceGetIamPolicyParams
- func NewProjectServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceGetIamPolicyParams
- func NewProjectServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) SetContext(ctx context.Context)
- func (o *ProjectServiceGetIamPolicyParams) SetDefaults()
- func (o *ProjectServiceGetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceGetIamPolicyParams) SetID(id string)
- func (o *ProjectServiceGetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceGetIamPolicyParams) WithContext(ctx context.Context) *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) WithDefaults() *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) WithID(id string) *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *ProjectServiceGetIamPolicyParams
- func (o *ProjectServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceGetIamPolicyReader
- type ProjectServiceGetOK
- func (o *ProjectServiceGetOK) Code() int
- func (o *ProjectServiceGetOK) Error() string
- func (o *ProjectServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetResponse
- func (o *ProjectServiceGetOK) IsClientError() bool
- func (o *ProjectServiceGetOK) IsCode(code int) bool
- func (o *ProjectServiceGetOK) IsRedirect() bool
- func (o *ProjectServiceGetOK) IsServerError() bool
- func (o *ProjectServiceGetOK) IsSuccess() bool
- func (o *ProjectServiceGetOK) String() string
- type ProjectServiceGetParams
- func NewProjectServiceGetParams() *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithContext(ctx context.Context) *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithHTTPClient(client *http.Client) *ProjectServiceGetParams
- func NewProjectServiceGetParamsWithTimeout(timeout time.Duration) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) SetContext(ctx context.Context)
- func (o *ProjectServiceGetParams) SetDefaults()
- func (o *ProjectServiceGetParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceGetParams) SetID(id string)
- func (o *ProjectServiceGetParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceGetParams) WithContext(ctx context.Context) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithDefaults() *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithHTTPClient(client *http.Client) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithID(id string) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WithTimeout(timeout time.Duration) *ProjectServiceGetParams
- func (o *ProjectServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceGetProjectsCountDefault
- func (o *ProjectServiceGetProjectsCountDefault) Code() int
- func (o *ProjectServiceGetProjectsCountDefault) Error() string
- func (o *ProjectServiceGetProjectsCountDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceGetProjectsCountDefault) IsClientError() bool
- func (o *ProjectServiceGetProjectsCountDefault) IsCode(code int) bool
- func (o *ProjectServiceGetProjectsCountDefault) IsRedirect() bool
- func (o *ProjectServiceGetProjectsCountDefault) IsServerError() bool
- func (o *ProjectServiceGetProjectsCountDefault) IsSuccess() bool
- func (o *ProjectServiceGetProjectsCountDefault) String() string
- type ProjectServiceGetProjectsCountOK
- func (o *ProjectServiceGetProjectsCountOK) Code() int
- func (o *ProjectServiceGetProjectsCountOK) Error() string
- func (o *ProjectServiceGetProjectsCountOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetProjectsCountResponse
- func (o *ProjectServiceGetProjectsCountOK) IsClientError() bool
- func (o *ProjectServiceGetProjectsCountOK) IsCode(code int) bool
- func (o *ProjectServiceGetProjectsCountOK) IsRedirect() bool
- func (o *ProjectServiceGetProjectsCountOK) IsServerError() bool
- func (o *ProjectServiceGetProjectsCountOK) IsSuccess() bool
- func (o *ProjectServiceGetProjectsCountOK) String() string
- type ProjectServiceGetProjectsCountParams
- func NewProjectServiceGetProjectsCountParams() *ProjectServiceGetProjectsCountParams
- func NewProjectServiceGetProjectsCountParamsWithContext(ctx context.Context) *ProjectServiceGetProjectsCountParams
- func NewProjectServiceGetProjectsCountParamsWithHTTPClient(client *http.Client) *ProjectServiceGetProjectsCountParams
- func NewProjectServiceGetProjectsCountParamsWithTimeout(timeout time.Duration) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) SetContext(ctx context.Context)
- func (o *ProjectServiceGetProjectsCountParams) SetDefaults()
- func (o *ProjectServiceGetProjectsCountParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceGetProjectsCountParams) SetScopeID(scopeID *string)
- func (o *ProjectServiceGetProjectsCountParams) SetScopeType(scopeType *string)
- func (o *ProjectServiceGetProjectsCountParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceGetProjectsCountParams) WithContext(ctx context.Context) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WithDefaults() *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WithHTTPClient(client *http.Client) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WithScopeID(scopeID *string) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WithScopeType(scopeType *string) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WithTimeout(timeout time.Duration) *ProjectServiceGetProjectsCountParams
- func (o *ProjectServiceGetProjectsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceGetProjectsCountReader
- type ProjectServiceGetReader
- type ProjectServiceListDefault
- func (o *ProjectServiceListDefault) Code() int
- func (o *ProjectServiceListDefault) Error() string
- func (o *ProjectServiceListDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceListDefault) IsClientError() bool
- func (o *ProjectServiceListDefault) IsCode(code int) bool
- func (o *ProjectServiceListDefault) IsRedirect() bool
- func (o *ProjectServiceListDefault) IsServerError() bool
- func (o *ProjectServiceListDefault) IsSuccess() bool
- func (o *ProjectServiceListDefault) String() string
- type ProjectServiceListOK
- func (o *ProjectServiceListOK) Code() int
- func (o *ProjectServiceListOK) Error() string
- func (o *ProjectServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectListResponse
- func (o *ProjectServiceListOK) IsClientError() bool
- func (o *ProjectServiceListOK) IsCode(code int) bool
- func (o *ProjectServiceListOK) IsRedirect() bool
- func (o *ProjectServiceListOK) IsServerError() bool
- func (o *ProjectServiceListOK) IsSuccess() bool
- func (o *ProjectServiceListOK) String() string
- type ProjectServiceListParams
- func NewProjectServiceListParams() *ProjectServiceListParams
- func NewProjectServiceListParamsWithContext(ctx context.Context) *ProjectServiceListParams
- func NewProjectServiceListParamsWithHTTPClient(client *http.Client) *ProjectServiceListParams
- func NewProjectServiceListParamsWithTimeout(timeout time.Duration) *ProjectServiceListParams
- func (o *ProjectServiceListParams) SetContext(ctx context.Context)
- func (o *ProjectServiceListParams) SetDefaults()
- func (o *ProjectServiceListParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ProjectServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ProjectServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ProjectServiceListParams) SetScopeID(scopeID *string)
- func (o *ProjectServiceListParams) SetScopeType(scopeType *string)
- func (o *ProjectServiceListParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceListParams) WithContext(ctx context.Context) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithDefaults() *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithHTTPClient(client *http.Client) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithScopeID(scopeID *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithScopeType(scopeType *string) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WithTimeout(timeout time.Duration) *ProjectServiceListParams
- func (o *ProjectServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceListReader
- type ProjectServiceSetDescriptionBody
- func (o *ProjectServiceSetDescriptionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ProjectServiceSetDescriptionBody) MarshalBinary() ([]byte, error)
- func (o *ProjectServiceSetDescriptionBody) UnmarshalBinary(b []byte) error
- func (o *ProjectServiceSetDescriptionBody) Validate(formats strfmt.Registry) error
- type ProjectServiceSetDescriptionDefault
- func (o *ProjectServiceSetDescriptionDefault) Code() int
- func (o *ProjectServiceSetDescriptionDefault) Error() string
- func (o *ProjectServiceSetDescriptionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceSetDescriptionDefault) IsClientError() bool
- func (o *ProjectServiceSetDescriptionDefault) IsCode(code int) bool
- func (o *ProjectServiceSetDescriptionDefault) IsRedirect() bool
- func (o *ProjectServiceSetDescriptionDefault) IsServerError() bool
- func (o *ProjectServiceSetDescriptionDefault) IsSuccess() bool
- func (o *ProjectServiceSetDescriptionDefault) String() string
- type ProjectServiceSetDescriptionOK
- func (o *ProjectServiceSetDescriptionOK) Code() int
- func (o *ProjectServiceSetDescriptionOK) Error() string
- func (o *ProjectServiceSetDescriptionOK) GetPayload() interface{}
- func (o *ProjectServiceSetDescriptionOK) IsClientError() bool
- func (o *ProjectServiceSetDescriptionOK) IsCode(code int) bool
- func (o *ProjectServiceSetDescriptionOK) IsRedirect() bool
- func (o *ProjectServiceSetDescriptionOK) IsServerError() bool
- func (o *ProjectServiceSetDescriptionOK) IsSuccess() bool
- func (o *ProjectServiceSetDescriptionOK) String() string
- type ProjectServiceSetDescriptionParams
- func NewProjectServiceSetDescriptionParams() *ProjectServiceSetDescriptionParams
- func NewProjectServiceSetDescriptionParamsWithContext(ctx context.Context) *ProjectServiceSetDescriptionParams
- func NewProjectServiceSetDescriptionParamsWithHTTPClient(client *http.Client) *ProjectServiceSetDescriptionParams
- func NewProjectServiceSetDescriptionParamsWithTimeout(timeout time.Duration) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) SetBody(body ProjectServiceSetDescriptionBody)
- func (o *ProjectServiceSetDescriptionParams) SetContext(ctx context.Context)
- func (o *ProjectServiceSetDescriptionParams) SetDefaults()
- func (o *ProjectServiceSetDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceSetDescriptionParams) SetID(id string)
- func (o *ProjectServiceSetDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceSetDescriptionParams) WithBody(body ProjectServiceSetDescriptionBody) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WithContext(ctx context.Context) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WithDefaults() *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WithHTTPClient(client *http.Client) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WithID(id string) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WithTimeout(timeout time.Duration) *ProjectServiceSetDescriptionParams
- func (o *ProjectServiceSetDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceSetDescriptionReader
- type ProjectServiceSetIamPolicyBody
- func (o *ProjectServiceSetIamPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ProjectServiceSetIamPolicyBody) MarshalBinary() ([]byte, error)
- func (o *ProjectServiceSetIamPolicyBody) UnmarshalBinary(b []byte) error
- func (o *ProjectServiceSetIamPolicyBody) Validate(formats strfmt.Registry) error
- type ProjectServiceSetIamPolicyDefault
- func (o *ProjectServiceSetIamPolicyDefault) Code() int
- func (o *ProjectServiceSetIamPolicyDefault) Error() string
- func (o *ProjectServiceSetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceSetIamPolicyDefault) IsClientError() bool
- func (o *ProjectServiceSetIamPolicyDefault) IsCode(code int) bool
- func (o *ProjectServiceSetIamPolicyDefault) IsRedirect() bool
- func (o *ProjectServiceSetIamPolicyDefault) IsServerError() bool
- func (o *ProjectServiceSetIamPolicyDefault) IsSuccess() bool
- func (o *ProjectServiceSetIamPolicyDefault) String() string
- type ProjectServiceSetIamPolicyOK
- func (o *ProjectServiceSetIamPolicyOK) Code() int
- func (o *ProjectServiceSetIamPolicyOK) Error() string
- func (o *ProjectServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectSetIamPolicyResponse
- func (o *ProjectServiceSetIamPolicyOK) IsClientError() bool
- func (o *ProjectServiceSetIamPolicyOK) IsCode(code int) bool
- func (o *ProjectServiceSetIamPolicyOK) IsRedirect() bool
- func (o *ProjectServiceSetIamPolicyOK) IsServerError() bool
- func (o *ProjectServiceSetIamPolicyOK) IsSuccess() bool
- func (o *ProjectServiceSetIamPolicyOK) String() string
- type ProjectServiceSetIamPolicyParams
- func NewProjectServiceSetIamPolicyParams() *ProjectServiceSetIamPolicyParams
- func NewProjectServiceSetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceSetIamPolicyParams
- func NewProjectServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceSetIamPolicyParams
- func NewProjectServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) SetBody(body ProjectServiceSetIamPolicyBody)
- func (o *ProjectServiceSetIamPolicyParams) SetContext(ctx context.Context)
- func (o *ProjectServiceSetIamPolicyParams) SetDefaults()
- func (o *ProjectServiceSetIamPolicyParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceSetIamPolicyParams) SetID(id string)
- func (o *ProjectServiceSetIamPolicyParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceSetIamPolicyParams) WithBody(body ProjectServiceSetIamPolicyBody) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WithContext(ctx context.Context) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WithDefaults() *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WithID(id string) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *ProjectServiceSetIamPolicyParams
- func (o *ProjectServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceSetIamPolicyReader
- type ProjectServiceSetNameBody
- func (o *ProjectServiceSetNameBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ProjectServiceSetNameBody) MarshalBinary() ([]byte, error)
- func (o *ProjectServiceSetNameBody) UnmarshalBinary(b []byte) error
- func (o *ProjectServiceSetNameBody) Validate(formats strfmt.Registry) error
- type ProjectServiceSetNameDefault
- func (o *ProjectServiceSetNameDefault) Code() int
- func (o *ProjectServiceSetNameDefault) Error() string
- func (o *ProjectServiceSetNameDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceSetNameDefault) IsClientError() bool
- func (o *ProjectServiceSetNameDefault) IsCode(code int) bool
- func (o *ProjectServiceSetNameDefault) IsRedirect() bool
- func (o *ProjectServiceSetNameDefault) IsServerError() bool
- func (o *ProjectServiceSetNameDefault) IsSuccess() bool
- func (o *ProjectServiceSetNameDefault) String() string
- type ProjectServiceSetNameOK
- func (o *ProjectServiceSetNameOK) Code() int
- func (o *ProjectServiceSetNameOK) Error() string
- func (o *ProjectServiceSetNameOK) GetPayload() interface{}
- func (o *ProjectServiceSetNameOK) IsClientError() bool
- func (o *ProjectServiceSetNameOK) IsCode(code int) bool
- func (o *ProjectServiceSetNameOK) IsRedirect() bool
- func (o *ProjectServiceSetNameOK) IsServerError() bool
- func (o *ProjectServiceSetNameOK) IsSuccess() bool
- func (o *ProjectServiceSetNameOK) String() string
- type ProjectServiceSetNameParams
- func NewProjectServiceSetNameParams() *ProjectServiceSetNameParams
- func NewProjectServiceSetNameParamsWithContext(ctx context.Context) *ProjectServiceSetNameParams
- func NewProjectServiceSetNameParamsWithHTTPClient(client *http.Client) *ProjectServiceSetNameParams
- func NewProjectServiceSetNameParamsWithTimeout(timeout time.Duration) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) SetBody(body ProjectServiceSetNameBody)
- func (o *ProjectServiceSetNameParams) SetContext(ctx context.Context)
- func (o *ProjectServiceSetNameParams) SetDefaults()
- func (o *ProjectServiceSetNameParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceSetNameParams) SetID(id string)
- func (o *ProjectServiceSetNameParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceSetNameParams) WithBody(body ProjectServiceSetNameBody) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WithContext(ctx context.Context) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WithDefaults() *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WithHTTPClient(client *http.Client) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WithID(id string) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WithTimeout(timeout time.Duration) *ProjectServiceSetNameParams
- func (o *ProjectServiceSetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceSetNameReader
- type ProjectServiceTestIamPermissionsBody
- func (o *ProjectServiceTestIamPermissionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *ProjectServiceTestIamPermissionsBody) MarshalBinary() ([]byte, error)
- func (o *ProjectServiceTestIamPermissionsBody) UnmarshalBinary(b []byte) error
- func (o *ProjectServiceTestIamPermissionsBody) Validate(formats strfmt.Registry) error
- type ProjectServiceTestIamPermissionsDefault
- func (o *ProjectServiceTestIamPermissionsDefault) Code() int
- func (o *ProjectServiceTestIamPermissionsDefault) Error() string
- func (o *ProjectServiceTestIamPermissionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ProjectServiceTestIamPermissionsDefault) IsClientError() bool
- func (o *ProjectServiceTestIamPermissionsDefault) IsCode(code int) bool
- func (o *ProjectServiceTestIamPermissionsDefault) IsRedirect() bool
- func (o *ProjectServiceTestIamPermissionsDefault) IsServerError() bool
- func (o *ProjectServiceTestIamPermissionsDefault) IsSuccess() bool
- func (o *ProjectServiceTestIamPermissionsDefault) String() string
- type ProjectServiceTestIamPermissionsOK
- func (o *ProjectServiceTestIamPermissionsOK) Code() int
- func (o *ProjectServiceTestIamPermissionsOK) Error() string
- func (o *ProjectServiceTestIamPermissionsOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse
- func (o *ProjectServiceTestIamPermissionsOK) IsClientError() bool
- func (o *ProjectServiceTestIamPermissionsOK) IsCode(code int) bool
- func (o *ProjectServiceTestIamPermissionsOK) IsRedirect() bool
- func (o *ProjectServiceTestIamPermissionsOK) IsServerError() bool
- func (o *ProjectServiceTestIamPermissionsOK) IsSuccess() bool
- func (o *ProjectServiceTestIamPermissionsOK) String() string
- type ProjectServiceTestIamPermissionsParams
- func NewProjectServiceTestIamPermissionsParams() *ProjectServiceTestIamPermissionsParams
- func NewProjectServiceTestIamPermissionsParamsWithContext(ctx context.Context) *ProjectServiceTestIamPermissionsParams
- func NewProjectServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *ProjectServiceTestIamPermissionsParams
- func NewProjectServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) SetBody(body ProjectServiceTestIamPermissionsBody)
- func (o *ProjectServiceTestIamPermissionsParams) SetContext(ctx context.Context)
- func (o *ProjectServiceTestIamPermissionsParams) SetDefaults()
- func (o *ProjectServiceTestIamPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *ProjectServiceTestIamPermissionsParams) SetID(id string)
- func (o *ProjectServiceTestIamPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *ProjectServiceTestIamPermissionsParams) WithBody(body ProjectServiceTestIamPermissionsBody) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WithContext(ctx context.Context) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WithDefaults() *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WithID(id string) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *ProjectServiceTestIamPermissionsParams
- func (o *ProjectServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectServiceTestIamPermissionsReader
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 project service API
func (*Client) ProjectServiceCreate ¶
func (a *Client) ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error)
ProjectServiceCreate creates creates a new project
func (*Client) ProjectServiceDelete ¶
func (a *Client) ProjectServiceDelete(params *ProjectServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceDeleteOK, error)
ProjectServiceDelete deletes updates the state of a project to d e l e t e d
func (*Client) ProjectServiceGet ¶
func (a *Client) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error)
ProjectServiceGet gets retrieves the requested project by ID a not found status will be returned for projects in the d e l e t e d state
func (*Client) ProjectServiceGetIamPolicy ¶
func (a *Client) ProjectServiceGetIamPolicy(params *ProjectServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetIamPolicyOK, error)
ProjectServiceGetIamPolicy gets iam policy retrieves the user managed i a m policy for a project
func (*Client) ProjectServiceGetProjectsCount ¶ added in v0.58.0
func (a *Client) ProjectServiceGetProjectsCount(params *ProjectServiceGetProjectsCountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetProjectsCountOK, error)
ProjectServiceGetProjectsCount gets projects count returns the count of projects within a parent scope
func (*Client) ProjectServiceList ¶
func (a *Client) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, error)
ProjectServiceList lists list the projects the caller has access to
func (*Client) ProjectServiceSetDescription ¶
func (a *Client) ProjectServiceSetDescription(params *ProjectServiceSetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetDescriptionOK, error)
ProjectServiceSetDescription sets description sets the requested project s description
func (*Client) ProjectServiceSetIamPolicy ¶
func (a *Client) ProjectServiceSetIamPolicy(params *ProjectServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetIamPolicyOK, error)
ProjectServiceSetIamPolicy sets iam policy sets the i a m policy for a project 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) ProjectServiceSetName ¶
func (a *Client) ProjectServiceSetName(params *ProjectServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetNameOK, error)
ProjectServiceSetName sets name sets the requested project s name
func (*Client) ProjectServiceTestIamPermissions ¶ added in v0.58.0
func (a *Client) ProjectServiceTestIamPermissions(params *ProjectServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceTestIamPermissionsOK, error)
ProjectServiceTestIamPermissions tests iam permissions returns a subset of the request permissions the calling principal has for the project
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 { ProjectServiceCreate(params *ProjectServiceCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceCreateOK, error) ProjectServiceDelete(params *ProjectServiceDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceDeleteOK, error) ProjectServiceGet(params *ProjectServiceGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetOK, error) ProjectServiceGetIamPolicy(params *ProjectServiceGetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetIamPolicyOK, error) ProjectServiceGetProjectsCount(params *ProjectServiceGetProjectsCountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceGetProjectsCountOK, error) ProjectServiceList(params *ProjectServiceListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceListOK, error) ProjectServiceSetDescription(params *ProjectServiceSetDescriptionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetDescriptionOK, error) ProjectServiceSetIamPolicy(params *ProjectServiceSetIamPolicyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetIamPolicyOK, error) ProjectServiceSetName(params *ProjectServiceSetNameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceSetNameOK, error) ProjectServiceTestIamPermissions(params *ProjectServiceTestIamPermissionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ProjectServiceTestIamPermissionsOK, 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 project service API client.
type ProjectServiceCreateDefault ¶
type ProjectServiceCreateDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceCreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceCreateDefault ¶
func NewProjectServiceCreateDefault(code int) *ProjectServiceCreateDefault
NewProjectServiceCreateDefault creates a ProjectServiceCreateDefault with default headers values
func (*ProjectServiceCreateDefault) Code ¶
func (o *ProjectServiceCreateDefault) Code() int
Code gets the status code for the project service create default response
func (*ProjectServiceCreateDefault) Error ¶
func (o *ProjectServiceCreateDefault) Error() string
func (*ProjectServiceCreateDefault) GetPayload ¶
func (o *ProjectServiceCreateDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceCreateDefault) IsClientError ¶
func (o *ProjectServiceCreateDefault) IsClientError() bool
IsClientError returns true when this project service create default response has a 4xx status code
func (*ProjectServiceCreateDefault) IsCode ¶
func (o *ProjectServiceCreateDefault) IsCode(code int) bool
IsCode returns true when this project service create default response a status code equal to that given
func (*ProjectServiceCreateDefault) IsRedirect ¶
func (o *ProjectServiceCreateDefault) IsRedirect() bool
IsRedirect returns true when this project service create default response has a 3xx status code
func (*ProjectServiceCreateDefault) IsServerError ¶
func (o *ProjectServiceCreateDefault) IsServerError() bool
IsServerError returns true when this project service create default response has a 5xx status code
func (*ProjectServiceCreateDefault) IsSuccess ¶
func (o *ProjectServiceCreateDefault) IsSuccess() bool
IsSuccess returns true when this project service create default response has a 2xx status code
func (*ProjectServiceCreateDefault) String ¶
func (o *ProjectServiceCreateDefault) String() string
type ProjectServiceCreateOK ¶
type ProjectServiceCreateOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectCreateResponse
}
ProjectServiceCreateOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceCreateOK ¶
func NewProjectServiceCreateOK() *ProjectServiceCreateOK
NewProjectServiceCreateOK creates a ProjectServiceCreateOK with default headers values
func (*ProjectServiceCreateOK) Code ¶ added in v0.75.0
func (o *ProjectServiceCreateOK) Code() int
Code gets the status code for the project service create o k response
func (*ProjectServiceCreateOK) Error ¶
func (o *ProjectServiceCreateOK) Error() string
func (*ProjectServiceCreateOK) GetPayload ¶
func (o *ProjectServiceCreateOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectCreateResponse
func (*ProjectServiceCreateOK) IsClientError ¶
func (o *ProjectServiceCreateOK) IsClientError() bool
IsClientError returns true when this project service create o k response has a 4xx status code
func (*ProjectServiceCreateOK) IsCode ¶
func (o *ProjectServiceCreateOK) IsCode(code int) bool
IsCode returns true when this project service create o k response a status code equal to that given
func (*ProjectServiceCreateOK) IsRedirect ¶
func (o *ProjectServiceCreateOK) IsRedirect() bool
IsRedirect returns true when this project service create o k response has a 3xx status code
func (*ProjectServiceCreateOK) IsServerError ¶
func (o *ProjectServiceCreateOK) IsServerError() bool
IsServerError returns true when this project service create o k response has a 5xx status code
func (*ProjectServiceCreateOK) IsSuccess ¶
func (o *ProjectServiceCreateOK) IsSuccess() bool
IsSuccess returns true when this project service create o k response has a 2xx status code
func (*ProjectServiceCreateOK) String ¶
func (o *ProjectServiceCreateOK) String() string
type ProjectServiceCreateParams ¶
type ProjectServiceCreateParams struct { // Body. Body *models.HashicorpCloudResourcemanagerProjectCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceCreateParams contains all the parameters to send to the API endpoint
for the project service create operation. Typically these are written to a http.Request.
func NewProjectServiceCreateParams ¶
func NewProjectServiceCreateParams() *ProjectServiceCreateParams
NewProjectServiceCreateParams creates a new ProjectServiceCreateParams 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 NewProjectServiceCreateParamsWithContext ¶
func NewProjectServiceCreateParamsWithContext(ctx context.Context) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithContext creates a new ProjectServiceCreateParams object with the ability to set a context for a request.
func NewProjectServiceCreateParamsWithHTTPClient ¶
func NewProjectServiceCreateParamsWithHTTPClient(client *http.Client) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithHTTPClient creates a new ProjectServiceCreateParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceCreateParamsWithTimeout ¶
func NewProjectServiceCreateParamsWithTimeout(timeout time.Duration) *ProjectServiceCreateParams
NewProjectServiceCreateParamsWithTimeout creates a new ProjectServiceCreateParams object with the ability to set a timeout on a request.
func (*ProjectServiceCreateParams) SetBody ¶
func (o *ProjectServiceCreateParams) SetBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest)
SetBody adds the body to the project service create params
func (*ProjectServiceCreateParams) SetContext ¶
func (o *ProjectServiceCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the project service create params
func (*ProjectServiceCreateParams) SetDefaults ¶
func (o *ProjectServiceCreateParams) SetDefaults()
SetDefaults hydrates default values in the project service create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceCreateParams) SetHTTPClient ¶
func (o *ProjectServiceCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service create params
func (*ProjectServiceCreateParams) SetTimeout ¶
func (o *ProjectServiceCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service create params
func (*ProjectServiceCreateParams) WithBody ¶
func (o *ProjectServiceCreateParams) WithBody(body *models.HashicorpCloudResourcemanagerProjectCreateRequest) *ProjectServiceCreateParams
WithBody adds the body to the project service create params
func (*ProjectServiceCreateParams) WithContext ¶
func (o *ProjectServiceCreateParams) WithContext(ctx context.Context) *ProjectServiceCreateParams
WithContext adds the context to the project service create params
func (*ProjectServiceCreateParams) WithDefaults ¶
func (o *ProjectServiceCreateParams) WithDefaults() *ProjectServiceCreateParams
WithDefaults hydrates default values in the project service create params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceCreateParams) WithHTTPClient ¶
func (o *ProjectServiceCreateParams) WithHTTPClient(client *http.Client) *ProjectServiceCreateParams
WithHTTPClient adds the HTTPClient to the project service create params
func (*ProjectServiceCreateParams) WithTimeout ¶
func (o *ProjectServiceCreateParams) WithTimeout(timeout time.Duration) *ProjectServiceCreateParams
WithTimeout adds the timeout to the project service create params
func (*ProjectServiceCreateParams) WriteToRequest ¶
func (o *ProjectServiceCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceCreateReader ¶
type ProjectServiceCreateReader struct {
// contains filtered or unexported fields
}
ProjectServiceCreateReader is a Reader for the ProjectServiceCreate structure.
func (*ProjectServiceCreateReader) ReadResponse ¶
func (o *ProjectServiceCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceDeleteDefault ¶
type ProjectServiceDeleteDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceDeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceDeleteDefault ¶
func NewProjectServiceDeleteDefault(code int) *ProjectServiceDeleteDefault
NewProjectServiceDeleteDefault creates a ProjectServiceDeleteDefault with default headers values
func (*ProjectServiceDeleteDefault) Code ¶
func (o *ProjectServiceDeleteDefault) Code() int
Code gets the status code for the project service delete default response
func (*ProjectServiceDeleteDefault) Error ¶
func (o *ProjectServiceDeleteDefault) Error() string
func (*ProjectServiceDeleteDefault) GetPayload ¶
func (o *ProjectServiceDeleteDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceDeleteDefault) IsClientError ¶
func (o *ProjectServiceDeleteDefault) IsClientError() bool
IsClientError returns true when this project service delete default response has a 4xx status code
func (*ProjectServiceDeleteDefault) IsCode ¶
func (o *ProjectServiceDeleteDefault) IsCode(code int) bool
IsCode returns true when this project service delete default response a status code equal to that given
func (*ProjectServiceDeleteDefault) IsRedirect ¶
func (o *ProjectServiceDeleteDefault) IsRedirect() bool
IsRedirect returns true when this project service delete default response has a 3xx status code
func (*ProjectServiceDeleteDefault) IsServerError ¶
func (o *ProjectServiceDeleteDefault) IsServerError() bool
IsServerError returns true when this project service delete default response has a 5xx status code
func (*ProjectServiceDeleteDefault) IsSuccess ¶
func (o *ProjectServiceDeleteDefault) IsSuccess() bool
IsSuccess returns true when this project service delete default response has a 2xx status code
func (*ProjectServiceDeleteDefault) String ¶
func (o *ProjectServiceDeleteDefault) String() string
type ProjectServiceDeleteOK ¶
type ProjectServiceDeleteOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectDeleteResponse
}
ProjectServiceDeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceDeleteOK ¶
func NewProjectServiceDeleteOK() *ProjectServiceDeleteOK
NewProjectServiceDeleteOK creates a ProjectServiceDeleteOK with default headers values
func (*ProjectServiceDeleteOK) Code ¶ added in v0.75.0
func (o *ProjectServiceDeleteOK) Code() int
Code gets the status code for the project service delete o k response
func (*ProjectServiceDeleteOK) Error ¶
func (o *ProjectServiceDeleteOK) Error() string
func (*ProjectServiceDeleteOK) GetPayload ¶
func (o *ProjectServiceDeleteOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectDeleteResponse
func (*ProjectServiceDeleteOK) IsClientError ¶
func (o *ProjectServiceDeleteOK) IsClientError() bool
IsClientError returns true when this project service delete o k response has a 4xx status code
func (*ProjectServiceDeleteOK) IsCode ¶
func (o *ProjectServiceDeleteOK) IsCode(code int) bool
IsCode returns true when this project service delete o k response a status code equal to that given
func (*ProjectServiceDeleteOK) IsRedirect ¶
func (o *ProjectServiceDeleteOK) IsRedirect() bool
IsRedirect returns true when this project service delete o k response has a 3xx status code
func (*ProjectServiceDeleteOK) IsServerError ¶
func (o *ProjectServiceDeleteOK) IsServerError() bool
IsServerError returns true when this project service delete o k response has a 5xx status code
func (*ProjectServiceDeleteOK) IsSuccess ¶
func (o *ProjectServiceDeleteOK) IsSuccess() bool
IsSuccess returns true when this project service delete o k response has a 2xx status code
func (*ProjectServiceDeleteOK) String ¶
func (o *ProjectServiceDeleteOK) String() string
type ProjectServiceDeleteParams ¶
type ProjectServiceDeleteParams struct { /* ID. ID is the identifier of the project to delete. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceDeleteParams contains all the parameters to send to the API endpoint
for the project service delete operation. Typically these are written to a http.Request.
func NewProjectServiceDeleteParams ¶
func NewProjectServiceDeleteParams() *ProjectServiceDeleteParams
NewProjectServiceDeleteParams creates a new ProjectServiceDeleteParams 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 NewProjectServiceDeleteParamsWithContext ¶
func NewProjectServiceDeleteParamsWithContext(ctx context.Context) *ProjectServiceDeleteParams
NewProjectServiceDeleteParamsWithContext creates a new ProjectServiceDeleteParams object with the ability to set a context for a request.
func NewProjectServiceDeleteParamsWithHTTPClient ¶
func NewProjectServiceDeleteParamsWithHTTPClient(client *http.Client) *ProjectServiceDeleteParams
NewProjectServiceDeleteParamsWithHTTPClient creates a new ProjectServiceDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceDeleteParamsWithTimeout ¶
func NewProjectServiceDeleteParamsWithTimeout(timeout time.Duration) *ProjectServiceDeleteParams
NewProjectServiceDeleteParamsWithTimeout creates a new ProjectServiceDeleteParams object with the ability to set a timeout on a request.
func (*ProjectServiceDeleteParams) SetContext ¶
func (o *ProjectServiceDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the project service delete params
func (*ProjectServiceDeleteParams) SetDefaults ¶
func (o *ProjectServiceDeleteParams) SetDefaults()
SetDefaults hydrates default values in the project service delete params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceDeleteParams) SetHTTPClient ¶
func (o *ProjectServiceDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service delete params
func (*ProjectServiceDeleteParams) SetID ¶
func (o *ProjectServiceDeleteParams) SetID(id string)
SetID adds the id to the project service delete params
func (*ProjectServiceDeleteParams) SetTimeout ¶
func (o *ProjectServiceDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service delete params
func (*ProjectServiceDeleteParams) WithContext ¶
func (o *ProjectServiceDeleteParams) WithContext(ctx context.Context) *ProjectServiceDeleteParams
WithContext adds the context to the project service delete params
func (*ProjectServiceDeleteParams) WithDefaults ¶
func (o *ProjectServiceDeleteParams) WithDefaults() *ProjectServiceDeleteParams
WithDefaults hydrates default values in the project service delete params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceDeleteParams) WithHTTPClient ¶
func (o *ProjectServiceDeleteParams) WithHTTPClient(client *http.Client) *ProjectServiceDeleteParams
WithHTTPClient adds the HTTPClient to the project service delete params
func (*ProjectServiceDeleteParams) WithID ¶
func (o *ProjectServiceDeleteParams) WithID(id string) *ProjectServiceDeleteParams
WithID adds the id to the project service delete params
func (*ProjectServiceDeleteParams) WithTimeout ¶
func (o *ProjectServiceDeleteParams) WithTimeout(timeout time.Duration) *ProjectServiceDeleteParams
WithTimeout adds the timeout to the project service delete params
func (*ProjectServiceDeleteParams) WriteToRequest ¶
func (o *ProjectServiceDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceDeleteReader ¶
type ProjectServiceDeleteReader struct {
// contains filtered or unexported fields
}
ProjectServiceDeleteReader is a Reader for the ProjectServiceDelete structure.
func (*ProjectServiceDeleteReader) ReadResponse ¶
func (o *ProjectServiceDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceGetDefault ¶
type ProjectServiceGetDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceGetDefault ¶
func NewProjectServiceGetDefault(code int) *ProjectServiceGetDefault
NewProjectServiceGetDefault creates a ProjectServiceGetDefault with default headers values
func (*ProjectServiceGetDefault) Code ¶
func (o *ProjectServiceGetDefault) Code() int
Code gets the status code for the project service get default response
func (*ProjectServiceGetDefault) Error ¶
func (o *ProjectServiceGetDefault) Error() string
func (*ProjectServiceGetDefault) GetPayload ¶
func (o *ProjectServiceGetDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceGetDefault) IsClientError ¶
func (o *ProjectServiceGetDefault) IsClientError() bool
IsClientError returns true when this project service get default response has a 4xx status code
func (*ProjectServiceGetDefault) IsCode ¶
func (o *ProjectServiceGetDefault) IsCode(code int) bool
IsCode returns true when this project service get default response a status code equal to that given
func (*ProjectServiceGetDefault) IsRedirect ¶
func (o *ProjectServiceGetDefault) IsRedirect() bool
IsRedirect returns true when this project service get default response has a 3xx status code
func (*ProjectServiceGetDefault) IsServerError ¶
func (o *ProjectServiceGetDefault) IsServerError() bool
IsServerError returns true when this project service get default response has a 5xx status code
func (*ProjectServiceGetDefault) IsSuccess ¶
func (o *ProjectServiceGetDefault) IsSuccess() bool
IsSuccess returns true when this project service get default response has a 2xx status code
func (*ProjectServiceGetDefault) String ¶
func (o *ProjectServiceGetDefault) String() string
type ProjectServiceGetIamPolicyDefault ¶
type ProjectServiceGetIamPolicyDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceGetIamPolicyDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceGetIamPolicyDefault ¶
func NewProjectServiceGetIamPolicyDefault(code int) *ProjectServiceGetIamPolicyDefault
NewProjectServiceGetIamPolicyDefault creates a ProjectServiceGetIamPolicyDefault with default headers values
func (*ProjectServiceGetIamPolicyDefault) Code ¶
func (o *ProjectServiceGetIamPolicyDefault) Code() int
Code gets the status code for the project service get iam policy default response
func (*ProjectServiceGetIamPolicyDefault) Error ¶
func (o *ProjectServiceGetIamPolicyDefault) Error() string
func (*ProjectServiceGetIamPolicyDefault) GetPayload ¶
func (o *ProjectServiceGetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceGetIamPolicyDefault) IsClientError ¶
func (o *ProjectServiceGetIamPolicyDefault) IsClientError() bool
IsClientError returns true when this project service get iam policy default response has a 4xx status code
func (*ProjectServiceGetIamPolicyDefault) IsCode ¶
func (o *ProjectServiceGetIamPolicyDefault) IsCode(code int) bool
IsCode returns true when this project service get iam policy default response a status code equal to that given
func (*ProjectServiceGetIamPolicyDefault) IsRedirect ¶
func (o *ProjectServiceGetIamPolicyDefault) IsRedirect() bool
IsRedirect returns true when this project service get iam policy default response has a 3xx status code
func (*ProjectServiceGetIamPolicyDefault) IsServerError ¶
func (o *ProjectServiceGetIamPolicyDefault) IsServerError() bool
IsServerError returns true when this project service get iam policy default response has a 5xx status code
func (*ProjectServiceGetIamPolicyDefault) IsSuccess ¶
func (o *ProjectServiceGetIamPolicyDefault) IsSuccess() bool
IsSuccess returns true when this project service get iam policy default response has a 2xx status code
func (*ProjectServiceGetIamPolicyDefault) String ¶
func (o *ProjectServiceGetIamPolicyDefault) String() string
type ProjectServiceGetIamPolicyOK ¶
type ProjectServiceGetIamPolicyOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectGetIamPolicyResponse
}
ProjectServiceGetIamPolicyOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceGetIamPolicyOK ¶
func NewProjectServiceGetIamPolicyOK() *ProjectServiceGetIamPolicyOK
NewProjectServiceGetIamPolicyOK creates a ProjectServiceGetIamPolicyOK with default headers values
func (*ProjectServiceGetIamPolicyOK) Code ¶ added in v0.75.0
func (o *ProjectServiceGetIamPolicyOK) Code() int
Code gets the status code for the project service get iam policy o k response
func (*ProjectServiceGetIamPolicyOK) Error ¶
func (o *ProjectServiceGetIamPolicyOK) Error() string
func (*ProjectServiceGetIamPolicyOK) GetPayload ¶
func (o *ProjectServiceGetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetIamPolicyResponse
func (*ProjectServiceGetIamPolicyOK) IsClientError ¶
func (o *ProjectServiceGetIamPolicyOK) IsClientError() bool
IsClientError returns true when this project service get iam policy o k response has a 4xx status code
func (*ProjectServiceGetIamPolicyOK) IsCode ¶
func (o *ProjectServiceGetIamPolicyOK) IsCode(code int) bool
IsCode returns true when this project service get iam policy o k response a status code equal to that given
func (*ProjectServiceGetIamPolicyOK) IsRedirect ¶
func (o *ProjectServiceGetIamPolicyOK) IsRedirect() bool
IsRedirect returns true when this project service get iam policy o k response has a 3xx status code
func (*ProjectServiceGetIamPolicyOK) IsServerError ¶
func (o *ProjectServiceGetIamPolicyOK) IsServerError() bool
IsServerError returns true when this project service get iam policy o k response has a 5xx status code
func (*ProjectServiceGetIamPolicyOK) IsSuccess ¶
func (o *ProjectServiceGetIamPolicyOK) IsSuccess() bool
IsSuccess returns true when this project service get iam policy o k response has a 2xx status code
func (*ProjectServiceGetIamPolicyOK) String ¶
func (o *ProjectServiceGetIamPolicyOK) String() string
type ProjectServiceGetIamPolicyParams ¶
type ProjectServiceGetIamPolicyParams struct { /* ID. ID is the identifier of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceGetIamPolicyParams contains all the parameters to send to the API endpoint
for the project service get iam policy operation. Typically these are written to a http.Request.
func NewProjectServiceGetIamPolicyParams ¶
func NewProjectServiceGetIamPolicyParams() *ProjectServiceGetIamPolicyParams
NewProjectServiceGetIamPolicyParams creates a new ProjectServiceGetIamPolicyParams 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 NewProjectServiceGetIamPolicyParamsWithContext ¶
func NewProjectServiceGetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceGetIamPolicyParams
NewProjectServiceGetIamPolicyParamsWithContext creates a new ProjectServiceGetIamPolicyParams object with the ability to set a context for a request.
func NewProjectServiceGetIamPolicyParamsWithHTTPClient ¶
func NewProjectServiceGetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceGetIamPolicyParams
NewProjectServiceGetIamPolicyParamsWithHTTPClient creates a new ProjectServiceGetIamPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceGetIamPolicyParamsWithTimeout ¶
func NewProjectServiceGetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceGetIamPolicyParams
NewProjectServiceGetIamPolicyParamsWithTimeout creates a new ProjectServiceGetIamPolicyParams object with the ability to set a timeout on a request.
func (*ProjectServiceGetIamPolicyParams) SetContext ¶
func (o *ProjectServiceGetIamPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) SetDefaults ¶
func (o *ProjectServiceGetIamPolicyParams) SetDefaults()
SetDefaults hydrates default values in the project service get iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetIamPolicyParams) SetHTTPClient ¶
func (o *ProjectServiceGetIamPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) SetID ¶
func (o *ProjectServiceGetIamPolicyParams) SetID(id string)
SetID adds the id to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) SetTimeout ¶
func (o *ProjectServiceGetIamPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) WithContext ¶
func (o *ProjectServiceGetIamPolicyParams) WithContext(ctx context.Context) *ProjectServiceGetIamPolicyParams
WithContext adds the context to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) WithDefaults ¶
func (o *ProjectServiceGetIamPolicyParams) WithDefaults() *ProjectServiceGetIamPolicyParams
WithDefaults hydrates default values in the project service get iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetIamPolicyParams) WithHTTPClient ¶
func (o *ProjectServiceGetIamPolicyParams) WithHTTPClient(client *http.Client) *ProjectServiceGetIamPolicyParams
WithHTTPClient adds the HTTPClient to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) WithID ¶
func (o *ProjectServiceGetIamPolicyParams) WithID(id string) *ProjectServiceGetIamPolicyParams
WithID adds the id to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) WithTimeout ¶
func (o *ProjectServiceGetIamPolicyParams) WithTimeout(timeout time.Duration) *ProjectServiceGetIamPolicyParams
WithTimeout adds the timeout to the project service get iam policy params
func (*ProjectServiceGetIamPolicyParams) WriteToRequest ¶
func (o *ProjectServiceGetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceGetIamPolicyReader ¶
type ProjectServiceGetIamPolicyReader struct {
// contains filtered or unexported fields
}
ProjectServiceGetIamPolicyReader is a Reader for the ProjectServiceGetIamPolicy structure.
func (*ProjectServiceGetIamPolicyReader) ReadResponse ¶
func (o *ProjectServiceGetIamPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceGetOK ¶
type ProjectServiceGetOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectGetResponse
}
ProjectServiceGetOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceGetOK ¶
func NewProjectServiceGetOK() *ProjectServiceGetOK
NewProjectServiceGetOK creates a ProjectServiceGetOK with default headers values
func (*ProjectServiceGetOK) Code ¶ added in v0.75.0
func (o *ProjectServiceGetOK) Code() int
Code gets the status code for the project service get o k response
func (*ProjectServiceGetOK) Error ¶
func (o *ProjectServiceGetOK) Error() string
func (*ProjectServiceGetOK) GetPayload ¶
func (o *ProjectServiceGetOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetResponse
func (*ProjectServiceGetOK) IsClientError ¶
func (o *ProjectServiceGetOK) IsClientError() bool
IsClientError returns true when this project service get o k response has a 4xx status code
func (*ProjectServiceGetOK) IsCode ¶
func (o *ProjectServiceGetOK) IsCode(code int) bool
IsCode returns true when this project service get o k response a status code equal to that given
func (*ProjectServiceGetOK) IsRedirect ¶
func (o *ProjectServiceGetOK) IsRedirect() bool
IsRedirect returns true when this project service get o k response has a 3xx status code
func (*ProjectServiceGetOK) IsServerError ¶
func (o *ProjectServiceGetOK) IsServerError() bool
IsServerError returns true when this project service get o k response has a 5xx status code
func (*ProjectServiceGetOK) IsSuccess ¶
func (o *ProjectServiceGetOK) IsSuccess() bool
IsSuccess returns true when this project service get o k response has a 2xx status code
func (*ProjectServiceGetOK) String ¶
func (o *ProjectServiceGetOK) String() string
type ProjectServiceGetParams ¶
type ProjectServiceGetParams struct { /* ID. ID is the identifier of the organization to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceGetParams contains all the parameters to send to the API endpoint
for the project service get operation. Typically these are written to a http.Request.
func NewProjectServiceGetParams ¶
func NewProjectServiceGetParams() *ProjectServiceGetParams
NewProjectServiceGetParams creates a new ProjectServiceGetParams 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 NewProjectServiceGetParamsWithContext ¶
func NewProjectServiceGetParamsWithContext(ctx context.Context) *ProjectServiceGetParams
NewProjectServiceGetParamsWithContext creates a new ProjectServiceGetParams object with the ability to set a context for a request.
func NewProjectServiceGetParamsWithHTTPClient ¶
func NewProjectServiceGetParamsWithHTTPClient(client *http.Client) *ProjectServiceGetParams
NewProjectServiceGetParamsWithHTTPClient creates a new ProjectServiceGetParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceGetParamsWithTimeout ¶
func NewProjectServiceGetParamsWithTimeout(timeout time.Duration) *ProjectServiceGetParams
NewProjectServiceGetParamsWithTimeout creates a new ProjectServiceGetParams object with the ability to set a timeout on a request.
func (*ProjectServiceGetParams) SetContext ¶
func (o *ProjectServiceGetParams) SetContext(ctx context.Context)
SetContext adds the context to the project service get params
func (*ProjectServiceGetParams) SetDefaults ¶
func (o *ProjectServiceGetParams) SetDefaults()
SetDefaults hydrates default values in the project service get params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetParams) SetHTTPClient ¶
func (o *ProjectServiceGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service get params
func (*ProjectServiceGetParams) SetID ¶
func (o *ProjectServiceGetParams) SetID(id string)
SetID adds the id to the project service get params
func (*ProjectServiceGetParams) SetTimeout ¶
func (o *ProjectServiceGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service get params
func (*ProjectServiceGetParams) WithContext ¶
func (o *ProjectServiceGetParams) WithContext(ctx context.Context) *ProjectServiceGetParams
WithContext adds the context to the project service get params
func (*ProjectServiceGetParams) WithDefaults ¶
func (o *ProjectServiceGetParams) WithDefaults() *ProjectServiceGetParams
WithDefaults hydrates default values in the project service get params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetParams) WithHTTPClient ¶
func (o *ProjectServiceGetParams) WithHTTPClient(client *http.Client) *ProjectServiceGetParams
WithHTTPClient adds the HTTPClient to the project service get params
func (*ProjectServiceGetParams) WithID ¶
func (o *ProjectServiceGetParams) WithID(id string) *ProjectServiceGetParams
WithID adds the id to the project service get params
func (*ProjectServiceGetParams) WithTimeout ¶
func (o *ProjectServiceGetParams) WithTimeout(timeout time.Duration) *ProjectServiceGetParams
WithTimeout adds the timeout to the project service get params
func (*ProjectServiceGetParams) WriteToRequest ¶
func (o *ProjectServiceGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceGetProjectsCountDefault ¶ added in v0.58.0
type ProjectServiceGetProjectsCountDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceGetProjectsCountDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceGetProjectsCountDefault ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountDefault(code int) *ProjectServiceGetProjectsCountDefault
NewProjectServiceGetProjectsCountDefault creates a ProjectServiceGetProjectsCountDefault with default headers values
func (*ProjectServiceGetProjectsCountDefault) Code ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) Code() int
Code gets the status code for the project service get projects count default response
func (*ProjectServiceGetProjectsCountDefault) Error ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) Error() string
func (*ProjectServiceGetProjectsCountDefault) GetPayload ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceGetProjectsCountDefault) IsClientError ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) IsClientError() bool
IsClientError returns true when this project service get projects count default response has a 4xx status code
func (*ProjectServiceGetProjectsCountDefault) IsCode ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) IsCode(code int) bool
IsCode returns true when this project service get projects count default response a status code equal to that given
func (*ProjectServiceGetProjectsCountDefault) IsRedirect ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) IsRedirect() bool
IsRedirect returns true when this project service get projects count default response has a 3xx status code
func (*ProjectServiceGetProjectsCountDefault) IsServerError ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) IsServerError() bool
IsServerError returns true when this project service get projects count default response has a 5xx status code
func (*ProjectServiceGetProjectsCountDefault) IsSuccess ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) IsSuccess() bool
IsSuccess returns true when this project service get projects count default response has a 2xx status code
func (*ProjectServiceGetProjectsCountDefault) String ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountDefault) String() string
type ProjectServiceGetProjectsCountOK ¶ added in v0.58.0
type ProjectServiceGetProjectsCountOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectGetProjectsCountResponse
}
ProjectServiceGetProjectsCountOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceGetProjectsCountOK ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountOK() *ProjectServiceGetProjectsCountOK
NewProjectServiceGetProjectsCountOK creates a ProjectServiceGetProjectsCountOK with default headers values
func (*ProjectServiceGetProjectsCountOK) Code ¶ added in v0.75.0
func (o *ProjectServiceGetProjectsCountOK) Code() int
Code gets the status code for the project service get projects count o k response
func (*ProjectServiceGetProjectsCountOK) Error ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) Error() string
func (*ProjectServiceGetProjectsCountOK) GetPayload ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectGetProjectsCountResponse
func (*ProjectServiceGetProjectsCountOK) IsClientError ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) IsClientError() bool
IsClientError returns true when this project service get projects count o k response has a 4xx status code
func (*ProjectServiceGetProjectsCountOK) IsCode ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) IsCode(code int) bool
IsCode returns true when this project service get projects count o k response a status code equal to that given
func (*ProjectServiceGetProjectsCountOK) IsRedirect ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) IsRedirect() bool
IsRedirect returns true when this project service get projects count o k response has a 3xx status code
func (*ProjectServiceGetProjectsCountOK) IsServerError ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) IsServerError() bool
IsServerError returns true when this project service get projects count o k response has a 5xx status code
func (*ProjectServiceGetProjectsCountOK) IsSuccess ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) IsSuccess() bool
IsSuccess returns true when this project service get projects count o k response has a 2xx status code
func (*ProjectServiceGetProjectsCountOK) String ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountOK) String() string
type ProjectServiceGetProjectsCountParams ¶ added in v0.58.0
type ProjectServiceGetProjectsCountParams struct { /* 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 }
ProjectServiceGetProjectsCountParams contains all the parameters to send to the API endpoint
for the project service get projects count operation. Typically these are written to a http.Request.
func NewProjectServiceGetProjectsCountParams ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountParams() *ProjectServiceGetProjectsCountParams
NewProjectServiceGetProjectsCountParams creates a new ProjectServiceGetProjectsCountParams 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 NewProjectServiceGetProjectsCountParamsWithContext ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountParamsWithContext(ctx context.Context) *ProjectServiceGetProjectsCountParams
NewProjectServiceGetProjectsCountParamsWithContext creates a new ProjectServiceGetProjectsCountParams object with the ability to set a context for a request.
func NewProjectServiceGetProjectsCountParamsWithHTTPClient ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountParamsWithHTTPClient(client *http.Client) *ProjectServiceGetProjectsCountParams
NewProjectServiceGetProjectsCountParamsWithHTTPClient creates a new ProjectServiceGetProjectsCountParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceGetProjectsCountParamsWithTimeout ¶ added in v0.58.0
func NewProjectServiceGetProjectsCountParamsWithTimeout(timeout time.Duration) *ProjectServiceGetProjectsCountParams
NewProjectServiceGetProjectsCountParamsWithTimeout creates a new ProjectServiceGetProjectsCountParams object with the ability to set a timeout on a request.
func (*ProjectServiceGetProjectsCountParams) SetContext ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetContext(ctx context.Context)
SetContext adds the context to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) SetDefaults ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetDefaults()
SetDefaults hydrates default values in the project service get projects count params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetProjectsCountParams) SetHTTPClient ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) SetScopeID ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetScopeID(scopeID *string)
SetScopeID adds the scopeId to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) SetScopeType ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetScopeType(scopeType *string)
SetScopeType adds the scopeType to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) SetTimeout ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WithContext ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithContext(ctx context.Context) *ProjectServiceGetProjectsCountParams
WithContext adds the context to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WithDefaults ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithDefaults() *ProjectServiceGetProjectsCountParams
WithDefaults hydrates default values in the project service get projects count params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceGetProjectsCountParams) WithHTTPClient ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithHTTPClient(client *http.Client) *ProjectServiceGetProjectsCountParams
WithHTTPClient adds the HTTPClient to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WithScopeID ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithScopeID(scopeID *string) *ProjectServiceGetProjectsCountParams
WithScopeID adds the scopeID to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WithScopeType ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithScopeType(scopeType *string) *ProjectServiceGetProjectsCountParams
WithScopeType adds the scopeType to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WithTimeout ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WithTimeout(timeout time.Duration) *ProjectServiceGetProjectsCountParams
WithTimeout adds the timeout to the project service get projects count params
func (*ProjectServiceGetProjectsCountParams) WriteToRequest ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceGetProjectsCountReader ¶ added in v0.58.0
type ProjectServiceGetProjectsCountReader struct {
// contains filtered or unexported fields
}
ProjectServiceGetProjectsCountReader is a Reader for the ProjectServiceGetProjectsCount structure.
func (*ProjectServiceGetProjectsCountReader) ReadResponse ¶ added in v0.58.0
func (o *ProjectServiceGetProjectsCountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceGetReader ¶
type ProjectServiceGetReader struct {
// contains filtered or unexported fields
}
ProjectServiceGetReader is a Reader for the ProjectServiceGet structure.
func (*ProjectServiceGetReader) ReadResponse ¶
func (o *ProjectServiceGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceListDefault ¶
type ProjectServiceListDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceListDefault ¶
func NewProjectServiceListDefault(code int) *ProjectServiceListDefault
NewProjectServiceListDefault creates a ProjectServiceListDefault with default headers values
func (*ProjectServiceListDefault) Code ¶
func (o *ProjectServiceListDefault) Code() int
Code gets the status code for the project service list default response
func (*ProjectServiceListDefault) Error ¶
func (o *ProjectServiceListDefault) Error() string
func (*ProjectServiceListDefault) GetPayload ¶
func (o *ProjectServiceListDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceListDefault) IsClientError ¶
func (o *ProjectServiceListDefault) IsClientError() bool
IsClientError returns true when this project service list default response has a 4xx status code
func (*ProjectServiceListDefault) IsCode ¶
func (o *ProjectServiceListDefault) IsCode(code int) bool
IsCode returns true when this project service list default response a status code equal to that given
func (*ProjectServiceListDefault) IsRedirect ¶
func (o *ProjectServiceListDefault) IsRedirect() bool
IsRedirect returns true when this project service list default response has a 3xx status code
func (*ProjectServiceListDefault) IsServerError ¶
func (o *ProjectServiceListDefault) IsServerError() bool
IsServerError returns true when this project service list default response has a 5xx status code
func (*ProjectServiceListDefault) IsSuccess ¶
func (o *ProjectServiceListDefault) IsSuccess() bool
IsSuccess returns true when this project service list default response has a 2xx status code
func (*ProjectServiceListDefault) String ¶
func (o *ProjectServiceListDefault) String() string
type ProjectServiceListOK ¶
type ProjectServiceListOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectListResponse
}
ProjectServiceListOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceListOK ¶
func NewProjectServiceListOK() *ProjectServiceListOK
NewProjectServiceListOK creates a ProjectServiceListOK with default headers values
func (*ProjectServiceListOK) Code ¶ added in v0.75.0
func (o *ProjectServiceListOK) Code() int
Code gets the status code for the project service list o k response
func (*ProjectServiceListOK) Error ¶
func (o *ProjectServiceListOK) Error() string
func (*ProjectServiceListOK) GetPayload ¶
func (o *ProjectServiceListOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectListResponse
func (*ProjectServiceListOK) IsClientError ¶
func (o *ProjectServiceListOK) IsClientError() bool
IsClientError returns true when this project service list o k response has a 4xx status code
func (*ProjectServiceListOK) IsCode ¶
func (o *ProjectServiceListOK) IsCode(code int) bool
IsCode returns true when this project service list o k response a status code equal to that given
func (*ProjectServiceListOK) IsRedirect ¶
func (o *ProjectServiceListOK) IsRedirect() bool
IsRedirect returns true when this project service list o k response has a 3xx status code
func (*ProjectServiceListOK) IsServerError ¶
func (o *ProjectServiceListOK) IsServerError() bool
IsServerError returns true when this project service list o k response has a 5xx status code
func (*ProjectServiceListOK) IsSuccess ¶
func (o *ProjectServiceListOK) IsSuccess() bool
IsSuccess returns true when this project service list o k response has a 2xx status code
func (*ProjectServiceListOK) String ¶
func (o *ProjectServiceListOK) String() string
type ProjectServiceListParams ¶
type ProjectServiceListParams 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 }
ProjectServiceListParams contains all the parameters to send to the API endpoint
for the project service list operation. Typically these are written to a http.Request.
func NewProjectServiceListParams ¶
func NewProjectServiceListParams() *ProjectServiceListParams
NewProjectServiceListParams creates a new ProjectServiceListParams 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 NewProjectServiceListParamsWithContext ¶
func NewProjectServiceListParamsWithContext(ctx context.Context) *ProjectServiceListParams
NewProjectServiceListParamsWithContext creates a new ProjectServiceListParams object with the ability to set a context for a request.
func NewProjectServiceListParamsWithHTTPClient ¶
func NewProjectServiceListParamsWithHTTPClient(client *http.Client) *ProjectServiceListParams
NewProjectServiceListParamsWithHTTPClient creates a new ProjectServiceListParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceListParamsWithTimeout ¶
func NewProjectServiceListParamsWithTimeout(timeout time.Duration) *ProjectServiceListParams
NewProjectServiceListParamsWithTimeout creates a new ProjectServiceListParams object with the ability to set a timeout on a request.
func (*ProjectServiceListParams) SetContext ¶
func (o *ProjectServiceListParams) SetContext(ctx context.Context)
SetContext adds the context to the project service list params
func (*ProjectServiceListParams) SetDefaults ¶
func (o *ProjectServiceListParams) SetDefaults()
SetDefaults hydrates default values in the project service list params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceListParams) SetHTTPClient ¶
func (o *ProjectServiceListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service list params
func (*ProjectServiceListParams) SetPaginationNextPageToken ¶
func (o *ProjectServiceListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the project service list params
func (*ProjectServiceListParams) SetPaginationPageSize ¶
func (o *ProjectServiceListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the project service list params
func (*ProjectServiceListParams) SetPaginationPreviousPageToken ¶
func (o *ProjectServiceListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params
func (*ProjectServiceListParams) SetScopeID ¶
func (o *ProjectServiceListParams) SetScopeID(scopeID *string)
SetScopeID adds the scopeId to the project service list params
func (*ProjectServiceListParams) SetScopeType ¶
func (o *ProjectServiceListParams) SetScopeType(scopeType *string)
SetScopeType adds the scopeType to the project service list params
func (*ProjectServiceListParams) SetTimeout ¶
func (o *ProjectServiceListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service list params
func (*ProjectServiceListParams) WithContext ¶
func (o *ProjectServiceListParams) WithContext(ctx context.Context) *ProjectServiceListParams
WithContext adds the context to the project service list params
func (*ProjectServiceListParams) WithDefaults ¶
func (o *ProjectServiceListParams) WithDefaults() *ProjectServiceListParams
WithDefaults hydrates default values in the project service list params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceListParams) WithHTTPClient ¶
func (o *ProjectServiceListParams) WithHTTPClient(client *http.Client) *ProjectServiceListParams
WithHTTPClient adds the HTTPClient to the project service list params
func (*ProjectServiceListParams) WithPaginationNextPageToken ¶
func (o *ProjectServiceListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ProjectServiceListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the project service list params
func (*ProjectServiceListParams) WithPaginationPageSize ¶
func (o *ProjectServiceListParams) WithPaginationPageSize(paginationPageSize *int64) *ProjectServiceListParams
WithPaginationPageSize adds the paginationPageSize to the project service list params
func (*ProjectServiceListParams) WithPaginationPreviousPageToken ¶
func (o *ProjectServiceListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ProjectServiceListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the project service list params
func (*ProjectServiceListParams) WithScopeID ¶
func (o *ProjectServiceListParams) WithScopeID(scopeID *string) *ProjectServiceListParams
WithScopeID adds the scopeID to the project service list params
func (*ProjectServiceListParams) WithScopeType ¶
func (o *ProjectServiceListParams) WithScopeType(scopeType *string) *ProjectServiceListParams
WithScopeType adds the scopeType to the project service list params
func (*ProjectServiceListParams) WithTimeout ¶
func (o *ProjectServiceListParams) WithTimeout(timeout time.Duration) *ProjectServiceListParams
WithTimeout adds the timeout to the project service list params
func (*ProjectServiceListParams) WriteToRequest ¶
func (o *ProjectServiceListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceListReader ¶
type ProjectServiceListReader struct {
// contains filtered or unexported fields
}
ProjectServiceListReader is a Reader for the ProjectServiceList structure.
func (*ProjectServiceListReader) ReadResponse ¶
func (o *ProjectServiceListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceSetDescriptionBody ¶
type ProjectServiceSetDescriptionBody struct { // description is the value the project's description should be updated to. Description string `json:"description,omitempty"` }
ProjectServiceSetDescriptionBody ProjectSetDescriptionRequest see ProjectService.SetDescription swagger:model ProjectServiceSetDescriptionBody
func (*ProjectServiceSetDescriptionBody) ContextValidate ¶
func (o *ProjectServiceSetDescriptionBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project service set description body based on context it is used
func (*ProjectServiceSetDescriptionBody) MarshalBinary ¶
func (o *ProjectServiceSetDescriptionBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectServiceSetDescriptionBody) UnmarshalBinary ¶
func (o *ProjectServiceSetDescriptionBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectServiceSetDescriptionDefault ¶
type ProjectServiceSetDescriptionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceSetDescriptionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceSetDescriptionDefault ¶
func NewProjectServiceSetDescriptionDefault(code int) *ProjectServiceSetDescriptionDefault
NewProjectServiceSetDescriptionDefault creates a ProjectServiceSetDescriptionDefault with default headers values
func (*ProjectServiceSetDescriptionDefault) Code ¶
func (o *ProjectServiceSetDescriptionDefault) Code() int
Code gets the status code for the project service set description default response
func (*ProjectServiceSetDescriptionDefault) Error ¶
func (o *ProjectServiceSetDescriptionDefault) Error() string
func (*ProjectServiceSetDescriptionDefault) GetPayload ¶
func (o *ProjectServiceSetDescriptionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceSetDescriptionDefault) IsClientError ¶
func (o *ProjectServiceSetDescriptionDefault) IsClientError() bool
IsClientError returns true when this project service set description default response has a 4xx status code
func (*ProjectServiceSetDescriptionDefault) IsCode ¶
func (o *ProjectServiceSetDescriptionDefault) IsCode(code int) bool
IsCode returns true when this project service set description default response a status code equal to that given
func (*ProjectServiceSetDescriptionDefault) IsRedirect ¶
func (o *ProjectServiceSetDescriptionDefault) IsRedirect() bool
IsRedirect returns true when this project service set description default response has a 3xx status code
func (*ProjectServiceSetDescriptionDefault) IsServerError ¶
func (o *ProjectServiceSetDescriptionDefault) IsServerError() bool
IsServerError returns true when this project service set description default response has a 5xx status code
func (*ProjectServiceSetDescriptionDefault) IsSuccess ¶
func (o *ProjectServiceSetDescriptionDefault) IsSuccess() bool
IsSuccess returns true when this project service set description default response has a 2xx status code
func (*ProjectServiceSetDescriptionDefault) String ¶
func (o *ProjectServiceSetDescriptionDefault) String() string
type ProjectServiceSetDescriptionOK ¶
type ProjectServiceSetDescriptionOK struct {
Payload interface{}
}
ProjectServiceSetDescriptionOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceSetDescriptionOK ¶
func NewProjectServiceSetDescriptionOK() *ProjectServiceSetDescriptionOK
NewProjectServiceSetDescriptionOK creates a ProjectServiceSetDescriptionOK with default headers values
func (*ProjectServiceSetDescriptionOK) Code ¶ added in v0.75.0
func (o *ProjectServiceSetDescriptionOK) Code() int
Code gets the status code for the project service set description o k response
func (*ProjectServiceSetDescriptionOK) Error ¶
func (o *ProjectServiceSetDescriptionOK) Error() string
func (*ProjectServiceSetDescriptionOK) GetPayload ¶
func (o *ProjectServiceSetDescriptionOK) GetPayload() interface{}
func (*ProjectServiceSetDescriptionOK) IsClientError ¶
func (o *ProjectServiceSetDescriptionOK) IsClientError() bool
IsClientError returns true when this project service set description o k response has a 4xx status code
func (*ProjectServiceSetDescriptionOK) IsCode ¶
func (o *ProjectServiceSetDescriptionOK) IsCode(code int) bool
IsCode returns true when this project service set description o k response a status code equal to that given
func (*ProjectServiceSetDescriptionOK) IsRedirect ¶
func (o *ProjectServiceSetDescriptionOK) IsRedirect() bool
IsRedirect returns true when this project service set description o k response has a 3xx status code
func (*ProjectServiceSetDescriptionOK) IsServerError ¶
func (o *ProjectServiceSetDescriptionOK) IsServerError() bool
IsServerError returns true when this project service set description o k response has a 5xx status code
func (*ProjectServiceSetDescriptionOK) IsSuccess ¶
func (o *ProjectServiceSetDescriptionOK) IsSuccess() bool
IsSuccess returns true when this project service set description o k response has a 2xx status code
func (*ProjectServiceSetDescriptionOK) String ¶
func (o *ProjectServiceSetDescriptionOK) String() string
type ProjectServiceSetDescriptionParams ¶
type ProjectServiceSetDescriptionParams struct { // Body. Body ProjectServiceSetDescriptionBody /* ID. id is the identifier of the project to update. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceSetDescriptionParams contains all the parameters to send to the API endpoint
for the project service set description operation. Typically these are written to a http.Request.
func NewProjectServiceSetDescriptionParams ¶
func NewProjectServiceSetDescriptionParams() *ProjectServiceSetDescriptionParams
NewProjectServiceSetDescriptionParams creates a new ProjectServiceSetDescriptionParams 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 NewProjectServiceSetDescriptionParamsWithContext ¶
func NewProjectServiceSetDescriptionParamsWithContext(ctx context.Context) *ProjectServiceSetDescriptionParams
NewProjectServiceSetDescriptionParamsWithContext creates a new ProjectServiceSetDescriptionParams object with the ability to set a context for a request.
func NewProjectServiceSetDescriptionParamsWithHTTPClient ¶
func NewProjectServiceSetDescriptionParamsWithHTTPClient(client *http.Client) *ProjectServiceSetDescriptionParams
NewProjectServiceSetDescriptionParamsWithHTTPClient creates a new ProjectServiceSetDescriptionParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceSetDescriptionParamsWithTimeout ¶
func NewProjectServiceSetDescriptionParamsWithTimeout(timeout time.Duration) *ProjectServiceSetDescriptionParams
NewProjectServiceSetDescriptionParamsWithTimeout creates a new ProjectServiceSetDescriptionParams object with the ability to set a timeout on a request.
func (*ProjectServiceSetDescriptionParams) SetBody ¶
func (o *ProjectServiceSetDescriptionParams) SetBody(body ProjectServiceSetDescriptionBody)
SetBody adds the body to the project service set description params
func (*ProjectServiceSetDescriptionParams) SetContext ¶
func (o *ProjectServiceSetDescriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the project service set description params
func (*ProjectServiceSetDescriptionParams) SetDefaults ¶
func (o *ProjectServiceSetDescriptionParams) SetDefaults()
SetDefaults hydrates default values in the project service set description params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetDescriptionParams) SetHTTPClient ¶
func (o *ProjectServiceSetDescriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service set description params
func (*ProjectServiceSetDescriptionParams) SetID ¶
func (o *ProjectServiceSetDescriptionParams) SetID(id string)
SetID adds the id to the project service set description params
func (*ProjectServiceSetDescriptionParams) SetTimeout ¶
func (o *ProjectServiceSetDescriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service set description params
func (*ProjectServiceSetDescriptionParams) WithBody ¶
func (o *ProjectServiceSetDescriptionParams) WithBody(body ProjectServiceSetDescriptionBody) *ProjectServiceSetDescriptionParams
WithBody adds the body to the project service set description params
func (*ProjectServiceSetDescriptionParams) WithContext ¶
func (o *ProjectServiceSetDescriptionParams) WithContext(ctx context.Context) *ProjectServiceSetDescriptionParams
WithContext adds the context to the project service set description params
func (*ProjectServiceSetDescriptionParams) WithDefaults ¶
func (o *ProjectServiceSetDescriptionParams) WithDefaults() *ProjectServiceSetDescriptionParams
WithDefaults hydrates default values in the project service set description params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetDescriptionParams) WithHTTPClient ¶
func (o *ProjectServiceSetDescriptionParams) WithHTTPClient(client *http.Client) *ProjectServiceSetDescriptionParams
WithHTTPClient adds the HTTPClient to the project service set description params
func (*ProjectServiceSetDescriptionParams) WithID ¶
func (o *ProjectServiceSetDescriptionParams) WithID(id string) *ProjectServiceSetDescriptionParams
WithID adds the id to the project service set description params
func (*ProjectServiceSetDescriptionParams) WithTimeout ¶
func (o *ProjectServiceSetDescriptionParams) WithTimeout(timeout time.Duration) *ProjectServiceSetDescriptionParams
WithTimeout adds the timeout to the project service set description params
func (*ProjectServiceSetDescriptionParams) WriteToRequest ¶
func (o *ProjectServiceSetDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceSetDescriptionReader ¶
type ProjectServiceSetDescriptionReader struct {
// contains filtered or unexported fields
}
ProjectServiceSetDescriptionReader is a Reader for the ProjectServiceSetDescription structure.
func (*ProjectServiceSetDescriptionReader) ReadResponse ¶
func (o *ProjectServiceSetDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceSetIamPolicyBody ¶
type ProjectServiceSetIamPolicyBody struct { // Policy is the IAM policy to be updated for the project. The policy // will be completely replaced and therefore Policy.Etag must be specified // in order to prevent concurrent updates. Policy *models.HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"` }
ProjectServiceSetIamPolicyBody ProjectSetIamPolicyRequest see ProjectService.SetIamPolicy swagger:model ProjectServiceSetIamPolicyBody
func (*ProjectServiceSetIamPolicyBody) ContextValidate ¶
func (o *ProjectServiceSetIamPolicyBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this project service set iam policy body based on the context it is used
func (*ProjectServiceSetIamPolicyBody) MarshalBinary ¶
func (o *ProjectServiceSetIamPolicyBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectServiceSetIamPolicyBody) UnmarshalBinary ¶
func (o *ProjectServiceSetIamPolicyBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectServiceSetIamPolicyDefault ¶
type ProjectServiceSetIamPolicyDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceSetIamPolicyDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceSetIamPolicyDefault ¶
func NewProjectServiceSetIamPolicyDefault(code int) *ProjectServiceSetIamPolicyDefault
NewProjectServiceSetIamPolicyDefault creates a ProjectServiceSetIamPolicyDefault with default headers values
func (*ProjectServiceSetIamPolicyDefault) Code ¶
func (o *ProjectServiceSetIamPolicyDefault) Code() int
Code gets the status code for the project service set iam policy default response
func (*ProjectServiceSetIamPolicyDefault) Error ¶
func (o *ProjectServiceSetIamPolicyDefault) Error() string
func (*ProjectServiceSetIamPolicyDefault) GetPayload ¶
func (o *ProjectServiceSetIamPolicyDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceSetIamPolicyDefault) IsClientError ¶
func (o *ProjectServiceSetIamPolicyDefault) IsClientError() bool
IsClientError returns true when this project service set iam policy default response has a 4xx status code
func (*ProjectServiceSetIamPolicyDefault) IsCode ¶
func (o *ProjectServiceSetIamPolicyDefault) IsCode(code int) bool
IsCode returns true when this project service set iam policy default response a status code equal to that given
func (*ProjectServiceSetIamPolicyDefault) IsRedirect ¶
func (o *ProjectServiceSetIamPolicyDefault) IsRedirect() bool
IsRedirect returns true when this project service set iam policy default response has a 3xx status code
func (*ProjectServiceSetIamPolicyDefault) IsServerError ¶
func (o *ProjectServiceSetIamPolicyDefault) IsServerError() bool
IsServerError returns true when this project service set iam policy default response has a 5xx status code
func (*ProjectServiceSetIamPolicyDefault) IsSuccess ¶
func (o *ProjectServiceSetIamPolicyDefault) IsSuccess() bool
IsSuccess returns true when this project service set iam policy default response has a 2xx status code
func (*ProjectServiceSetIamPolicyDefault) String ¶
func (o *ProjectServiceSetIamPolicyDefault) String() string
type ProjectServiceSetIamPolicyOK ¶
type ProjectServiceSetIamPolicyOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectSetIamPolicyResponse
}
ProjectServiceSetIamPolicyOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceSetIamPolicyOK ¶
func NewProjectServiceSetIamPolicyOK() *ProjectServiceSetIamPolicyOK
NewProjectServiceSetIamPolicyOK creates a ProjectServiceSetIamPolicyOK with default headers values
func (*ProjectServiceSetIamPolicyOK) Code ¶ added in v0.75.0
func (o *ProjectServiceSetIamPolicyOK) Code() int
Code gets the status code for the project service set iam policy o k response
func (*ProjectServiceSetIamPolicyOK) Error ¶
func (o *ProjectServiceSetIamPolicyOK) Error() string
func (*ProjectServiceSetIamPolicyOK) GetPayload ¶
func (o *ProjectServiceSetIamPolicyOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectSetIamPolicyResponse
func (*ProjectServiceSetIamPolicyOK) IsClientError ¶
func (o *ProjectServiceSetIamPolicyOK) IsClientError() bool
IsClientError returns true when this project service set iam policy o k response has a 4xx status code
func (*ProjectServiceSetIamPolicyOK) IsCode ¶
func (o *ProjectServiceSetIamPolicyOK) IsCode(code int) bool
IsCode returns true when this project service set iam policy o k response a status code equal to that given
func (*ProjectServiceSetIamPolicyOK) IsRedirect ¶
func (o *ProjectServiceSetIamPolicyOK) IsRedirect() bool
IsRedirect returns true when this project service set iam policy o k response has a 3xx status code
func (*ProjectServiceSetIamPolicyOK) IsServerError ¶
func (o *ProjectServiceSetIamPolicyOK) IsServerError() bool
IsServerError returns true when this project service set iam policy o k response has a 5xx status code
func (*ProjectServiceSetIamPolicyOK) IsSuccess ¶
func (o *ProjectServiceSetIamPolicyOK) IsSuccess() bool
IsSuccess returns true when this project service set iam policy o k response has a 2xx status code
func (*ProjectServiceSetIamPolicyOK) String ¶
func (o *ProjectServiceSetIamPolicyOK) String() string
type ProjectServiceSetIamPolicyParams ¶
type ProjectServiceSetIamPolicyParams struct { // Body. Body ProjectServiceSetIamPolicyBody /* ID. ID is the identifier of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceSetIamPolicyParams contains all the parameters to send to the API endpoint
for the project service set iam policy operation. Typically these are written to a http.Request.
func NewProjectServiceSetIamPolicyParams ¶
func NewProjectServiceSetIamPolicyParams() *ProjectServiceSetIamPolicyParams
NewProjectServiceSetIamPolicyParams creates a new ProjectServiceSetIamPolicyParams 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 NewProjectServiceSetIamPolicyParamsWithContext ¶
func NewProjectServiceSetIamPolicyParamsWithContext(ctx context.Context) *ProjectServiceSetIamPolicyParams
NewProjectServiceSetIamPolicyParamsWithContext creates a new ProjectServiceSetIamPolicyParams object with the ability to set a context for a request.
func NewProjectServiceSetIamPolicyParamsWithHTTPClient ¶
func NewProjectServiceSetIamPolicyParamsWithHTTPClient(client *http.Client) *ProjectServiceSetIamPolicyParams
NewProjectServiceSetIamPolicyParamsWithHTTPClient creates a new ProjectServiceSetIamPolicyParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceSetIamPolicyParamsWithTimeout ¶
func NewProjectServiceSetIamPolicyParamsWithTimeout(timeout time.Duration) *ProjectServiceSetIamPolicyParams
NewProjectServiceSetIamPolicyParamsWithTimeout creates a new ProjectServiceSetIamPolicyParams object with the ability to set a timeout on a request.
func (*ProjectServiceSetIamPolicyParams) SetBody ¶
func (o *ProjectServiceSetIamPolicyParams) SetBody(body ProjectServiceSetIamPolicyBody)
SetBody adds the body to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) SetContext ¶
func (o *ProjectServiceSetIamPolicyParams) SetContext(ctx context.Context)
SetContext adds the context to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) SetDefaults ¶
func (o *ProjectServiceSetIamPolicyParams) SetDefaults()
SetDefaults hydrates default values in the project service set iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetIamPolicyParams) SetHTTPClient ¶
func (o *ProjectServiceSetIamPolicyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) SetID ¶
func (o *ProjectServiceSetIamPolicyParams) SetID(id string)
SetID adds the id to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) SetTimeout ¶
func (o *ProjectServiceSetIamPolicyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WithBody ¶
func (o *ProjectServiceSetIamPolicyParams) WithBody(body ProjectServiceSetIamPolicyBody) *ProjectServiceSetIamPolicyParams
WithBody adds the body to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WithContext ¶
func (o *ProjectServiceSetIamPolicyParams) WithContext(ctx context.Context) *ProjectServiceSetIamPolicyParams
WithContext adds the context to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WithDefaults ¶
func (o *ProjectServiceSetIamPolicyParams) WithDefaults() *ProjectServiceSetIamPolicyParams
WithDefaults hydrates default values in the project service set iam policy params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetIamPolicyParams) WithHTTPClient ¶
func (o *ProjectServiceSetIamPolicyParams) WithHTTPClient(client *http.Client) *ProjectServiceSetIamPolicyParams
WithHTTPClient adds the HTTPClient to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WithID ¶
func (o *ProjectServiceSetIamPolicyParams) WithID(id string) *ProjectServiceSetIamPolicyParams
WithID adds the id to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WithTimeout ¶
func (o *ProjectServiceSetIamPolicyParams) WithTimeout(timeout time.Duration) *ProjectServiceSetIamPolicyParams
WithTimeout adds the timeout to the project service set iam policy params
func (*ProjectServiceSetIamPolicyParams) WriteToRequest ¶
func (o *ProjectServiceSetIamPolicyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceSetIamPolicyReader ¶
type ProjectServiceSetIamPolicyReader struct {
// contains filtered or unexported fields
}
ProjectServiceSetIamPolicyReader is a Reader for the ProjectServiceSetIamPolicy structure.
func (*ProjectServiceSetIamPolicyReader) ReadResponse ¶
func (o *ProjectServiceSetIamPolicyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceSetNameBody ¶
type ProjectServiceSetNameBody struct { // name is the value the project's name should be updated to. Name string `json:"name,omitempty"` }
ProjectServiceSetNameBody ProjectSetNameRequest see ProjectService.SetName swagger:model ProjectServiceSetNameBody
func (*ProjectServiceSetNameBody) ContextValidate ¶
func (o *ProjectServiceSetNameBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project service set name body based on context it is used
func (*ProjectServiceSetNameBody) MarshalBinary ¶
func (o *ProjectServiceSetNameBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectServiceSetNameBody) UnmarshalBinary ¶
func (o *ProjectServiceSetNameBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectServiceSetNameDefault ¶
type ProjectServiceSetNameDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceSetNameDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceSetNameDefault ¶
func NewProjectServiceSetNameDefault(code int) *ProjectServiceSetNameDefault
NewProjectServiceSetNameDefault creates a ProjectServiceSetNameDefault with default headers values
func (*ProjectServiceSetNameDefault) Code ¶
func (o *ProjectServiceSetNameDefault) Code() int
Code gets the status code for the project service set name default response
func (*ProjectServiceSetNameDefault) Error ¶
func (o *ProjectServiceSetNameDefault) Error() string
func (*ProjectServiceSetNameDefault) GetPayload ¶
func (o *ProjectServiceSetNameDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceSetNameDefault) IsClientError ¶
func (o *ProjectServiceSetNameDefault) IsClientError() bool
IsClientError returns true when this project service set name default response has a 4xx status code
func (*ProjectServiceSetNameDefault) IsCode ¶
func (o *ProjectServiceSetNameDefault) IsCode(code int) bool
IsCode returns true when this project service set name default response a status code equal to that given
func (*ProjectServiceSetNameDefault) IsRedirect ¶
func (o *ProjectServiceSetNameDefault) IsRedirect() bool
IsRedirect returns true when this project service set name default response has a 3xx status code
func (*ProjectServiceSetNameDefault) IsServerError ¶
func (o *ProjectServiceSetNameDefault) IsServerError() bool
IsServerError returns true when this project service set name default response has a 5xx status code
func (*ProjectServiceSetNameDefault) IsSuccess ¶
func (o *ProjectServiceSetNameDefault) IsSuccess() bool
IsSuccess returns true when this project service set name default response has a 2xx status code
func (*ProjectServiceSetNameDefault) String ¶
func (o *ProjectServiceSetNameDefault) String() string
type ProjectServiceSetNameOK ¶
type ProjectServiceSetNameOK struct {
Payload interface{}
}
ProjectServiceSetNameOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceSetNameOK ¶
func NewProjectServiceSetNameOK() *ProjectServiceSetNameOK
NewProjectServiceSetNameOK creates a ProjectServiceSetNameOK with default headers values
func (*ProjectServiceSetNameOK) Code ¶ added in v0.75.0
func (o *ProjectServiceSetNameOK) Code() int
Code gets the status code for the project service set name o k response
func (*ProjectServiceSetNameOK) Error ¶
func (o *ProjectServiceSetNameOK) Error() string
func (*ProjectServiceSetNameOK) GetPayload ¶
func (o *ProjectServiceSetNameOK) GetPayload() interface{}
func (*ProjectServiceSetNameOK) IsClientError ¶
func (o *ProjectServiceSetNameOK) IsClientError() bool
IsClientError returns true when this project service set name o k response has a 4xx status code
func (*ProjectServiceSetNameOK) IsCode ¶
func (o *ProjectServiceSetNameOK) IsCode(code int) bool
IsCode returns true when this project service set name o k response a status code equal to that given
func (*ProjectServiceSetNameOK) IsRedirect ¶
func (o *ProjectServiceSetNameOK) IsRedirect() bool
IsRedirect returns true when this project service set name o k response has a 3xx status code
func (*ProjectServiceSetNameOK) IsServerError ¶
func (o *ProjectServiceSetNameOK) IsServerError() bool
IsServerError returns true when this project service set name o k response has a 5xx status code
func (*ProjectServiceSetNameOK) IsSuccess ¶
func (o *ProjectServiceSetNameOK) IsSuccess() bool
IsSuccess returns true when this project service set name o k response has a 2xx status code
func (*ProjectServiceSetNameOK) String ¶
func (o *ProjectServiceSetNameOK) String() string
type ProjectServiceSetNameParams ¶
type ProjectServiceSetNameParams struct { // Body. Body ProjectServiceSetNameBody /* ID. id is the identifier of the project to update. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceSetNameParams contains all the parameters to send to the API endpoint
for the project service set name operation. Typically these are written to a http.Request.
func NewProjectServiceSetNameParams ¶
func NewProjectServiceSetNameParams() *ProjectServiceSetNameParams
NewProjectServiceSetNameParams creates a new ProjectServiceSetNameParams 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 NewProjectServiceSetNameParamsWithContext ¶
func NewProjectServiceSetNameParamsWithContext(ctx context.Context) *ProjectServiceSetNameParams
NewProjectServiceSetNameParamsWithContext creates a new ProjectServiceSetNameParams object with the ability to set a context for a request.
func NewProjectServiceSetNameParamsWithHTTPClient ¶
func NewProjectServiceSetNameParamsWithHTTPClient(client *http.Client) *ProjectServiceSetNameParams
NewProjectServiceSetNameParamsWithHTTPClient creates a new ProjectServiceSetNameParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceSetNameParamsWithTimeout ¶
func NewProjectServiceSetNameParamsWithTimeout(timeout time.Duration) *ProjectServiceSetNameParams
NewProjectServiceSetNameParamsWithTimeout creates a new ProjectServiceSetNameParams object with the ability to set a timeout on a request.
func (*ProjectServiceSetNameParams) SetBody ¶
func (o *ProjectServiceSetNameParams) SetBody(body ProjectServiceSetNameBody)
SetBody adds the body to the project service set name params
func (*ProjectServiceSetNameParams) SetContext ¶
func (o *ProjectServiceSetNameParams) SetContext(ctx context.Context)
SetContext adds the context to the project service set name params
func (*ProjectServiceSetNameParams) SetDefaults ¶
func (o *ProjectServiceSetNameParams) SetDefaults()
SetDefaults hydrates default values in the project service set name params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetNameParams) SetHTTPClient ¶
func (o *ProjectServiceSetNameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service set name params
func (*ProjectServiceSetNameParams) SetID ¶
func (o *ProjectServiceSetNameParams) SetID(id string)
SetID adds the id to the project service set name params
func (*ProjectServiceSetNameParams) SetTimeout ¶
func (o *ProjectServiceSetNameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service set name params
func (*ProjectServiceSetNameParams) WithBody ¶
func (o *ProjectServiceSetNameParams) WithBody(body ProjectServiceSetNameBody) *ProjectServiceSetNameParams
WithBody adds the body to the project service set name params
func (*ProjectServiceSetNameParams) WithContext ¶
func (o *ProjectServiceSetNameParams) WithContext(ctx context.Context) *ProjectServiceSetNameParams
WithContext adds the context to the project service set name params
func (*ProjectServiceSetNameParams) WithDefaults ¶
func (o *ProjectServiceSetNameParams) WithDefaults() *ProjectServiceSetNameParams
WithDefaults hydrates default values in the project service set name params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceSetNameParams) WithHTTPClient ¶
func (o *ProjectServiceSetNameParams) WithHTTPClient(client *http.Client) *ProjectServiceSetNameParams
WithHTTPClient adds the HTTPClient to the project service set name params
func (*ProjectServiceSetNameParams) WithID ¶
func (o *ProjectServiceSetNameParams) WithID(id string) *ProjectServiceSetNameParams
WithID adds the id to the project service set name params
func (*ProjectServiceSetNameParams) WithTimeout ¶
func (o *ProjectServiceSetNameParams) WithTimeout(timeout time.Duration) *ProjectServiceSetNameParams
WithTimeout adds the timeout to the project service set name params
func (*ProjectServiceSetNameParams) WriteToRequest ¶
func (o *ProjectServiceSetNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceSetNameReader ¶
type ProjectServiceSetNameReader struct {
// contains filtered or unexported fields
}
ProjectServiceSetNameReader is a Reader for the ProjectServiceSetName structure.
func (*ProjectServiceSetNameReader) ReadResponse ¶
func (o *ProjectServiceSetNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ProjectServiceTestIamPermissionsBody ¶ added in v0.58.0
type ProjectServiceTestIamPermissionsBody struct { // Permissions to test. Permissions []string `json:"permissions"` }
ProjectServiceTestIamPermissionsBody see ProjectService.TestIamPermissions swagger:model ProjectServiceTestIamPermissionsBody
func (*ProjectServiceTestIamPermissionsBody) ContextValidate ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this project service test iam permissions body based on context it is used
func (*ProjectServiceTestIamPermissionsBody) MarshalBinary ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProjectServiceTestIamPermissionsBody) UnmarshalBinary ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProjectServiceTestIamPermissionsDefault ¶ added in v0.58.0
type ProjectServiceTestIamPermissionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ProjectServiceTestIamPermissionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewProjectServiceTestIamPermissionsDefault ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsDefault(code int) *ProjectServiceTestIamPermissionsDefault
NewProjectServiceTestIamPermissionsDefault creates a ProjectServiceTestIamPermissionsDefault with default headers values
func (*ProjectServiceTestIamPermissionsDefault) Code ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) Code() int
Code gets the status code for the project service test iam permissions default response
func (*ProjectServiceTestIamPermissionsDefault) Error ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) Error() string
func (*ProjectServiceTestIamPermissionsDefault) GetPayload ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ProjectServiceTestIamPermissionsDefault) IsClientError ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) IsClientError() bool
IsClientError returns true when this project service test iam permissions default response has a 4xx status code
func (*ProjectServiceTestIamPermissionsDefault) IsCode ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) IsCode(code int) bool
IsCode returns true when this project service test iam permissions default response a status code equal to that given
func (*ProjectServiceTestIamPermissionsDefault) IsRedirect ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) IsRedirect() bool
IsRedirect returns true when this project service test iam permissions default response has a 3xx status code
func (*ProjectServiceTestIamPermissionsDefault) IsServerError ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) IsServerError() bool
IsServerError returns true when this project service test iam permissions default response has a 5xx status code
func (*ProjectServiceTestIamPermissionsDefault) IsSuccess ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) IsSuccess() bool
IsSuccess returns true when this project service test iam permissions default response has a 2xx status code
func (*ProjectServiceTestIamPermissionsDefault) String ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsDefault) String() string
type ProjectServiceTestIamPermissionsOK ¶ added in v0.58.0
type ProjectServiceTestIamPermissionsOK struct {
Payload *models.HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse
}
ProjectServiceTestIamPermissionsOK describes a response with status code 200, with default header values.
A successful response.
func NewProjectServiceTestIamPermissionsOK ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsOK() *ProjectServiceTestIamPermissionsOK
NewProjectServiceTestIamPermissionsOK creates a ProjectServiceTestIamPermissionsOK with default headers values
func (*ProjectServiceTestIamPermissionsOK) Code ¶ added in v0.75.0
func (o *ProjectServiceTestIamPermissionsOK) Code() int
Code gets the status code for the project service test iam permissions o k response
func (*ProjectServiceTestIamPermissionsOK) Error ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) Error() string
func (*ProjectServiceTestIamPermissionsOK) GetPayload ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) GetPayload() *models.HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse
func (*ProjectServiceTestIamPermissionsOK) IsClientError ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) IsClientError() bool
IsClientError returns true when this project service test iam permissions o k response has a 4xx status code
func (*ProjectServiceTestIamPermissionsOK) IsCode ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) IsCode(code int) bool
IsCode returns true when this project service test iam permissions o k response a status code equal to that given
func (*ProjectServiceTestIamPermissionsOK) IsRedirect ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) IsRedirect() bool
IsRedirect returns true when this project service test iam permissions o k response has a 3xx status code
func (*ProjectServiceTestIamPermissionsOK) IsServerError ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) IsServerError() bool
IsServerError returns true when this project service test iam permissions o k response has a 5xx status code
func (*ProjectServiceTestIamPermissionsOK) IsSuccess ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) IsSuccess() bool
IsSuccess returns true when this project service test iam permissions o k response has a 2xx status code
func (*ProjectServiceTestIamPermissionsOK) String ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsOK) String() string
type ProjectServiceTestIamPermissionsParams ¶ added in v0.58.0
type ProjectServiceTestIamPermissionsParams struct { // Body. Body ProjectServiceTestIamPermissionsBody /* ID. ID is the identifier of the project. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ProjectServiceTestIamPermissionsParams contains all the parameters to send to the API endpoint
for the project service test iam permissions operation. Typically these are written to a http.Request.
func NewProjectServiceTestIamPermissionsParams ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsParams() *ProjectServiceTestIamPermissionsParams
NewProjectServiceTestIamPermissionsParams creates a new ProjectServiceTestIamPermissionsParams 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 NewProjectServiceTestIamPermissionsParamsWithContext ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsParamsWithContext(ctx context.Context) *ProjectServiceTestIamPermissionsParams
NewProjectServiceTestIamPermissionsParamsWithContext creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a context for a request.
func NewProjectServiceTestIamPermissionsParamsWithHTTPClient ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsParamsWithHTTPClient(client *http.Client) *ProjectServiceTestIamPermissionsParams
NewProjectServiceTestIamPermissionsParamsWithHTTPClient creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a custom HTTPClient for a request.
func NewProjectServiceTestIamPermissionsParamsWithTimeout ¶ added in v0.58.0
func NewProjectServiceTestIamPermissionsParamsWithTimeout(timeout time.Duration) *ProjectServiceTestIamPermissionsParams
NewProjectServiceTestIamPermissionsParamsWithTimeout creates a new ProjectServiceTestIamPermissionsParams object with the ability to set a timeout on a request.
func (*ProjectServiceTestIamPermissionsParams) SetBody ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetBody(body ProjectServiceTestIamPermissionsBody)
SetBody adds the body to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) SetContext ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) SetDefaults ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetDefaults()
SetDefaults hydrates default values in the project service test iam permissions params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceTestIamPermissionsParams) SetHTTPClient ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) SetID ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetID(id string)
SetID adds the id to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) SetTimeout ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WithBody ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithBody(body ProjectServiceTestIamPermissionsBody) *ProjectServiceTestIamPermissionsParams
WithBody adds the body to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WithContext ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithContext(ctx context.Context) *ProjectServiceTestIamPermissionsParams
WithContext adds the context to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WithDefaults ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithDefaults() *ProjectServiceTestIamPermissionsParams
WithDefaults hydrates default values in the project service test iam permissions params (not the query body).
All values with no default are reset to their zero value.
func (*ProjectServiceTestIamPermissionsParams) WithHTTPClient ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithHTTPClient(client *http.Client) *ProjectServiceTestIamPermissionsParams
WithHTTPClient adds the HTTPClient to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WithID ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithID(id string) *ProjectServiceTestIamPermissionsParams
WithID adds the id to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WithTimeout ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WithTimeout(timeout time.Duration) *ProjectServiceTestIamPermissionsParams
WithTimeout adds the timeout to the project service test iam permissions params
func (*ProjectServiceTestIamPermissionsParams) WriteToRequest ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ProjectServiceTestIamPermissionsReader ¶ added in v0.58.0
type ProjectServiceTestIamPermissionsReader struct {
// contains filtered or unexported fields
}
ProjectServiceTestIamPermissionsReader is a Reader for the ProjectServiceTestIamPermissions structure.
func (*ProjectServiceTestIamPermissionsReader) ReadResponse ¶ added in v0.58.0
func (o *ProjectServiceTestIamPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- project_service_client.go
- project_service_create_parameters.go
- project_service_create_responses.go
- project_service_delete_parameters.go
- project_service_delete_responses.go
- project_service_get_iam_policy_parameters.go
- project_service_get_iam_policy_responses.go
- project_service_get_parameters.go
- project_service_get_projects_count_parameters.go
- project_service_get_projects_count_responses.go
- project_service_get_responses.go
- project_service_list_parameters.go
- project_service_list_responses.go
- project_service_set_description_parameters.go
- project_service_set_description_responses.go
- project_service_set_iam_policy_parameters.go
- project_service_set_iam_policy_responses.go
- project_service_set_name_parameters.go
- project_service_set_name_responses.go
- project_service_test_iam_permissions_parameters.go
- project_service_test_iam_permissions_responses.go