iappb

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReauthSettings_Method_name = map[int32]string{
		0: "METHOD_UNSPECIFIED",
		1: "LOGIN",
		2: "PASSWORD",
		3: "SECURE_KEY",
		4: "ENROLLED_SECOND_FACTORS",
	}
	ReauthSettings_Method_value = map[string]int32{
		"METHOD_UNSPECIFIED":      0,
		"LOGIN":                   1,
		"PASSWORD":                2,
		"SECURE_KEY":              3,
		"ENROLLED_SECOND_FACTORS": 4,
	}
)

Enum value maps for ReauthSettings_Method.

View Source
var (
	ReauthSettings_PolicyType_name = map[int32]string{
		0: "POLICY_TYPE_UNSPECIFIED",
		1: "MINIMUM",
		2: "DEFAULT",
	}
	ReauthSettings_PolicyType_value = map[string]int32{
		"POLICY_TYPE_UNSPECIFIED": 0,
		"MINIMUM":                 1,
		"DEFAULT":                 2,
	}
)

Enum value maps for ReauthSettings_PolicyType.

View Source
var (
	AttributePropagationSettings_OutputCredentials_name = map[int32]string{
		0: "OUTPUT_CREDENTIALS_UNSPECIFIED",
		1: "HEADER",
		2: "JWT",
		3: "RCTOKEN",
	}
	AttributePropagationSettings_OutputCredentials_value = map[string]int32{
		"OUTPUT_CREDENTIALS_UNSPECIFIED": 0,
		"HEADER":                         1,
		"JWT":                            2,
		"RCTOKEN":                        3,
	}
)

Enum value maps for AttributePropagationSettings_OutputCredentials.

View Source
var File_google_cloud_iap_v1_service_proto protoreflect.FileDescriptor

Functions

func RegisterIdentityAwareProxyAdminServiceServer

func RegisterIdentityAwareProxyAdminServiceServer(s *grpc.Server, srv IdentityAwareProxyAdminServiceServer)

func RegisterIdentityAwareProxyOAuthServiceServer

func RegisterIdentityAwareProxyOAuthServiceServer(s *grpc.Server, srv IdentityAwareProxyOAuthServiceServer)

Types

type AccessDeniedPageSettings

type AccessDeniedPageSettings struct {

	// The URI to be redirected to when access is denied.
	AccessDeniedPageUri *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=access_denied_page_uri,json=accessDeniedPageUri,proto3" json:"access_denied_page_uri,omitempty"`
	// Whether to generate a troubleshooting URL on access denied events to this
	// application.
	GenerateTroubleshootingUri *wrapperspb.BoolValue `` /* 141-byte string literal not displayed */
	// Whether to generate remediation token on access denied events to this
	// application.
	RemediationTokenGenerationEnabled *wrapperspb.BoolValue `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Custom content configuration for access denied page. IAP allows customers to define a custom URI to use as the error page when access is denied to users. If IAP prevents access to this page, the default IAP error page will be displayed instead.

func (*AccessDeniedPageSettings) Descriptor deprecated

func (*AccessDeniedPageSettings) Descriptor() ([]byte, []int)

Deprecated: Use AccessDeniedPageSettings.ProtoReflect.Descriptor instead.

func (*AccessDeniedPageSettings) GetAccessDeniedPageUri

func (x *AccessDeniedPageSettings) GetAccessDeniedPageUri() *wrapperspb.StringValue

func (*AccessDeniedPageSettings) GetGenerateTroubleshootingUri

func (x *AccessDeniedPageSettings) GetGenerateTroubleshootingUri() *wrapperspb.BoolValue

func (*AccessDeniedPageSettings) GetRemediationTokenGenerationEnabled added in v1.6.0

func (x *AccessDeniedPageSettings) GetRemediationTokenGenerationEnabled() *wrapperspb.BoolValue

func (*AccessDeniedPageSettings) ProtoMessage

func (*AccessDeniedPageSettings) ProtoMessage()

func (*AccessDeniedPageSettings) ProtoReflect

func (x *AccessDeniedPageSettings) ProtoReflect() protoreflect.Message

func (*AccessDeniedPageSettings) Reset

func (x *AccessDeniedPageSettings) Reset()

func (*AccessDeniedPageSettings) String

func (x *AccessDeniedPageSettings) String() string

type AccessSettings

type AccessSettings struct {

	// GCIP claims and endpoint configurations for 3p identity providers.
	GcipSettings *GcipSettings `protobuf:"bytes,1,opt,name=gcip_settings,json=gcipSettings,proto3" json:"gcip_settings,omitempty"`
	// Configuration to allow cross-origin requests via IAP.
	CorsSettings *CorsSettings `protobuf:"bytes,2,opt,name=cors_settings,json=corsSettings,proto3" json:"cors_settings,omitempty"`
	// Settings to configure IAP's OAuth behavior.
	OauthSettings *OAuthSettings `protobuf:"bytes,3,opt,name=oauth_settings,json=oauthSettings,proto3" json:"oauth_settings,omitempty"`
	// Settings to configure reauthentication policies in IAP.
	ReauthSettings *ReauthSettings `protobuf:"bytes,6,opt,name=reauth_settings,json=reauthSettings,proto3" json:"reauth_settings,omitempty"`
	// Settings to configure and enable allowed domains.
	AllowedDomainsSettings *AllowedDomainsSettings `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Access related settings for IAP protected apps.

func (*AccessSettings) Descriptor deprecated

func (*AccessSettings) Descriptor() ([]byte, []int)

Deprecated: Use AccessSettings.ProtoReflect.Descriptor instead.

func (*AccessSettings) GetAllowedDomainsSettings added in v1.6.0

func (x *AccessSettings) GetAllowedDomainsSettings() *AllowedDomainsSettings

func (*AccessSettings) GetCorsSettings

func (x *AccessSettings) GetCorsSettings() *CorsSettings

func (*AccessSettings) GetGcipSettings

func (x *AccessSettings) GetGcipSettings() *GcipSettings

func (*AccessSettings) GetOauthSettings

func (x *AccessSettings) GetOauthSettings() *OAuthSettings

func (*AccessSettings) GetReauthSettings

func (x *AccessSettings) GetReauthSettings() *ReauthSettings

func (*AccessSettings) ProtoMessage

func (*AccessSettings) ProtoMessage()

func (*AccessSettings) ProtoReflect

func (x *AccessSettings) ProtoReflect() protoreflect.Message

func (*AccessSettings) Reset

func (x *AccessSettings) Reset()

func (*AccessSettings) String

func (x *AccessSettings) String() string

type AllowedDomainsSettings added in v1.6.0

type AllowedDomainsSettings struct {

	// Configuration for customers to opt in for the feature.
	Enable *bool `protobuf:"varint,1,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
	// List of trusted domains.
	Domains []string `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

Configuration for IAP allowed domains. Lets you to restrict access to an app and allow access to only the domains that you list.

func (*AllowedDomainsSettings) Descriptor deprecated added in v1.6.0

func (*AllowedDomainsSettings) Descriptor() ([]byte, []int)

Deprecated: Use AllowedDomainsSettings.ProtoReflect.Descriptor instead.

func (*AllowedDomainsSettings) GetDomains added in v1.6.0

func (x *AllowedDomainsSettings) GetDomains() []string

func (*AllowedDomainsSettings) GetEnable added in v1.6.0

func (x *AllowedDomainsSettings) GetEnable() bool

func (*AllowedDomainsSettings) ProtoMessage added in v1.6.0

func (*AllowedDomainsSettings) ProtoMessage()

func (*AllowedDomainsSettings) ProtoReflect added in v1.6.0

func (x *AllowedDomainsSettings) ProtoReflect() protoreflect.Message

func (*AllowedDomainsSettings) Reset added in v1.6.0

func (x *AllowedDomainsSettings) Reset()

func (*AllowedDomainsSettings) String added in v1.6.0

func (x *AllowedDomainsSettings) String() string

type ApplicationSettings

type ApplicationSettings struct {

	// Settings to configure IAP's behavior for a service mesh.
	CsmSettings *CsmSettings `protobuf:"bytes,1,opt,name=csm_settings,json=csmSettings,proto3" json:"csm_settings,omitempty"`
	// Customization for Access Denied page.
	AccessDeniedPageSettings *AccessDeniedPageSettings `` /* 137-byte string literal not displayed */
	// The Domain value to set for cookies generated by IAP. This value is not
	// validated by the API, but will be ignored at runtime if invalid.
	CookieDomain *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=cookie_domain,json=cookieDomain,proto3" json:"cookie_domain,omitempty"`
	// Settings to configure attribute propagation.
	AttributePropagationSettings *AttributePropagationSettings `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Wrapper over application specific settings for IAP.

func (*ApplicationSettings) Descriptor deprecated

func (*ApplicationSettings) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationSettings.ProtoReflect.Descriptor instead.

func (*ApplicationSettings) GetAccessDeniedPageSettings

func (x *ApplicationSettings) GetAccessDeniedPageSettings() *AccessDeniedPageSettings

func (*ApplicationSettings) GetAttributePropagationSettings added in v1.6.0

func (x *ApplicationSettings) GetAttributePropagationSettings() *AttributePropagationSettings

func (*ApplicationSettings) GetCookieDomain

func (x *ApplicationSettings) GetCookieDomain() *wrapperspb.StringValue

func (*ApplicationSettings) GetCsmSettings

func (x *ApplicationSettings) GetCsmSettings() *CsmSettings

func (*ApplicationSettings) ProtoMessage

func (*ApplicationSettings) ProtoMessage()

func (*ApplicationSettings) ProtoReflect

func (x *ApplicationSettings) ProtoReflect() protoreflect.Message

func (*ApplicationSettings) Reset

func (x *ApplicationSettings) Reset()

func (*ApplicationSettings) String

func (x *ApplicationSettings) String() string

type AttributePropagationSettings added in v1.6.0

type AttributePropagationSettings struct {

	// Raw string CEL expression. Must return a list of attributes. A maximum of
	// 45 attributes can be selected. Expressions can select different attribute
	// types from `attributes`: `attributes.saml_attributes`,
	// `attributes.iap_attributes`. The following functions are supported:
	//
	//   - filter `<list>.filter(<iter_var>, <predicate>)`: Returns a subset of
	//     `<list>` where `<predicate>` is true for every item.
	//
	//   - in `<var> in <list>`: Returns true if `<list>` contains `<var>`.
	//
	//   - selectByName `<list>.selectByName(<string>)`: Returns the attribute
	//     in
	//     `<list>` with the given `<string>` name, otherwise returns empty.
	//
	//   - emitAs `<attribute>.emitAs(<string>)`: Sets the `<attribute>` name
	//     field to the given `<string>` for propagation in selected output
	//     credentials.
	//
	//   - strict `<attribute>.strict()`: Ignores the `x-goog-iap-attr-` prefix
	//     for the provided `<attribute>` when propagating with the `HEADER` output
	//     credential, such as request headers.
	//
	//   - append `<target_list>.append(<attribute>)` OR
	//     `<target_list>.append(<list>)`: Appends the provided `<attribute>` or
	//     `<list>` to the end of `<target_list>`.
	//
	// Example expression: `attributes.saml_attributes.filter(x, x.name in
	// ['test']).append(attributes.iap_attributes.selectByName('exact').emitAs('custom').strict())`
	Expression *string `protobuf:"bytes,1,opt,name=expression,proto3,oneof" json:"expression,omitempty"`
	// Which output credentials attributes selected by the CEL expression should
	// be propagated in. All attributes will be fully duplicated in each selected
	// output credential.
	OutputCredentials []AttributePropagationSettings_OutputCredentials `` /* 192-byte string literal not displayed */
	// Whether the provided attribute propagation settings should be evaluated on
	// user requests. If set to true, attributes returned from the expression will
	// be propagated in the set output credentials.
	Enable *bool `protobuf:"varint,3,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

Configuration for propagating attributes to applications protected by IAP.

func (*AttributePropagationSettings) Descriptor deprecated added in v1.6.0

func (*AttributePropagationSettings) Descriptor() ([]byte, []int)

Deprecated: Use AttributePropagationSettings.ProtoReflect.Descriptor instead.

func (*AttributePropagationSettings) GetEnable added in v1.6.0

func (x *AttributePropagationSettings) GetEnable() bool

func (*AttributePropagationSettings) GetExpression added in v1.6.0

func (x *AttributePropagationSettings) GetExpression() string

func (*AttributePropagationSettings) GetOutputCredentials added in v1.6.0

func (*AttributePropagationSettings) ProtoMessage added in v1.6.0

func (*AttributePropagationSettings) ProtoMessage()

func (*AttributePropagationSettings) ProtoReflect added in v1.6.0

func (*AttributePropagationSettings) Reset added in v1.6.0

func (x *AttributePropagationSettings) Reset()

func (*AttributePropagationSettings) String added in v1.6.0

type AttributePropagationSettings_OutputCredentials added in v1.6.0

type AttributePropagationSettings_OutputCredentials int32

Supported output credentials for attribute propagation. Each output credential maps to a "field" in the response. For example, selecting JWT will propagate all attributes in the IAP JWT, header in the headers, etc.

const (
	// An output credential is required.
	AttributePropagationSettings_OUTPUT_CREDENTIALS_UNSPECIFIED AttributePropagationSettings_OutputCredentials = 0
	// Propagate attributes in the headers with "x-goog-iap-attr-" prefix.
	AttributePropagationSettings_HEADER AttributePropagationSettings_OutputCredentials = 1
	// Propagate attributes in the JWT of the form: `"additional_claims": {
	// "my_attribute": ["value1", "value2"] }`
	AttributePropagationSettings_JWT AttributePropagationSettings_OutputCredentials = 2
	// Propagate attributes in the RCToken of the form: `"additional_claims": {
	// "my_attribute": ["value1", "value2"] }`
	AttributePropagationSettings_RCTOKEN AttributePropagationSettings_OutputCredentials = 3
)

func (AttributePropagationSettings_OutputCredentials) Descriptor added in v1.6.0

func (AttributePropagationSettings_OutputCredentials) Enum added in v1.6.0

func (AttributePropagationSettings_OutputCredentials) EnumDescriptor deprecated added in v1.6.0

Deprecated: Use AttributePropagationSettings_OutputCredentials.Descriptor instead.

func (AttributePropagationSettings_OutputCredentials) Number added in v1.6.0

func (AttributePropagationSettings_OutputCredentials) String added in v1.6.0

func (AttributePropagationSettings_OutputCredentials) Type added in v1.6.0

type Brand

type Brand struct {

	// Output only. Identifier of the brand.
	// NOTE: GCP project number achieves the same brand identification purpose as
	// only one brand per project can be created.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Support email displayed on the OAuth consent screen.
	SupportEmail string `protobuf:"bytes,2,opt,name=support_email,json=supportEmail,proto3" json:"support_email,omitempty"`
	// Application name displayed on OAuth consent screen.
	ApplicationTitle string `protobuf:"bytes,3,opt,name=application_title,json=applicationTitle,proto3" json:"application_title,omitempty"`
	// Output only. Whether the brand is only intended for usage inside the
	// G Suite organization only.
	OrgInternalOnly bool `protobuf:"varint,4,opt,name=org_internal_only,json=orgInternalOnly,proto3" json:"org_internal_only,omitempty"`
	// contains filtered or unexported fields
}

OAuth brand data. NOTE: Only contains a portion of the data that describes a brand.

func (*Brand) Descriptor deprecated

func (*Brand) Descriptor() ([]byte, []int)

Deprecated: Use Brand.ProtoReflect.Descriptor instead.

func (*Brand) GetApplicationTitle

func (x *Brand) GetApplicationTitle() string

func (*Brand) GetName

func (x *Brand) GetName() string

func (*Brand) GetOrgInternalOnly

func (x *Brand) GetOrgInternalOnly() bool

func (*Brand) GetSupportEmail

func (x *Brand) GetSupportEmail() string

func (*Brand) ProtoMessage

func (*Brand) ProtoMessage()

func (*Brand) ProtoReflect

func (x *Brand) ProtoReflect() protoreflect.Message

func (*Brand) Reset

func (x *Brand) Reset()

func (*Brand) String

func (x *Brand) String() string

type CorsSettings

type CorsSettings struct {

	// Configuration to allow HTTP OPTIONS calls to skip authorization. If
	// undefined, IAP will not apply any special logic to OPTIONS requests.
	AllowHttpOptions *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=allow_http_options,json=allowHttpOptions,proto3" json:"allow_http_options,omitempty"`
	// contains filtered or unexported fields
}

Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS call to bypass authentication and authorization.

func (*CorsSettings) Descriptor deprecated

func (*CorsSettings) Descriptor() ([]byte, []int)

Deprecated: Use CorsSettings.ProtoReflect.Descriptor instead.

func (*CorsSettings) GetAllowHttpOptions

func (x *CorsSettings) GetAllowHttpOptions() *wrapperspb.BoolValue

func (*CorsSettings) ProtoMessage

func (*CorsSettings) ProtoMessage()

func (*CorsSettings) ProtoReflect

func (x *CorsSettings) ProtoReflect() protoreflect.Message

func (*CorsSettings) Reset

func (x *CorsSettings) Reset()

func (*CorsSettings) String

func (x *CorsSettings) String() string

type CreateBrandRequest

type CreateBrandRequest struct {

	// Required. GCP Project number/id under which the brand is to be created.
	// In the following format: projects/{project_number/id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The brand to be created.
	Brand *Brand `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"`
	// contains filtered or unexported fields
}

The request sent to CreateBrand.

func (*CreateBrandRequest) Descriptor deprecated

func (*CreateBrandRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBrandRequest.ProtoReflect.Descriptor instead.

func (*CreateBrandRequest) GetBrand

func (x *CreateBrandRequest) GetBrand() *Brand

func (*CreateBrandRequest) GetParent

func (x *CreateBrandRequest) GetParent() string

func (*CreateBrandRequest) ProtoMessage

func (*CreateBrandRequest) ProtoMessage()

func (*CreateBrandRequest) ProtoReflect

func (x *CreateBrandRequest) ProtoReflect() protoreflect.Message

func (*CreateBrandRequest) Reset

func (x *CreateBrandRequest) Reset()

func (*CreateBrandRequest) String

func (x *CreateBrandRequest) String() string

type CreateIdentityAwareProxyClientRequest

type CreateIdentityAwareProxyClientRequest struct {

	// Required. Path to create the client in.
	// In the following format:
	// projects/{project_number/id}/brands/{brand}.
	// The project must belong to a G Suite account.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Identity Aware Proxy Client to be created.
	IdentityAwareProxyClient *IdentityAwareProxyClient `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request sent to CreateIdentityAwareProxyClient.

func (*CreateIdentityAwareProxyClientRequest) Descriptor deprecated

func (*CreateIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.

func (*CreateIdentityAwareProxyClientRequest) GetIdentityAwareProxyClient

func (x *CreateIdentityAwareProxyClientRequest) GetIdentityAwareProxyClient() *IdentityAwareProxyClient

func (*CreateIdentityAwareProxyClientRequest) GetParent

func (*CreateIdentityAwareProxyClientRequest) ProtoMessage

func (*CreateIdentityAwareProxyClientRequest) ProtoMessage()

func (*CreateIdentityAwareProxyClientRequest) ProtoReflect

func (*CreateIdentityAwareProxyClientRequest) Reset

func (*CreateIdentityAwareProxyClientRequest) String

type CreateTunnelDestGroupRequest

type CreateTunnelDestGroupRequest struct {

	// Required. Google Cloud Project ID and location.
	// In the following format:
	// `projects/{project_number/id}/iap_tunnel/locations/{location}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The TunnelDestGroup to create.
	TunnelDestGroup *TunnelDestGroup `protobuf:"bytes,2,opt,name=tunnel_dest_group,json=tunnelDestGroup,proto3" json:"tunnel_dest_group,omitempty"`
	// Required. The ID to use for the TunnelDestGroup, which becomes the final
	// component of the resource name.
	//
	// This value must be 4-63 characters, and valid characters
	// are `[a-z]-`.
	TunnelDestGroupId string `protobuf:"bytes,3,opt,name=tunnel_dest_group_id,json=tunnelDestGroupId,proto3" json:"tunnel_dest_group_id,omitempty"`
	// contains filtered or unexported fields
}

The request to CreateTunnelDestGroup.

func (*CreateTunnelDestGroupRequest) Descriptor deprecated

func (*CreateTunnelDestGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTunnelDestGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateTunnelDestGroupRequest) GetParent

func (x *CreateTunnelDestGroupRequest) GetParent() string

func (*CreateTunnelDestGroupRequest) GetTunnelDestGroup

func (x *CreateTunnelDestGroupRequest) GetTunnelDestGroup() *TunnelDestGroup

func (*CreateTunnelDestGroupRequest) GetTunnelDestGroupId

func (x *CreateTunnelDestGroupRequest) GetTunnelDestGroupId() string

func (*CreateTunnelDestGroupRequest) ProtoMessage

func (*CreateTunnelDestGroupRequest) ProtoMessage()

func (*CreateTunnelDestGroupRequest) ProtoReflect

func (*CreateTunnelDestGroupRequest) Reset

func (x *CreateTunnelDestGroupRequest) Reset()

func (*CreateTunnelDestGroupRequest) String

type CsmSettings

type CsmSettings struct {

	// Audience claim set in the generated RCToken. This value is not validated by
	// IAP.
	RctokenAud *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=rctoken_aud,json=rctokenAud,proto3" json:"rctoken_aud,omitempty"`
	// contains filtered or unexported fields
}

Configuration for RCToken generated for service mesh workloads protected by IAP. RCToken are IAP generated JWTs that can be verified at the application. The RCToken is primarily used for service mesh deployments, and can be scoped to a single mesh by configuring the audience field accordingly.

func (*CsmSettings) Descriptor deprecated

func (*CsmSettings) Descriptor() ([]byte, []int)

Deprecated: Use CsmSettings.ProtoReflect.Descriptor instead.

func (*CsmSettings) GetRctokenAud

func (x *CsmSettings) GetRctokenAud() *wrapperspb.StringValue

func (*CsmSettings) ProtoMessage

func (*CsmSettings) ProtoMessage()

func (*CsmSettings) ProtoReflect

func (x *CsmSettings) ProtoReflect() protoreflect.Message

func (*CsmSettings) Reset

func (x *CsmSettings) Reset()

func (*CsmSettings) String

func (x *CsmSettings) String() string

type DeleteIdentityAwareProxyClientRequest

type DeleteIdentityAwareProxyClientRequest struct {

	// Required. Name of the Identity Aware Proxy client to be deleted.
	// In the following format:
	// projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request sent to DeleteIdentityAwareProxyClient.

func (*DeleteIdentityAwareProxyClientRequest) Descriptor deprecated

func (*DeleteIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.

func (*DeleteIdentityAwareProxyClientRequest) GetName

func (*DeleteIdentityAwareProxyClientRequest) ProtoMessage

func (*DeleteIdentityAwareProxyClientRequest) ProtoMessage()

func (*DeleteIdentityAwareProxyClientRequest) ProtoReflect

func (*DeleteIdentityAwareProxyClientRequest) Reset

func (*DeleteIdentityAwareProxyClientRequest) String

type DeleteTunnelDestGroupRequest

type DeleteTunnelDestGroupRequest struct {

	// Required. Name of the TunnelDestGroup to delete.
	// In the following format:
	// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to DeleteTunnelDestGroup.

func (*DeleteTunnelDestGroupRequest) Descriptor deprecated

func (*DeleteTunnelDestGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTunnelDestGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteTunnelDestGroupRequest) GetName

func (x *DeleteTunnelDestGroupRequest) GetName() string

func (*DeleteTunnelDestGroupRequest) ProtoMessage

func (*DeleteTunnelDestGroupRequest) ProtoMessage()

func (*DeleteTunnelDestGroupRequest) ProtoReflect

func (*DeleteTunnelDestGroupRequest) Reset

func (x *DeleteTunnelDestGroupRequest) Reset()

func (*DeleteTunnelDestGroupRequest) String

type GcipSettings

type GcipSettings struct {

	// GCIP tenant ids that are linked to the IAP resource.
	// tenant_ids could be a string beginning with a number character to indicate
	// authenticating with GCIP tenant flow, or in the format of _<ProjectNumber>
	// to indicate authenticating with GCIP agent flow.
	// If agent flow is used, tenant_ids should only contain one single element,
	// while for tenant flow, tenant_ids can contain multiple elements.
	TenantIds []string `protobuf:"bytes,1,rep,name=tenant_ids,json=tenantIds,proto3" json:"tenant_ids,omitempty"`
	// Login page URI associated with the GCIP tenants.
	// Typically, all resources within the same project share the same login page,
	// though it could be overridden at the sub resource level.
	LoginPageUri *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=login_page_uri,json=loginPageUri,proto3" json:"login_page_uri,omitempty"`
	// contains filtered or unexported fields
}

Allows customers to configure tenant_id for GCIP instance per-app.

func (*GcipSettings) Descriptor deprecated

func (*GcipSettings) Descriptor() ([]byte, []int)

Deprecated: Use GcipSettings.ProtoReflect.Descriptor instead.

func (*GcipSettings) GetLoginPageUri

func (x *GcipSettings) GetLoginPageUri() *wrapperspb.StringValue

func (*GcipSettings) GetTenantIds

func (x *GcipSettings) GetTenantIds() []string

func (*GcipSettings) ProtoMessage

func (*GcipSettings) ProtoMessage()

func (*GcipSettings) ProtoReflect

func (x *GcipSettings) ProtoReflect() protoreflect.Message

func (*GcipSettings) Reset

func (x *GcipSettings) Reset()

func (*GcipSettings) String

func (x *GcipSettings) String() string

type GetBrandRequest

type GetBrandRequest struct {

	// Required. Name of the brand to be fetched.
	// In the following format: projects/{project_number/id}/brands/{brand}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request sent to GetBrand.

func (*GetBrandRequest) Descriptor deprecated

func (*GetBrandRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBrandRequest.ProtoReflect.Descriptor instead.

func (*GetBrandRequest) GetName

func (x *GetBrandRequest) GetName() string

func (*GetBrandRequest) ProtoMessage

func (*GetBrandRequest) ProtoMessage()

func (*GetBrandRequest) ProtoReflect

func (x *GetBrandRequest) ProtoReflect() protoreflect.Message

func (*GetBrandRequest) Reset

func (x *GetBrandRequest) Reset()

func (*GetBrandRequest) String

func (x *GetBrandRequest) String() string

type GetIapSettingsRequest

type GetIapSettingsRequest struct {

	// Required. The resource name for which to retrieve the settings.
	// Authorization: Requires the `getSettings` permission for the associated
	// resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request sent to GetIapSettings.

func (*GetIapSettingsRequest) Descriptor deprecated

func (*GetIapSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIapSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetIapSettingsRequest) GetName

func (x *GetIapSettingsRequest) GetName() string

func (*GetIapSettingsRequest) ProtoMessage

func (*GetIapSettingsRequest) ProtoMessage()

func (*GetIapSettingsRequest) ProtoReflect

func (x *GetIapSettingsRequest) ProtoReflect() protoreflect.Message

func (*GetIapSettingsRequest) Reset

func (x *GetIapSettingsRequest) Reset()

func (*GetIapSettingsRequest) String

func (x *GetIapSettingsRequest) String() string

type GetIdentityAwareProxyClientRequest

type GetIdentityAwareProxyClientRequest struct {

	// Required. Name of the Identity Aware Proxy client to be fetched.
	// In the following format:
	// projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request sent to GetIdentityAwareProxyClient.

func (*GetIdentityAwareProxyClientRequest) Descriptor deprecated

func (*GetIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.

func (*GetIdentityAwareProxyClientRequest) GetName

func (*GetIdentityAwareProxyClientRequest) ProtoMessage

func (*GetIdentityAwareProxyClientRequest) ProtoMessage()

func (*GetIdentityAwareProxyClientRequest) ProtoReflect

func (*GetIdentityAwareProxyClientRequest) Reset

func (*GetIdentityAwareProxyClientRequest) String

type GetTunnelDestGroupRequest

type GetTunnelDestGroupRequest struct {

	// Required. Name of the TunnelDestGroup to be fetched.
	// In the following format:
	// `projects/{project_number/id}/iap_tunnel/locations/{location}/destGroups/{dest_group}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request to GetTunnelDestGroup.

func (*GetTunnelDestGroupRequest) Descriptor deprecated

func (*GetTunnelDestGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTunnelDestGroupRequest.ProtoReflect.Descriptor instead.

func (*GetTunnelDestGroupRequest) GetName

func (x *GetTunnelDestGroupRequest) GetName() string

func (*GetTunnelDestGroupRequest) ProtoMessage

func (*GetTunnelDestGroupRequest) ProtoMessage()

func (*GetTunnelDestGroupRequest) ProtoReflect

func (*GetTunnelDestGroupRequest) Reset

func (x *GetTunnelDestGroupRequest) Reset()

func (*GetTunnelDestGroupRequest) String

func (x *GetTunnelDestGroupRequest) String() string

type IapSettings

type IapSettings struct {

	// Required. The resource name of the IAP protected resource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Top level wrapper for all access related setting in IAP
	AccessSettings *AccessSettings `protobuf:"bytes,5,opt,name=access_settings,json=accessSettings,proto3" json:"access_settings,omitempty"`
	// Top level wrapper for all application related settings in IAP
	ApplicationSettings *ApplicationSettings `protobuf:"bytes,6,opt,name=application_settings,json=applicationSettings,proto3" json:"application_settings,omitempty"`
	// contains filtered or unexported fields
}

The IAP configurable settings.

func (*IapSettings) Descriptor deprecated

func (*IapSettings) Descriptor() ([]byte, []int)

Deprecated: Use IapSettings.ProtoReflect.Descriptor instead.

func (*IapSettings) GetAccessSettings

func (x *IapSettings) GetAccessSettings() *AccessSettings

func (*IapSettings) GetApplicationSettings

func (x *IapSettings) GetApplicationSettings() *ApplicationSettings

func (*IapSettings) GetName

func (x *IapSettings) GetName() string

func (*IapSettings) ProtoMessage

func (*IapSettings) ProtoMessage()

func (*IapSettings) ProtoReflect

func (x *IapSettings) ProtoReflect() protoreflect.Message

func (*IapSettings) Reset

func (x *IapSettings) Reset()

func (*IapSettings) String

func (x *IapSettings) String() string

type IdentityAwareProxyAdminServiceClient

type IdentityAwareProxyAdminServiceClient interface {
	// Sets the access control policy for an Identity-Aware Proxy protected
	// resource. Replaces any existing policy.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Gets the access control policy for an Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Returns permissions that a caller has on the Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
	// Gets the IAP settings on a particular IAP protected resource.
	GetIapSettings(ctx context.Context, in *GetIapSettingsRequest, opts ...grpc.CallOption) (*IapSettings, error)
	// Updates the IAP settings on a particular IAP protected resource. It
	// replaces all fields unless the `update_mask` is set.
	UpdateIapSettings(ctx context.Context, in *UpdateIapSettingsRequest, opts ...grpc.CallOption) (*IapSettings, error)
	// Lists the existing TunnelDestGroups. To group across all locations, use a
	// `-` as the location ID. For example:
	// `/v1/projects/123/iap_tunnel/locations/-/destGroups`
	ListTunnelDestGroups(ctx context.Context, in *ListTunnelDestGroupsRequest, opts ...grpc.CallOption) (*ListTunnelDestGroupsResponse, error)
	// Creates a new TunnelDestGroup.
	CreateTunnelDestGroup(ctx context.Context, in *CreateTunnelDestGroupRequest, opts ...grpc.CallOption) (*TunnelDestGroup, error)
	// Retrieves an existing TunnelDestGroup.
	GetTunnelDestGroup(ctx context.Context, in *GetTunnelDestGroupRequest, opts ...grpc.CallOption) (*TunnelDestGroup, error)
	// Deletes a TunnelDestGroup.
	DeleteTunnelDestGroup(ctx context.Context, in *DeleteTunnelDestGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates a TunnelDestGroup.
	UpdateTunnelDestGroup(ctx context.Context, in *UpdateTunnelDestGroupRequest, opts ...grpc.CallOption) (*TunnelDestGroup, error)
}

IdentityAwareProxyAdminServiceClient is the client API for IdentityAwareProxyAdminService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type IdentityAwareProxyAdminServiceServer

type IdentityAwareProxyAdminServiceServer interface {
	// Sets the access control policy for an Identity-Aware Proxy protected
	// resource. Replaces any existing policy.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Gets the access control policy for an Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Returns permissions that a caller has on the Identity-Aware Proxy protected
	// resource.
	// More information about managing access via IAP can be found at:
	// https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
	// Gets the IAP settings on a particular IAP protected resource.
	GetIapSettings(context.Context, *GetIapSettingsRequest) (*IapSettings, error)
	// Updates the IAP settings on a particular IAP protected resource. It
	// replaces all fields unless the `update_mask` is set.
	UpdateIapSettings(context.Context, *UpdateIapSettingsRequest) (*IapSettings, error)
	// Lists the existing TunnelDestGroups. To group across all locations, use a
	// `-` as the location ID. For example:
	// `/v1/projects/123/iap_tunnel/locations/-/destGroups`
	ListTunnelDestGroups(context.Context, *ListTunnelDestGroupsRequest) (*ListTunnelDestGroupsResponse, error)
	// Creates a new TunnelDestGroup.
	CreateTunnelDestGroup(context.Context, *CreateTunnelDestGroupRequest) (*TunnelDestGroup, error)
	// Retrieves an existing TunnelDestGroup.
	GetTunnelDestGroup(context.Context, *GetTunnelDestGroupRequest) (*TunnelDestGroup, error)
	// Deletes a TunnelDestGroup.
	DeleteTunnelDestGroup(context.Context, *DeleteTunnelDestGroupRequest) (*emptypb.Empty, error)
	// Updates a TunnelDestGroup.
	UpdateTunnelDestGroup(context.Context, *UpdateTunnelDestGroupRequest) (*TunnelDestGroup, error)
}

IdentityAwareProxyAdminServiceServer is the server API for IdentityAwareProxyAdminService service.

type IdentityAwareProxyClient

type IdentityAwareProxyClient struct {

	// Output only. Unique identifier of the OAuth client.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Client secret of the OAuth client.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	// Human-friendly name given to the OAuth client.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Contains the data that describes an Identity Aware Proxy owned client.

func (*IdentityAwareProxyClient) Descriptor deprecated

func (*IdentityAwareProxyClient) Descriptor() ([]byte, []int)

Deprecated: Use IdentityAwareProxyClient.ProtoReflect.Descriptor instead.

func (*IdentityAwareProxyClient) GetDisplayName

func (x *IdentityAwareProxyClient) GetDisplayName() string

func (*IdentityAwareProxyClient) GetName

func (x *IdentityAwareProxyClient) GetName() string

func (*IdentityAwareProxyClient) GetSecret

func (x *IdentityAwareProxyClient) GetSecret() string

func (*IdentityAwareProxyClient) ProtoMessage

func (*IdentityAwareProxyClient) ProtoMessage()

func (*IdentityAwareProxyClient) ProtoReflect

func (x *IdentityAwareProxyClient) ProtoReflect() protoreflect.Message

func (*IdentityAwareProxyClient) Reset

func (x *IdentityAwareProxyClient) Reset()

func (*IdentityAwareProxyClient) String

func (x *IdentityAwareProxyClient) String() string

type IdentityAwareProxyOAuthServiceClient

type IdentityAwareProxyOAuthServiceClient interface {
	// Lists the existing brands for the project.
	ListBrands(ctx context.Context, in *ListBrandsRequest, opts ...grpc.CallOption) (*ListBrandsResponse, error)
	// Constructs a new OAuth brand for the project if one does not exist.
	// The created brand is "internal only", meaning that OAuth clients created
	// under it only accept requests from users who belong to the same Google
	// Workspace organization as the project. The brand is created in an
	// un-reviewed status. NOTE: The "internal only" status can be manually
	// changed in the Google Cloud Console. Requires that a brand does not already
	// exist for the project, and that the specified support email is owned by the
	// caller.
	CreateBrand(ctx context.Context, in *CreateBrandRequest, opts ...grpc.CallOption) (*Brand, error)
	// Retrieves the OAuth brand of the project.
	GetBrand(ctx context.Context, in *GetBrandRequest, opts ...grpc.CallOption) (*Brand, error)
	// Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
	// by IAP. Requires that the brand for the project exists and that it is
	// set for internal-only use.
	CreateIdentityAwareProxyClient(ctx context.Context, in *CreateIdentityAwareProxyClientRequest, opts ...grpc.CallOption) (*IdentityAwareProxyClient, error)
	// Lists the existing clients for the brand.
	ListIdentityAwareProxyClients(ctx context.Context, in *ListIdentityAwareProxyClientsRequest, opts ...grpc.CallOption) (*ListIdentityAwareProxyClientsResponse, error)
	// Retrieves an Identity Aware Proxy (IAP) OAuth client.
	// Requires that the client is owned by IAP.
	GetIdentityAwareProxyClient(ctx context.Context, in *GetIdentityAwareProxyClientRequest, opts ...grpc.CallOption) (*IdentityAwareProxyClient, error)
	// Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
	// secret was compromised. Requires that the client is owned by IAP.
	ResetIdentityAwareProxyClientSecret(ctx context.Context, in *ResetIdentityAwareProxyClientSecretRequest, opts ...grpc.CallOption) (*IdentityAwareProxyClient, error)
	// Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing
	// obsolete clients, managing the number of clients in a given project, and
	// cleaning up after tests. Requires that the client is owned by IAP.
	DeleteIdentityAwareProxyClient(ctx context.Context, in *DeleteIdentityAwareProxyClientRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

IdentityAwareProxyOAuthServiceClient is the client API for IdentityAwareProxyOAuthService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type IdentityAwareProxyOAuthServiceServer

type IdentityAwareProxyOAuthServiceServer interface {
	// Lists the existing brands for the project.
	ListBrands(context.Context, *ListBrandsRequest) (*ListBrandsResponse, error)
	// Constructs a new OAuth brand for the project if one does not exist.
	// The created brand is "internal only", meaning that OAuth clients created
	// under it only accept requests from users who belong to the same Google
	// Workspace organization as the project. The brand is created in an
	// un-reviewed status. NOTE: The "internal only" status can be manually
	// changed in the Google Cloud Console. Requires that a brand does not already
	// exist for the project, and that the specified support email is owned by the
	// caller.
	CreateBrand(context.Context, *CreateBrandRequest) (*Brand, error)
	// Retrieves the OAuth brand of the project.
	GetBrand(context.Context, *GetBrandRequest) (*Brand, error)
	// Creates an Identity Aware Proxy (IAP) OAuth client. The client is owned
	// by IAP. Requires that the brand for the project exists and that it is
	// set for internal-only use.
	CreateIdentityAwareProxyClient(context.Context, *CreateIdentityAwareProxyClientRequest) (*IdentityAwareProxyClient, error)
	// Lists the existing clients for the brand.
	ListIdentityAwareProxyClients(context.Context, *ListIdentityAwareProxyClientsRequest) (*ListIdentityAwareProxyClientsResponse, error)
	// Retrieves an Identity Aware Proxy (IAP) OAuth client.
	// Requires that the client is owned by IAP.
	GetIdentityAwareProxyClient(context.Context, *GetIdentityAwareProxyClientRequest) (*IdentityAwareProxyClient, error)
	// Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the
	// secret was compromised. Requires that the client is owned by IAP.
	ResetIdentityAwareProxyClientSecret(context.Context, *ResetIdentityAwareProxyClientSecretRequest) (*IdentityAwareProxyClient, error)
	// Deletes an Identity Aware Proxy (IAP) OAuth client. Useful for removing
	// obsolete clients, managing the number of clients in a given project, and
	// cleaning up after tests. Requires that the client is owned by IAP.
	DeleteIdentityAwareProxyClient(context.Context, *DeleteIdentityAwareProxyClientRequest) (*emptypb.Empty, error)
}

IdentityAwareProxyOAuthServiceServer is the server API for IdentityAwareProxyOAuthService service.

type ListBrandsRequest

type ListBrandsRequest struct {

	// Required. GCP Project number/id.
	// In the following format: projects/{project_number/id}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

The request sent to ListBrands.

func (*ListBrandsRequest) Descriptor deprecated

func (*ListBrandsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBrandsRequest.ProtoReflect.Descriptor instead.

func (*ListBrandsRequest) GetParent

func (x *ListBrandsRequest) GetParent() string

func (*ListBrandsRequest) ProtoMessage

func (*ListBrandsRequest) ProtoMessage()

func (*ListBrandsRequest) ProtoReflect

func (x *ListBrandsRequest) ProtoReflect() protoreflect.Message

func (*ListBrandsRequest) Reset

func (x *ListBrandsRequest) Reset()

func (*ListBrandsRequest) String

func (x *ListBrandsRequest) String() string

type ListBrandsResponse

type ListBrandsResponse struct {

	// Brands existing in the project.
	Brands []*Brand `protobuf:"bytes,1,rep,name=brands,proto3" json:"brands,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListBrands.

func (*ListBrandsResponse) Descriptor deprecated

func (*ListBrandsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBrandsResponse.ProtoReflect.Descriptor instead.

func (*ListBrandsResponse) GetBrands

func (x *ListBrandsResponse) GetBrands() []*Brand

func (*ListBrandsResponse) ProtoMessage

func (*ListBrandsResponse) ProtoMessage()

func (*ListBrandsResponse) ProtoReflect

func (x *ListBrandsResponse) ProtoReflect() protoreflect.Message

func (*ListBrandsResponse) Reset

func (x *ListBrandsResponse) Reset()

func (*ListBrandsResponse) String

func (x *ListBrandsResponse) String() string

type ListIdentityAwareProxyClientsRequest

type ListIdentityAwareProxyClientsRequest struct {

	// Required. Full brand path.
	// In the following format: projects/{project_number/id}/brands/{brand}.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of clients to return. The service may return fewer than
	// this value.
	// If unspecified, at most 100 clients will be returned.
	// The maximum value is 1000; values above 1000 will be coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListIdentityAwareProxyClients`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListIdentityAwareProxyClients` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The request sent to ListIdentityAwareProxyClients.

func (*ListIdentityAwareProxyClientsRequest) Descriptor deprecated

func (*ListIdentityAwareProxyClientsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentityAwareProxyClientsRequest.ProtoReflect.Descriptor instead.

func (*ListIdentityAwareProxyClientsRequest) GetPageSize

func (*ListIdentityAwareProxyClientsRequest) GetPageToken

func (x *ListIdentityAwareProxyClientsRequest) GetPageToken() string

func (*ListIdentityAwareProxyClientsRequest) GetParent

func (*ListIdentityAwareProxyClientsRequest) ProtoMessage

func (*ListIdentityAwareProxyClientsRequest) ProtoMessage()

func (*ListIdentityAwareProxyClientsRequest) ProtoReflect

func (*ListIdentityAwareProxyClientsRequest) Reset

func (*ListIdentityAwareProxyClientsRequest) String

type ListIdentityAwareProxyClientsResponse

type ListIdentityAwareProxyClientsResponse struct {

	// Clients existing in the brand.
	IdentityAwareProxyClients []*IdentityAwareProxyClient `` /* 140-byte string literal not displayed */
	// A token, which can be send as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListIdentityAwareProxyClients.

func (*ListIdentityAwareProxyClientsResponse) Descriptor deprecated

func (*ListIdentityAwareProxyClientsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListIdentityAwareProxyClientsResponse.ProtoReflect.Descriptor instead.

func (*ListIdentityAwareProxyClientsResponse) GetIdentityAwareProxyClients

func (x *ListIdentityAwareProxyClientsResponse) GetIdentityAwareProxyClients() []*IdentityAwareProxyClient

func (*ListIdentityAwareProxyClientsResponse) GetNextPageToken

func (x *ListIdentityAwareProxyClientsResponse) GetNextPageToken() string

func (*ListIdentityAwareProxyClientsResponse) ProtoMessage

func (*ListIdentityAwareProxyClientsResponse) ProtoMessage()

func (*ListIdentityAwareProxyClientsResponse) ProtoReflect

func (*ListIdentityAwareProxyClientsResponse) Reset

func (*ListIdentityAwareProxyClientsResponse) String

type ListTunnelDestGroupsRequest

type ListTunnelDestGroupsRequest struct {

	// Required. Google Cloud Project ID and location.
	// In the following format:
	// `projects/{project_number/id}/iap_tunnel/locations/{location}`.
	// A `-` can be used for the location to group across all locations.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of groups to return. The service might return fewer than
	// this value.
	// If unspecified, at most 100 groups are returned.
	// The maximum value is 1000; values above 1000 are coerced to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A page token, received from a previous `ListTunnelDestGroups`
	// call. Provide this to retrieve the subsequent page.
	//
	// When paginating, all other parameters provided to
	// `ListTunnelDestGroups` must match the call that provided the page
	// token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The request to ListTunnelDestGroups.

func (*ListTunnelDestGroupsRequest) Descriptor deprecated

func (*ListTunnelDestGroupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTunnelDestGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListTunnelDestGroupsRequest) GetPageSize

func (x *ListTunnelDestGroupsRequest) GetPageSize() int32

func (*ListTunnelDestGroupsRequest) GetPageToken

func (x *ListTunnelDestGroupsRequest) GetPageToken() string

func (*ListTunnelDestGroupsRequest) GetParent

func (x *ListTunnelDestGroupsRequest) GetParent() string

func (*ListTunnelDestGroupsRequest) ProtoMessage

func (*ListTunnelDestGroupsRequest) ProtoMessage()

func (*ListTunnelDestGroupsRequest) ProtoReflect

func (*ListTunnelDestGroupsRequest) Reset

func (x *ListTunnelDestGroupsRequest) Reset()

func (*ListTunnelDestGroupsRequest) String

func (x *ListTunnelDestGroupsRequest) String() string

type ListTunnelDestGroupsResponse

type ListTunnelDestGroupsResponse struct {

	// TunnelDestGroup existing in the project.
	TunnelDestGroups []*TunnelDestGroup `protobuf:"bytes,1,rep,name=tunnel_dest_groups,json=tunnelDestGroups,proto3" json:"tunnel_dest_groups,omitempty"`
	// A token that you can send as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response from ListTunnelDestGroups.

func (*ListTunnelDestGroupsResponse) Descriptor deprecated

func (*ListTunnelDestGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTunnelDestGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListTunnelDestGroupsResponse) GetNextPageToken

func (x *ListTunnelDestGroupsResponse) GetNextPageToken() string

func (*ListTunnelDestGroupsResponse) GetTunnelDestGroups

func (x *ListTunnelDestGroupsResponse) GetTunnelDestGroups() []*TunnelDestGroup

func (*ListTunnelDestGroupsResponse) ProtoMessage

func (*ListTunnelDestGroupsResponse) ProtoMessage()

func (*ListTunnelDestGroupsResponse) ProtoReflect

func (*ListTunnelDestGroupsResponse) Reset

func (x *ListTunnelDestGroupsResponse) Reset()

func (*ListTunnelDestGroupsResponse) String

type OAuthSettings

type OAuthSettings struct {

	// Domain hint to send as hd=? parameter in OAuth request flow. Enables
	// redirect to primary IDP by skipping Google's login screen.
	// https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
	// Note: IAP does not verify that the id token's hd claim matches this value
	// since access behavior is managed by IAM policies.
	LoginHint *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=login_hint,json=loginHint,proto3" json:"login_hint,omitempty"`
	// List of OAuth client IDs allowed to programmatically authenticate with IAP.
	ProgrammaticClients []string `protobuf:"bytes,5,rep,name=programmatic_clients,json=programmaticClients,proto3" json:"programmatic_clients,omitempty"`
	// contains filtered or unexported fields
}

Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.

func (*OAuthSettings) Descriptor deprecated

func (*OAuthSettings) Descriptor() ([]byte, []int)

Deprecated: Use OAuthSettings.ProtoReflect.Descriptor instead.

func (*OAuthSettings) GetLoginHint

func (x *OAuthSettings) GetLoginHint() *wrapperspb.StringValue

func (*OAuthSettings) GetProgrammaticClients added in v1.9.0

func (x *OAuthSettings) GetProgrammaticClients() []string

func (*OAuthSettings) ProtoMessage

func (*OAuthSettings) ProtoMessage()

func (*OAuthSettings) ProtoReflect

func (x *OAuthSettings) ProtoReflect() protoreflect.Message

func (*OAuthSettings) Reset

func (x *OAuthSettings) Reset()

func (*OAuthSettings) String

func (x *OAuthSettings) String() string

type ReauthSettings

type ReauthSettings struct {

	// Reauth method requested.
	Method ReauthSettings_Method `protobuf:"varint,1,opt,name=method,proto3,enum=google.cloud.iap.v1.ReauthSettings_Method" json:"method,omitempty"`
	// Reauth session lifetime, how long before a user has to reauthenticate
	// again.
	MaxAge *durationpb.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	// How IAP determines the effective policy in cases of hierarchial policies.
	// Policies are merged from higher in the hierarchy to lower in the hierarchy.
	PolicyType ReauthSettings_PolicyType `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for IAP reauthentication policies.

func (*ReauthSettings) Descriptor deprecated

func (*ReauthSettings) Descriptor() ([]byte, []int)

Deprecated: Use ReauthSettings.ProtoReflect.Descriptor instead.

func (*ReauthSettings) GetMaxAge

func (x *ReauthSettings) GetMaxAge() *durationpb.Duration

func (*ReauthSettings) GetMethod

func (x *ReauthSettings) GetMethod() ReauthSettings_Method

func (*ReauthSettings) GetPolicyType

func (x *ReauthSettings) GetPolicyType() ReauthSettings_PolicyType

func (*ReauthSettings) ProtoMessage

func (*ReauthSettings) ProtoMessage()

func (*ReauthSettings) ProtoReflect

func (x *ReauthSettings) ProtoReflect() protoreflect.Message

func (*ReauthSettings) Reset

func (x *ReauthSettings) Reset()

func (*ReauthSettings) String

func (x *ReauthSettings) String() string

type ReauthSettings_Method

type ReauthSettings_Method int32

Types of reauthentication methods supported by IAP.

const (
	// Reauthentication disabled.
	ReauthSettings_METHOD_UNSPECIFIED ReauthSettings_Method = 0
	// Prompts the user to log in again.
	ReauthSettings_LOGIN ReauthSettings_Method = 1
	// Deprecated: Marked as deprecated in google/cloud/iap/v1/service.proto.
	ReauthSettings_PASSWORD ReauthSettings_Method = 2
	// User must use their secure key 2nd factor device.
	ReauthSettings_SECURE_KEY ReauthSettings_Method = 3
	// User can use any enabled 2nd factor.
	ReauthSettings_ENROLLED_SECOND_FACTORS ReauthSettings_Method = 4
)

func (ReauthSettings_Method) Descriptor

func (ReauthSettings_Method) Enum

func (ReauthSettings_Method) EnumDescriptor deprecated

func (ReauthSettings_Method) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReauthSettings_Method.Descriptor instead.

func (ReauthSettings_Method) Number

func (ReauthSettings_Method) String

func (x ReauthSettings_Method) String() string

func (ReauthSettings_Method) Type

type ReauthSettings_PolicyType

type ReauthSettings_PolicyType int32

Type of policy in the case of hierarchial policies.

const (
	// Default value. This value is unused.
	ReauthSettings_POLICY_TYPE_UNSPECIFIED ReauthSettings_PolicyType = 0
	// This policy acts as a minimum to other policies, lower in the hierarchy.
	// Effective policy may only be the same or stricter.
	ReauthSettings_MINIMUM ReauthSettings_PolicyType = 1
	// This policy acts as a default if no other reauth policy is set.
	ReauthSettings_DEFAULT ReauthSettings_PolicyType = 2
)

func (ReauthSettings_PolicyType) Descriptor

func (ReauthSettings_PolicyType) Enum

func (ReauthSettings_PolicyType) EnumDescriptor deprecated

func (ReauthSettings_PolicyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReauthSettings_PolicyType.Descriptor instead.

func (ReauthSettings_PolicyType) Number

func (ReauthSettings_PolicyType) String

func (x ReauthSettings_PolicyType) String() string

func (ReauthSettings_PolicyType) Type

type ResetIdentityAwareProxyClientSecretRequest

type ResetIdentityAwareProxyClientSecretRequest struct {

	// Required. Name of the Identity Aware Proxy client to that will have its
	// secret reset. In the following format:
	// projects/{project_number/id}/brands/{brand}/identityAwareProxyClients/{client_id}.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request sent to ResetIdentityAwareProxyClientSecret.

func (*ResetIdentityAwareProxyClientSecretRequest) Descriptor deprecated

Deprecated: Use ResetIdentityAwareProxyClientSecretRequest.ProtoReflect.Descriptor instead.

func (*ResetIdentityAwareProxyClientSecretRequest) GetName

func (*ResetIdentityAwareProxyClientSecretRequest) ProtoMessage

func (*ResetIdentityAwareProxyClientSecretRequest) ProtoReflect

func (*ResetIdentityAwareProxyClientSecretRequest) Reset

func (*ResetIdentityAwareProxyClientSecretRequest) String

type TunnelDestGroup

type TunnelDestGroup struct {

	// Required. Immutable. Identifier for the TunnelDestGroup. Must be unique
	// within the project and contain only lower case letters (a-z) and dashes
	// (-).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unordered list. List of CIDRs that this group applies to.
	Cidrs []string `protobuf:"bytes,2,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
	// Unordered list. List of FQDNs that this group applies to.
	Fqdns []string `protobuf:"bytes,3,rep,name=fqdns,proto3" json:"fqdns,omitempty"`
	// contains filtered or unexported fields
}

A TunnelDestGroup.

func (*TunnelDestGroup) Descriptor deprecated

func (*TunnelDestGroup) Descriptor() ([]byte, []int)

Deprecated: Use TunnelDestGroup.ProtoReflect.Descriptor instead.

func (*TunnelDestGroup) GetCidrs

func (x *TunnelDestGroup) GetCidrs() []string

func (*TunnelDestGroup) GetFqdns

func (x *TunnelDestGroup) GetFqdns() []string

func (*TunnelDestGroup) GetName

func (x *TunnelDestGroup) GetName() string

func (*TunnelDestGroup) ProtoMessage

func (*TunnelDestGroup) ProtoMessage()

func (*TunnelDestGroup) ProtoReflect

func (x *TunnelDestGroup) ProtoReflect() protoreflect.Message

func (*TunnelDestGroup) Reset

func (x *TunnelDestGroup) Reset()

func (*TunnelDestGroup) String

func (x *TunnelDestGroup) String() string

type UnimplementedIdentityAwareProxyAdminServiceServer

type UnimplementedIdentityAwareProxyAdminServiceServer struct {
}

UnimplementedIdentityAwareProxyAdminServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityAwareProxyAdminServiceServer) CreateTunnelDestGroup

func (*UnimplementedIdentityAwareProxyAdminServiceServer) DeleteTunnelDestGroup

func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIamPolicy

func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIapSettings

func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetTunnelDestGroup

func (*UnimplementedIdentityAwareProxyAdminServiceServer) ListTunnelDestGroups

func (*UnimplementedIdentityAwareProxyAdminServiceServer) SetIamPolicy

func (*UnimplementedIdentityAwareProxyAdminServiceServer) TestIamPermissions

func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateIapSettings

func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateTunnelDestGroup

type UnimplementedIdentityAwareProxyOAuthServiceServer

type UnimplementedIdentityAwareProxyOAuthServiceServer struct {
}

UnimplementedIdentityAwareProxyOAuthServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateBrand

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateIdentityAwareProxyClient

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) DeleteIdentityAwareProxyClient

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetBrand

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetIdentityAwareProxyClient

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ListBrands

func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ResetIdentityAwareProxyClientSecret

type UpdateIapSettingsRequest

type UpdateIapSettingsRequest struct {

	// Required. The new values for the IAP settings to be updated.
	// Authorization: Requires the `updateSettings` permission for the associated
	// resource.
	IapSettings *IapSettings `protobuf:"bytes,1,opt,name=iap_settings,json=iapSettings,proto3" json:"iap_settings,omitempty"`
	// The field mask specifying which IAP settings should be updated.
	// If omitted, then all of the settings are updated. See
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
	//
	// Note: All IAP reauth settings must always be set together, using the
	// field mask: `iapSettings.accessSettings.reauthSettings`.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request sent to UpdateIapSettings.

func (*UpdateIapSettingsRequest) Descriptor deprecated

func (*UpdateIapSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateIapSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateIapSettingsRequest) GetIapSettings

func (x *UpdateIapSettingsRequest) GetIapSettings() *IapSettings

func (*UpdateIapSettingsRequest) GetUpdateMask

func (x *UpdateIapSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateIapSettingsRequest) ProtoMessage

func (*UpdateIapSettingsRequest) ProtoMessage()

func (*UpdateIapSettingsRequest) ProtoReflect

func (x *UpdateIapSettingsRequest) ProtoReflect() protoreflect.Message

func (*UpdateIapSettingsRequest) Reset

func (x *UpdateIapSettingsRequest) Reset()

func (*UpdateIapSettingsRequest) String

func (x *UpdateIapSettingsRequest) String() string

type UpdateTunnelDestGroupRequest

type UpdateTunnelDestGroupRequest struct {

	// Required. The new values for the TunnelDestGroup.
	TunnelDestGroup *TunnelDestGroup `protobuf:"bytes,1,opt,name=tunnel_dest_group,json=tunnelDestGroup,proto3" json:"tunnel_dest_group,omitempty"`
	// A field mask that specifies which IAP settings to update.
	// If omitted, then all of the settings are updated. See
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request to UpdateTunnelDestGroup.

func (*UpdateTunnelDestGroupRequest) Descriptor deprecated

func (*UpdateTunnelDestGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTunnelDestGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateTunnelDestGroupRequest) GetTunnelDestGroup

func (x *UpdateTunnelDestGroupRequest) GetTunnelDestGroup() *TunnelDestGroup

func (*UpdateTunnelDestGroupRequest) GetUpdateMask

func (*UpdateTunnelDestGroupRequest) ProtoMessage

func (*UpdateTunnelDestGroupRequest) ProtoMessage()

func (*UpdateTunnelDestGroupRequest) ProtoReflect

func (*UpdateTunnelDestGroupRequest) Reset

func (x *UpdateTunnelDestGroupRequest) Reset()

func (*UpdateTunnelDestGroupRequest) String

Jump to

Keyboard shortcuts

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