models

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MPL-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashicorpCloudResourcemanagerOrganization added in v0.58.0

type HashicorpCloudResourcemanagerOrganization struct {

	// CreatedAt is the time the organization was created at.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// ID is an UUID identifying the Organization object.
	ID string `json:"id,omitempty"`

	// Name is the user settable name of the organization.
	Name string `json:"name,omitempty"`

	// Owner is the contact for support issue that may occur at the
	// organization level. Further, if the organization owner is
	// deleted, the organization itself will be deleted.
	Owner *HashicorpCloudResourcemanagerOrganizationOwner `json:"owner,omitempty"`

	// State is the state of the organization.
	State *HashicorpCloudResourcemanagerOrganizationOrganizationState `json:"state,omitempty"`
}

HashicorpCloudResourcemanagerOrganization Organization is the root node in the resource hierarchy. All resources for an entity reside under the organization.

swagger:model hashicorp.cloud.resourcemanager.Organization

func (*HashicorpCloudResourcemanagerOrganization) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization based on the context it is used

func (*HashicorpCloudResourcemanagerOrganization) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerOrganization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganization) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerOrganization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganization) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization

type HashicorpCloudResourcemanagerOrganizationCreateRequest added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationCreateRequest struct {

	// Name is the user settable name of the organization. Will default to
	// "<Principal's name>'s Organization" if unset.
	Name string `json:"name,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationCreateRequest see OrganizationService.Create

swagger:model hashicorp.cloud.resourcemanager.OrganizationCreateRequest

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager organization create request based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization create request

type HashicorpCloudResourcemanagerOrganizationCreateResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationCreateResponse struct {

	// Organization is the newly created organization.
	Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationCreateResponse see OrganizationService.Create

swagger:model hashicorp.cloud.resourcemanager.OrganizationCreateResponse

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization create response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization create response

type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse struct {

	// Policy is the IAM policy for the organization.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse see OrganizationService.GetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.OrganizationGetIamPolicyResponse

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization get iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization get iam policy response

type HashicorpCloudResourcemanagerOrganizationGetResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationGetResponse struct {

	// Organization is the specified organization.
	Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationGetResponse see OrganizationService.Get

swagger:model hashicorp.cloud.resourcemanager.OrganizationGetResponse

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization get response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization get response

type HashicorpCloudResourcemanagerOrganizationGetRoleResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationGetRoleResponse struct {

	// Role is the requested role.
	Role *HashicorpCloudResourcemanagerRole `json:"role,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationGetRoleResponse OrganizationGetRoleResponse see OrganizationService.GetRole

swagger:model hashicorp.cloud.resourcemanager.OrganizationGetRoleResponse

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization get role response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization get role response

type HashicorpCloudResourcemanagerOrganizationListResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationListResponse struct {

	// Organizations is the organizations the caller has access to.
	Organizations []*HashicorpCloudResourcemanagerOrganization `json:"organizations"`

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationListResponse see OrganizationService.List

swagger:model hashicorp.cloud.resourcemanager.OrganizationListResponse

func (*HashicorpCloudResourcemanagerOrganizationListResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization list response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationListResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization list response

type HashicorpCloudResourcemanagerOrganizationListRolesResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationListRolesResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// Roles contains a page of the provisioned roles for the requested organization.
	Roles []*HashicorpCloudResourcemanagerRole `json:"roles"`
}

HashicorpCloudResourcemanagerOrganizationListRolesResponse OrganizationListRolesResponse see OrganizationService.ListRoles

swagger:model hashicorp.cloud.resourcemanager.OrganizationListRolesResponse

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization list roles response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization list roles response

type HashicorpCloudResourcemanagerOrganizationOrganizationState added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationOrganizationState string

HashicorpCloudResourcemanagerOrganizationOrganizationState OrganizationState is the states the organization can be in.

swagger:model hashicorp.cloud.resourcemanager.Organization.OrganizationState

const (

	// HashicorpCloudResourcemanagerOrganizationOrganizationStateUNKNOWN captures enum value "UNKNOWN"
	HashicorpCloudResourcemanagerOrganizationOrganizationStateUNKNOWN HashicorpCloudResourcemanagerOrganizationOrganizationState = "UNKNOWN"

	// HashicorpCloudResourcemanagerOrganizationOrganizationStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudResourcemanagerOrganizationOrganizationStateACTIVE HashicorpCloudResourcemanagerOrganizationOrganizationState = "ACTIVE"

	// HashicorpCloudResourcemanagerOrganizationOrganizationStatePENDINGDELETE captures enum value "PENDING_DELETE"
	HashicorpCloudResourcemanagerOrganizationOrganizationStatePENDINGDELETE HashicorpCloudResourcemanagerOrganizationOrganizationState = "PENDING_DELETE"
)

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager organization organization state based on context it is used

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Pointer added in v0.58.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerOrganizationOrganizationState.

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization organization state

type HashicorpCloudResourcemanagerOrganizationOwner added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationOwner struct {

	// User is the user principal id of the owner.
	User string `json:"user,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationOwner OrganizationOwner identifies the user who owns the organization.

swagger:model hashicorp.cloud.resourcemanager.OrganizationOwner

func (*HashicorpCloudResourcemanagerOrganizationOwner) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager organization owner based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationOwner) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization owner

type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse struct {

	// Policy is the updated IAM policy for the organization.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse see OrganizationService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.OrganizationSetIamPolicyResponse

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization set iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization set iam policy response

type HashicorpCloudResourcemanagerOrganizationSetNameResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationSetNameResponse struct {

	// Organization is the specified organization with an updated name.
	Organization *HashicorpCloudResourcemanagerOrganization `json:"organization,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationSetNameResponse see OrganizationService.SetName

swagger:model hashicorp.cloud.resourcemanager.OrganizationSetNameResponse

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager organization set name response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization set name response

type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse added in v0.58.0

type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse struct {

	// AllowedPermissions are a subset of the request permissions the calling principal has for the organization.
	AllowedPermissions []string `json:"allowed_permissions"`
}

HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse see OrganizationService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.OrganizationTestIamPermissionsResponse

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager organization test iam permissions response based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager organization test iam permissions response

type HashicorpCloudResourcemanagerPolicy added in v0.58.0

type HashicorpCloudResourcemanagerPolicy struct {

	// Bindings is a list of role to members for this policy.
	Bindings []*HashicorpCloudResourcemanagerPolicyBinding `json:"bindings"`

	// Etag identifies this version of the policy.
	Etag string `json:"etag,omitempty"`
}

HashicorpCloudResourcemanagerPolicy Policy binds many instances of roles to member lists in the resource hierarchy. For example:

An organization policy which has a single owner and many contributors.

"policy": {
  "bindings": [{
    "role_id": "roles/owner",
    "members": [
      {
        "member_type": "USER",
        "member_id": "f0b6f14c-ff6d-481a-8bd6-f4f0d356bc93"
      }
    ]
  }, {
    "role_id": "roles/contributor",
    "members": [
      {
        "member_type": "USER",
        "member_id": "b24c10e6-7f2d-4660-a163-f54f52439080"
      },
      {
        "member_type": "USER",
        "member_id": "b2becb8c-4947-4a29-94bb-c952b1b67f1e"
      },
      {
        "member_type": "GROUP",
        "member_id": "356120ef-3014-404c-b574-c1c9e804663a"
      }
    ]
  }],
  "etag": "afd123"
}

swagger:model hashicorp.cloud.resourcemanager.Policy

func (*HashicorpCloudResourcemanagerPolicy) ContextValidate added in v0.58.0

func (m *HashicorpCloudResourcemanagerPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager policy based on the context it is used

func (*HashicorpCloudResourcemanagerPolicy) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicy) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicy) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager policy

type HashicorpCloudResourcemanagerPolicyBinding added in v0.58.0

type HashicorpCloudResourcemanagerPolicyBinding struct {

	// Members is a set of identities that are associated with the role.
	Members []*HashicorpCloudResourcemanagerPolicyBindingMember `json:"members"`

	// RoleId is the globally unique identifier for the role.
	// e.g. projects/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-project-role
	RoleID string `json:"role_id,omitempty"`
}

HashicorpCloudResourcemanagerPolicyBinding PolicyBinding binds a list of members to a role.

swagger:model hashicorp.cloud.resourcemanager.PolicyBinding

func (*HashicorpCloudResourcemanagerPolicyBinding) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager policy binding based on the context it is used

func (*HashicorpCloudResourcemanagerPolicyBinding) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerPolicyBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBinding) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerPolicyBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBinding) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager policy binding

type HashicorpCloudResourcemanagerPolicyBindingMember added in v0.58.0

type HashicorpCloudResourcemanagerPolicyBindingMember struct {

	// MemberId is the unique identifier for the member.
	MemberID string `json:"member_id,omitempty"`

	// MemberType is the type of the member.
	MemberType *HashicorpCloudResourcemanagerPolicyBindingMemberType `json:"member_type,omitempty"`
}

HashicorpCloudResourcemanagerPolicyBindingMember PolicyBindingMember represents an identity associated with a policy binding.

swagger:model hashicorp.cloud.resourcemanager.PolicyBindingMember

func (*HashicorpCloudResourcemanagerPolicyBindingMember) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager policy binding member based on the context it is used

func (*HashicorpCloudResourcemanagerPolicyBindingMember) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager policy binding member

type HashicorpCloudResourcemanagerPolicyBindingMemberType added in v0.58.0

type HashicorpCloudResourcemanagerPolicyBindingMemberType string

HashicorpCloudResourcemanagerPolicyBindingMemberType PolicyBindingMemberType is the type of the policy binding member.

swagger:model hashicorp.cloud.resourcemanager.PolicyBindingMemberType

const (

	// HashicorpCloudResourcemanagerPolicyBindingMemberTypeUNSET captures enum value "UNSET"
	HashicorpCloudResourcemanagerPolicyBindingMemberTypeUNSET HashicorpCloudResourcemanagerPolicyBindingMemberType = "UNSET"

	// HashicorpCloudResourcemanagerPolicyBindingMemberTypeUSER captures enum value "USER"
	HashicorpCloudResourcemanagerPolicyBindingMemberTypeUSER HashicorpCloudResourcemanagerPolicyBindingMemberType = "USER"

	// HashicorpCloudResourcemanagerPolicyBindingMemberTypeGROUP captures enum value "GROUP"
	HashicorpCloudResourcemanagerPolicyBindingMemberTypeGROUP HashicorpCloudResourcemanagerPolicyBindingMemberType = "GROUP"

	// HashicorpCloudResourcemanagerPolicyBindingMemberTypeSERVICEPRINCIPAL captures enum value "SERVICE_PRINCIPAL"
	HashicorpCloudResourcemanagerPolicyBindingMemberTypeSERVICEPRINCIPAL HashicorpCloudResourcemanagerPolicyBindingMemberType = "SERVICE_PRINCIPAL"
)

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager policy binding member type based on context it is used

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Pointer added in v0.58.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerPolicyBindingMemberType.

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager policy binding member type

type HashicorpCloudResourcemanagerProject added in v0.58.0

type HashicorpCloudResourcemanagerProject struct {

	// CreatedAt is the time the project was created at.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// Description is the user settable description of the project.
	Description string `json:"description,omitempty"`

	// ID is an UUID identifying the project object.
	ID string `json:"id,omitempty"`

	// Name is the user settable name of the project.
	Name string `json:"name,omitempty"`

	// Parent is the parent resource of the project.
	Parent *HashicorpCloudResourcemanagerResourceID `json:"parent,omitempty"`

	// State is the state of the project.
	State *HashicorpCloudResourcemanagerProjectProjectState `json:"state,omitempty"`
}

HashicorpCloudResourcemanagerProject Project is a container for resources.

swagger:model hashicorp.cloud.resourcemanager.Project

func (*HashicorpCloudResourcemanagerProject) ContextValidate added in v0.58.0

func (m *HashicorpCloudResourcemanagerProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager project based on the context it is used

func (*HashicorpCloudResourcemanagerProject) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProject) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProject) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project

type HashicorpCloudResourcemanagerProjectCreateRequest added in v0.58.0

type HashicorpCloudResourcemanagerProjectCreateRequest struct {

	// Description is the user settable description of the project.
	Description string `json:"description,omitempty"`

	// Name is the user settable name of the project.
	Name string `json:"name,omitempty"`

	// Parent is the parent resource to nest the new project under.
	Parent *HashicorpCloudResourcemanagerResourceID `json:"parent,omitempty"`
}

HashicorpCloudResourcemanagerProjectCreateRequest see ProjectService.Create

swagger:model hashicorp.cloud.resourcemanager.ProjectCreateRequest

func (*HashicorpCloudResourcemanagerProjectCreateRequest) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project create request based on the context it is used

func (*HashicorpCloudResourcemanagerProjectCreateRequest) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project create request

type HashicorpCloudResourcemanagerProjectCreateResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectCreateResponse struct {

	// Project is the newly created project.
	Project *HashicorpCloudResourcemanagerProject `json:"project,omitempty"`
}

HashicorpCloudResourcemanagerProjectCreateResponse see ProjectService.Create

swagger:model hashicorp.cloud.resourcemanager.ProjectCreateResponse

func (*HashicorpCloudResourcemanagerProjectCreateResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project create response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectCreateResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project create response

type HashicorpCloudResourcemanagerProjectDeleteResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectDeleteResponse struct {

	// operation is the operation that represents the async delete
	Operation *cloud.HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudResourcemanagerProjectDeleteResponse ProjectDeleteResponse See ProjectService.Delete

swagger:model hashicorp.cloud.resourcemanager.ProjectDeleteResponse

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project delete response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project delete response

type HashicorpCloudResourcemanagerProjectGetIamPolicyResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectGetIamPolicyResponse struct {

	// Policy is the system managed IAM policy for the project.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerProjectGetIamPolicyResponse ProjectGetIamPolicyResponse see ProjectService.GetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ProjectGetIamPolicyResponse

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project get iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project get iam policy response

type HashicorpCloudResourcemanagerProjectGetProjectsCountResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectGetProjectsCountResponse struct {

	// Count is the count of projects belonging to a parent scope.
	Count int32 `json:"count,omitempty"`
}

HashicorpCloudResourcemanagerProjectGetProjectsCountResponse ProjectGetProjectsCountResponse see ProjectService.GetProjectsCount

swagger:model hashicorp.cloud.resourcemanager.ProjectGetProjectsCountResponse

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager project get projects count response based on context it is used

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project get projects count response

type HashicorpCloudResourcemanagerProjectGetResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectGetResponse struct {

	// Project is the specified project.
	Project *HashicorpCloudResourcemanagerProject `json:"project,omitempty"`
}

HashicorpCloudResourcemanagerProjectGetResponse see ProjectService.Get

swagger:model hashicorp.cloud.resourcemanager.ProjectGetResponse

func (*HashicorpCloudResourcemanagerProjectGetResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project get response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectGetResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project get response

type HashicorpCloudResourcemanagerProjectListResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectListResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// Projects is the projects the caller has access to at the requested scope.
	Projects []*HashicorpCloudResourcemanagerProject `json:"projects"`
}

HashicorpCloudResourcemanagerProjectListResponse see ProjectService.List

swagger:model hashicorp.cloud.resourcemanager.ProjectListResponse

func (*HashicorpCloudResourcemanagerProjectListResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project list response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectListResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project list response

type HashicorpCloudResourcemanagerProjectProjectState added in v0.58.0

type HashicorpCloudResourcemanagerProjectProjectState string

HashicorpCloudResourcemanagerProjectProjectState ProjectState is the states the project can be in.

swagger:model hashicorp.cloud.resourcemanager.Project.ProjectState

const (

	// HashicorpCloudResourcemanagerProjectProjectStateUNKNOWN captures enum value "UNKNOWN"
	HashicorpCloudResourcemanagerProjectProjectStateUNKNOWN HashicorpCloudResourcemanagerProjectProjectState = "UNKNOWN"

	// HashicorpCloudResourcemanagerProjectProjectStateACTIVE captures enum value "ACTIVE"
	HashicorpCloudResourcemanagerProjectProjectStateACTIVE HashicorpCloudResourcemanagerProjectProjectState = "ACTIVE"

	// HashicorpCloudResourcemanagerProjectProjectStateDELETING captures enum value "DELETING"
	HashicorpCloudResourcemanagerProjectProjectStateDELETING HashicorpCloudResourcemanagerProjectProjectState = "DELETING"

	// HashicorpCloudResourcemanagerProjectProjectStateDELETED captures enum value "DELETED"
	HashicorpCloudResourcemanagerProjectProjectStateDELETED HashicorpCloudResourcemanagerProjectProjectState = "DELETED"
)

func (HashicorpCloudResourcemanagerProjectProjectState) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager project project state based on context it is used

func (HashicorpCloudResourcemanagerProjectProjectState) Pointer added in v0.58.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerProjectProjectState.

func (HashicorpCloudResourcemanagerProjectProjectState) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project project state

type HashicorpCloudResourcemanagerProjectSetIamPolicyResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectSetIamPolicyResponse struct {

	// Policy is the updated IAM policy for the project.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerProjectSetIamPolicyResponse ProjectSetIamPolicyResponse see ProjectService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ProjectSetIamPolicyResponse

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager project set iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project set iam policy response

type HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse added in v0.58.0

type HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse struct {

	// AllowedPermissions are a subset of the request permissions the calling principal has for the project.
	AllowedPermissions []string `json:"allowed_permissions"`
}

HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse see ProjectService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.ProjectTestIamPermissionsResponse

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager project test iam permissions response based on context it is used

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager project test iam permissions response

type HashicorpCloudResourcemanagerResource added in v0.58.0

type HashicorpCloudResourcemanagerResource struct {

	// Link is a link to the resource. This includes the organization
	// and project ID as well as the ID of the resource itself.
	Link *cloud.HashicorpCloudLocationLink `json:"link,omitempty"`
}

HashicorpCloudResourcemanagerResource hashicorp cloud resourcemanager resource

swagger:model hashicorp.cloud.resourcemanager.Resource

func (*HashicorpCloudResourcemanagerResource) ContextValidate added in v0.58.0

func (m *HashicorpCloudResourcemanagerResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hashicorp cloud resourcemanager resource based on the context it is used

func (*HashicorpCloudResourcemanagerResource) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResource) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResource) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager resource

type HashicorpCloudResourcemanagerResourceGetIamPolicyResponse added in v0.75.0

type HashicorpCloudResourcemanagerResourceGetIamPolicyResponse struct {

	// Policy is the system managed IAM policy for the resource.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerResourceGetIamPolicyResponse ResourceGetIamPolicyRequest see ResourceService.GetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ResourceGetIamPolicyResponse

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) ContextValidate added in v0.75.0

ContextValidate validate this hashicorp cloud resourcemanager resource get iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) MarshalBinary added in v0.75.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) UnmarshalBinary added in v0.75.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) Validate added in v0.75.0

Validate validates this hashicorp cloud resourcemanager resource get iam policy response

type HashicorpCloudResourcemanagerResourceID added in v0.58.0

type HashicorpCloudResourcemanagerResourceID struct {

	// id is the id of the object being referenced.
	ID string `json:"id,omitempty"`

	// ResourceType is the type of object being referenced.
	Type *HashicorpCloudResourcemanagerResourceIDResourceType `json:"type,omitempty"`
}

HashicorpCloudResourcemanagerResourceID ResourceID is a reference to an object in the resource hierarchy.

swagger:model hashicorp.cloud.resourcemanager.ResourceID

func (*HashicorpCloudResourcemanagerResourceID) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager resource ID based on the context it is used

func (*HashicorpCloudResourcemanagerResourceID) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerResourceID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceID) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerResourceID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceID) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager resource ID

type HashicorpCloudResourcemanagerResourceIDResourceType added in v0.58.0

type HashicorpCloudResourcemanagerResourceIDResourceType string

HashicorpCloudResourcemanagerResourceIDResourceType hashicorp cloud resourcemanager resource ID resource type

swagger:model hashicorp.cloud.resourcemanager.ResourceID.ResourceType

const (

	// HashicorpCloudResourcemanagerResourceIDResourceTypeUNKNOWN captures enum value "UNKNOWN"
	HashicorpCloudResourcemanagerResourceIDResourceTypeUNKNOWN HashicorpCloudResourcemanagerResourceIDResourceType = "UNKNOWN"

	// HashicorpCloudResourcemanagerResourceIDResourceTypeORGANIZATION captures enum value "ORGANIZATION"
	HashicorpCloudResourcemanagerResourceIDResourceTypeORGANIZATION HashicorpCloudResourcemanagerResourceIDResourceType = "ORGANIZATION"

	// HashicorpCloudResourcemanagerResourceIDResourceTypePROJECT captures enum value "PROJECT"
	HashicorpCloudResourcemanagerResourceIDResourceTypePROJECT HashicorpCloudResourcemanagerResourceIDResourceType = "PROJECT"
)

func (HashicorpCloudResourcemanagerResourceIDResourceType) ContextValidate added in v0.58.0

ContextValidate validates this hashicorp cloud resourcemanager resource ID resource type based on context it is used

func (HashicorpCloudResourcemanagerResourceIDResourceType) Pointer added in v0.58.0

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerResourceIDResourceType.

func (HashicorpCloudResourcemanagerResourceIDResourceType) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager resource ID resource type

type HashicorpCloudResourcemanagerResourceListResponse added in v0.58.0

type HashicorpCloudResourcemanagerResourceListResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *cloud.HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`

	// Resources is the resources the caller has access to at the requested scope.
	Resources []*HashicorpCloudResourcemanagerResource `json:"resources"`
}

HashicorpCloudResourcemanagerResourceListResponse hashicorp cloud resourcemanager resource list response

swagger:model hashicorp.cloud.resourcemanager.ResourceListResponse

func (*HashicorpCloudResourcemanagerResourceListResponse) ContextValidate added in v0.58.0

ContextValidate validate this hashicorp cloud resourcemanager resource list response based on the context it is used

func (*HashicorpCloudResourcemanagerResourceListResponse) MarshalBinary added in v0.58.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) UnmarshalBinary added in v0.58.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager resource list response

type HashicorpCloudResourcemanagerResourceSetIamPolicyRequest added in v0.75.0

type HashicorpCloudResourcemanagerResourceSetIamPolicyRequest struct {

	// Policy is the IAM policy to be updated for the resource. The policy
	// will be completely replaced and therefore Policy.Etag must be specified
	// in order to prevent concurrent updates.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`

	// ResourceId is the resource name of the resource. Either this or the ResourceName needs to be provided.
	ResourceID string `json:"resource_id,omitempty"`

	// ResourceName is the resource name of the resource. Either this or the ResourceId needs to be provided.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudResourcemanagerResourceSetIamPolicyRequest ResourceSetIamPolicyRequest see ResourceService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ResourceSetIamPolicyRequest

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) ContextValidate added in v0.75.0

ContextValidate validate this hashicorp cloud resourcemanager resource set iam policy request based on the context it is used

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) MarshalBinary added in v0.75.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) UnmarshalBinary added in v0.75.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) Validate added in v0.75.0

Validate validates this hashicorp cloud resourcemanager resource set iam policy request

type HashicorpCloudResourcemanagerResourceSetIamPolicyResponse added in v0.75.0

type HashicorpCloudResourcemanagerResourceSetIamPolicyResponse struct {

	// Policy is the updated IAM policy for the resource.
	Policy *HashicorpCloudResourcemanagerPolicy `json:"policy,omitempty"`
}

HashicorpCloudResourcemanagerResourceSetIamPolicyResponse ResourceSetIamPolicyResponse see ResourceService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ResourceSetIamPolicyResponse

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) ContextValidate added in v0.75.0

ContextValidate validate this hashicorp cloud resourcemanager resource set iam policy response based on the context it is used

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) MarshalBinary added in v0.75.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) UnmarshalBinary added in v0.75.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) Validate added in v0.75.0

Validate validates this hashicorp cloud resourcemanager resource set iam policy response

type HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest added in v0.75.0

type HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest struct {

	// Permissions to test.
	Permissions []string `json:"permissions"`

	// resource is the scope of the permissions that is going to be retrieved.
	Resource *HashicorpCloudResourcemanagerResource `json:"resource,omitempty"`
}

HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest see ResourceService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.ResourceTestIamPermissionsRequest

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) ContextValidate added in v0.75.0

ContextValidate validate this hashicorp cloud resourcemanager resource test iam permissions request based on the context it is used

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) MarshalBinary added in v0.75.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) UnmarshalBinary added in v0.75.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) Validate added in v0.75.0

Validate validates this hashicorp cloud resourcemanager resource test iam permissions request

type HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse added in v0.75.0

type HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse struct {

	// AllowedPermissions are a subset of the request permissions the calling principal has for the resource.
	AllowedPermissions []string `json:"allowed_permissions"`
}

HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse see ResourceService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.ResourceTestIamPermissionsResponse

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) ContextValidate added in v0.75.0

ContextValidate validates this hashicorp cloud resourcemanager resource test iam permissions response based on context it is used

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) MarshalBinary added in v0.75.0

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) UnmarshalBinary added in v0.75.0

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) Validate added in v0.75.0

Validate validates this hashicorp cloud resourcemanager resource test iam permissions response

type HashicorpCloudResourcemanagerRole added in v0.58.0

type HashicorpCloudResourcemanagerRole struct {

	// Description provides information regarding the purpose of this role.
	Description string `json:"description,omitempty"`

	// ID is the globally unique identifier for this role.
	// Examples:
	// * roles/contributor
	// * organizations/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-role (custom role scoped to an organization)
	// * projects/30788e25-a942-470a-9a75-128cc7b97fde/roles/my-custom-project-role
	//
	// Builtin roles are prefixed with "roles/"
	ID string `json:"id,omitempty"`

	// Permissions is a set of allowed permissions in the format: <service>.<noun>.<action>
	// Examples:
	// * network.hvns.create
	// * network.hvns.read
	// * consul.clusters.create
	Permissions []string `json:"permissions"`

	// Title is a display name for this role.
	Title string `json:"title,omitempty"`

	// Version is the instance of this role - version is incremented when a
	// permission is added or removed and when other metadata is changed.
	Version int32 `json:"version,omitempty"`
}

HashicorpCloudResourcemanagerRole Role binds a name to a set of permissions.

swagger:model hashicorp.cloud.resourcemanager.Role

func (*HashicorpCloudResourcemanagerRole) ContextValidate added in v0.58.0

func (m *HashicorpCloudResourcemanagerRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hashicorp cloud resourcemanager role based on context it is used

func (*HashicorpCloudResourcemanagerRole) MarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerRole) UnmarshalBinary added in v0.58.0

func (m *HashicorpCloudResourcemanagerRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerRole) Validate added in v0.58.0

Validate validates this hashicorp cloud resourcemanager role

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL