service_principals_service

package
v0.114.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for service principals service API

func (*Client) ServicePrincipalsServiceCreateOrganizationServicePrincipal added in v0.64.0

ServicePrincipalsServiceCreateOrganizationServicePrincipal creates organization service principal creates a new service principal on organization level

func (*Client) ServicePrincipalsServiceCreateOrganizationServicePrincipalKey added in v0.64.0

ServicePrincipalsServiceCreateOrganizationServicePrincipalKey creates organization service principal key creates a new service principal key for a service principal on organization level

func (*Client) ServicePrincipalsServiceCreateProjectServicePrincipal added in v0.64.0

ServicePrincipalsServiceCreateProjectServicePrincipal creates project service principal creates a new service principal on project level

func (*Client) ServicePrincipalsServiceCreateProjectServicePrincipalKey added in v0.64.0

ServicePrincipalsServiceCreateProjectServicePrincipalKey creates project service principal key creates a new service principal key for a service principal on project level

func (*Client) ServicePrincipalsServiceCreateServicePrincipal added in v0.68.0

ServicePrincipalsServiceCreateServicePrincipal creates service principal creates a new service principal

func (*Client) ServicePrincipalsServiceCreateServicePrincipal2 added in v0.64.0

ServicePrincipalsServiceCreateServicePrincipal2 creates service principal creates a new service principal

func (*Client) ServicePrincipalsServiceCreateServicePrincipalKey added in v0.68.0

ServicePrincipalsServiceCreateServicePrincipalKey creates service principal key creates a new service principal key for a service principal

func (*Client) ServicePrincipalsServiceCreateServicePrincipalKey2 added in v0.64.0

ServicePrincipalsServiceCreateServicePrincipalKey2 creates service principal key creates a new service principal key for a service principal

func (*Client) ServicePrincipalsServiceCreateWorkloadIdentityProvider added in v0.64.0

ServicePrincipalsServiceCreateWorkloadIdentityProvider creates workload identity provider creates a workload identity provider nested under a service principal

func (*Client) ServicePrincipalsServiceDeleteOrganizationServicePrincipal added in v0.64.0

ServicePrincipalsServiceDeleteOrganizationServicePrincipal deletes organization service principal deletes a service principal on organization level

func (*Client) ServicePrincipalsServiceDeleteOrganizationServicePrincipalKey added in v0.64.0

ServicePrincipalsServiceDeleteOrganizationServicePrincipalKey deletes organization service principal key deletes a service principal key for a service principal on organization level

func (*Client) ServicePrincipalsServiceDeleteProjectServicePrincipal added in v0.64.0

ServicePrincipalsServiceDeleteProjectServicePrincipal deletes service principal deletes a service principal on project level

func (*Client) ServicePrincipalsServiceDeleteProjectServicePrincipalKey added in v0.64.0

ServicePrincipalsServiceDeleteProjectServicePrincipalKey deletes project service principal key deletes a service principal key for a service principal on project level

func (*Client) ServicePrincipalsServiceDeleteServicePrincipal added in v0.68.0

ServicePrincipalsServiceDeleteServicePrincipal deletes service principal deletes a service principal

func (*Client) ServicePrincipalsServiceDeleteServicePrincipal2 added in v0.68.0

ServicePrincipalsServiceDeleteServicePrincipal2 deletes service principal deletes a service principal

func (*Client) ServicePrincipalsServiceDeleteServicePrincipalKey added in v0.68.0

ServicePrincipalsServiceDeleteServicePrincipalKey deletes service principal key deletes a service principal key

func (*Client) ServicePrincipalsServiceDeleteServicePrincipalKey2 added in v0.68.0

ServicePrincipalsServiceDeleteServicePrincipalKey2 deletes service principal key deletes a service principal key

func (*Client) ServicePrincipalsServiceDeleteWorkloadIdentityProvider added in v0.64.0

ServicePrincipalsServiceDeleteWorkloadIdentityProvider deletes workload identity provider deletes a workload identity provider

func (*Client) ServicePrincipalsServiceExchangeWorkloadIdentityToken added in v0.64.0

ServicePrincipalsServiceExchangeWorkloadIdentityToken exchanges workload identity token exchanges an external workload identity token for an access token whose subject is that of the service principal the identity federation is nested under

func (*Client) ServicePrincipalsServiceGetOrganizationServicePrincipal added in v0.64.0

ServicePrincipalsServiceGetOrganizationServicePrincipal gets organization service principal retrieves a service principal on organization level

func (*Client) ServicePrincipalsServiceGetProjectServicePrincipal added in v0.64.0

ServicePrincipalsServiceGetProjectServicePrincipal gets project service principal retrieves a service principal on project level

func (*Client) ServicePrincipalsServiceGetServicePrincipal added in v0.68.0

ServicePrincipalsServiceGetServicePrincipal gets service principal retrieves a service principal

func (*Client) ServicePrincipalsServiceGetServicePrincipal2 added in v0.68.0

ServicePrincipalsServiceGetServicePrincipal2 gets service principal retrieves a service principal

func (*Client) ServicePrincipalsServiceGetWorkloadIdentityProvider added in v0.64.0

ServicePrincipalsServiceGetWorkloadIdentityProvider gets workload identity provider retrieves a workload identity provider

func (*Client) ServicePrincipalsServiceListOrganizationServicePrincipals added in v0.64.0

ServicePrincipalsServiceListOrganizationServicePrincipals lists project service principals lists service principals in an organization

func (*Client) ServicePrincipalsServiceListProjectServicePrincipals added in v0.64.0

ServicePrincipalsServiceListProjectServicePrincipals lists project service principals lists service principals in a project

func (*Client) ServicePrincipalsServiceListServicePrincipals added in v0.68.0

ServicePrincipalsServiceListServicePrincipals lists service principals lists service principals at a given scope

func (*Client) ServicePrincipalsServiceListServicePrincipals2 added in v0.64.0

ServicePrincipalsServiceListServicePrincipals2 lists service principals lists service principals at a given scope

func (*Client) ServicePrincipalsServiceListWorkloadIdentityProvider added in v0.64.0

ServicePrincipalsServiceListWorkloadIdentityProvider lists workload identity provider lists workload identity providers under a service principal

func (*Client) ServicePrincipalsServiceUpdateWorkloadIdentityProvider added in v0.64.0

ServicePrincipalsServiceUpdateWorkloadIdentityProvider updates workload identity provider updates a workload identity provider

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 {
	ServicePrincipalsServiceCreateOrganizationServicePrincipal(params *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK, error)

	ServicePrincipalsServiceCreateOrganizationServicePrincipalKey(params *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK, error)

	ServicePrincipalsServiceCreateProjectServicePrincipal(params *ServicePrincipalsServiceCreateProjectServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateProjectServicePrincipalOK, error)

	ServicePrincipalsServiceCreateProjectServicePrincipalKey(params *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK, error)

	ServicePrincipalsServiceCreateServicePrincipal(params *ServicePrincipalsServiceCreateServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateServicePrincipalOK, error)

	ServicePrincipalsServiceCreateServicePrincipal2(params *ServicePrincipalsServiceCreateServicePrincipal2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateServicePrincipal2OK, error)

	ServicePrincipalsServiceCreateServicePrincipalKey(params *ServicePrincipalsServiceCreateServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateServicePrincipalKeyOK, error)

	ServicePrincipalsServiceCreateServicePrincipalKey2(params *ServicePrincipalsServiceCreateServicePrincipalKey2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateServicePrincipalKey2OK, error)

	ServicePrincipalsServiceCreateWorkloadIdentityProvider(params *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK, error)

	ServicePrincipalsServiceDeleteOrganizationServicePrincipal(params *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK, error)

	ServicePrincipalsServiceDeleteOrganizationServicePrincipalKey(params *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK, error)

	ServicePrincipalsServiceDeleteProjectServicePrincipal(params *ServicePrincipalsServiceDeleteProjectServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK, error)

	ServicePrincipalsServiceDeleteProjectServicePrincipalKey(params *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK, error)

	ServicePrincipalsServiceDeleteServicePrincipal(params *ServicePrincipalsServiceDeleteServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteServicePrincipalOK, error)

	ServicePrincipalsServiceDeleteServicePrincipal2(params *ServicePrincipalsServiceDeleteServicePrincipal2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteServicePrincipal2OK, error)

	ServicePrincipalsServiceDeleteServicePrincipalKey(params *ServicePrincipalsServiceDeleteServicePrincipalKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK, error)

	ServicePrincipalsServiceDeleteServicePrincipalKey2(params *ServicePrincipalsServiceDeleteServicePrincipalKey2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK, error)

	ServicePrincipalsServiceDeleteWorkloadIdentityProvider(params *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK, error)

	ServicePrincipalsServiceExchangeWorkloadIdentityToken(params *ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK, error)

	ServicePrincipalsServiceGetOrganizationServicePrincipal(params *ServicePrincipalsServiceGetOrganizationServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK, error)

	ServicePrincipalsServiceGetProjectServicePrincipal(params *ServicePrincipalsServiceGetProjectServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceGetProjectServicePrincipalOK, error)

	ServicePrincipalsServiceGetServicePrincipal(params *ServicePrincipalsServiceGetServicePrincipalParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceGetServicePrincipalOK, error)

	ServicePrincipalsServiceGetServicePrincipal2(params *ServicePrincipalsServiceGetServicePrincipal2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceGetServicePrincipal2OK, error)

	ServicePrincipalsServiceGetWorkloadIdentityProvider(params *ServicePrincipalsServiceGetWorkloadIdentityProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK, error)

	ServicePrincipalsServiceListOrganizationServicePrincipals(params *ServicePrincipalsServiceListOrganizationServicePrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK, error)

	ServicePrincipalsServiceListProjectServicePrincipals(params *ServicePrincipalsServiceListProjectServicePrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceListProjectServicePrincipalsOK, error)

	ServicePrincipalsServiceListServicePrincipals(params *ServicePrincipalsServiceListServicePrincipalsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceListServicePrincipalsOK, error)

	ServicePrincipalsServiceListServicePrincipals2(params *ServicePrincipalsServiceListServicePrincipals2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceListServicePrincipals2OK, error)

	ServicePrincipalsServiceListWorkloadIdentityProvider(params *ServicePrincipalsServiceListWorkloadIdentityProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceListWorkloadIdentityProviderOK, error)

	ServicePrincipalsServiceUpdateWorkloadIdentityProvider(params *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK, 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 service principals service API client.

type ServicePrincipalsServiceCreateOrganizationServicePrincipalBody added in v0.68.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalBody struct {

	// name is the customer-chosen name for this service principal.
	Name string `json:"name,omitempty"`
}

ServicePrincipalsServiceCreateOrganizationServicePrincipalBody CreateOrganizationServicePrincipalRequest is the request message used when creating a // service principal on organization level. swagger:model ServicePrincipalsServiceCreateOrganizationServicePrincipalBody

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalBody) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create organization service principal body based on context it is used

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalBody) Validate added in v0.68.0

Validate validates this service principals service create organization service principal body

type ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalDefault(code int) *ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault

NewServicePrincipalsServiceCreateOrganizationServicePrincipalDefault creates a ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service create organization service principal default response

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create organization service principal default response has a 4xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service create organization service principal default response a status code equal to that given

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create organization service principal default response has a 3xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create organization service principal default response has a 5xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create organization service principal default response has a 2xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody added in v0.68.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody struct {

	// principal_id is the ID of the service principal for which the new service
	// principal key should be created.
	PrincipalID string `json:"principal_id,omitempty"`
}

ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody CreateOrganizationServicePrincipalKeyRequest is the request message used when creating a // service principal key for a principal on organization level. swagger:model ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create organization service principal key body based on context it is used

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody) Validate added in v0.68.0

Validate validates this service principals service create organization service principal key body

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault creates a ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) Code added in v0.64.0

Code gets the status code for the service principals service create organization service principal key default response

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create organization service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service create organization service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create organization service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create organization service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create organization service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyDefault) String added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK struct {
	Payload *models.HashicorpCloudIamCreateOrganizationServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK() *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK creates a ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service create organization service principal key o k response

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create organization service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) IsCode added in v0.64.0

IsCode returns true when this service principals service create organization service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create organization service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create organization service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create organization service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyOK) String added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyBody

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization under
	which the service principal key should be created.
	It must be the organization of the provided service principal.
	*/
	OrganizationID string

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

ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service create organization service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams() *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams 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 NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetBody added in v0.64.0

SetBody adds the body to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create organization service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetOrganizationID added in v0.64.0

SetOrganizationID adds the organizationId to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithBody added in v0.64.0

WithBody adds the body to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create organization service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create organization service principal key params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyReader added in v0.64.0

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

ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceCreateOrganizationServicePrincipalKey structure.

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalKeyReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateOrganizationServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamCreateOrganizationServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalOK() *ServicePrincipalsServiceCreateOrganizationServicePrincipalOK

NewServicePrincipalsServiceCreateOrganizationServicePrincipalOK creates a ServicePrincipalsServiceCreateOrganizationServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service create organization service principal o k response

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create organization service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) IsCode added in v0.64.0

IsCode returns true when this service principals service create organization service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create organization service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create organization service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create organization service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceCreateOrganizationServicePrincipalParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateOrganizationServicePrincipalBody

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization under
	which the service principal should be created.
	*/
	OrganizationID string

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

ServicePrincipalsServiceCreateOrganizationServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service create organization service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParams() *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalParams creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalParams 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 NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams

NewServicePrincipalsServiceCreateOrganizationServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceCreateOrganizationServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetBody added in v0.64.0

SetBody adds the body to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithBody added in v0.64.0

WithBody adds the body to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create organization service principal params

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateOrganizationServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceCreateOrganizationServicePrincipalReader is a Reader for the ServicePrincipalsServiceCreateOrganizationServicePrincipal structure.

func (*ServicePrincipalsServiceCreateOrganizationServicePrincipalReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateProjectServicePrincipalBody added in v0.68.0

type ServicePrincipalsServiceCreateProjectServicePrincipalBody struct {

	// name is the customer-chosen name for this service principal.
	Name string `json:"name,omitempty"`
}

ServicePrincipalsServiceCreateProjectServicePrincipalBody CreateProjectServicePrincipalRequest is the request message used when creating a // service principal on project level. swagger:model ServicePrincipalsServiceCreateProjectServicePrincipalBody

func (*ServicePrincipalsServiceCreateProjectServicePrincipalBody) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create project service principal body based on context it is used

func (*ServicePrincipalsServiceCreateProjectServicePrincipalBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateProjectServicePrincipalBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateProjectServicePrincipalBody) Validate added in v0.68.0

Validate validates this service principals service create project service principal body

type ServicePrincipalsServiceCreateProjectServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateProjectServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalDefault(code int) *ServicePrincipalsServiceCreateProjectServicePrincipalDefault

NewServicePrincipalsServiceCreateProjectServicePrincipalDefault creates a ServicePrincipalsServiceCreateProjectServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service create project service principal default response

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create project service principal default response has a 4xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service create project service principal default response a status code equal to that given

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create project service principal default response has a 3xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create project service principal default response has a 5xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create project service principal default response has a 2xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody added in v0.68.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody struct {

	// principal_id is the ID of the service principal for which the new service
	// principal key should be created.
	PrincipalID string `json:"principal_id,omitempty"`
}

ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody CreateProjectServicePrincipalKeyRequest is the request message used when creating a // service principal key for a service principal on project level. swagger:model ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create project service principal key body based on context it is used

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody) Validate added in v0.68.0

Validate validates this service principals service create project service principal key body

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault creates a ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) Code added in v0.64.0

Code gets the status code for the service principals service create project service principal key default response

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create project service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service create project service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create project service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create project service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create project service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyDefault) String added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK struct {
	Payload *models.HashicorpCloudIamCreateProjectServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyOK added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyOK() *ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyOK creates a ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service create project service principal key o k response

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create project service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) IsCode added in v0.64.0

IsCode returns true when this service principals service create project service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create project service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create project service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create project service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyOK) String added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateProjectServicePrincipalKeyBody

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization under
	which the service principal key should be created.
	It must be the organization of the provided service principal.
	*/
	OrganizationID string

	/* ProjectID.

	     project_id is the unique identifier (UUID) of the project under
	which the service principal key should be created.
	It must be the project_id of the provided service principal.
	*/
	ProjectID string

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

ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service create project service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParams added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParams() *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParams creates a new ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams 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 NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams

NewServicePrincipalsServiceCreateProjectServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetBody added in v0.64.0

SetBody adds the body to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create project service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithBody added in v0.64.0

WithBody adds the body to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create project service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create project service principal key params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateProjectServicePrincipalKeyReader added in v0.64.0

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

ServicePrincipalsServiceCreateProjectServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceCreateProjectServicePrincipalKey structure.

func (*ServicePrincipalsServiceCreateProjectServicePrincipalKeyReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateProjectServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamCreateProjectServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateProjectServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalOK() *ServicePrincipalsServiceCreateProjectServicePrincipalOK

NewServicePrincipalsServiceCreateProjectServicePrincipalOK creates a ServicePrincipalsServiceCreateProjectServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service create project service principal o k response

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create project service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) IsCode added in v0.64.0

IsCode returns true when this service principals service create project service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create project service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create project service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create project service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateProjectServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceCreateProjectServicePrincipalParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateProjectServicePrincipalBody

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization under
	which the service principal should be created.
	*/
	OrganizationID string

	/* ProjectID.

	     project_id is the unique identifier (UUID) of the project that
	owns the created service principal.
	*/
	ProjectID string

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

ServicePrincipalsServiceCreateProjectServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service create project service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalParams() *ServicePrincipalsServiceCreateProjectServicePrincipalParams

NewServicePrincipalsServiceCreateProjectServicePrincipalParams creates a new ServicePrincipalsServiceCreateProjectServicePrincipalParams 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 NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateProjectServicePrincipalParams

NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceCreateProjectServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateProjectServicePrincipalParams

NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateProjectServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateProjectServicePrincipalParams

NewServicePrincipalsServiceCreateProjectServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceCreateProjectServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetBody added in v0.64.0

SetBody adds the body to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create project service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithBody added in v0.64.0

WithBody adds the body to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create project service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create project service principal params

func (*ServicePrincipalsServiceCreateProjectServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateProjectServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceCreateProjectServicePrincipalReader is a Reader for the ServicePrincipalsServiceCreateProjectServicePrincipal structure.

func (*ServicePrincipalsServiceCreateProjectServicePrincipalReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateServicePrincipal2Body added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipal2Body struct {

	// name is the customer-chosen name for this service principal.
	Name string `json:"name,omitempty"`
}

ServicePrincipalsServiceCreateServicePrincipal2Body CreateServicePrincipalRequest is the request message used when creating a // service principal. swagger:model ServicePrincipalsServiceCreateServicePrincipal2Body

func (*ServicePrincipalsServiceCreateServicePrincipal2Body) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create service principal2 body based on context it is used

func (*ServicePrincipalsServiceCreateServicePrincipal2Body) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateServicePrincipal2Body) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateServicePrincipal2Body) Validate added in v0.68.0

Validate validates this service principals service create service principal2 body

type ServicePrincipalsServiceCreateServicePrincipal2Default added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateServicePrincipal2Default added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2Default(code int) *ServicePrincipalsServiceCreateServicePrincipal2Default

NewServicePrincipalsServiceCreateServicePrincipal2Default creates a ServicePrincipalsServiceCreateServicePrincipal2Default with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) Code added in v0.64.0

Code gets the status code for the service principals service create service principal2 default response

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create service principal2 default response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) IsCode added in v0.64.0

IsCode returns true when this service principals service create service principal2 default response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create service principal2 default response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create service principal2 default response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create service principal2 default response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2Default) String added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipal2OK added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipal2OK struct {
	Payload *models.HashicorpCloudIamCreateServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateServicePrincipal2OK added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2OK() *ServicePrincipalsServiceCreateServicePrincipal2OK

NewServicePrincipalsServiceCreateServicePrincipal2OK creates a ServicePrincipalsServiceCreateServicePrincipal2OK with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) Code added in v0.68.0

Code gets the status code for the service principals service create service principal2 o k response

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create service principal2 o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) IsCode added in v0.64.0

IsCode returns true when this service principals service create service principal2 o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create service principal2 o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create service principal2 o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create service principal2 o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipal2OK) String added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipal2Params added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipal2Params struct {

	// Body.
	Body ServicePrincipalsServiceCreateServicePrincipal2Body

	/* ParentResourceName1.

	     parent_resource_name is the resource name of the project or organization
	at which the service principal should be created (e.g.
	"project/<project_id>" or "organization/<organization_id>")
	*/
	ParentResourceName1 string

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

ServicePrincipalsServiceCreateServicePrincipal2Params contains all the parameters to send to the API endpoint

for the service principals service create service principal2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateServicePrincipal2Params added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2Params() *ServicePrincipalsServiceCreateServicePrincipal2Params

NewServicePrincipalsServiceCreateServicePrincipal2Params creates a new ServicePrincipalsServiceCreateServicePrincipal2Params 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 NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateServicePrincipal2Params

NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithContext creates a new ServicePrincipalsServiceCreateServicePrincipal2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateServicePrincipal2Params

NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateServicePrincipal2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateServicePrincipal2Params

NewServicePrincipalsServiceCreateServicePrincipal2ParamsWithTimeout creates a new ServicePrincipalsServiceCreateServicePrincipal2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetBody added in v0.64.0

SetBody adds the body to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetContext added in v0.64.0

SetContext adds the context to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create service principal2 params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetParentResourceName1 added in v0.68.0

func (o *ServicePrincipalsServiceCreateServicePrincipal2Params) SetParentResourceName1(parentResourceName1 string)

SetParentResourceName1 adds the parentResourceName1 to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithBody added in v0.64.0

WithBody adds the body to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithContext added in v0.64.0

WithContext adds the context to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create service principal2 params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithParentResourceName1 added in v0.68.0

WithParentResourceName1 adds the parentResourceName1 to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create service principal2 params

func (*ServicePrincipalsServiceCreateServicePrincipal2Params) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateServicePrincipal2Reader added in v0.64.0

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

ServicePrincipalsServiceCreateServicePrincipal2Reader is a Reader for the ServicePrincipalsServiceCreateServicePrincipal2 structure.

func (*ServicePrincipalsServiceCreateServicePrincipal2Reader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateServicePrincipalBody added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalBody struct {

	// name is the customer-chosen name for this service principal.
	Name string `json:"name,omitempty"`
}

ServicePrincipalsServiceCreateServicePrincipalBody CreateServicePrincipalRequest is the request message used when creating a // service principal. swagger:model ServicePrincipalsServiceCreateServicePrincipalBody

func (*ServicePrincipalsServiceCreateServicePrincipalBody) ContextValidate added in v0.68.0

ContextValidate validates this service principals service create service principal body based on context it is used

func (*ServicePrincipalsServiceCreateServicePrincipalBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateServicePrincipalBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateServicePrincipalBody) Validate added in v0.68.0

Validate validates this service principals service create service principal body

type ServicePrincipalsServiceCreateServicePrincipalDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateServicePrincipalDefault added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalDefault(code int) *ServicePrincipalsServiceCreateServicePrincipalDefault

NewServicePrincipalsServiceCreateServicePrincipalDefault creates a ServicePrincipalsServiceCreateServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) Code added in v0.68.0

Code gets the status code for the service principals service create service principal default response

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) IsClientError added in v0.68.0

IsClientError returns true when this service principals service create service principal default response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) IsCode added in v0.68.0

IsCode returns true when this service principals service create service principal default response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service create service principal default response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) IsServerError added in v0.68.0

IsServerError returns true when this service principals service create service principal default response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service create service principal default response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalDefault) String added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalKey2Default added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateServicePrincipalKey2Default added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2Default(code int) *ServicePrincipalsServiceCreateServicePrincipalKey2Default

NewServicePrincipalsServiceCreateServicePrincipalKey2Default creates a ServicePrincipalsServiceCreateServicePrincipalKey2Default with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) Code added in v0.64.0

Code gets the status code for the service principals service create service principal key2 default response

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create service principal key2 default response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) IsCode added in v0.64.0

IsCode returns true when this service principals service create service principal key2 default response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create service principal key2 default response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create service principal key2 default response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create service principal key2 default response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Default) String added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipalKey2OK added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipalKey2OK struct {
	Payload *models.HashicorpCloudIamCreateServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateServicePrincipalKey2OK added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2OK() *ServicePrincipalsServiceCreateServicePrincipalKey2OK

NewServicePrincipalsServiceCreateServicePrincipalKey2OK creates a ServicePrincipalsServiceCreateServicePrincipalKey2OK with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) Code added in v0.68.0

Code gets the status code for the service principals service create service principal key2 o k response

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create service principal key2 o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) IsCode added in v0.64.0

IsCode returns true when this service principals service create service principal key2 o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create service principal key2 o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create service principal key2 o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create service principal key2 o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKey2OK) String added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipalKey2Params added in v0.64.0

type ServicePrincipalsServiceCreateServicePrincipalKey2Params struct {

	// Body.
	Body interface{}

	/* ParentResourceName1.

	     parent_resource_name is the resource name of the service principal to
	generate a key for.
	*/
	ParentResourceName1 string

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

ServicePrincipalsServiceCreateServicePrincipalKey2Params contains all the parameters to send to the API endpoint

for the service principals service create service principal key2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateServicePrincipalKey2Params added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2Params() *ServicePrincipalsServiceCreateServicePrincipalKey2Params

NewServicePrincipalsServiceCreateServicePrincipalKey2Params creates a new ServicePrincipalsServiceCreateServicePrincipalKey2Params 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 NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateServicePrincipalKey2Params

NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithContext creates a new ServicePrincipalsServiceCreateServicePrincipalKey2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateServicePrincipalKey2Params

NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateServicePrincipalKey2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateServicePrincipalKey2Params

NewServicePrincipalsServiceCreateServicePrincipalKey2ParamsWithTimeout creates a new ServicePrincipalsServiceCreateServicePrincipalKey2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetBody added in v0.64.0

func (o *ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetBody(body interface{})

SetBody adds the body to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetContext added in v0.64.0

SetContext adds the context to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create service principal key2 params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetParentResourceName1 added in v0.68.0

func (o *ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetParentResourceName1(parentResourceName1 string)

SetParentResourceName1 adds the parentResourceName1 to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithBody added in v0.64.0

WithBody adds the body to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithContext added in v0.64.0

WithContext adds the context to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create service principal key2 params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithParentResourceName1 added in v0.68.0

WithParentResourceName1 adds the parentResourceName1 to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create service principal key2 params

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Params) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateServicePrincipalKey2Reader added in v0.64.0

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

ServicePrincipalsServiceCreateServicePrincipalKey2Reader is a Reader for the ServicePrincipalsServiceCreateServicePrincipalKey2 structure.

func (*ServicePrincipalsServiceCreateServicePrincipalKey2Reader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateServicePrincipalKeyDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateServicePrincipalKeyDefault added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceCreateServicePrincipalKeyDefault

NewServicePrincipalsServiceCreateServicePrincipalKeyDefault creates a ServicePrincipalsServiceCreateServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) Code added in v0.68.0

Code gets the status code for the service principals service create service principal key default response

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) IsClientError added in v0.68.0

IsClientError returns true when this service principals service create service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) IsCode added in v0.68.0

IsCode returns true when this service principals service create service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service create service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) IsServerError added in v0.68.0

IsServerError returns true when this service principals service create service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service create service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyDefault) String added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalKeyOK added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalKeyOK struct {
	Payload *models.HashicorpCloudIamCreateServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateServicePrincipalKeyOK added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyOK() *ServicePrincipalsServiceCreateServicePrincipalKeyOK

NewServicePrincipalsServiceCreateServicePrincipalKeyOK creates a ServicePrincipalsServiceCreateServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service create service principal key o k response

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) Error added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service create service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) IsCode added in v0.68.0

IsCode returns true when this service principals service create service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service create service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service create service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service create service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalKeyOK) String added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalKeyParams added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalKeyParams struct {

	// Body.
	Body interface{}

	/* ParentResourceName.

	     parent_resource_name is the resource name of the service principal to
	generate a key for.
	*/
	ParentResourceName string

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

ServicePrincipalsServiceCreateServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service create service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateServicePrincipalKeyParams added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyParams() *ServicePrincipalsServiceCreateServicePrincipalKeyParams

NewServicePrincipalsServiceCreateServicePrincipalKeyParams creates a new ServicePrincipalsServiceCreateServicePrincipalKeyParams 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 NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateServicePrincipalKeyParams

NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceCreateServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateServicePrincipalKeyParams

NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateServicePrincipalKeyParams

NewServicePrincipalsServiceCreateServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceCreateServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetBody added in v0.68.0

func (o *ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetBody(body interface{})

SetBody adds the body to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service create service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetParentResourceName added in v0.68.0

func (o *ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithBody added in v0.68.0

WithBody adds the body to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service create service principal key params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithParentResourceName added in v0.68.0

WithParentResourceName adds the parentResourceName to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service create service principal key params

func (*ServicePrincipalsServiceCreateServicePrincipalKeyParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateServicePrincipalKeyReader added in v0.68.0

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

ServicePrincipalsServiceCreateServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceCreateServicePrincipalKey structure.

func (*ServicePrincipalsServiceCreateServicePrincipalKeyReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateServicePrincipalOK added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamCreateServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateServicePrincipalOK added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalOK() *ServicePrincipalsServiceCreateServicePrincipalOK

NewServicePrincipalsServiceCreateServicePrincipalOK creates a ServicePrincipalsServiceCreateServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceCreateServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service create service principal o k response

func (*ServicePrincipalsServiceCreateServicePrincipalOK) Error added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceCreateServicePrincipalOK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service create service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalOK) IsCode added in v0.68.0

IsCode returns true when this service principals service create service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateServicePrincipalOK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service create service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalOK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service create service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalOK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service create service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateServicePrincipalOK) String added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalParams added in v0.68.0

type ServicePrincipalsServiceCreateServicePrincipalParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateServicePrincipalBody

	/* ParentResourceName.

	     parent_resource_name is the resource name of the project or organization
	at which the service principal should be created (e.g.
	"project/<project_id>" or "organization/<organization_id>")
	*/
	ParentResourceName string

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

ServicePrincipalsServiceCreateServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service create service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateServicePrincipalParams added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalParams() *ServicePrincipalsServiceCreateServicePrincipalParams

NewServicePrincipalsServiceCreateServicePrincipalParams creates a new ServicePrincipalsServiceCreateServicePrincipalParams 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 NewServicePrincipalsServiceCreateServicePrincipalParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateServicePrincipalParams

NewServicePrincipalsServiceCreateServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceCreateServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateServicePrincipalParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateServicePrincipalParams

NewServicePrincipalsServiceCreateServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateServicePrincipalParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceCreateServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateServicePrincipalParams

NewServicePrincipalsServiceCreateServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceCreateServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetBody added in v0.68.0

SetBody adds the body to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service create service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetParentResourceName added in v0.68.0

func (o *ServicePrincipalsServiceCreateServicePrincipalParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithBody added in v0.68.0

WithBody adds the body to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service create service principal params (not the query body).

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

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithParentResourceName added in v0.68.0

WithParentResourceName adds the parentResourceName to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service create service principal params

func (*ServicePrincipalsServiceCreateServicePrincipalParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateServicePrincipalReader added in v0.68.0

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

ServicePrincipalsServiceCreateServicePrincipalReader is a Reader for the ServicePrincipalsServiceCreateServicePrincipal structure.

func (*ServicePrincipalsServiceCreateServicePrincipalReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceCreateWorkloadIdentityProviderBody added in v0.68.0

type ServicePrincipalsServiceCreateWorkloadIdentityProviderBody struct {

	// name is the name of the workload identity provider to be created.
	Name string `json:"name,omitempty"`

	// provider is the workload identity provider to create.
	Provider *models.HashicorpCloudIamWorkloadIdentityProvider `json:"provider,omitempty"`
}

ServicePrincipalsServiceCreateWorkloadIdentityProviderBody CreateWorkloadIdentityProviderRequest is the request message used when // creating a workload identity provider. swagger:model ServicePrincipalsServiceCreateWorkloadIdentityProviderBody

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderBody) ContextValidate added in v0.68.0

ContextValidate validate this service principals service create workload identity provider body based on the context it is used

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderBody) Validate added in v0.68.0

Validate validates this service principals service create workload identity provider body

type ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderDefault added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderDefault(code int) *ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault

NewServicePrincipalsServiceCreateWorkloadIdentityProviderDefault creates a ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault with default headers values

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) Code added in v0.64.0

Code gets the status code for the service principals service create workload identity provider default response

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create workload identity provider default response has a 4xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service create workload identity provider default response a status code equal to that given

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create workload identity provider default response has a 3xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create workload identity provider default response has a 5xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create workload identity provider default response has a 2xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderDefault) String added in v0.64.0

type ServicePrincipalsServiceCreateWorkloadIdentityProviderOK added in v0.64.0

type ServicePrincipalsServiceCreateWorkloadIdentityProviderOK struct {
	Payload *models.HashicorpCloudIamCreateWorkloadIdentityProviderResponse
}

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

A successful response.

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderOK added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderOK() *ServicePrincipalsServiceCreateWorkloadIdentityProviderOK

NewServicePrincipalsServiceCreateWorkloadIdentityProviderOK creates a ServicePrincipalsServiceCreateWorkloadIdentityProviderOK with default headers values

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) Code added in v0.68.0

Code gets the status code for the service principals service create workload identity provider o k response

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) Error added in v0.64.0

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service create workload identity provider o k response has a 4xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) IsCode added in v0.64.0

IsCode returns true when this service principals service create workload identity provider o k response a status code equal to that given

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service create workload identity provider o k response has a 3xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service create workload identity provider o k response has a 5xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service create workload identity provider o k response has a 2xx status code

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderOK) String added in v0.64.0

type ServicePrincipalsServiceCreateWorkloadIdentityProviderParams added in v0.64.0

type ServicePrincipalsServiceCreateWorkloadIdentityProviderParams struct {

	// Body.
	Body ServicePrincipalsServiceCreateWorkloadIdentityProviderBody

	/* ParentResourceName.

	     parent_resource_name is the name of the service principal the workload
	identity provider will be created under.
	*/
	ParentResourceName string

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

ServicePrincipalsServiceCreateWorkloadIdentityProviderParams contains all the parameters to send to the API endpoint

for the service principals service create workload identity provider operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParams added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParams() *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams

NewServicePrincipalsServiceCreateWorkloadIdentityProviderParams creates a new ServicePrincipalsServiceCreateWorkloadIdentityProviderParams 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 NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithContext(ctx context.Context) *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams

NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithContext creates a new ServicePrincipalsServiceCreateWorkloadIdentityProviderParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams

NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithHTTPClient creates a new ServicePrincipalsServiceCreateWorkloadIdentityProviderParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams

NewServicePrincipalsServiceCreateWorkloadIdentityProviderParamsWithTimeout creates a new ServicePrincipalsServiceCreateWorkloadIdentityProviderParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetBody added in v0.64.0

SetBody adds the body to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service create workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetParentResourceName added in v0.64.0

func (o *ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithBody added in v0.64.0

WithBody adds the body to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service create workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithParentResourceName added in v0.64.0

WithParentResourceName adds the parentResourceName to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service create workload identity provider params

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceCreateWorkloadIdentityProviderReader added in v0.64.0

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

ServicePrincipalsServiceCreateWorkloadIdentityProviderReader is a Reader for the ServicePrincipalsServiceCreateWorkloadIdentityProvider structure.

func (*ServicePrincipalsServiceCreateWorkloadIdentityProviderReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault(code int) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault creates a ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service delete organization service principal default response

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete organization service principal default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service delete organization service principal default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete organization service principal default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete organization service principal default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete organization service principal default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault creates a ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) Code added in v0.64.0

Code gets the status code for the service principals service delete organization service principal key default response

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete organization service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service delete organization service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete organization service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete organization service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete organization service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyDefault) String added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK struct {
	Payload models.HashicorpCloudIamDeleteOrganizationServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK() *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK creates a ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service delete organization service principal key o k response

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete organization service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) IsCode added in v0.64.0

IsCode returns true when this service principals service delete organization service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete organization service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete organization service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete organization service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyOK) String added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams struct {

	/* ClientID.

	   client_id is client ID of the service principal key.
	*/
	ClientID string

	/* OrganizationID.

	   organization_id is the organization the service principal key belongs to.
	*/
	OrganizationID string

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

ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service delete organization service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams() *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams 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 NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetClientID added in v0.64.0

SetClientID adds the clientId to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service delete organization service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetOrganizationID added in v0.64.0

SetOrganizationID adds the organizationId to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithClientID added in v0.64.0

WithClientID adds the clientID to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service delete organization service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service delete organization service principal key params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyReader added in v0.64.0

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

ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceDeleteOrganizationServicePrincipalKey structure.

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalKeyReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK struct {
	Payload models.HashicorpCloudIamDeleteOrganizationServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalOK() *ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalOK creates a ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service delete organization service principal o k response

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete organization service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) IsCode added in v0.64.0

IsCode returns true when this service principals service delete organization service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete organization service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete organization service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete organization service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams struct {

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization from
	which the service principal should be deleted.
	*/
	OrganizationID string

	/* PrincipalID.

	   principal_id is the ID of the service principal to be deleted.
	*/
	PrincipalID string

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

ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service delete organization service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParams() *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParams creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams 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 NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams

NewServicePrincipalsServiceDeleteOrganizationServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service delete organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetPrincipalID added in v0.64.0

SetPrincipalID adds the principalId to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service delete organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithPrincipalID added in v0.64.0

WithPrincipalID adds the principalID to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service delete organization service principal params

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteOrganizationServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceDeleteOrganizationServicePrincipalReader is a Reader for the ServicePrincipalsServiceDeleteOrganizationServicePrincipal structure.

func (*ServicePrincipalsServiceDeleteOrganizationServicePrincipalReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteProjectServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalDefault(code int) *ServicePrincipalsServiceDeleteProjectServicePrincipalDefault

NewServicePrincipalsServiceDeleteProjectServicePrincipalDefault creates a ServicePrincipalsServiceDeleteProjectServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service delete project service principal default response

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete project service principal default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service delete project service principal default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete project service principal default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete project service principal default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete project service principal default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault creates a ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) Code added in v0.64.0

Code gets the status code for the service principals service delete project service principal key default response

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete project service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service delete project service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete project service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete project service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete project service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyDefault) String added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK struct {
	Payload models.HashicorpCloudIamDeleteProjectServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK() *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK creates a ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service delete project service principal key o k response

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete project service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) IsCode added in v0.64.0

IsCode returns true when this service principals service delete project service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete project service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete project service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete project service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyOK) String added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams struct {

	/* ClientID.

	   client_id is client ID of the service principal key.
	*/
	ClientID string

	/* OrganizationID.

	   organization_id is the organization the service principal key belongs to.
	*/
	OrganizationID string

	/* ProjectID.

	   project_id is the project the service principal key belongs to.
	*/
	ProjectID string

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

ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service delete project service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams() *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams 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 NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetClientID added in v0.64.0

SetClientID adds the clientId to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service delete project service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithClientID added in v0.64.0

WithClientID adds the clientID to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service delete project service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service delete project service principal key params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteProjectServicePrincipalKeyReader added in v0.64.0

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

ServicePrincipalsServiceDeleteProjectServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceDeleteProjectServicePrincipalKey structure.

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalKeyReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteProjectServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalOK struct {
	Payload models.HashicorpCloudIamDeleteProjectServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalOK() *ServicePrincipalsServiceDeleteProjectServicePrincipalOK

NewServicePrincipalsServiceDeleteProjectServicePrincipalOK creates a ServicePrincipalsServiceDeleteProjectServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service delete project service principal o k response

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete project service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) IsCode added in v0.64.0

IsCode returns true when this service principals service delete project service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete project service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete project service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete project service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceDeleteProjectServicePrincipalParams struct {

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization from
	which the service principal should be deleted.
	*/
	OrganizationID string

	/* PrincipalID.

	   principal_id is the ID of the service principal to be deleted.
	*/
	PrincipalID string

	/* ProjectID.

	     project_id is the unique identifier (UUID) of the project that
	owns the requested service principal.
	*/
	ProjectID string

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

ServicePrincipalsServiceDeleteProjectServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service delete project service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParams() *ServicePrincipalsServiceDeleteProjectServicePrincipalParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalParams creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalParams 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 NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteProjectServicePrincipalParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteProjectServicePrincipalParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteProjectServicePrincipalParams

NewServicePrincipalsServiceDeleteProjectServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceDeleteProjectServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service delete project service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetPrincipalID added in v0.64.0

SetPrincipalID adds the principalId to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service delete project service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithPrincipalID added in v0.64.0

WithPrincipalID adds the principalID to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service delete project service principal params

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteProjectServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceDeleteProjectServicePrincipalReader is a Reader for the ServicePrincipalsServiceDeleteProjectServicePrincipal structure.

func (*ServicePrincipalsServiceDeleteProjectServicePrincipalReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteServicePrincipal2Default added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteServicePrincipal2Default added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2Default(code int) *ServicePrincipalsServiceDeleteServicePrincipal2Default

NewServicePrincipalsServiceDeleteServicePrincipal2Default creates a ServicePrincipalsServiceDeleteServicePrincipal2Default with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal2 default response

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal2 default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal2 default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal2 default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal2 default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal2 default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2Default) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipal2OK added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipal2OK struct {
	Payload models.HashicorpCloudIamDeleteServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteServicePrincipal2OK added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2OK() *ServicePrincipalsServiceDeleteServicePrincipal2OK

NewServicePrincipalsServiceDeleteServicePrincipal2OK creates a ServicePrincipalsServiceDeleteServicePrincipal2OK with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal2 o k response

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal2 o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal2 o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal2 o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal2 o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal2 o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipal2OK) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipal2Params added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipal2Params struct {

	/* ResourceName1.

	   resource_name is the resource name of the service principal to delete.
	*/
	ResourceName1 string

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

ServicePrincipalsServiceDeleteServicePrincipal2Params contains all the parameters to send to the API endpoint

for the service principals service delete service principal2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteServicePrincipal2Params added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2Params() *ServicePrincipalsServiceDeleteServicePrincipal2Params

NewServicePrincipalsServiceDeleteServicePrincipal2Params creates a new ServicePrincipalsServiceDeleteServicePrincipal2Params 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 NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteServicePrincipal2Params

NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithContext creates a new ServicePrincipalsServiceDeleteServicePrincipal2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteServicePrincipal2Params

NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteServicePrincipal2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteServicePrincipal2Params

NewServicePrincipalsServiceDeleteServicePrincipal2ParamsWithTimeout creates a new ServicePrincipalsServiceDeleteServicePrincipal2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) SetContext added in v0.68.0

SetContext adds the context to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service delete service principal2 params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) SetResourceName1 added in v0.68.0

func (o *ServicePrincipalsServiceDeleteServicePrincipal2Params) SetResourceName1(resourceName1 string)

SetResourceName1 adds the resourceName1 to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WithContext added in v0.68.0

WithContext adds the context to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service delete service principal2 params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WithResourceName1 added in v0.68.0

WithResourceName1 adds the resourceName1 to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service delete service principal2 params

func (*ServicePrincipalsServiceDeleteServicePrincipal2Params) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteServicePrincipal2Reader added in v0.68.0

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

ServicePrincipalsServiceDeleteServicePrincipal2Reader is a Reader for the ServicePrincipalsServiceDeleteServicePrincipal2 structure.

func (*ServicePrincipalsServiceDeleteServicePrincipal2Reader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteServicePrincipalDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteServicePrincipalDefault added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalDefault(code int) *ServicePrincipalsServiceDeleteServicePrincipalDefault

NewServicePrincipalsServiceDeleteServicePrincipalDefault creates a ServicePrincipalsServiceDeleteServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal default response

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalDefault) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKey2Default added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteServicePrincipalKey2Default added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2Default(code int) *ServicePrincipalsServiceDeleteServicePrincipalKey2Default

NewServicePrincipalsServiceDeleteServicePrincipalKey2Default creates a ServicePrincipalsServiceDeleteServicePrincipalKey2Default with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal key2 default response

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal key2 default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal key2 default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal key2 default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal key2 default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal key2 default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Default) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKey2OK added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKey2OK struct {
	Payload models.HashicorpCloudIamDeleteServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteServicePrincipalKey2OK added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2OK() *ServicePrincipalsServiceDeleteServicePrincipalKey2OK

NewServicePrincipalsServiceDeleteServicePrincipalKey2OK creates a ServicePrincipalsServiceDeleteServicePrincipalKey2OK with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal key2 o k response

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal key2 o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal key2 o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal key2 o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal key2 o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal key2 o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2OK) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKey2Params added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKey2Params struct {

	/* ResourceName3.

	     resource_name is the resource name of the service principal key to
	delete.
	*/
	ResourceName3 string

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

ServicePrincipalsServiceDeleteServicePrincipalKey2Params contains all the parameters to send to the API endpoint

for the service principals service delete service principal key2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteServicePrincipalKey2Params added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2Params() *ServicePrincipalsServiceDeleteServicePrincipalKey2Params

NewServicePrincipalsServiceDeleteServicePrincipalKey2Params creates a new ServicePrincipalsServiceDeleteServicePrincipalKey2Params 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 NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteServicePrincipalKey2Params

NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithContext creates a new ServicePrincipalsServiceDeleteServicePrincipalKey2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteServicePrincipalKey2Params

NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteServicePrincipalKey2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteServicePrincipalKey2Params

NewServicePrincipalsServiceDeleteServicePrincipalKey2ParamsWithTimeout creates a new ServicePrincipalsServiceDeleteServicePrincipalKey2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetContext added in v0.68.0

SetContext adds the context to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service delete service principal key2 params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetResourceName3 added in v0.68.0

func (o *ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetResourceName3(resourceName3 string)

SetResourceName3 adds the resourceName3 to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WithContext added in v0.68.0

WithContext adds the context to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service delete service principal key2 params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WithResourceName3 added in v0.68.0

WithResourceName3 adds the resourceName3 to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service delete service principal key2 params

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Params) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteServicePrincipalKey2Reader added in v0.68.0

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

ServicePrincipalsServiceDeleteServicePrincipalKey2Reader is a Reader for the ServicePrincipalsServiceDeleteServicePrincipalKey2 structure.

func (*ServicePrincipalsServiceDeleteServicePrincipalKey2Reader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteServicePrincipalKeyDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteServicePrincipalKeyDefault added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyDefault(code int) *ServicePrincipalsServiceDeleteServicePrincipalKeyDefault

NewServicePrincipalsServiceDeleteServicePrincipalKeyDefault creates a ServicePrincipalsServiceDeleteServicePrincipalKeyDefault with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal key default response

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal key default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal key default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal key default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal key default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal key default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyDefault) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKeyOK added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKeyOK struct {
	Payload models.HashicorpCloudIamDeleteServicePrincipalKeyResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteServicePrincipalKeyOK added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyOK() *ServicePrincipalsServiceDeleteServicePrincipalKeyOK

NewServicePrincipalsServiceDeleteServicePrincipalKeyOK creates a ServicePrincipalsServiceDeleteServicePrincipalKeyOK with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal key o k response

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal key o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal key o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal key o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal key o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal key o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyOK) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKeyParams added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalKeyParams struct {

	/* ResourceName2.

	     resource_name is the resource name of the service principal key to
	delete.
	*/
	ResourceName2 string

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

ServicePrincipalsServiceDeleteServicePrincipalKeyParams contains all the parameters to send to the API endpoint

for the service principals service delete service principal key operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParams added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParams() *ServicePrincipalsServiceDeleteServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteServicePrincipalKeyParams creates a new ServicePrincipalsServiceDeleteServicePrincipalKeyParams 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 NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithContext creates a new ServicePrincipalsServiceDeleteServicePrincipalKeyParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteServicePrincipalKeyParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteServicePrincipalKeyParams

NewServicePrincipalsServiceDeleteServicePrincipalKeyParamsWithTimeout creates a new ServicePrincipalsServiceDeleteServicePrincipalKeyParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service delete service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetResourceName2 added in v0.68.0

func (o *ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetResourceName2(resourceName2 string)

SetResourceName2 adds the resourceName2 to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service delete service principal key params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WithResourceName2 added in v0.68.0

WithResourceName2 adds the resourceName2 to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service delete service principal key params

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteServicePrincipalKeyReader added in v0.68.0

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

ServicePrincipalsServiceDeleteServicePrincipalKeyReader is a Reader for the ServicePrincipalsServiceDeleteServicePrincipalKey structure.

func (*ServicePrincipalsServiceDeleteServicePrincipalKeyReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteServicePrincipalOK added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalOK struct {
	Payload models.HashicorpCloudIamDeleteServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteServicePrincipalOK added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalOK() *ServicePrincipalsServiceDeleteServicePrincipalOK

NewServicePrincipalsServiceDeleteServicePrincipalOK creates a ServicePrincipalsServiceDeleteServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service delete service principal o k response

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) Error added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) IsClientError added in v0.68.0

IsClientError returns true when this service principals service delete service principal o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) IsCode added in v0.68.0

IsCode returns true when this service principals service delete service principal o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) IsRedirect added in v0.68.0

IsRedirect returns true when this service principals service delete service principal o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) IsServerError added in v0.68.0

IsServerError returns true when this service principals service delete service principal o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) IsSuccess added in v0.68.0

IsSuccess returns true when this service principals service delete service principal o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteServicePrincipalOK) String added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalParams added in v0.68.0

type ServicePrincipalsServiceDeleteServicePrincipalParams struct {

	/* ResourceName.

	   resource_name is the resource name of the service principal to delete.
	*/
	ResourceName string

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

ServicePrincipalsServiceDeleteServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service delete service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteServicePrincipalParams added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalParams() *ServicePrincipalsServiceDeleteServicePrincipalParams

NewServicePrincipalsServiceDeleteServicePrincipalParams creates a new ServicePrincipalsServiceDeleteServicePrincipalParams 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 NewServicePrincipalsServiceDeleteServicePrincipalParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteServicePrincipalParams

NewServicePrincipalsServiceDeleteServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceDeleteServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteServicePrincipalParams

NewServicePrincipalsServiceDeleteServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteServicePrincipalParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceDeleteServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteServicePrincipalParams

NewServicePrincipalsServiceDeleteServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceDeleteServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) SetDefaults added in v0.68.0

SetDefaults hydrates default values in the service principals service delete service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) SetResourceName added in v0.68.0

func (o *ServicePrincipalsServiceDeleteServicePrincipalParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WithDefaults added in v0.68.0

WithDefaults hydrates default values in the service principals service delete service principal params (not the query body).

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

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WithResourceName added in v0.68.0

WithResourceName adds the resourceName to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service delete service principal params

func (*ServicePrincipalsServiceDeleteServicePrincipalParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteServicePrincipalReader added in v0.68.0

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

ServicePrincipalsServiceDeleteServicePrincipalReader is a Reader for the ServicePrincipalsServiceDeleteServicePrincipal structure.

func (*ServicePrincipalsServiceDeleteServicePrincipalReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault(code int) *ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault creates a ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault with default headers values

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) Code added in v0.64.0

Code gets the status code for the service principals service delete workload identity provider default response

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete workload identity provider default response has a 4xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service delete workload identity provider default response a status code equal to that given

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete workload identity provider default response has a 3xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete workload identity provider default response has a 5xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete workload identity provider default response has a 2xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderDefault) String added in v0.64.0

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK added in v0.64.0

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK struct {
	Payload *models.HashicorpCloudIamDeleteWorkloadIdentityProviderResponse
}

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

A successful response.

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderOK added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderOK() *ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderOK creates a ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK with default headers values

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) Code added in v0.68.0

Code gets the status code for the service principals service delete workload identity provider o k response

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) Error added in v0.64.0

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service delete workload identity provider o k response has a 4xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) IsCode added in v0.64.0

IsCode returns true when this service principals service delete workload identity provider o k response a status code equal to that given

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service delete workload identity provider o k response has a 3xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service delete workload identity provider o k response has a 5xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service delete workload identity provider o k response has a 2xx status code

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderOK) String added in v0.64.0

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams added in v0.64.0

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams struct {

	/* ResourceName4.

	     resource_name is the resource name of the workload identity provider to
	delete.
	*/
	ResourceName4 string

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

ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams contains all the parameters to send to the API endpoint

for the service principals service delete workload identity provider operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParams added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParams() *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParams creates a new ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams 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 NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithContext(ctx context.Context) *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithContext creates a new ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithHTTPClient creates a new ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams

NewServicePrincipalsServiceDeleteWorkloadIdentityProviderParamsWithTimeout creates a new ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service delete workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetResourceName4 added in v0.68.0

func (o *ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetResourceName4(resourceName4 string)

SetResourceName4 adds the resourceName4 to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service delete workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WithResourceName4 added in v0.68.0

WithResourceName4 adds the resourceName4 to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service delete workload identity provider params

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceDeleteWorkloadIdentityProviderReader added in v0.64.0

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

ServicePrincipalsServiceDeleteWorkloadIdentityProviderReader is a Reader for the ServicePrincipalsServiceDeleteWorkloadIdentityProvider structure.

func (*ServicePrincipalsServiceDeleteWorkloadIdentityProviderReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault(code int) *ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault creates a ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault with default headers values

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) Code added in v0.64.0

Code gets the status code for the service principals service exchange workload identity token default response

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service exchange workload identity token default response has a 4xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service exchange workload identity token default response a status code equal to that given

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service exchange workload identity token default response has a 3xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service exchange workload identity token default response has a 5xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service exchange workload identity token default response has a 2xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenDefault) String added in v0.64.0

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK added in v0.64.0

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK struct {
	Payload *models.HashicorpCloudIamExchangeWorkloadIdentityTokenResponse
}

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

A successful response.

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenOK added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenOK() *ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenOK creates a ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK with default headers values

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) Code added in v0.68.0

Code gets the status code for the service principals service exchange workload identity token o k response

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) Error added in v0.64.0

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service exchange workload identity token o k response has a 4xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) IsCode added in v0.64.0

IsCode returns true when this service principals service exchange workload identity token o k response a status code equal to that given

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service exchange workload identity token o k response has a 3xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service exchange workload identity token o k response has a 5xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service exchange workload identity token o k response has a 2xx status code

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenOK) String added in v0.64.0

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams added in v0.64.0

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams struct {

	/* ResourceName.

	     resource_name is the resource_name of the workload identity provider to
	exchange against.
	*/
	ResourceName string

	/* Token.

	     token is the external identity token. This represents the identity of a
	workload and for token exchange to occur must be valid given the provider's
	configuration and conditional_access statatement.
	*/
	Token *models.HashicorpCloudIamExchangeWorkloadIdentityTokenRequestToken

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

ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams contains all the parameters to send to the API endpoint

for the service principals service exchange workload identity token operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParams added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParams() *ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParams creates a new ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams 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 NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithContext(ctx context.Context) *ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithContext creates a new ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithHTTPClient creates a new ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams

NewServicePrincipalsServiceExchangeWorkloadIdentityTokenParamsWithTimeout creates a new ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service exchange workload identity token params (not the query body).

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

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetResourceName added in v0.64.0

SetResourceName adds the resourceName to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) SetToken added in v0.68.0

SetToken adds the token to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service exchange workload identity token params (not the query body).

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

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithResourceName added in v0.64.0

WithResourceName adds the resourceName to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WithToken added in v0.68.0

WithToken adds the token to the service principals service exchange workload identity token params

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceExchangeWorkloadIdentityTokenReader added in v0.64.0

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

ServicePrincipalsServiceExchangeWorkloadIdentityTokenReader is a Reader for the ServicePrincipalsServiceExchangeWorkloadIdentityToken structure.

func (*ServicePrincipalsServiceExchangeWorkloadIdentityTokenReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceGetOrganizationServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceGetOrganizationServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalDefault(code int) *ServicePrincipalsServiceGetOrganizationServicePrincipalDefault

NewServicePrincipalsServiceGetOrganizationServicePrincipalDefault creates a ServicePrincipalsServiceGetOrganizationServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service get organization service principal default response

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service get organization service principal default response has a 4xx status code

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service get organization service principal default response has a 3xx status code

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service get organization service principal default response has a 5xx status code

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service get organization service principal default response has a 2xx status code

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceGetOrganizationServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceGetOrganizationServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamGetOrganizationServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceGetOrganizationServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalOK() *ServicePrincipalsServiceGetOrganizationServicePrincipalOK

NewServicePrincipalsServiceGetOrganizationServicePrincipalOK creates a ServicePrincipalsServiceGetOrganizationServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service get organization service principal o k response

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceGetOrganizationServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceGetOrganizationServicePrincipalParams struct {

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization that
	owns the requested service principal or project.
	*/
	OrganizationID string

	/* PrincipalID.

	   principal_id is the ID of the service principal being requested.
	*/
	PrincipalID string

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

ServicePrincipalsServiceGetOrganizationServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service get organization service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParams() *ServicePrincipalsServiceGetOrganizationServicePrincipalParams

NewServicePrincipalsServiceGetOrganizationServicePrincipalParams creates a new ServicePrincipalsServiceGetOrganizationServicePrincipalParams 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 NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceGetOrganizationServicePrincipalParams

NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceGetOrganizationServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceGetOrganizationServicePrincipalParams

NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceGetOrganizationServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceGetOrganizationServicePrincipalParams

NewServicePrincipalsServiceGetOrganizationServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceGetOrganizationServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service get organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetPrincipalID added in v0.64.0

SetPrincipalID adds the principalId to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service get organization service principal params (not the query body).

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

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithPrincipalID added in v0.64.0

WithPrincipalID adds the principalID to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service get organization service principal params

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceGetOrganizationServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceGetOrganizationServicePrincipalReader is a Reader for the ServicePrincipalsServiceGetOrganizationServicePrincipal structure.

func (*ServicePrincipalsServiceGetOrganizationServicePrincipalReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceGetProjectServicePrincipalDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceGetProjectServicePrincipalDefault added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalDefault(code int) *ServicePrincipalsServiceGetProjectServicePrincipalDefault

NewServicePrincipalsServiceGetProjectServicePrincipalDefault creates a ServicePrincipalsServiceGetProjectServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) Code added in v0.64.0

Code gets the status code for the service principals service get project service principal default response

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service get project service principal default response has a 4xx status code

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service get project service principal default response has a 3xx status code

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service get project service principal default response has a 5xx status code

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service get project service principal default response has a 2xx status code

func (*ServicePrincipalsServiceGetProjectServicePrincipalDefault) String added in v0.64.0

type ServicePrincipalsServiceGetProjectServicePrincipalOK added in v0.64.0

type ServicePrincipalsServiceGetProjectServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamGetProjectServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceGetProjectServicePrincipalOK added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalOK() *ServicePrincipalsServiceGetProjectServicePrincipalOK

NewServicePrincipalsServiceGetProjectServicePrincipalOK creates a ServicePrincipalsServiceGetProjectServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service get project service principal o k response

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) Error added in v0.64.0

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalOK) String added in v0.64.0

type ServicePrincipalsServiceGetProjectServicePrincipalParams added in v0.64.0

type ServicePrincipalsServiceGetProjectServicePrincipalParams struct {

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization that
	owns the requested service principal or project.
	*/
	OrganizationID string

	/* PrincipalID.

	   principal_id is the ID of the service principal being requested.
	*/
	PrincipalID string

	/* ProjectID.

	     project_id is the unique identifier (UUID) of the project that
	under which the service principal should be created.
	*/
	ProjectID string

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

ServicePrincipalsServiceGetProjectServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service get project service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceGetProjectServicePrincipalParams added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalParams() *ServicePrincipalsServiceGetProjectServicePrincipalParams

NewServicePrincipalsServiceGetProjectServicePrincipalParams creates a new ServicePrincipalsServiceGetProjectServicePrincipalParams 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 NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceGetProjectServicePrincipalParams

NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceGetProjectServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceGetProjectServicePrincipalParams

NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceGetProjectServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceGetProjectServicePrincipalParams

NewServicePrincipalsServiceGetProjectServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceGetProjectServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service get project service principal params (not the query body).

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceGetProjectServicePrincipalParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetPrincipalID added in v0.64.0

SetPrincipalID adds the principalId to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service get project service principal params (not the query body).

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

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithPrincipalID added in v0.64.0

WithPrincipalID adds the principalID to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service get project service principal params

func (*ServicePrincipalsServiceGetProjectServicePrincipalParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceGetProjectServicePrincipalReader added in v0.64.0

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

ServicePrincipalsServiceGetProjectServicePrincipalReader is a Reader for the ServicePrincipalsServiceGetProjectServicePrincipal structure.

func (*ServicePrincipalsServiceGetProjectServicePrincipalReader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceGetServicePrincipal2Default added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceGetServicePrincipal2Default added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2Default(code int) *ServicePrincipalsServiceGetServicePrincipal2Default

NewServicePrincipalsServiceGetServicePrincipal2Default creates a ServicePrincipalsServiceGetServicePrincipal2Default with default headers values

func (*ServicePrincipalsServiceGetServicePrincipal2Default) Code added in v0.68.0

Code gets the status code for the service principals service get service principal2 default response

func (*ServicePrincipalsServiceGetServicePrincipal2Default) Error added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipal2Default) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipal2Default) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2Default) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2Default) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2Default) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2Default) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2Default) String added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipal2OK added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipal2OK struct {
	Payload *models.HashicorpCloudIamGetServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceGetServicePrincipal2OK added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2OK() *ServicePrincipalsServiceGetServicePrincipal2OK

NewServicePrincipalsServiceGetServicePrincipal2OK creates a ServicePrincipalsServiceGetServicePrincipal2OK with default headers values

func (*ServicePrincipalsServiceGetServicePrincipal2OK) Code added in v0.68.0

Code gets the status code for the service principals service get service principal2 o k response

func (*ServicePrincipalsServiceGetServicePrincipal2OK) Error added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipal2OK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipal2OK) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2OK) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2OK) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2OK) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2OK) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipal2OK) String added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipal2Params added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipal2Params struct {

	/* ResourceName1.

	   resource_name is the resource name of the service principal to retrieve.
	*/
	ResourceName1 string

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

ServicePrincipalsServiceGetServicePrincipal2Params contains all the parameters to send to the API endpoint

for the service principals service get service principal2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceGetServicePrincipal2Params added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2Params() *ServicePrincipalsServiceGetServicePrincipal2Params

NewServicePrincipalsServiceGetServicePrincipal2Params creates a new ServicePrincipalsServiceGetServicePrincipal2Params 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 NewServicePrincipalsServiceGetServicePrincipal2ParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceGetServicePrincipal2Params

NewServicePrincipalsServiceGetServicePrincipal2ParamsWithContext creates a new ServicePrincipalsServiceGetServicePrincipal2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceGetServicePrincipal2ParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceGetServicePrincipal2Params

NewServicePrincipalsServiceGetServicePrincipal2ParamsWithHTTPClient creates a new ServicePrincipalsServiceGetServicePrincipal2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceGetServicePrincipal2ParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipal2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceGetServicePrincipal2Params

NewServicePrincipalsServiceGetServicePrincipal2ParamsWithTimeout creates a new ServicePrincipalsServiceGetServicePrincipal2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceGetServicePrincipal2Params) SetContext added in v0.68.0

SetContext adds the context to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) SetDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceGetServicePrincipal2Params) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) SetResourceName1 added in v0.68.0

func (o *ServicePrincipalsServiceGetServicePrincipal2Params) SetResourceName1(resourceName1 string)

SetResourceName1 adds the resourceName1 to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WithContext added in v0.68.0

WithContext adds the context to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WithDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WithResourceName1 added in v0.68.0

WithResourceName1 adds the resourceName1 to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service get service principal2 params

func (*ServicePrincipalsServiceGetServicePrincipal2Params) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceGetServicePrincipal2Reader added in v0.68.0

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

ServicePrincipalsServiceGetServicePrincipal2Reader is a Reader for the ServicePrincipalsServiceGetServicePrincipal2 structure.

func (*ServicePrincipalsServiceGetServicePrincipal2Reader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceGetServicePrincipalDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceGetServicePrincipalDefault added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalDefault(code int) *ServicePrincipalsServiceGetServicePrincipalDefault

NewServicePrincipalsServiceGetServicePrincipalDefault creates a ServicePrincipalsServiceGetServicePrincipalDefault with default headers values

func (*ServicePrincipalsServiceGetServicePrincipalDefault) Code added in v0.68.0

Code gets the status code for the service principals service get service principal default response

func (*ServicePrincipalsServiceGetServicePrincipalDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipalDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipalDefault) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalDefault) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalDefault) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalDefault) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalDefault) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalDefault) String added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipalOK added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipalOK struct {
	Payload *models.HashicorpCloudIamGetServicePrincipalResponse
}

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

A successful response.

func NewServicePrincipalsServiceGetServicePrincipalOK added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalOK() *ServicePrincipalsServiceGetServicePrincipalOK

NewServicePrincipalsServiceGetServicePrincipalOK creates a ServicePrincipalsServiceGetServicePrincipalOK with default headers values

func (*ServicePrincipalsServiceGetServicePrincipalOK) Code added in v0.68.0

Code gets the status code for the service principals service get service principal o k response

func (*ServicePrincipalsServiceGetServicePrincipalOK) Error added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipalOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceGetServicePrincipalOK) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalOK) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalOK) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalOK) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalOK) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceGetServicePrincipalOK) String added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipalParams added in v0.68.0

type ServicePrincipalsServiceGetServicePrincipalParams struct {

	/* ResourceName.

	   resource_name is the resource name of the service principal to retrieve.
	*/
	ResourceName string

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

ServicePrincipalsServiceGetServicePrincipalParams contains all the parameters to send to the API endpoint

for the service principals service get service principal operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceGetServicePrincipalParams added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalParams() *ServicePrincipalsServiceGetServicePrincipalParams

NewServicePrincipalsServiceGetServicePrincipalParams creates a new ServicePrincipalsServiceGetServicePrincipalParams 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 NewServicePrincipalsServiceGetServicePrincipalParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalParamsWithContext(ctx context.Context) *ServicePrincipalsServiceGetServicePrincipalParams

NewServicePrincipalsServiceGetServicePrincipalParamsWithContext creates a new ServicePrincipalsServiceGetServicePrincipalParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceGetServicePrincipalParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceGetServicePrincipalParams

NewServicePrincipalsServiceGetServicePrincipalParamsWithHTTPClient creates a new ServicePrincipalsServiceGetServicePrincipalParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceGetServicePrincipalParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceGetServicePrincipalParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceGetServicePrincipalParams

NewServicePrincipalsServiceGetServicePrincipalParamsWithTimeout creates a new ServicePrincipalsServiceGetServicePrincipalParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceGetServicePrincipalParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) SetDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceGetServicePrincipalParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) SetResourceName added in v0.68.0

func (o *ServicePrincipalsServiceGetServicePrincipalParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) WithDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceGetServicePrincipalParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) WithResourceName added in v0.68.0

WithResourceName adds the resourceName to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service get service principal params

func (*ServicePrincipalsServiceGetServicePrincipalParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceGetServicePrincipalReader added in v0.68.0

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

ServicePrincipalsServiceGetServicePrincipalReader is a Reader for the ServicePrincipalsServiceGetServicePrincipal structure.

func (*ServicePrincipalsServiceGetServicePrincipalReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceGetWorkloadIdentityProviderDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceGetWorkloadIdentityProviderDefault added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderDefault(code int) *ServicePrincipalsServiceGetWorkloadIdentityProviderDefault

NewServicePrincipalsServiceGetWorkloadIdentityProviderDefault creates a ServicePrincipalsServiceGetWorkloadIdentityProviderDefault with default headers values

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) Code added in v0.64.0

Code gets the status code for the service principals service get workload identity provider default response

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service get workload identity provider default response has a 4xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service get workload identity provider default response a status code equal to that given

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service get workload identity provider default response has a 3xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service get workload identity provider default response has a 5xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service get workload identity provider default response has a 2xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderDefault) String added in v0.64.0

type ServicePrincipalsServiceGetWorkloadIdentityProviderOK added in v0.64.0

type ServicePrincipalsServiceGetWorkloadIdentityProviderOK struct {
	Payload *models.HashicorpCloudIamGetWorkloadIdentityProviderResponse
}

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

A successful response.

func NewServicePrincipalsServiceGetWorkloadIdentityProviderOK added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderOK() *ServicePrincipalsServiceGetWorkloadIdentityProviderOK

NewServicePrincipalsServiceGetWorkloadIdentityProviderOK creates a ServicePrincipalsServiceGetWorkloadIdentityProviderOK with default headers values

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) Code added in v0.68.0

Code gets the status code for the service principals service get workload identity provider o k response

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) Error added in v0.64.0

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service get workload identity provider o k response has a 4xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) IsCode added in v0.64.0

IsCode returns true when this service principals service get workload identity provider o k response a status code equal to that given

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service get workload identity provider o k response has a 3xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service get workload identity provider o k response has a 5xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service get workload identity provider o k response has a 2xx status code

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderOK) String added in v0.64.0

type ServicePrincipalsServiceGetWorkloadIdentityProviderParams added in v0.64.0

type ServicePrincipalsServiceGetWorkloadIdentityProviderParams struct {

	/* ResourceName2.

	     resource_name is the resource name of the workload identity provider to
	retrieve.
	*/
	ResourceName2 string

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

ServicePrincipalsServiceGetWorkloadIdentityProviderParams contains all the parameters to send to the API endpoint

for the service principals service get workload identity provider operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParams added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParams() *ServicePrincipalsServiceGetWorkloadIdentityProviderParams

NewServicePrincipalsServiceGetWorkloadIdentityProviderParams creates a new ServicePrincipalsServiceGetWorkloadIdentityProviderParams 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 NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithContext(ctx context.Context) *ServicePrincipalsServiceGetWorkloadIdentityProviderParams

NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithContext creates a new ServicePrincipalsServiceGetWorkloadIdentityProviderParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceGetWorkloadIdentityProviderParams

NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithHTTPClient creates a new ServicePrincipalsServiceGetWorkloadIdentityProviderParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceGetWorkloadIdentityProviderParams

NewServicePrincipalsServiceGetWorkloadIdentityProviderParamsWithTimeout creates a new ServicePrincipalsServiceGetWorkloadIdentityProviderParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service get workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetResourceName2 added in v0.68.0

func (o *ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetResourceName2(resourceName2 string)

SetResourceName2 adds the resourceName2 to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service get workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WithResourceName2 added in v0.68.0

WithResourceName2 adds the resourceName2 to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service get workload identity provider params

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceGetWorkloadIdentityProviderReader added in v0.64.0

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

ServicePrincipalsServiceGetWorkloadIdentityProviderReader is a Reader for the ServicePrincipalsServiceGetWorkloadIdentityProvider structure.

func (*ServicePrincipalsServiceGetWorkloadIdentityProviderReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceListOrganizationServicePrincipalsDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceListOrganizationServicePrincipalsDefault added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsDefault(code int) *ServicePrincipalsServiceListOrganizationServicePrincipalsDefault

NewServicePrincipalsServiceListOrganizationServicePrincipalsDefault creates a ServicePrincipalsServiceListOrganizationServicePrincipalsDefault with default headers values

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) Code added in v0.64.0

Code gets the status code for the service principals service list organization service principals default response

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsDefault) String added in v0.64.0

type ServicePrincipalsServiceListOrganizationServicePrincipalsOK added in v0.64.0

type ServicePrincipalsServiceListOrganizationServicePrincipalsOK struct {
	Payload *models.HashicorpCloudIamListOrganizationServicePrincipalsResponse
}

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

A successful response.

func NewServicePrincipalsServiceListOrganizationServicePrincipalsOK added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsOK() *ServicePrincipalsServiceListOrganizationServicePrincipalsOK

NewServicePrincipalsServiceListOrganizationServicePrincipalsOK creates a ServicePrincipalsServiceListOrganizationServicePrincipalsOK with default headers values

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) Code added in v0.68.0

Code gets the status code for the service principals service list organization service principals o k response

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) Error added in v0.64.0

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsOK) String added in v0.64.0

type ServicePrincipalsServiceListOrganizationServicePrincipalsParams added in v0.64.0

type ServicePrincipalsServiceListOrganizationServicePrincipalsParams struct {

	/* Include.

	     include defines which service principals in the hirarchical level
	below an organization should be included in the returned list.
	Allowed values: UNSET, ALL, PROJECTS

	 - UNSET: UNSET is the default value.
	UNSET will only include service principals at organization level.
	 - ALL: ALL will include all service principals on all hirarchical levels
	under the given organization.
	 - PROJECTS: PROJECTS includes service principals at project level
	in the list response.

	     Default: "UNSET"
	*/
	Include *string

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization that
	owns the service principals to be listed.
	*/
	OrganizationID string

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

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

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

ServicePrincipalsServiceListOrganizationServicePrincipalsParams contains all the parameters to send to the API endpoint

for the service principals service list organization service principals operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParams added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParams() *ServicePrincipalsServiceListOrganizationServicePrincipalsParams

NewServicePrincipalsServiceListOrganizationServicePrincipalsParams creates a new ServicePrincipalsServiceListOrganizationServicePrincipalsParams 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 NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithContext(ctx context.Context) *ServicePrincipalsServiceListOrganizationServicePrincipalsParams

NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithContext creates a new ServicePrincipalsServiceListOrganizationServicePrincipalsParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceListOrganizationServicePrincipalsParams

NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithHTTPClient creates a new ServicePrincipalsServiceListOrganizationServicePrincipalsParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceListOrganizationServicePrincipalsParams

NewServicePrincipalsServiceListOrganizationServicePrincipalsParamsWithTimeout creates a new ServicePrincipalsServiceListOrganizationServicePrincipalsParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetInclude added in v0.64.0

SetInclude adds the include to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetPaginationNextPageToken added in v0.64.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetPaginationPageSize added in v0.64.0

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

SetPaginationPageSize adds the paginationPageSize to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetPaginationPreviousPageToken added in v0.64.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithInclude added in v0.64.0

WithInclude adds the include to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithPaginationNextPageToken added in v0.64.0

WithPaginationNextPageToken adds the paginationNextPageToken to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithPaginationPageSize added in v0.64.0

WithPaginationPageSize adds the paginationPageSize to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithPaginationPreviousPageToken added in v0.64.0

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service list organization service principals params

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceListOrganizationServicePrincipalsReader added in v0.64.0

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

ServicePrincipalsServiceListOrganizationServicePrincipalsReader is a Reader for the ServicePrincipalsServiceListOrganizationServicePrincipals structure.

func (*ServicePrincipalsServiceListOrganizationServicePrincipalsReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceListProjectServicePrincipalsDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceListProjectServicePrincipalsDefault added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsDefault(code int) *ServicePrincipalsServiceListProjectServicePrincipalsDefault

NewServicePrincipalsServiceListProjectServicePrincipalsDefault creates a ServicePrincipalsServiceListProjectServicePrincipalsDefault with default headers values

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) Code added in v0.64.0

Code gets the status code for the service principals service list project service principals default response

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsDefault) String added in v0.64.0

type ServicePrincipalsServiceListProjectServicePrincipalsOK added in v0.64.0

type ServicePrincipalsServiceListProjectServicePrincipalsOK struct {
	Payload *models.HashicorpCloudIamListProjectServicePrincipalsResponse
}

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

A successful response.

func NewServicePrincipalsServiceListProjectServicePrincipalsOK added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsOK() *ServicePrincipalsServiceListProjectServicePrincipalsOK

NewServicePrincipalsServiceListProjectServicePrincipalsOK creates a ServicePrincipalsServiceListProjectServicePrincipalsOK with default headers values

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) Code added in v0.68.0

Code gets the status code for the service principals service list project service principals o k response

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) Error added in v0.64.0

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsOK) String added in v0.64.0

type ServicePrincipalsServiceListProjectServicePrincipalsParams added in v0.64.0

type ServicePrincipalsServiceListProjectServicePrincipalsParams struct {

	/* OrganizationID.

	     organization_id is the unique identifier (UUID) of the organization that
	owns the project of the service principals to be listed.
	*/
	OrganizationID string

	/* PaginationNextPageToken.

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

	/* PaginationPageSize.

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

	     Format: int64
	*/
	PaginationPageSize *int64

	/* PaginationPreviousPageToken.

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

	/* ProjectID.

	     project_id is the unique identifier (UUID) of the project that
	owns the service principals to be listed. When the the project_id
	is provided, only the service principals for this project will be
	listed.
	*/
	ProjectID string

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

ServicePrincipalsServiceListProjectServicePrincipalsParams contains all the parameters to send to the API endpoint

for the service principals service list project service principals operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceListProjectServicePrincipalsParams added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsParams() *ServicePrincipalsServiceListProjectServicePrincipalsParams

NewServicePrincipalsServiceListProjectServicePrincipalsParams creates a new ServicePrincipalsServiceListProjectServicePrincipalsParams 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 NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithContext(ctx context.Context) *ServicePrincipalsServiceListProjectServicePrincipalsParams

NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithContext creates a new ServicePrincipalsServiceListProjectServicePrincipalsParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceListProjectServicePrincipalsParams

NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithHTTPClient creates a new ServicePrincipalsServiceListProjectServicePrincipalsParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceListProjectServicePrincipalsParams

NewServicePrincipalsServiceListProjectServicePrincipalsParamsWithTimeout creates a new ServicePrincipalsServiceListProjectServicePrincipalsParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetOrganizationID added in v0.64.0

func (o *ServicePrincipalsServiceListProjectServicePrincipalsParams) SetOrganizationID(organizationID string)

SetOrganizationID adds the organizationId to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetPaginationNextPageToken added in v0.64.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetPaginationPageSize added in v0.64.0

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

SetPaginationPageSize adds the paginationPageSize to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetPaginationPreviousPageToken added in v0.64.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetProjectID added in v0.64.0

SetProjectID adds the projectId to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithOrganizationID added in v0.64.0

WithOrganizationID adds the organizationID to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithPaginationNextPageToken added in v0.64.0

WithPaginationNextPageToken adds the paginationNextPageToken to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithPaginationPageSize added in v0.64.0

WithPaginationPageSize adds the paginationPageSize to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithPaginationPreviousPageToken added in v0.64.0

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithProjectID added in v0.64.0

WithProjectID adds the projectID to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service list project service principals params

func (*ServicePrincipalsServiceListProjectServicePrincipalsParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceListProjectServicePrincipalsReader added in v0.64.0

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

ServicePrincipalsServiceListProjectServicePrincipalsReader is a Reader for the ServicePrincipalsServiceListProjectServicePrincipals structure.

func (*ServicePrincipalsServiceListProjectServicePrincipalsReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceListServicePrincipals2Default added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceListServicePrincipals2Default added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2Default(code int) *ServicePrincipalsServiceListServicePrincipals2Default

NewServicePrincipalsServiceListServicePrincipals2Default creates a ServicePrincipalsServiceListServicePrincipals2Default with default headers values

func (*ServicePrincipalsServiceListServicePrincipals2Default) Code added in v0.64.0

Code gets the status code for the service principals service list service principals2 default response

func (*ServicePrincipalsServiceListServicePrincipals2Default) Error added in v0.64.0

func (*ServicePrincipalsServiceListServicePrincipals2Default) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListServicePrincipals2Default) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2Default) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2Default) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2Default) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2Default) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2Default) String added in v0.64.0

type ServicePrincipalsServiceListServicePrincipals2OK added in v0.64.0

type ServicePrincipalsServiceListServicePrincipals2OK struct {
	Payload *models.HashicorpCloudIamListServicePrincipalsResponse
}

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

A successful response.

func NewServicePrincipalsServiceListServicePrincipals2OK added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2OK() *ServicePrincipalsServiceListServicePrincipals2OK

NewServicePrincipalsServiceListServicePrincipals2OK creates a ServicePrincipalsServiceListServicePrincipals2OK with default headers values

func (*ServicePrincipalsServiceListServicePrincipals2OK) Code added in v0.68.0

Code gets the status code for the service principals service list service principals2 o k response

func (*ServicePrincipalsServiceListServicePrincipals2OK) Error added in v0.64.0

func (*ServicePrincipalsServiceListServicePrincipals2OK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListServicePrincipals2OK) IsClientError added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2OK) IsCode added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2OK) IsRedirect added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2OK) IsServerError added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2OK) IsSuccess added in v0.64.0

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

func (*ServicePrincipalsServiceListServicePrincipals2OK) String added in v0.64.0

type ServicePrincipalsServiceListServicePrincipals2Params added in v0.64.0

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

	/* ParentResourceName1.

	     parent_resource_name is the resource name of the project or organization
	at which the service principal should be listed (e.g.
	"project/<project_id>" or "organization/<organization_id>")
	*/
	ParentResourceName1 string

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

ServicePrincipalsServiceListServicePrincipals2Params contains all the parameters to send to the API endpoint

for the service principals service list service principals2 operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceListServicePrincipals2Params added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2Params() *ServicePrincipalsServiceListServicePrincipals2Params

NewServicePrincipalsServiceListServicePrincipals2Params creates a new ServicePrincipalsServiceListServicePrincipals2Params 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 NewServicePrincipalsServiceListServicePrincipals2ParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2ParamsWithContext(ctx context.Context) *ServicePrincipalsServiceListServicePrincipals2Params

NewServicePrincipalsServiceListServicePrincipals2ParamsWithContext creates a new ServicePrincipalsServiceListServicePrincipals2Params object with the ability to set a context for a request.

func NewServicePrincipalsServiceListServicePrincipals2ParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2ParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceListServicePrincipals2Params

NewServicePrincipalsServiceListServicePrincipals2ParamsWithHTTPClient creates a new ServicePrincipalsServiceListServicePrincipals2Params object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceListServicePrincipals2ParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceListServicePrincipals2ParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceListServicePrincipals2Params

NewServicePrincipalsServiceListServicePrincipals2ParamsWithTimeout creates a new ServicePrincipalsServiceListServicePrincipals2Params object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetContext added in v0.64.0

SetContext adds the context to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetPaginationNextPageToken added in v0.64.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetPaginationPageSize added in v0.64.0

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

SetPaginationPageSize adds the paginationPageSize to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetPaginationPreviousPageToken added in v0.64.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetParentResourceName1 added in v0.68.0

func (o *ServicePrincipalsServiceListServicePrincipals2Params) SetParentResourceName1(parentResourceName1 string)

SetParentResourceName1 adds the parentResourceName1 to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithContext added in v0.64.0

WithContext adds the context to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithDefaults added in v0.64.0

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

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

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithPaginationNextPageToken added in v0.64.0

WithPaginationNextPageToken adds the paginationNextPageToken to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithPaginationPageSize added in v0.64.0

WithPaginationPageSize adds the paginationPageSize to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithPaginationPreviousPageToken added in v0.64.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithParentResourceName1 added in v0.68.0

WithParentResourceName1 adds the parentResourceName1 to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service list service principals2 params

func (*ServicePrincipalsServiceListServicePrincipals2Params) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceListServicePrincipals2Reader added in v0.64.0

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

ServicePrincipalsServiceListServicePrincipals2Reader is a Reader for the ServicePrincipalsServiceListServicePrincipals2 structure.

func (*ServicePrincipalsServiceListServicePrincipals2Reader) ReadResponse added in v0.64.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceListServicePrincipalsDefault added in v0.68.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceListServicePrincipalsDefault added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsDefault(code int) *ServicePrincipalsServiceListServicePrincipalsDefault

NewServicePrincipalsServiceListServicePrincipalsDefault creates a ServicePrincipalsServiceListServicePrincipalsDefault with default headers values

func (*ServicePrincipalsServiceListServicePrincipalsDefault) Code added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) Error added in v0.68.0

func (*ServicePrincipalsServiceListServicePrincipalsDefault) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceListServicePrincipalsDefault) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsDefault) String added in v0.68.0

type ServicePrincipalsServiceListServicePrincipalsOK added in v0.68.0

type ServicePrincipalsServiceListServicePrincipalsOK struct {
	Payload *models.HashicorpCloudIamListServicePrincipalsResponse
}

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

A successful response.

func NewServicePrincipalsServiceListServicePrincipalsOK added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsOK() *ServicePrincipalsServiceListServicePrincipalsOK

NewServicePrincipalsServiceListServicePrincipalsOK creates a ServicePrincipalsServiceListServicePrincipalsOK with default headers values

func (*ServicePrincipalsServiceListServicePrincipalsOK) Code added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) Error added in v0.68.0

func (*ServicePrincipalsServiceListServicePrincipalsOK) GetPayload added in v0.68.0

func (*ServicePrincipalsServiceListServicePrincipalsOK) IsClientError added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) IsCode added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) IsRedirect added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) IsServerError added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) IsSuccess added in v0.68.0

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

func (*ServicePrincipalsServiceListServicePrincipalsOK) String added in v0.68.0

type ServicePrincipalsServiceListServicePrincipalsParams added in v0.68.0

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

	/* ParentResourceName.

	     parent_resource_name is the resource name of the project or organization
	at which the service principal should be listed (e.g.
	"project/<project_id>" or "organization/<organization_id>")
	*/
	ParentResourceName string

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

ServicePrincipalsServiceListServicePrincipalsParams contains all the parameters to send to the API endpoint

for the service principals service list service principals operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceListServicePrincipalsParams added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsParams() *ServicePrincipalsServiceListServicePrincipalsParams

NewServicePrincipalsServiceListServicePrincipalsParams creates a new ServicePrincipalsServiceListServicePrincipalsParams 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 NewServicePrincipalsServiceListServicePrincipalsParamsWithContext added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsParamsWithContext(ctx context.Context) *ServicePrincipalsServiceListServicePrincipalsParams

NewServicePrincipalsServiceListServicePrincipalsParamsWithContext creates a new ServicePrincipalsServiceListServicePrincipalsParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceListServicePrincipalsParamsWithHTTPClient added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceListServicePrincipalsParams

NewServicePrincipalsServiceListServicePrincipalsParamsWithHTTPClient creates a new ServicePrincipalsServiceListServicePrincipalsParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceListServicePrincipalsParamsWithTimeout added in v0.68.0

func NewServicePrincipalsServiceListServicePrincipalsParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceListServicePrincipalsParams

NewServicePrincipalsServiceListServicePrincipalsParamsWithTimeout creates a new ServicePrincipalsServiceListServicePrincipalsParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetContext added in v0.68.0

SetContext adds the context to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetHTTPClient added in v0.68.0

SetHTTPClient adds the HTTPClient to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetPaginationNextPageToken added in v0.68.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetPaginationPageSize added in v0.68.0

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

SetPaginationPageSize adds the paginationPageSize to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetPaginationPreviousPageToken added in v0.68.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetParentResourceName added in v0.68.0

func (o *ServicePrincipalsServiceListServicePrincipalsParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) SetTimeout added in v0.68.0

SetTimeout adds the timeout to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithContext added in v0.68.0

WithContext adds the context to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithDefaults added in v0.68.0

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

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

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithHTTPClient added in v0.68.0

WithHTTPClient adds the HTTPClient to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithPaginationNextPageToken added in v0.68.0

WithPaginationNextPageToken adds the paginationNextPageToken to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithPaginationPageSize added in v0.68.0

WithPaginationPageSize adds the paginationPageSize to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithPaginationPreviousPageToken added in v0.68.0

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

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithParentResourceName added in v0.68.0

WithParentResourceName adds the parentResourceName to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WithTimeout added in v0.68.0

WithTimeout adds the timeout to the service principals service list service principals params

func (*ServicePrincipalsServiceListServicePrincipalsParams) WriteToRequest added in v0.68.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceListServicePrincipalsReader added in v0.68.0

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

ServicePrincipalsServiceListServicePrincipalsReader is a Reader for the ServicePrincipalsServiceListServicePrincipals structure.

func (*ServicePrincipalsServiceListServicePrincipalsReader) ReadResponse added in v0.68.0

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

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceListWorkloadIdentityProviderDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceListWorkloadIdentityProviderDefault added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderDefault(code int) *ServicePrincipalsServiceListWorkloadIdentityProviderDefault

NewServicePrincipalsServiceListWorkloadIdentityProviderDefault creates a ServicePrincipalsServiceListWorkloadIdentityProviderDefault with default headers values

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) Code added in v0.64.0

Code gets the status code for the service principals service list workload identity provider default response

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service list workload identity provider default response has a 4xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service list workload identity provider default response a status code equal to that given

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service list workload identity provider default response has a 3xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service list workload identity provider default response has a 5xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service list workload identity provider default response has a 2xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderDefault) String added in v0.64.0

type ServicePrincipalsServiceListWorkloadIdentityProviderOK added in v0.64.0

type ServicePrincipalsServiceListWorkloadIdentityProviderOK struct {
	Payload *models.HashicorpCloudIamListWorkloadIdentityProviderResponse
}

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

A successful response.

func NewServicePrincipalsServiceListWorkloadIdentityProviderOK added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderOK() *ServicePrincipalsServiceListWorkloadIdentityProviderOK

NewServicePrincipalsServiceListWorkloadIdentityProviderOK creates a ServicePrincipalsServiceListWorkloadIdentityProviderOK with default headers values

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) Code added in v0.68.0

Code gets the status code for the service principals service list workload identity provider o k response

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) Error added in v0.64.0

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service list workload identity provider o k response has a 4xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) IsCode added in v0.64.0

IsCode returns true when this service principals service list workload identity provider o k response a status code equal to that given

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service list workload identity provider o k response has a 3xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service list workload identity provider o k response has a 5xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service list workload identity provider o k response has a 2xx status code

func (*ServicePrincipalsServiceListWorkloadIdentityProviderOK) String added in v0.64.0

type ServicePrincipalsServiceListWorkloadIdentityProviderParams added in v0.64.0

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

	/* ParentResourceName.

	     parent_resource_name is the resource name of the service principal to list
	workload identity providers from.
	*/
	ParentResourceName string

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

ServicePrincipalsServiceListWorkloadIdentityProviderParams contains all the parameters to send to the API endpoint

for the service principals service list workload identity provider operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceListWorkloadIdentityProviderParams added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderParams() *ServicePrincipalsServiceListWorkloadIdentityProviderParams

NewServicePrincipalsServiceListWorkloadIdentityProviderParams creates a new ServicePrincipalsServiceListWorkloadIdentityProviderParams 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 NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithContext(ctx context.Context) *ServicePrincipalsServiceListWorkloadIdentityProviderParams

NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithContext creates a new ServicePrincipalsServiceListWorkloadIdentityProviderParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceListWorkloadIdentityProviderParams

NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithHTTPClient creates a new ServicePrincipalsServiceListWorkloadIdentityProviderParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceListWorkloadIdentityProviderParams

NewServicePrincipalsServiceListWorkloadIdentityProviderParamsWithTimeout creates a new ServicePrincipalsServiceListWorkloadIdentityProviderParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service list workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetPaginationNextPageToken added in v0.64.0

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

SetPaginationNextPageToken adds the paginationNextPageToken to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetPaginationPageSize added in v0.64.0

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

SetPaginationPageSize adds the paginationPageSize to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetPaginationPreviousPageToken added in v0.64.0

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

SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetParentResourceName added in v0.64.0

func (o *ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetParentResourceName(parentResourceName string)

SetParentResourceName adds the parentResourceName to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service list workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithPaginationNextPageToken added in v0.64.0

WithPaginationNextPageToken adds the paginationNextPageToken to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithPaginationPageSize added in v0.64.0

WithPaginationPageSize adds the paginationPageSize to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithPaginationPreviousPageToken added in v0.64.0

WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithParentResourceName added in v0.64.0

WithParentResourceName adds the parentResourceName to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service list workload identity provider params

func (*ServicePrincipalsServiceListWorkloadIdentityProviderParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceListWorkloadIdentityProviderReader added in v0.64.0

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

ServicePrincipalsServiceListWorkloadIdentityProviderReader is a Reader for the ServicePrincipalsServiceListWorkloadIdentityProvider structure.

func (*ServicePrincipalsServiceListWorkloadIdentityProviderReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody added in v0.68.0

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody struct {

	// aws config
	AwsConfig *models.HashicorpCloudIamAWSWorkloadIdentityProviderConfig `json:"aws_config,omitempty"`

	// conditional_access is a go-bexpr string that is evaluated when exchanging
	// tokens. It restricts which upstream identities are allowed to access the
	// service principal.
	ConditionalAccess string `json:"conditional_access,omitempty"`

	// created_at is when the workload identity provider was created.
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at,omitempty"`

	// description is an optional description for the workload identity provider.
	Description string `json:"description,omitempty"`

	// oidc config
	OidcConfig *models.HashicorpCloudIamOIDCWorkloadIdentityProviderConfig `json:"oidc_config,omitempty"`

	// resource_id is the resource identifier for this workload identity
	// provider.
	ResourceID string `json:"resource_id,omitempty"`

	// system_managed indicates that the provider is not editable or deletable
	// by the user.
	SystemManaged bool `json:"system_managed,omitempty"`

	// updated_at is when the workload identity provider was last updated.
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updated_at,omitempty"`
}

ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody provider is the workload identity provider to update. swagger:model ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody) ContextValidate added in v0.68.0

ContextValidate validate this service principals service update workload identity provider body based on the context it is used

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody) MarshalBinary added in v0.68.0

MarshalBinary interface implementation

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody) UnmarshalBinary added in v0.68.0

UnmarshalBinary interface implementation

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody) Validate added in v0.68.0

Validate validates this service principals service update workload identity provider body

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault added in v0.64.0

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

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

An unexpected error response.

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault(code int) *ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault creates a ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault with default headers values

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) Code added in v0.64.0

Code gets the status code for the service principals service update workload identity provider default response

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) Error added in v0.64.0

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) IsClientError added in v0.64.0

IsClientError returns true when this service principals service update workload identity provider default response has a 4xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) IsCode added in v0.64.0

IsCode returns true when this service principals service update workload identity provider default response a status code equal to that given

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service update workload identity provider default response has a 3xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) IsServerError added in v0.64.0

IsServerError returns true when this service principals service update workload identity provider default response has a 5xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service update workload identity provider default response has a 2xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderDefault) String added in v0.64.0

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK added in v0.64.0

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK struct {
	Payload *models.HashicorpCloudIamUpdateWorkloadIdentityProviderResponse
}

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

A successful response.

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderOK added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderOK() *ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderOK creates a ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK with default headers values

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) Code added in v0.68.0

Code gets the status code for the service principals service update workload identity provider o k response

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) Error added in v0.64.0

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) GetPayload added in v0.64.0

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) IsClientError added in v0.64.0

IsClientError returns true when this service principals service update workload identity provider o k response has a 4xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) IsCode added in v0.64.0

IsCode returns true when this service principals service update workload identity provider o k response a status code equal to that given

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) IsRedirect added in v0.64.0

IsRedirect returns true when this service principals service update workload identity provider o k response has a 3xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) IsServerError added in v0.64.0

IsServerError returns true when this service principals service update workload identity provider o k response has a 5xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) IsSuccess added in v0.64.0

IsSuccess returns true when this service principals service update workload identity provider o k response has a 2xx status code

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderOK) String added in v0.64.0

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams added in v0.64.0

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams struct {

	/* Provider.

	   provider is the workload identity provider to update.
	*/
	Provider ServicePrincipalsServiceUpdateWorkloadIdentityProviderBody

	/* ProviderResourceName.

	     resource_name is the resource name for this workload identity
	provider.
	*/
	ProviderResourceName string

	/* UpdateMask.

	   update_mask describing which resource attribute(s) to update.
	*/
	UpdateMask *string

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

ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams contains all the parameters to send to the API endpoint

for the service principals service update workload identity provider operation.

Typically these are written to a http.Request.

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParams added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParams() *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParams creates a new ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams 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 NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithContext added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithContext(ctx context.Context) *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithContext creates a new ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams object with the ability to set a context for a request.

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithHTTPClient added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithHTTPClient(client *http.Client) *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithHTTPClient creates a new ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams object with the ability to set a custom HTTPClient for a request.

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithTimeout added in v0.64.0

func NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithTimeout(timeout time.Duration) *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams

NewServicePrincipalsServiceUpdateWorkloadIdentityProviderParamsWithTimeout creates a new ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams object with the ability to set a timeout on a request.

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetContext added in v0.64.0

SetContext adds the context to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetDefaults added in v0.64.0

SetDefaults hydrates default values in the service principals service update workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetHTTPClient added in v0.64.0

SetHTTPClient adds the HTTPClient to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetProvider added in v0.68.0

SetProvider adds the provider to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetProviderResourceName added in v0.64.0

func (o *ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetProviderResourceName(providerResourceName string)

SetProviderResourceName adds the providerResourceName to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetTimeout added in v0.64.0

SetTimeout adds the timeout to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) SetUpdateMask added in v0.64.0

SetUpdateMask adds the updateMask to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithContext added in v0.64.0

WithContext adds the context to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithDefaults added in v0.64.0

WithDefaults hydrates default values in the service principals service update workload identity provider params (not the query body).

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

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithHTTPClient added in v0.64.0

WithHTTPClient adds the HTTPClient to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithProvider added in v0.68.0

WithProvider adds the provider to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithProviderResourceName added in v0.64.0

WithProviderResourceName adds the providerResourceName to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithTimeout added in v0.64.0

WithTimeout adds the timeout to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WithUpdateMask added in v0.64.0

WithUpdateMask adds the updateMask to the service principals service update workload identity provider params

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderParams) WriteToRequest added in v0.64.0

WriteToRequest writes these params to a swagger request

type ServicePrincipalsServiceUpdateWorkloadIdentityProviderReader added in v0.64.0

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

ServicePrincipalsServiceUpdateWorkloadIdentityProviderReader is a Reader for the ServicePrincipalsServiceUpdateWorkloadIdentityProvider structure.

func (*ServicePrincipalsServiceUpdateWorkloadIdentityProviderReader) ReadResponse added in v0.64.0

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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