models

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleProtobufAny

type GoogleProtobufAny struct {

	// A URL/resource name that uniquely identifies the type of the serialized
	// protocol buffer message. This string must contain at least
	// one "/" character. The last segment of the URL's path must represent
	// the fully qualified name of the type (as in
	// `path/google.protobuf.Duration`). The name should be in a canonical form
	// (e.g., leading "." is not accepted).
	//
	// In practice, teams usually precompile into the binary all types that they
	// expect it to use in the context of Any. However, for URLs which use the
	// scheme `http`, `https`, or no scheme, one can optionally set up a type
	// server that maps type URLs to message definitions as follows:
	//
	// * If no scheme is provided, `https` is assumed.
	// * An HTTP GET on the URL must yield a [google.protobuf.Type][]
	//   value in binary format, or produce an error.
	// * Applications are allowed to cache lookup results based on the
	//   URL, or have them precompiled into a binary to avoid any
	//   lookup. Therefore, binary compatibility needs to be preserved
	//   on changes to types. (Use versioned type names to manage
	//   breaking changes.)
	//
	// Note: this functionality is not currently available in the official
	// protobuf release, and it is not used for type URLs beginning with
	// type.googleapis.com. As of May 2023, there are no widely used type server
	// implementations and no plans to implement one.
	//
	// Schemes other than `http`, `https` (or the empty scheme) might be
	// used with implementation specific semantics.
	AtType string `json:"@type,omitempty"`

	// google protobuf any
	GoogleProtobufAny map[string]any `json:"-"`
}

GoogleProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.

Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type.

Example 1: Pack and unpack a message in C++.

Foo foo = ...;
Any any;
any.PackFrom(foo);
...
if (any.UnpackTo(&foo)) {
  ...
}

Example 2: Pack and unpack a message in Java.

   Foo foo = ...;
   Any any = Any.pack(foo);
   ...
   if (any.is(Foo.class)) {
     foo = any.unpack(Foo.class);
   }
   // or ...
   if (any.isSameTypeAs(Foo.getDefaultInstance())) {
     foo = any.unpack(Foo.getDefaultInstance());
   }

Example 3: Pack and unpack a message in Python.

   foo = Foo(...)
   any = Any()
   any.Pack(foo)
   ...
   if any.Is(Foo.DESCRIPTOR):
     any.Unpack(foo)
     ...

Example 4: Pack and unpack a message in Go

    foo := &pb.Foo{...}
    any, err := anypb.New(foo)
    if err != nil {
      ...
    }
    ...
    foo := &pb.Foo{}
    if err := any.UnmarshalTo(foo); err != nil {
      ...
    }

The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z".

JSON ==== The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example:

package google.profile;
message Person {
  string first_name = 1;
  string last_name = 2;
}

{
  "@type": "type.googleapis.com/google.profile.Person",
  "firstName": <string>,
  "lastName": <string>
}

If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]):

{
  "@type": "type.googleapis.com/google.protobuf.Duration",
  "value": "1.212s"
}

swagger:model google.protobuf.Any

func (*GoogleProtobufAny) ContextValidate

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

ContextValidate validates this google protobuf any based on context it is used

func (*GoogleProtobufAny) MarshalBinary

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

MarshalBinary interface implementation

func (GoogleProtobufAny) MarshalJSON

func (m GoogleProtobufAny) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with additional properties into a JSON object

func (*GoogleProtobufAny) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GoogleProtobufAny) UnmarshalJSON

func (m *GoogleProtobufAny) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals this object with additional properties from JSON

func (*GoogleProtobufAny) Validate

func (m *GoogleProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this google protobuf any

type GoogleRPCStatus

type GoogleRPCStatus struct {

	// The status code, which should be an enum value of
	// [google.rpc.Code][google.rpc.Code].
	Code int32 `json:"code,omitempty"`

	// A list of messages that carry the error details.  There is a common set of
	// message types for APIs to use.
	Details []*GoogleProtobufAny `json:"details"`

	// A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// [google.rpc.Status.details][google.rpc.Status.details] field, or localized
	// by the client.
	Message string `json:"message,omitempty"`
}

GoogleRPCStatus The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

swagger:model google.rpc.Status

func (*GoogleRPCStatus) ContextValidate

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

ContextValidate validate this google rpc status based on the context it is used

func (*GoogleRPCStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*GoogleRPCStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GoogleRPCStatus) Validate

func (m *GoogleRPCStatus) Validate(formats strfmt.Registry) error

Validate validates this google rpc status

type HashicorpCloudCommonPaginationRequest

type HashicorpCloudCommonPaginationRequest struct {

	// 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.
	NextPageToken string `json:"next_page_token,omitempty"`

	// 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.
	PageSize int64 `json:"page_size,omitempty"`

	// 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.
	PreviousPageToken string `json:"previous_page_token,omitempty"`
}

HashicorpCloudCommonPaginationRequest PaginationRequest are the parameters for a paginated list request.

swagger:model hashicorp.cloud.common.PaginationRequest

func (*HashicorpCloudCommonPaginationRequest) ContextValidate

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

ContextValidate validates this hashicorp cloud common pagination request based on context it is used

func (*HashicorpCloudCommonPaginationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudCommonPaginationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudCommonPaginationRequest) Validate

Validate validates this hashicorp cloud common pagination request

type HashicorpCloudCommonPaginationResponse

type HashicorpCloudCommonPaginationResponse struct {

	// This token allows you to get the next page of results for list requests.
	// If the number of results is larger than `page_size`, use the
	// `next_page_token` as a value for the query parameter `next_page_token` in
	// the next request. The value will become empty when there are no more pages.
	NextPageToken string `json:"next_page_token,omitempty"`

	// This token allows you to get the previous page of results for list
	// requests. If the number of results is larger than `page_size`, use the
	// `previous_page_token` as a value for the query parameter
	// `previous_page_token` in the next request. The value will become empty when
	// there are no more pages.
	PreviousPageToken string `json:"previous_page_token,omitempty"`
}

HashicorpCloudCommonPaginationResponse PaginationResponse is the response holding the page tokens for a paginated list response.

swagger:model hashicorp.cloud.common.PaginationResponse

func (*HashicorpCloudCommonPaginationResponse) ContextValidate

ContextValidate validates this hashicorp cloud common pagination response based on context it is used

func (*HashicorpCloudCommonPaginationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudCommonPaginationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudCommonPaginationResponse) Validate

Validate validates this hashicorp cloud common pagination response

type HashicorpCloudCommonSortingRequest

type HashicorpCloudCommonSortingRequest struct {

	// Specifies the list of per field ordering that should be used for sorting.
	// The order matters as rows are sorted in order by fields and when the field
	// matches, the next field is used to tie break the ordering.
	// The per field default ordering is ascending.
	//
	// The fields should be immutabile, unique, and orderable. If the field is
	// not unique, more than one sort fields should be passed.
	//
	// Example: oder_by=name,age desc,created_at asc
	// In that case, 'name' will get the default 'ascending' order.
	OrderBy []string `json:"order_by"`
}

HashicorpCloudCommonSortingRequest SortingRequest are the parameters for a sorted list request.

swagger:model hashicorp.cloud.common.SortingRequest

func (*HashicorpCloudCommonSortingRequest) ContextValidate

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

ContextValidate validates this hashicorp cloud common sorting request based on context it is used

func (*HashicorpCloudCommonSortingRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudCommonSortingRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudCommonSortingRequest) Validate

Validate validates this hashicorp cloud common sorting request

type HashicorpCloudLocationLink struct {

	// description is a human-friendly description for this link. This is
	// used primarily for informational purposes such as error messages.
	Description string `json:"description,omitempty"`

	// id is the identifier for this resource.
	ID string `json:"id,omitempty"`

	// location is the location where this resource is.
	Location *HashicorpCloudLocationLocation `json:"location,omitempty"`

	// type is the unique type of the resource. Each service publishes a
	// unique set of types. The type value is recommended to be formatted
	// in "<org>.<type>" such as "hashicorp.hvn". This is to prevent conflicts
	// in the future, but any string value will work.
	Type string `json:"type,omitempty"`

	// uuid is the unique UUID for this resource.
	UUID string `json:"uuid,omitempty"`
}

HashicorpCloudLocationLink Link is used to uniquely reference any resource within HashiCorp Cloud. This can be conceptually considered a "foreign key".

swagger:model hashicorp.cloud.location.Link

func (*HashicorpCloudLocationLink) ContextValidate

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

ContextValidate validate this hashicorp cloud location link based on the context it is used

func (*HashicorpCloudLocationLink) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudLocationLink) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudLocationLink) Validate

func (m *HashicorpCloudLocationLink) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud location link

type HashicorpCloudLocationLocation

type HashicorpCloudLocationLocation struct {

	// organization_id is the id of the organization.
	OrganizationID string `json:"organization_id,omitempty"`

	// project_id is the projects id.
	ProjectID string `json:"project_id,omitempty"`

	// region is the region that the resource is located in. It is
	// optional if the object being referenced is a global object.
	Region *HashicorpCloudLocationRegion `json:"region,omitempty"`
}

HashicorpCloudLocationLocation Location represents a target for an operation in HCP.

swagger:model hashicorp.cloud.location.Location

func (*HashicorpCloudLocationLocation) ContextValidate

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

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

func (*HashicorpCloudLocationLocation) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudLocationLocation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudLocationLocation) Validate

func (m *HashicorpCloudLocationLocation) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud location location

type HashicorpCloudLocationRegion

type HashicorpCloudLocationRegion struct {

	// provider is the named cloud provider ("aws", "gcp", "azure")
	Provider string `json:"provider,omitempty"`

	// region is the cloud region ("us-west1", "us-east1")
	Region string `json:"region,omitempty"`
}

HashicorpCloudLocationRegion Region identifies a Cloud data-plane region.

swagger:model hashicorp.cloud.location.Region

func (*HashicorpCloudLocationRegion) ContextValidate

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

ContextValidate validates this hashicorp cloud location region based on context it is used

func (*HashicorpCloudLocationRegion) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudLocationRegion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudLocationRegion) Validate

func (m *HashicorpCloudLocationRegion) Validate(formats strfmt.Registry) error

Validate validates this hashicorp cloud location region

type HashicorpCloudOperationOperation

type HashicorpCloudOperationOperation struct {

	// CreatedAt is the timestamp of when the operation was first created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// error is the error that occurred in the operation.
	Error *GoogleRPCStatus `json:"error,omitempty"`

	// id is the unique ID for this operation used in other RPC calls.
	// This ID is only guaranteed to be unique within the region that
	// the operation is running in.
	ID string `json:"id,omitempty"`

	// Link is the resource link the operation is associated with.
	Link *HashicorpCloudLocationLink `json:"link,omitempty"`

	// Location is location of the resource that this operation belongs to.
	Location *HashicorpCloudLocationLocation `json:"location,omitempty"`

	// response is the result of the operation. See the documentation for the API
	// call creating the operation to understand what the value of this is.
	Response *GoogleProtobufAny `json:"response,omitempty"`

	// state is the current state of the operation. This is a simple tri-state:
	// PENDING means the operation is created but not yet started, RUNNING means
	// the operation is currently running (though it may be very long-running),
	// and DONE means the operation is complete whether successfully or not.
	State *HashicorpCloudOperationOperationState `json:"state,omitempty"`

	// UpdatedAt is the timestamp of when the operation was last updated.
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`
}

HashicorpCloudOperationOperation Operation represents a single operation.

swagger:model hashicorp.cloud.operation.Operation

func (*HashicorpCloudOperationOperation) ContextValidate

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

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

func (*HashicorpCloudOperationOperation) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudOperationOperation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudOperationOperation) Validate

Validate validates this hashicorp cloud operation operation

type HashicorpCloudOperationOperationState

type HashicorpCloudOperationOperationState string

HashicorpCloudOperationOperationState State is one of the states that an Operation can be in.

The states are purposely coarse grained to make it easy to understand the operation state machine: pending => running => done. Or pending => queued => running => done. No other state transitions are possible. Success/failure can be determined based on the result oneof.

swagger:model hashicorp.cloud.operation.Operation.State

const (

	// HashicorpCloudOperationOperationStatePENDING captures enum value "PENDING"
	HashicorpCloudOperationOperationStatePENDING HashicorpCloudOperationOperationState = "PENDING"

	// HashicorpCloudOperationOperationStateRUNNING captures enum value "RUNNING"
	HashicorpCloudOperationOperationStateRUNNING HashicorpCloudOperationOperationState = "RUNNING"

	// HashicorpCloudOperationOperationStateDONE captures enum value "DONE"
	HashicorpCloudOperationOperationStateDONE HashicorpCloudOperationOperationState = "DONE"

	// HashicorpCloudOperationOperationStateQUEUED captures enum value "QUEUED"
	HashicorpCloudOperationOperationStateQUEUED HashicorpCloudOperationOperationState = "QUEUED"
)

func (HashicorpCloudOperationOperationState) ContextValidate

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

func (HashicorpCloudOperationOperationState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudOperationOperationState.

func (HashicorpCloudOperationOperationState) Validate

Validate validates this hashicorp cloud operation operation state

type HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest

type HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest struct {

	// Permissions is the set of permissions to test.
	Permissions []string `json:"permissions"`

	// ResourceId holds the unique, immutable and non-reusable ID of the resource.
	//
	// Example formats include:
	//   - vault.cluster:t79BRg8WhTmDPBRM
	//   - vagrant.box:gTmD2KMMRt9DWhJz
	ResourceID string `json:"resource_id,omitempty"`

	// ResourceName holds the Resource Name in the Resource Identifier v2 format.
	// This parameter is expected to be provided only for external calls.
	//
	// Example formats include:
	//   - vault/project/e1e04e11-d590-41cf-b818-1535bc4b4889/cluster/my-cluster
	//   - vagrant/organization/ubuntu/box/lunar64/version/v20230130.0.0
	//   - iam/organization/zBmk8k7Pk99ph7Kr/service-principal/my-sp-43563412
	//   - consul/project/e57a01aa-1929-40e8-80b8-4907fc46429c/cluster/my-cluster
	//
	// In case of organization or project level authorization the ResourceName is
	// expected to be provided in the following format:
	//   - organization/863063b6-c485-4cf4-8df3-6991a2ffd4b4
	//   - project/e1e04e11-d590-41cf-b818-1535bc4b4889
	//   - project/gTmD2KMMRt9DWhJz
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest AuthorizationTestIamPermissionsRequest is a request to test a set of permissions.

swagger:model hashicorp.cloud.resourcemanager.AuthorizationTestIamPermissionsRequest

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager authorization test iam permissions request based on context it is used

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest) Validate

Validate validates this hashicorp cloud resourcemanager authorization test iam permissions request

type HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse

type HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse struct {

	// AllowedPermissions is the set of permissions granted.
	// It is a subset of AuthorizationTestIamPermissionsRequest.Permissions.
	AllowedPermissions []string `json:"allowed_permissions"`
}

HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse AuthorizationTestIamPermissionsResponse is the set of granted permissions for the AuthorizationTestIamPermissionsRequest.

swagger:model hashicorp.cloud.resourcemanager.AuthorizationTestIamPermissionsResponse

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse) Validate

Validate validates this hashicorp cloud resourcemanager authorization test iam permissions response

type HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest

type HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest struct {

	// resources is the list of resources to test with a set of permissions.
	Resources []*HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsRequest `json:"resources"`
}

HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest BatchAuthorizationTestIamPermissionsRequest is a request to test a set of permissions for multiple resources.

swagger:model hashicorp.cloud.resourcemanager.BatchAuthorizationTestIamPermissionsRequest

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest) ContextValidate

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

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsRequest) Validate

Validate validates this hashicorp cloud resourcemanager batch authorization test iam permissions request

type HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse

type HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse struct {

	// resource_permissions is a map of resource_id and/or resource_name to the granted permissions.
	// The key is determined by whether or not the resource_id/resource_name is a non-empty string.
	// Take for example the following psuedo-code:
	//
	// Request:
	// [
	//   {
	//     Permissions: [...],
	//     ResourceId: "abc123",
	//     ResourceName: "",
	//   },
	//   {
	//     Permissions: [...],
	//     ResourceId: "",
	//     ResourceName: "iam/group/456"
	//   },
	//   {
	//     Permissions: [...],
	//     ResourceId: "def789",
	//     ResourceName: "iam/group/789",
	//   },
	// ]
	//
	// Response:
	// {
	//    "abc123": { AllowedPermissions: [...] },
	//    "iam/group/456": { AllowedPermissions: [...] },
	//    "def789": { AllowedPermissions: [...] },
	//    "iam/group/789": { AllowedPermissions: [...] },
	// }
	ResourcePermissions map[string]HashicorpCloudResourcemanagerAuthorizationTestIamPermissionsResponse `json:"resource_permissions,omitempty"`
}

HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse BatchAuthorizationTestIamPermissionsResponse is the set of granted permissions for multiple resources.

swagger:model hashicorp.cloud.resourcemanager.BatchAuthorizationTestIamPermissionsResponse

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse) ContextValidate

ContextValidate validate this hashicorp cloud resourcemanager batch authorization test iam permissions response based on the context it is used

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBatchAuthorizationTestIamPermissionsResponse) Validate

Validate validates this hashicorp cloud resourcemanager batch authorization test iam permissions response

type HashicorpCloudResourcemanagerBillingAccountDetails

type HashicorpCloudResourcemanagerBillingAccountDetails struct {

	// country is the billing account's ISO 3166-1 alpha-2 country code used for
	// selecting country-specific prices and for invoicing.
	Country string `json:"country,omitempty"`

	// id is the user-settable ID for this Billing Account. It must be unique
	// within the organization.
	ID string `json:"id,omitempty"`

	// name is the Billing Account's user-defined name.
	Name string `json:"name,omitempty"`

	// project_ids is the list of IDs of all projects associated with the Billing
	// Account. Projects can be linked to *at most* one Billing Account.
	ProjectIds []string `json:"project_ids"`
}

HashicorpCloudResourcemanagerBillingAccountDetails BillingAccountDetails contains the information needed to create a billing account for the organization.

swagger:model hashicorp.cloud.resourcemanager.BillingAccountDetails

func (*HashicorpCloudResourcemanagerBillingAccountDetails) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager billing account details based on context it is used

func (*HashicorpCloudResourcemanagerBillingAccountDetails) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBillingAccountDetails) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBillingAccountDetails) Validate

Validate validates this hashicorp cloud resourcemanager billing account details

type HashicorpCloudResourcemanagerBillingDetail

type HashicorpCloudResourcemanagerBillingDetail struct {

	// account id
	AccountID string `json:"account_id,omitempty"`

	// status
	Status string `json:"status,omitempty"`
}

HashicorpCloudResourcemanagerBillingDetail BillingDetail provides information about a billing item causing a failure.

swagger:model hashicorp.cloud.resourcemanager.BillingDetail

func (*HashicorpCloudResourcemanagerBillingDetail) ContextValidate

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

func (*HashicorpCloudResourcemanagerBillingDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBillingDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerBillingDetail) Validate

Validate validates this hashicorp cloud resourcemanager billing detail

type HashicorpCloudResourcemanagerCheckID

type HashicorpCloudResourcemanagerCheckID string

HashicorpCloudResourcemanagerCheckID Enumerates all supported checks across categories.

  • CHECK_ID_BILLING_IS_ONLY_ACCOUNT: BILLING

Is only account checks that this billing account is this org's only account.

  • CHECK_ID_BILLING_VALID_ACCOUNT_STATUS: Valid account status checks that the billing account has a valid status

either "ACTIVE", "DELETING", or "TRIAL".

  • CHECK_ID_BILLING_NO_ACTIVE_CONTRACTS: No active contracts checks that the billing account does not have an

active Flex or Entitlement contract.

  • CHECK_ID_BILLING_NO_UNPAID_INVOICES: No unpaid invoices checks that the billing account does not have any

unpaid invoices remaining.

  • CHECK_ID_BILLING_NO_ACTIVE_BILLED_RESOURCES: No active billed resources checks that the billing account does not have

any billed resources attached to it anymore.

  • CHECK_ID_BILLING_NO_ACCOUNTS: No accounts checks that the organization has no billing accounts

remaining.

  • CHECK_ID_IDENTITY_NO_NON_OWNER_REMAINS: IDENTITY
  • CHECK_ID_RESOURCES_EMPTY: RESOURCES
  • CHECK_ID_INFRAGRAPH_NO_CONNECTIONS: INFRAGRAPH

No connections checks that the organization has no InfraGraph connection resources remaining.

swagger:model hashicorp.cloud.resourcemanager.CheckId

const (

	// HashicorpCloudResourcemanagerCheckIDCHECKIDUNSPECIFIED captures enum value "CHECK_ID_UNSPECIFIED"
	HashicorpCloudResourcemanagerCheckIDCHECKIDUNSPECIFIED HashicorpCloudResourcemanagerCheckID = "CHECK_ID_UNSPECIFIED"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGISONLYACCOUNT captures enum value "CHECK_ID_BILLING_IS_ONLY_ACCOUNT"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGISONLYACCOUNT HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_IS_ONLY_ACCOUNT"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGVALIDACCOUNTSTATUS captures enum value "CHECK_ID_BILLING_VALID_ACCOUNT_STATUS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGVALIDACCOUNTSTATUS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_VALID_ACCOUNT_STATUS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACTIVECONTRACTS captures enum value "CHECK_ID_BILLING_NO_ACTIVE_CONTRACTS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACTIVECONTRACTS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_NO_ACTIVE_CONTRACTS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOUNPAIDINVOICES captures enum value "CHECK_ID_BILLING_NO_UNPAID_INVOICES"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOUNPAIDINVOICES HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_NO_UNPAID_INVOICES"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACTIVEBILLEDRESOURCES captures enum value "CHECK_ID_BILLING_NO_ACTIVE_BILLED_RESOURCES"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACTIVEBILLEDRESOURCES HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_NO_ACTIVE_BILLED_RESOURCES"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACCOUNTS captures enum value "CHECK_ID_BILLING_NO_ACCOUNTS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDBILLINGNOACCOUNTS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_BILLING_NO_ACCOUNTS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNONONOWNERREMAINS captures enum value "CHECK_ID_IDENTITY_NO_NON_OWNER_REMAINS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNONONOWNERREMAINS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_IDENTITY_NO_NON_OWNER_REMAINS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNONONOWNERGROUPREMAINS captures enum value "CHECK_ID_IDENTITY_NO_NON_OWNER_GROUP_REMAINS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNONONOWNERGROUPREMAINS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_IDENTITY_NO_NON_OWNER_GROUP_REMAINS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYSSONOTENABLED captures enum value "CHECK_ID_IDENTITY_SSO_NOT_ENABLED"
	HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYSSONOTENABLED HashicorpCloudResourcemanagerCheckID = "CHECK_ID_IDENTITY_SSO_NOT_ENABLED"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYSCIMNOTENABLED captures enum value "CHECK_ID_IDENTITY_SCIM_NOT_ENABLED"
	HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYSCIMNOTENABLED HashicorpCloudResourcemanagerCheckID = "CHECK_ID_IDENTITY_SCIM_NOT_ENABLED"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNOSERVICEPRINCIPALREMAINS captures enum value "CHECK_ID_IDENTITY_NO_SERVICE_PRINCIPAL_REMAINS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDIDENTITYNOSERVICEPRINCIPALREMAINS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_IDENTITY_NO_SERVICE_PRINCIPAL_REMAINS"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDRESOURCESEMPTY captures enum value "CHECK_ID_RESOURCES_EMPTY"
	HashicorpCloudResourcemanagerCheckIDCHECKIDRESOURCESEMPTY HashicorpCloudResourcemanagerCheckID = "CHECK_ID_RESOURCES_EMPTY"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDRESOURCESNOPROJECTSEXIST captures enum value "CHECK_ID_RESOURCES_NO_PROJECTS_EXIST"
	HashicorpCloudResourcemanagerCheckIDCHECKIDRESOURCESNOPROJECTSEXIST HashicorpCloudResourcemanagerCheckID = "CHECK_ID_RESOURCES_NO_PROJECTS_EXIST"

	// HashicorpCloudResourcemanagerCheckIDCHECKIDINFRAGRAPHNOCONNECTIONS captures enum value "CHECK_ID_INFRAGRAPH_NO_CONNECTIONS"
	HashicorpCloudResourcemanagerCheckIDCHECKIDINFRAGRAPHNOCONNECTIONS HashicorpCloudResourcemanagerCheckID = "CHECK_ID_INFRAGRAPH_NO_CONNECTIONS"
)

func (HashicorpCloudResourcemanagerCheckID) ContextValidate

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

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

func (HashicorpCloudResourcemanagerCheckID) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerCheckID.

func (HashicorpCloudResourcemanagerCheckID) Validate

Validate validates this hashicorp cloud resourcemanager check Id

type HashicorpCloudResourcemanagerCheckResult

type HashicorpCloudResourcemanagerCheckResult struct {

	// Stable identifier for the check.
	CheckID *HashicorpCloudResourcemanagerCheckID `json:"check_id,omitempty"`

	// Reasons for the failure, skipped, or unknown result.
	FailureDetails *HashicorpCloudResourcemanagerFailureDetails `json:"failure_details,omitempty"`

	// Status of the check: PASS, FAIL, UNKNOWN, or SKIPPED.
	Status *HashicorpCloudResourcemanagerCheckStatus `json:"status,omitempty"`
}

HashicorpCloudResourcemanagerCheckResult Result of an individual check.

swagger:model hashicorp.cloud.resourcemanager.CheckResult

func (*HashicorpCloudResourcemanagerCheckResult) ContextValidate

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

func (*HashicorpCloudResourcemanagerCheckResult) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerCheckResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerCheckResult) Validate

Validate validates this hashicorp cloud resourcemanager check result

type HashicorpCloudResourcemanagerCheckStatus

type HashicorpCloudResourcemanagerCheckStatus string

HashicorpCloudResourcemanagerCheckStatus Status of an individual check.

swagger:model hashicorp.cloud.resourcemanager.CheckStatus

const (

	// HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSUNSPECIFIED captures enum value "CHECK_STATUS_UNSPECIFIED"
	HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSUNSPECIFIED HashicorpCloudResourcemanagerCheckStatus = "CHECK_STATUS_UNSPECIFIED"

	// HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSPASS captures enum value "CHECK_STATUS_PASS"
	HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSPASS HashicorpCloudResourcemanagerCheckStatus = "CHECK_STATUS_PASS"

	// HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSFAIL captures enum value "CHECK_STATUS_FAIL"
	HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSFAIL HashicorpCloudResourcemanagerCheckStatus = "CHECK_STATUS_FAIL"

	// HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSUNKNOWN captures enum value "CHECK_STATUS_UNKNOWN"
	HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSUNKNOWN HashicorpCloudResourcemanagerCheckStatus = "CHECK_STATUS_UNKNOWN"

	// HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSSKIPPED captures enum value "CHECK_STATUS_SKIPPED"
	HashicorpCloudResourcemanagerCheckStatusCHECKSTATUSSKIPPED HashicorpCloudResourcemanagerCheckStatus = "CHECK_STATUS_SKIPPED"
)

func (HashicorpCloudResourcemanagerCheckStatus) ContextValidate

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

func (HashicorpCloudResourcemanagerCheckStatus) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerCheckStatus.

func (HashicorpCloudResourcemanagerCheckStatus) Validate

Validate validates this hashicorp cloud resourcemanager check status

type HashicorpCloudResourcemanagerConstraint

type HashicorpCloudResourcemanagerConstraint struct {

	// DeniedPermissions is the list of denied permissions.
	DeniedPermissions []string `json:"denied_permissions"`

	// Description is friendly description for this constraint.
	Description string `json:"description,omitempty"`

	// Id is defined by services when registered. Validated for format "constraints/service.name".
	ID string `json:"id,omitempty"`

	// Service is the name of the service that constraint belongs to .
	Service string `json:"service,omitempty"`

	// Title is friendly name for this constraint.
	Title string `json:"title,omitempty"`
}

HashicorpCloudResourcemanagerConstraint Constraint has the information about the policy constraints

swagger:model hashicorp.cloud.resourcemanager.Constraint

func (*HashicorpCloudResourcemanagerConstraint) ContextValidate

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

func (*HashicorpCloudResourcemanagerConstraint) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerConstraint) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerConstraint) Validate

Validate validates this hashicorp cloud resourcemanager constraint

type HashicorpCloudResourcemanagerFailureDetails

type HashicorpCloudResourcemanagerFailureDetails struct {

	// Optional list of items that caused the failure.
	Items []*HashicorpCloudResourcemanagerItemDetail `json:"items"`

	// Human-readable reason for FAIL, SKIPPED, or UNKNOWN.
	Reason string `json:"reason,omitempty"`
}

HashicorpCloudResourcemanagerFailureDetails hashicorp cloud resourcemanager failure details

swagger:model hashicorp.cloud.resourcemanager.FailureDetails

func (*HashicorpCloudResourcemanagerFailureDetails) ContextValidate

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

func (*HashicorpCloudResourcemanagerFailureDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerFailureDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerFailureDetails) Validate

Validate validates this hashicorp cloud resourcemanager failure details

type HashicorpCloudResourcemanagerGetResourceResponse

type HashicorpCloudResourcemanagerGetResourceResponse struct {

	// ParentId is the ID of the parent of the registered resource.
	ParentID string `json:"parent_id,omitempty"`

	// ResourceId is the ID of the registered resource.
	ResourceID string `json:"resource_id,omitempty"`

	// ResourceName is the name of the registered resource.
	ResourceName string `json:"resource_name,omitempty"`

	// ResourceType is the type of the registered resource.
	ResourceType string `json:"resource_type,omitempty"`
}

HashicorpCloudResourcemanagerGetResourceResponse GetResourceResponse is the response for GetResource RPC

swagger:model hashicorp.cloud.resourcemanager.GetResourceResponse

func (*HashicorpCloudResourcemanagerGetResourceResponse) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager get resource response based on context it is used

func (*HashicorpCloudResourcemanagerGetResourceResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerGetResourceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerGetResourceResponse) Validate

Validate validates this hashicorp cloud resourcemanager get resource response

type HashicorpCloudResourcemanagerGroupDetail

type HashicorpCloudResourcemanagerGroupDetail struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// resource name
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudResourcemanagerGroupDetail GroupDetail provides information about a group causing a failure.

swagger:model hashicorp.cloud.resourcemanager.GroupDetail

func (*HashicorpCloudResourcemanagerGroupDetail) ContextValidate

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

func (*HashicorpCloudResourcemanagerGroupDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerGroupDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerGroupDetail) Validate

Validate validates this hashicorp cloud resourcemanager group detail

type HashicorpCloudResourcemanagerItemDetail

type HashicorpCloudResourcemanagerItemDetail struct {

	// billing
	Billing *HashicorpCloudResourcemanagerBillingDetail `json:"billing,omitempty"`

	// group
	Group *HashicorpCloudResourcemanagerGroupDetail `json:"group,omitempty"`

	// resource
	Resource *HashicorpCloudResourcemanagerResourceDetail `json:"resource,omitempty"`

	// service principal
	ServicePrincipal *HashicorpCloudResourcemanagerServicePrincipalDetail `json:"service_principal,omitempty"`

	// user
	User *HashicorpCloudResourcemanagerUserDetail `json:"user,omitempty"`
}

HashicorpCloudResourcemanagerItemDetail Detailed information about a resource, user, or other item causing a failure.

swagger:model hashicorp.cloud.resourcemanager.ItemDetail

func (*HashicorpCloudResourcemanagerItemDetail) ContextValidate

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

func (*HashicorpCloudResourcemanagerItemDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerItemDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerItemDetail) Validate

Validate validates this hashicorp cloud resourcemanager item detail

type HashicorpCloudResourcemanagerListRolesResponse

type HashicorpCloudResourcemanagerListRolesResponse struct {

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

	// Roles is list of roles applicable on the resource
	Roles []*HashicorpCloudResourcemanagerRole `json:"roles"`
}

HashicorpCloudResourcemanagerListRolesResponse hashicorp cloud resourcemanager list roles response

swagger:model hashicorp.cloud.resourcemanager.ListRolesResponse

func (*HashicorpCloudResourcemanagerListRolesResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerListRolesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerListRolesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerListRolesResponse) Validate

Validate validates this hashicorp cloud resourcemanager list roles response

type HashicorpCloudResourcemanagerOrganization

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"`

	// TfcSynced is true if this organization has synced to TFC.
	TfcSynced bool `json:"tfc_synced,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

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

func (*HashicorpCloudResourcemanagerOrganization) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganization) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganization) Validate

Validate validates this hashicorp cloud resourcemanager organization

type HashicorpCloudResourcemanagerOrganizationCreateRequest

type HashicorpCloudResourcemanagerOrganizationCreateRequest struct {

	// billing_account_details contains the optional information needed to create
	// a default billing account for the organization.
	BillingAccountDetails *HashicorpCloudResourcemanagerBillingAccountDetails `json:"billing_account_details,omitempty"`

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

	// organization_ownership_details contains the optional information needed to
	// create an organization ownership and business information record.
	OrganizationOwnershipDetails *HashicorpCloudResourcemanagerOrganizationOwnershipDetails `json:"organization_ownership_details,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationCreateRequest see OrganizationService.Create

swagger:model hashicorp.cloud.resourcemanager.OrganizationCreateRequest

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateRequest) Validate

Validate validates this hashicorp cloud resourcemanager organization create request

type HashicorpCloudResourcemanagerOrganizationCreateResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationCreateResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization create response

type HashicorpCloudResourcemanagerOrganizationDeleteResponse

type HashicorpCloudResourcemanagerOrganizationDeleteResponse any

HashicorpCloudResourcemanagerOrganizationDeleteResponse see OrganizationService.Delete

swagger:model hashicorp.cloud.resourcemanager.OrganizationDeleteResponse

type HashicorpCloudResourcemanagerOrganizationGetConstraintResponse

type HashicorpCloudResourcemanagerOrganizationGetConstraintResponse struct {

	// Constraint is the constraint that was requested.
	Constraint *HashicorpCloudResourcemanagerConstraint `json:"constraint,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationGetConstraintResponse OrganizationGetConstraintResponse see GetConstraint

swagger:model hashicorp.cloud.resourcemanager.OrganizationGetConstraintResponse

func (*HashicorpCloudResourcemanagerOrganizationGetConstraintResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationGetConstraintResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetConstraintResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetConstraintResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get constraint response

type HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get iam policy response

type HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse

type HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse struct {

	// enabled_constraints is the list of constraint IDs that are currently enabled.
	EnabledConstraints []string `json:"enabled_constraints"`

	// etag identifies this version of the resource control policy for optimistic concurrency control.
	Etag string `json:"etag,omitempty"`

	// organization_id is the identifier of the organization.
	OrganizationID string `json:"organization_id,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse OrganizationGetResourceControlPolicyResponse see OrganizationService.GetResourceControlPolicy

swagger:model hashicorp.cloud.resourcemanager.OrganizationGetResourceControlPolicyResponse

func (*HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager organization get resource control policy response based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResourceControlPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get resource control policy response

type HashicorpCloudResourcemanagerOrganizationGetResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get response

type HashicorpCloudResourcemanagerOrganizationGetRoleResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationGetRoleResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization get role response

type HashicorpCloudResourcemanagerOrganizationListConstraintsResponse

type HashicorpCloudResourcemanagerOrganizationListConstraintsResponse struct {

	// Constraints contains a list of the provisioned policy constraints for organizations.
	Constraints []*HashicorpCloudResourcemanagerConstraint `json:"constraints"`

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

HashicorpCloudResourcemanagerOrganizationListConstraintsResponse OrganizationListConstraintsResponse see OrganizationService.ListConstraints

swagger:model hashicorp.cloud.resourcemanager.OrganizationListConstraintsResponse

func (*HashicorpCloudResourcemanagerOrganizationListConstraintsResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationListConstraintsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListConstraintsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListConstraintsResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization list constraints response

type HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse

type HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse struct {

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

	// projects is the list of projects using resources from the specified service.
	Projects []*HashicorpCloudResourcemanagerProject `json:"projects"`

	// total_count is the total number of projects using resources from the specified service.
	TotalCount int32 `json:"total_count,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse OrganizationListProjectsByServiceResponse see OrganizationService.ListProjectsByService

swagger:model hashicorp.cloud.resourcemanager.OrganizationListProjectsByServiceResponse

func (*HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListProjectsByServiceResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization list projects by service response

type HashicorpCloudResourcemanagerOrganizationListResponse

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 *HashicorpCloudCommonPaginationResponse `json:"pagination,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationListResponse see OrganizationService.List

swagger:model hashicorp.cloud.resourcemanager.OrganizationListResponse

func (*HashicorpCloudResourcemanagerOrganizationListResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization list response

type HashicorpCloudResourcemanagerOrganizationListRolesResponse

type HashicorpCloudResourcemanagerOrganizationListRolesResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *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

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

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationListRolesResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization list roles response

type HashicorpCloudResourcemanagerOrganizationOrganizationState

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

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

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerOrganizationOrganizationState.

func (HashicorpCloudResourcemanagerOrganizationOrganizationState) Validate

Validate validates this hashicorp cloud resourcemanager organization organization state

type HashicorpCloudResourcemanagerOrganizationOwner

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

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

func (*HashicorpCloudResourcemanagerOrganizationOwner) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwner) Validate

Validate validates this hashicorp cloud resourcemanager organization owner

type HashicorpCloudResourcemanagerOrganizationOwnershipDetails

type HashicorpCloudResourcemanagerOrganizationOwnershipDetails struct {

	// business
	Business *HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership `json:"business,omitempty"`

	// personal
	Personal HashicorpCloudResourcemanagerOrganizationOwnershipDetailsPersonalOwnership `json:"personal,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationOwnershipDetails OrganizationOwnershipDetails contains the information needed to create an organization ownership and business information record.

swagger:model hashicorp.cloud.resourcemanager.OrganizationOwnershipDetails

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetails) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetails) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetails) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetails) Validate

Validate validates this hashicorp cloud resourcemanager organization ownership details

type HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership

type HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership struct {

	// address_line1 the street, PO Box, or company name.
	AddressLine1 string `json:"address_line1,omitempty"`

	// address_line2 is the apartment, suite, unit, or building. This is an optional field.
	AddressLine2 string `json:"address_line2,omitempty"`

	// business_name is the name of the business.
	BusinessName string `json:"business_name,omitempty"`

	// city is a city, district, suburb, town, or village.
	City string `json:"city,omitempty"`

	// country_code is the business address ISO 3166-1 alpha-2 country code.
	CountryCode string `json:"country_code,omitempty"`

	// postal_code is the ZIP or postal code. This is an optional field.
	PostalCode string `json:"postal_code,omitempty"`

	// state is a state, county, province, or region. This is an optional field.
	State string `json:"state,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership BusinessOwnership holds the business name and address of the business the organization belongs to.

swagger:model hashicorp.cloud.resourcemanager.OrganizationOwnershipDetails.BusinessOwnership

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager organization ownership details business ownership based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationOwnershipDetailsBusinessOwnership) Validate

Validate validates this hashicorp cloud resourcemanager organization ownership details business ownership

type HashicorpCloudResourcemanagerOrganizationOwnershipDetailsPersonalOwnership

type HashicorpCloudResourcemanagerOrganizationOwnershipDetailsPersonalOwnership any

HashicorpCloudResourcemanagerOrganizationOwnershipDetailsPersonalOwnership hashicorp cloud resourcemanager organization ownership details personal ownership

swagger:model hashicorp.cloud.resourcemanager.OrganizationOwnershipDetails.PersonalOwnership

type HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse

type HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse struct {

	// The list of checks performed.
	Results []*HashicorpCloudResourcemanagerCheckResult `json:"results"`
}

HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse Response message for GetPreDeletionCheck RPC.

This endpoint returns raw check results only. Callers must interpret those results according to their workflow when deciding whether to proceed.

swagger:model hashicorp.cloud.resourcemanager.OrganizationPreDeletionCheckResponse

func (*HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse) ContextValidate

ContextValidate validate this hashicorp cloud resourcemanager organization pre deletion check response based on the context it is used

func (*HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationPreDeletionCheckResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization pre deletion check response

type HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody

type HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody struct {

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

HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody see OrganizationService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.OrganizationService.SetIamPolicyBody

func (*HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetIamPolicyBody) Validate

Validate validates this hashicorp cloud resourcemanager organization service set iam policy body

type HashicorpCloudResourcemanagerOrganizationServiceSetNameBody

type HashicorpCloudResourcemanagerOrganizationServiceSetNameBody struct {

	// Name is the new name of the organization.
	Name string `json:"name,omitempty"`
}

HashicorpCloudResourcemanagerOrganizationServiceSetNameBody see OrganizationService.SetName

swagger:model hashicorp.cloud.resourcemanager.OrganizationService.SetNameBody

func (*HashicorpCloudResourcemanagerOrganizationServiceSetNameBody) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager organization service set name body based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationServiceSetNameBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetNameBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetNameBody) Validate

Validate validates this hashicorp cloud resourcemanager organization service set name body

type HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody

type HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody struct {

	// Array of contraint_ids referencing constraints.id
	ConstraintIds []string `json:"constraint_ids"`

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

HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody SetResourceControlPolicyRequest see OrganizationService.SetResourceControlPolicy

swagger:model hashicorp.cloud.resourcemanager.OrganizationService.SetResourceControlPolicyBody

func (*HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager organization service set resource control policy body based on context it is used

func (*HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceSetResourceControlPolicyBody) Validate

Validate validates this hashicorp cloud resourcemanager organization service set resource control policy body

type HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody

type HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody struct {

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

HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody see OrganizationService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.OrganizationService.TestIamPermissionsBody

func (*HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody) ContextValidate

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

func (*HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationServiceTestIamPermissionsBody) Validate

Validate validates this hashicorp cloud resourcemanager organization service test iam permissions body

type HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization set iam policy response

type HashicorpCloudResourcemanagerOrganizationSetNameResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationSetNameResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization set name response

type HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse

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

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

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerOrganizationTestIamPermissionsResponse) Validate

Validate validates this hashicorp cloud resourcemanager organization test iam permissions response

type HashicorpCloudResourcemanagerPolicy

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

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

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicy) Validate

Validate validates this hashicorp cloud resourcemanager policy

type HashicorpCloudResourcemanagerPolicyBinding

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. roles/admin
	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

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

func (*HashicorpCloudResourcemanagerPolicyBinding) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBinding) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBinding) Validate

Validate validates this hashicorp cloud resourcemanager policy binding

type HashicorpCloudResourcemanagerPolicyBindingMember

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

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

func (*HashicorpCloudResourcemanagerPolicyBindingMember) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerPolicyBindingMember) Validate

Validate validates this hashicorp cloud resourcemanager policy binding member

type HashicorpCloudResourcemanagerPolicyBindingMemberType

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

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

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerPolicyBindingMemberType.

func (HashicorpCloudResourcemanagerPolicyBindingMemberType) Validate

Validate validates this hashicorp cloud resourcemanager policy binding member type

type HashicorpCloudResourcemanagerProject

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

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

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProject) Validate

Validate validates this hashicorp cloud resourcemanager project

type HashicorpCloudResourcemanagerProjectCreateRequest

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

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

func (*HashicorpCloudResourcemanagerProjectCreateRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateRequest) Validate

Validate validates this hashicorp cloud resourcemanager project create request

type HashicorpCloudResourcemanagerProjectCreateResponse

type HashicorpCloudResourcemanagerProjectCreateResponse struct {

	// operation_id is the ID of the operation that represents the async creation of the project.
	// The client should poll the returned operation until it is completed.
	// For more details on polling an operation, consult the [HCP Operations Service /wait endpoint documentation](https://developer.hashicorp.com/hcp/api-docs/operations#Wait).
	OperationID string `json:"operation_id,omitempty"`

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

HashicorpCloudResourcemanagerProjectCreateResponse see ProjectService.Create

swagger:model hashicorp.cloud.resourcemanager.ProjectCreateResponse

func (*HashicorpCloudResourcemanagerProjectCreateResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerProjectCreateResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectCreateResponse) Validate

Validate validates this hashicorp cloud resourcemanager project create response

type HashicorpCloudResourcemanagerProjectDeleteResponse

type HashicorpCloudResourcemanagerProjectDeleteResponse struct {

	// operation is the operation that represents the async delete.
	// The client should poll the returned operation until it is completed.
	// For more details on polling an operation, consult the [HCP Operations Service /wait endpoint documentation](https://developer.hashicorp.com/hcp/api-docs/operations#Wait).
	Operation *HashicorpCloudOperationOperation `json:"operation,omitempty"`
}

HashicorpCloudResourcemanagerProjectDeleteResponse ProjectDeleteResponse See ProjectService.Delete

swagger:model hashicorp.cloud.resourcemanager.ProjectDeleteResponse

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectDeleteResponse) Validate

Validate validates this hashicorp cloud resourcemanager project delete response

type HashicorpCloudResourcemanagerProjectGetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager project get iam policy response

type HashicorpCloudResourcemanagerProjectGetProjectsCountResponse

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

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

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetProjectsCountResponse) Validate

Validate validates this hashicorp cloud resourcemanager project get projects count response

type HashicorpCloudResourcemanagerProjectGetResponse

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

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

func (*HashicorpCloudResourcemanagerProjectGetResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectGetResponse) Validate

Validate validates this hashicorp cloud resourcemanager project get response

type HashicorpCloudResourcemanagerProjectListResponse

type HashicorpCloudResourcemanagerProjectListResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *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

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

func (*HashicorpCloudResourcemanagerProjectListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectListResponse) Validate

Validate validates this hashicorp cloud resourcemanager project list response

type HashicorpCloudResourcemanagerProjectProjectState

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

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

func (HashicorpCloudResourcemanagerProjectProjectState) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerProjectProjectState.

func (HashicorpCloudResourcemanagerProjectProjectState) Validate

Validate validates this hashicorp cloud resourcemanager project project state

type HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody

type HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody struct {

	// description is the value the project's description should be updated to.
	Description string `json:"description,omitempty"`
}

HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody ProjectSetDescriptionRequest see ProjectService.SetDescription

swagger:model hashicorp.cloud.resourcemanager.ProjectService.SetDescriptionBody

func (*HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager project service set description body based on context it is used

func (*HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetDescriptionBody) Validate

Validate validates this hashicorp cloud resourcemanager project service set description body

type HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody

type HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody struct {

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

HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody ProjectSetIamPolicyRequest see ProjectService.SetIamPolicy

swagger:model hashicorp.cloud.resourcemanager.ProjectService.SetIamPolicyBody

func (*HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody) ContextValidate

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

func (*HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetIamPolicyBody) Validate

Validate validates this hashicorp cloud resourcemanager project service set iam policy body

type HashicorpCloudResourcemanagerProjectServiceSetNameBody

type HashicorpCloudResourcemanagerProjectServiceSetNameBody struct {

	// name is the value the project's name should be updated to.
	Name string `json:"name,omitempty"`
}

HashicorpCloudResourcemanagerProjectServiceSetNameBody ProjectSetNameRequest see ProjectService.SetName

swagger:model hashicorp.cloud.resourcemanager.ProjectService.SetNameBody

func (*HashicorpCloudResourcemanagerProjectServiceSetNameBody) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager project service set name body based on context it is used

func (*HashicorpCloudResourcemanagerProjectServiceSetNameBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetNameBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceSetNameBody) Validate

Validate validates this hashicorp cloud resourcemanager project service set name body

type HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody

type HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody struct {

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

HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody see ProjectService.TestIamPermissions

swagger:model hashicorp.cloud.resourcemanager.ProjectService.TestIamPermissionsBody

func (*HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody) ContextValidate

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

func (*HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectServiceTestIamPermissionsBody) Validate

Validate validates this hashicorp cloud resourcemanager project service test iam permissions body

type HashicorpCloudResourcemanagerProjectSetDescriptionResponse

type HashicorpCloudResourcemanagerProjectSetDescriptionResponse struct {

	// operation_id is the operation that represents the async update of the project description.
	// The client should poll the returned operation until it is completed.
	// For more details on polling an operation, consult the [HCP Operations Service /wait endpoint documentation](https://developer.hashicorp.com/hcp/api-docs/operations#Wait).
	OperationID string `json:"operation_id,omitempty"`
}

HashicorpCloudResourcemanagerProjectSetDescriptionResponse ProjectSetDescriptionResponse See ProjectService.SetDescription

swagger:model hashicorp.cloud.resourcemanager.ProjectSetDescriptionResponse

func (*HashicorpCloudResourcemanagerProjectSetDescriptionResponse) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager project set description response based on context it is used

func (*HashicorpCloudResourcemanagerProjectSetDescriptionResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetDescriptionResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetDescriptionResponse) Validate

Validate validates this hashicorp cloud resourcemanager project set description response

type HashicorpCloudResourcemanagerProjectSetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager project set iam policy response

type HashicorpCloudResourcemanagerProjectSetNameResponse

type HashicorpCloudResourcemanagerProjectSetNameResponse struct {

	// operation_id is the operation that represents the async update of the project name.
	// The client should poll the returned operation until it is completed.
	// For more details on polling an operation, consult the [HCP Operations Service /wait endpoint documentation](https://developer.hashicorp.com/hcp/api-docs/operations#Wait).
	OperationID string `json:"operation_id,omitempty"`
}

HashicorpCloudResourcemanagerProjectSetNameResponse ProjectSetNameResponse see ProjectService.SetName

swagger:model hashicorp.cloud.resourcemanager.ProjectSetNameResponse

func (*HashicorpCloudResourcemanagerProjectSetNameResponse) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager project set name response based on context it is used

func (*HashicorpCloudResourcemanagerProjectSetNameResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetNameResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectSetNameResponse) Validate

Validate validates this hashicorp cloud resourcemanager project set name response

type HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse

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

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

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerProjectTestIamPermissionsResponse) Validate

Validate validates this hashicorp cloud resourcemanager project test iam permissions response

type HashicorpCloudResourcemanagerResource

type HashicorpCloudResourcemanagerResource struct {

	// Geo is the geography where the resource is registered. A resource MAY NOT
	// have a geography associated with it. The currently valid values are: "",
	// "us", and "eu".  This is only available on List responses and is not valid
	// for any creation or update requests.
	Geo string `json:"geo,omitempty"`

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

	// ResourceID is the ID of the resource. This is only available on List
	// responses and is not valid for any creation or update requests.
	ResourceID string `json:"resource_id,omitempty"`

	// ResourceName is the name of the resource. This is only available on
	// List responses and is not valid for any creation or update requests.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudResourcemanagerResource hashicorp cloud resourcemanager resource

swagger:model hashicorp.cloud.resourcemanager.Resource

func (*HashicorpCloudResourcemanagerResource) ContextValidate

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

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResource) Validate

Validate validates this hashicorp cloud resourcemanager resource

type HashicorpCloudResourcemanagerResourceDetail

type HashicorpCloudResourcemanagerResourceDetail struct {

	// resource
	Resource *HashicorpCloudResourcemanagerResource `json:"resource,omitempty"`
}

HashicorpCloudResourcemanagerResourceDetail ResourceDetail provides information about a resource causing a failure.

swagger:model hashicorp.cloud.resourcemanager.ResourceDetail

func (*HashicorpCloudResourcemanagerResourceDetail) ContextValidate

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

func (*HashicorpCloudResourcemanagerResourceDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceDetail) Validate

Validate validates this hashicorp cloud resourcemanager resource detail

type HashicorpCloudResourcemanagerResourceGetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceGetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource get iam policy response

type HashicorpCloudResourcemanagerResourceID

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

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

func (*HashicorpCloudResourcemanagerResourceID) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceID) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceID) Validate

Validate validates this hashicorp cloud resourcemanager resource ID

type HashicorpCloudResourcemanagerResourceIDResourceType

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

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

func (HashicorpCloudResourcemanagerResourceIDResourceType) Pointer

Pointer returns a pointer to a freshly-allocated HashicorpCloudResourcemanagerResourceIDResourceType.

func (HashicorpCloudResourcemanagerResourceIDResourceType) Validate

Validate validates this hashicorp cloud resourcemanager resource ID resource type

type HashicorpCloudResourcemanagerResourceIdentifier

type HashicorpCloudResourcemanagerResourceIdentifier struct {

	// Id is the resource id of the resource.
	ID string `json:"id,omitempty"`

	// Name is the resource name of the resource.
	Name string `json:"name,omitempty"`
}

HashicorpCloudResourcemanagerResourceIdentifier ResourceIdentifier identifies a resource by either its name or id.

swagger:model hashicorp.cloud.resourcemanager.ResourceIdentifier

func (*HashicorpCloudResourcemanagerResourceIdentifier) ContextValidate

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

func (*HashicorpCloudResourcemanagerResourceIdentifier) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceIdentifier) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceIdentifier) Validate

Validate validates this hashicorp cloud resourcemanager resource identifier

type HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse

type HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse struct {

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

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

HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse ResourceListAccessibleResourcesResponse see ResourceService.ListAccessibleResources

swagger:model hashicorp.cloud.resourcemanager.ResourceListAccessibleResourcesResponse

func (*HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse) ContextValidate

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

func (*HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListAccessibleResourcesResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource list accessible resources response

type HashicorpCloudResourcemanagerResourceListResponse

type HashicorpCloudResourcemanagerResourceListResponse struct {

	// Pagination contains the pagination tokens for a subsequent request.
	Pagination *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

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

func (*HashicorpCloudResourcemanagerResourceListResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceListResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource list response

type HashicorpCloudResourcemanagerResourceSetIamPolicyRequest

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

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

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyRequest) Validate

Validate validates this hashicorp cloud resourcemanager resource set iam policy request

type HashicorpCloudResourcemanagerResourceSetIamPolicyResponse

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

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

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceSetIamPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource set iam policy response

type HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest

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

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

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsRequest) Validate

Validate validates this hashicorp cloud resourcemanager resource test iam permissions request

type HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse

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

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

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceTestIamPermissionsResponse) Validate

Validate validates this hashicorp cloud resourcemanager resource test iam permissions response

type HashicorpCloudResourcemanagerResourceV2

type HashicorpCloudResourcemanagerResourceV2 struct {

	// Geo is the geography where the resource is registered. A resource MAY NOT
	// have a geography associated with it. The currently valid values are: "",
	// "us", and "eu".
	Geo string `json:"geo,omitempty"`

	// ResourceID is the ID of the resource.
	ResourceID string `json:"resource_id,omitempty"`

	// ResourceName is the name of the resource.
	ResourceName string `json:"resource_name,omitempty"`
}

HashicorpCloudResourcemanagerResourceV2 ResourceV2 is a container for resource v2 identifiers.

swagger:model hashicorp.cloud.resourcemanager.ResourceV2

func (*HashicorpCloudResourcemanagerResourceV2) ContextValidate

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

func (*HashicorpCloudResourcemanagerResourceV2) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceV2) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerResourceV2) Validate

Validate validates this hashicorp cloud resourcemanager resource v2

type HashicorpCloudResourcemanagerRole

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
	//
	// Builtin roles are prefixed with "roles/"
	ID string `json:"id,omitempty"`

	// LowestApplicableResourceTypes is a list of lowest applicable resource types that this role should be assigned to.
	// The parent resource types will be deduced by the Resource Manager.
	// The list should contain valid resource types in the format hashicorp.<service>.<resource>
	// Examples:
	// * hashicorp.resource-manager.project
	// * hashicorp.secrets.app
	LowestApplicableResourceTypes []string `json:"lowest_applicable_resource_types"`

	// 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

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

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerRole) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerRole) Validate

Validate validates this hashicorp cloud resourcemanager role

type HashicorpCloudResourcemanagerServicePrincipalDetail

type HashicorpCloudResourcemanagerServicePrincipalDetail struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// project id
	ProjectID string `json:"project_id,omitempty"`
}

HashicorpCloudResourcemanagerServicePrincipalDetail ServicePrincipalDetail provides information about a service principal causing a failure.

swagger:model hashicorp.cloud.resourcemanager.ServicePrincipalDetail

func (*HashicorpCloudResourcemanagerServicePrincipalDetail) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager service principal detail based on context it is used

func (*HashicorpCloudResourcemanagerServicePrincipalDetail) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerServicePrincipalDetail) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerServicePrincipalDetail) Validate

Validate validates this hashicorp cloud resourcemanager service principal detail

type HashicorpCloudResourcemanagerSetResourceControlPolicyResponse

type HashicorpCloudResourcemanagerSetResourceControlPolicyResponse struct {

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

HashicorpCloudResourcemanagerSetResourceControlPolicyResponse SetResourceControlPolicyResponse see OrganizationService.SetResourceControlPolicy

swagger:model hashicorp.cloud.resourcemanager.SetResourceControlPolicyResponse

func (*HashicorpCloudResourcemanagerSetResourceControlPolicyResponse) ContextValidate

ContextValidate validates this hashicorp cloud resourcemanager set resource control policy response based on context it is used

func (*HashicorpCloudResourcemanagerSetResourceControlPolicyResponse) MarshalBinary

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerSetResourceControlPolicyResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerSetResourceControlPolicyResponse) Validate

Validate validates this hashicorp cloud resourcemanager set resource control policy response

type HashicorpCloudResourcemanagerUserDetail

type HashicorpCloudResourcemanagerUserDetail struct {

	// email
	Email string `json:"email,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

HashicorpCloudResourcemanagerUserDetail UserDetail provides information about a user causing a failure.

swagger:model hashicorp.cloud.resourcemanager.UserDetail

func (*HashicorpCloudResourcemanagerUserDetail) ContextValidate

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

func (*HashicorpCloudResourcemanagerUserDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerUserDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HashicorpCloudResourcemanagerUserDetail) Validate

Validate validates this hashicorp cloud resourcemanager user detail

Source Files

Jump to

Keyboard shortcuts

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