orgpolicy

package
v0.0.0-...-8c6c420 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package orgpolicy aliases all exported identifiers in package "cloud.google.com/go/orgpolicy/apiv2/orgpolicypb".

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index

Constants

View Source
const (
	Constraint_ALLOW                          = src.Constraint_ALLOW
	Constraint_CONSTRAINT_DEFAULT_UNSPECIFIED = src.Constraint_CONSTRAINT_DEFAULT_UNSPECIFIED
	Constraint_DENY                           = src.Constraint_DENY
)

Deprecated: Please use consts in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

Variables

View Source
var (
	Constraint_ConstraintDefault_name               = src.Constraint_ConstraintDefault_name
	Constraint_ConstraintDefault_value              = src.Constraint_ConstraintDefault_value
	File_google_cloud_orgpolicy_v2_constraint_proto = src.File_google_cloud_orgpolicy_v2_constraint_proto
	File_google_cloud_orgpolicy_v2_orgpolicy_proto  = src.File_google_cloud_orgpolicy_v2_orgpolicy_proto
)

Deprecated: Please use vars in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

Functions

func RegisterOrgPolicyServer deprecated

func RegisterOrgPolicyServer(s *grpc.Server, srv OrgPolicyServer)

Deprecated: Please use funcs in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

Types

type AlternatePolicySpec deprecated

type AlternatePolicySpec = src.AlternatePolicySpec

Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Constraint deprecated

type Constraint = src.Constraint

A `constraint` describes a way to restrict resource's configuration. For example, you could enforce a constraint that controls which cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. `Constraints` can be configured by the organization's policy administrator to fit the needs of the organization by setting a `policy` that includes `constraints` at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules please read about [`policies`][google.cloud.OrgPolicy.v2.Policy]. `Constraints` have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a `policy` being defined or inherited for the resource in question.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Constraint_BooleanConstraint deprecated

type Constraint_BooleanConstraint = src.Constraint_BooleanConstraint

A `Constraint` that is either enforced or not. For example a constraint `constraints/compute.disableSerialPortAccess`. If it is enforced on a VM instance, serial port connections will not be opened to that instance.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Constraint_BooleanConstraint_

type Constraint_BooleanConstraint_ = src.Constraint_BooleanConstraint_

type Constraint_ConstraintDefault deprecated

type Constraint_ConstraintDefault = src.Constraint_ConstraintDefault

Specifies the default behavior in the absence of any `Policy` for the `Constraint`. This must not be `CONSTRAINT_DEFAULT_UNSPECIFIED`. Immutable after creation.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Constraint_ListConstraint deprecated

type Constraint_ListConstraint = src.Constraint_ListConstraint

A `Constraint` that allows or disallows a list of string values, which are configured by an Organization's policy administrator with a `Policy`.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Constraint_ListConstraint_

type Constraint_ListConstraint_ = src.Constraint_ListConstraint_

type CreatePolicyRequest deprecated

type CreatePolicyRequest = src.CreatePolicyRequest

The request sent to the CreatePolicyRequest [google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type DeletePolicyRequest deprecated

type DeletePolicyRequest = src.DeletePolicyRequest

The request sent to the [DeletePolicy] [google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type GetEffectivePolicyRequest deprecated

type GetEffectivePolicyRequest = src.GetEffectivePolicyRequest

The request sent to the [GetEffectivePolicy] [google.cloud.orgpolicy.v2.OrgPolicy.GetEffectivePolicy] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type GetPolicyRequest deprecated

type GetPolicyRequest = src.GetPolicyRequest

The request sent to the [GetPolicy] [google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type ListConstraintsRequest deprecated

type ListConstraintsRequest = src.ListConstraintsRequest

The request sent to the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type ListConstraintsResponse deprecated

type ListConstraintsResponse = src.ListConstraintsResponse

The response returned from the [ListConstraints] [google.cloud.orgpolicy.v2.OrgPolicy.ListConstraints] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type ListPoliciesRequest deprecated

type ListPoliciesRequest = src.ListPoliciesRequest

The request sent to the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type ListPoliciesResponse deprecated

type ListPoliciesResponse = src.ListPoliciesResponse

The response returned from the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty if no `Policies` are set on the resource.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type OrgPolicyClient deprecated

type OrgPolicyClient = src.OrgPolicyClient

OrgPolicyClient is the client API for OrgPolicy service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

func NewOrgPolicyClient deprecated

func NewOrgPolicyClient(cc grpc.ClientConnInterface) OrgPolicyClient

Deprecated: Please use funcs in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type OrgPolicyServer deprecated

type OrgPolicyServer = src.OrgPolicyServer

OrgPolicyServer is the server API for OrgPolicy service.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type Policy deprecated

type Policy = src.Policy

Defines a Cloud Organization `Policy` which is used to specify `Constraints` for configurations of Cloud Platform resources.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type PolicySpec deprecated

type PolicySpec = src.PolicySpec

Defines a Cloud Organization `PolicySpec` which is used to specify `Constraints` for configurations of Cloud Platform resources.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type PolicySpec_PolicyRule deprecated

type PolicySpec_PolicyRule = src.PolicySpec_PolicyRule

A rule used to express this policy.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type PolicySpec_PolicyRule_AllowAll

type PolicySpec_PolicyRule_AllowAll = src.PolicySpec_PolicyRule_AllowAll

type PolicySpec_PolicyRule_DenyAll

type PolicySpec_PolicyRule_DenyAll = src.PolicySpec_PolicyRule_DenyAll

type PolicySpec_PolicyRule_Enforce

type PolicySpec_PolicyRule_Enforce = src.PolicySpec_PolicyRule_Enforce

type PolicySpec_PolicyRule_StringValues deprecated

type PolicySpec_PolicyRule_StringValues = src.PolicySpec_PolicyRule_StringValues

A message that holds specific allowed and denied values. This message can define specific values and subtrees of Cloud Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a ":". Values prefixed with "is:" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - "projects/<project-id>", e.g. "projects/tokyo-rain-123" - "folders/<folder-id>", e.g. "folders/1234" - "organizations/<organization-id>", e.g. "organizations/1234" The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type PolicySpec_PolicyRule_Values

type PolicySpec_PolicyRule_Values = src.PolicySpec_PolicyRule_Values

type UnimplementedOrgPolicyServer deprecated

type UnimplementedOrgPolicyServer = src.UnimplementedOrgPolicyServer

UnimplementedOrgPolicyServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

type UpdatePolicyRequest deprecated

type UpdatePolicyRequest = src.UpdatePolicyRequest

The request sent to the UpdatePolicyRequest [google.cloud.orgpolicy.v2.OrgPolicy.UpdatePolicy] method.

Deprecated: Please use types in: cloud.google.com/go/orgpolicy/apiv2/orgpolicypb

Jump to

Keyboard shortcuts

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