Variables
ReauthSettings_Method_name, ReauthSettings_Method_value
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.
ReauthSettings_PolicyType_name, ReauthSettings_PolicyType_value
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.
AttributePropagationSettings_OutputCredentials_name, AttributePropagationSettings_OutputCredentials_value
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.
File_google_cloud_iap_v1_service_proto
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)
AccessDeniedPageSettings
type AccessDeniedPageSettings struct {
AccessDeniedPageUri *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=access_denied_page_uri,json=accessDeniedPageUri,proto3" json:"access_denied_page_uri,omitempty"`
GenerateTroubleshootingUri *wrapperspb.BoolValue "" /* 141 byte string literal not displayed */
RemediationTokenGenerationEnabled *wrapperspb.BoolValue "" /* 170 byte string literal not displayed */
}
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
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
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
AccessSettings
type AccessSettings struct {
GcipSettings *GcipSettings `protobuf:"bytes,1,opt,name=gcip_settings,json=gcipSettings,proto3" json:"gcip_settings,omitempty"`
CorsSettings *CorsSettings `protobuf:"bytes,2,opt,name=cors_settings,json=corsSettings,proto3" json:"cors_settings,omitempty"`
OauthSettings *OAuthSettings `protobuf:"bytes,3,opt,name=oauth_settings,json=oauthSettings,proto3" json:"oauth_settings,omitempty"`
ReauthSettings *ReauthSettings `protobuf:"bytes,6,opt,name=reauth_settings,json=reauthSettings,proto3" json:"reauth_settings,omitempty"`
AllowedDomainsSettings *AllowedDomainsSettings "" /* 129 byte string literal not displayed */
}
Access related settings for IAP protected apps.
func (*AccessSettings) Descriptor
func (*AccessSettings) Descriptor() ([]byte, []int)
Deprecated: Use AccessSettings.ProtoReflect.Descriptor instead.
func (*AccessSettings) GetAllowedDomainsSettings
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
AllowedDomainsSettings
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
func (*AllowedDomainsSettings) Descriptor() ([]byte, []int)
Deprecated: Use AllowedDomainsSettings.ProtoReflect.Descriptor instead.
func (*AllowedDomainsSettings) GetDomains
func (x *AllowedDomainsSettings) GetDomains() []string
func (*AllowedDomainsSettings) GetEnable
func (x *AllowedDomainsSettings) GetEnable() bool
func (*AllowedDomainsSettings) ProtoMessage
func (*AllowedDomainsSettings) ProtoMessage()
func (*AllowedDomainsSettings) ProtoReflect
func (x *AllowedDomainsSettings) ProtoReflect() protoreflect.Message
func (*AllowedDomainsSettings) Reset
func (x *AllowedDomainsSettings) Reset()
func (*AllowedDomainsSettings) String
func (x *AllowedDomainsSettings) String() string
ApplicationSettings
type ApplicationSettings struct {
CsmSettings *CsmSettings `protobuf:"bytes,1,opt,name=csm_settings,json=csmSettings,proto3" json:"csm_settings,omitempty"`
AccessDeniedPageSettings *AccessDeniedPageSettings "" /* 137 byte string literal not displayed */
CookieDomain *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=cookie_domain,json=cookieDomain,proto3" json:"cookie_domain,omitempty"`
AttributePropagationSettings *AttributePropagationSettings "" /* 147 byte string literal not displayed */
}
Wrapper over application specific settings for IAP.
func (*ApplicationSettings) Descriptor
func (*ApplicationSettings) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationSettings.ProtoReflect.Descriptor instead.
func (*ApplicationSettings) GetAccessDeniedPageSettings
func (x *ApplicationSettings) GetAccessDeniedPageSettings() *AccessDeniedPageSettings
func (*ApplicationSettings) GetAttributePropagationSettings
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
AttributePropagationSettings
type AttributePropagationSettings struct {
Expression *string `protobuf:"bytes,1,opt,name=expression,proto3,oneof" json:"expression,omitempty"`
OutputCredentials []AttributePropagationSettings_OutputCredentials "" /* 192 byte string literal not displayed */
Enable *bool `protobuf:"varint,3,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
}
Configuration for propagating attributes to applications protected by IAP.
func (*AttributePropagationSettings) Descriptor
func (*AttributePropagationSettings) Descriptor() ([]byte, []int)
Deprecated: Use AttributePropagationSettings.ProtoReflect.Descriptor instead.
func (*AttributePropagationSettings) GetEnable
func (x *AttributePropagationSettings) GetEnable() bool
func (*AttributePropagationSettings) GetExpression
func (x *AttributePropagationSettings) GetExpression() string
func (*AttributePropagationSettings) GetOutputCredentials
func (x *AttributePropagationSettings) GetOutputCredentials() []AttributePropagationSettings_OutputCredentials
func (*AttributePropagationSettings) ProtoMessage
func (*AttributePropagationSettings) ProtoMessage()
func (*AttributePropagationSettings) ProtoReflect
func (x *AttributePropagationSettings) ProtoReflect() protoreflect.Message
func (*AttributePropagationSettings) Reset
func (x *AttributePropagationSettings) Reset()
func (*AttributePropagationSettings) String
func (x *AttributePropagationSettings) String() string
AttributePropagationSettings_OutputCredentials
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.
AttributePropagationSettings_OUTPUT_CREDENTIALS_UNSPECIFIED, AttributePropagationSettings_HEADER, AttributePropagationSettings_JWT, AttributePropagationSettings_RCTOKEN
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
func (AttributePropagationSettings_OutputCredentials) Descriptor() protoreflect.EnumDescriptor
func (AttributePropagationSettings_OutputCredentials) Enum
func (x AttributePropagationSettings_OutputCredentials) Enum() *AttributePropagationSettings_OutputCredentials
func (AttributePropagationSettings_OutputCredentials) EnumDescriptor
func (AttributePropagationSettings_OutputCredentials) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttributePropagationSettings_OutputCredentials.Descriptor instead.
func (AttributePropagationSettings_OutputCredentials) Number
func (x AttributePropagationSettings_OutputCredentials) Number() protoreflect.EnumNumber
func (AttributePropagationSettings_OutputCredentials) String
func (x AttributePropagationSettings_OutputCredentials) String() string
func (AttributePropagationSettings_OutputCredentials) 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: Use Brand.ProtoReflect.Descriptor instead.
func (*Brand) GetApplicationTitle
func (*Brand) GetName
func (*Brand) GetOrgInternalOnly
func (*Brand) GetSupportEmail
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
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
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
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
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
CreateIdentityAwareProxyClientRequest
type CreateIdentityAwareProxyClientRequest struct {
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
IdentityAwareProxyClient *IdentityAwareProxyClient "" /* 137 byte string literal not displayed */
}
The request sent to CreateIdentityAwareProxyClient.
func (*CreateIdentityAwareProxyClientRequest) Descriptor
func (*CreateIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.
func (*CreateIdentityAwareProxyClientRequest) GetIdentityAwareProxyClient
func (x *CreateIdentityAwareProxyClientRequest) GetIdentityAwareProxyClient() *IdentityAwareProxyClient
func (*CreateIdentityAwareProxyClientRequest) GetParent
func (x *CreateIdentityAwareProxyClientRequest) GetParent() string
func (*CreateIdentityAwareProxyClientRequest) ProtoMessage
func (*CreateIdentityAwareProxyClientRequest) ProtoMessage()
func (*CreateIdentityAwareProxyClientRequest) ProtoReflect
func (x *CreateIdentityAwareProxyClientRequest) ProtoReflect() protoreflect.Message
func (*CreateIdentityAwareProxyClientRequest) Reset
func (x *CreateIdentityAwareProxyClientRequest) Reset()
func (*CreateIdentityAwareProxyClientRequest) String
func (x *CreateIdentityAwareProxyClientRequest) String() string
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
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 (x *CreateTunnelDestGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateTunnelDestGroupRequest) Reset
func (x *CreateTunnelDestGroupRequest) Reset()
func (*CreateTunnelDestGroupRequest) String
func (x *CreateTunnelDestGroupRequest) String() string
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
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
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
func (*DeleteIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.
func (*DeleteIdentityAwareProxyClientRequest) GetName
func (x *DeleteIdentityAwareProxyClientRequest) GetName() string
func (*DeleteIdentityAwareProxyClientRequest) ProtoMessage
func (*DeleteIdentityAwareProxyClientRequest) ProtoMessage()
func (*DeleteIdentityAwareProxyClientRequest) ProtoReflect
func (x *DeleteIdentityAwareProxyClientRequest) ProtoReflect() protoreflect.Message
func (*DeleteIdentityAwareProxyClientRequest) Reset
func (x *DeleteIdentityAwareProxyClientRequest) Reset()
func (*DeleteIdentityAwareProxyClientRequest) String
func (x *DeleteIdentityAwareProxyClientRequest) String() string
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
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 (x *DeleteTunnelDestGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteTunnelDestGroupRequest) Reset
func (x *DeleteTunnelDestGroupRequest) Reset()
func (*DeleteTunnelDestGroupRequest) String
func (x *DeleteTunnelDestGroupRequest) String() string
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 _
Allows customers to configure tenant_id for GCIP instance per-app.
func (*GcipSettings) Descriptor
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
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
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
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
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
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
func (*GetIdentityAwareProxyClientRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIdentityAwareProxyClientRequest.ProtoReflect.Descriptor instead.
func (*GetIdentityAwareProxyClientRequest) GetName
func (x *GetIdentityAwareProxyClientRequest) GetName() string
func (*GetIdentityAwareProxyClientRequest) ProtoMessage
func (*GetIdentityAwareProxyClientRequest) ProtoMessage()
func (*GetIdentityAwareProxyClientRequest) ProtoReflect
func (x *GetIdentityAwareProxyClientRequest) ProtoReflect() protoreflect.Message
func (*GetIdentityAwareProxyClientRequest) Reset
func (x *GetIdentityAwareProxyClientRequest) Reset()
func (*GetIdentityAwareProxyClientRequest) String
func (x *GetIdentityAwareProxyClientRequest) String() string
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
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 (x *GetTunnelDestGroupRequest) ProtoReflect() protoreflect.Message
func (*GetTunnelDestGroupRequest) Reset
func (x *GetTunnelDestGroupRequest) Reset()
func (*GetTunnelDestGroupRequest) String
func (x *GetTunnelDestGroupRequest) String() string
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
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
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.
func NewIdentityAwareProxyAdminServiceClient
func NewIdentityAwareProxyAdminServiceClient(cc grpc.ClientConnInterface) IdentityAwareProxyAdminServiceClient
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.
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
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
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.
func NewIdentityAwareProxyOAuthServiceClient
func NewIdentityAwareProxyOAuthServiceClient(cc grpc.ClientConnInterface) IdentityAwareProxyOAuthServiceClient
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.
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
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
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
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
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
func (*ListIdentityAwareProxyClientsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIdentityAwareProxyClientsRequest.ProtoReflect.Descriptor instead.
func (*ListIdentityAwareProxyClientsRequest) GetPageSize
func (x *ListIdentityAwareProxyClientsRequest) GetPageSize() int32
func (*ListIdentityAwareProxyClientsRequest) GetPageToken
func (x *ListIdentityAwareProxyClientsRequest) GetPageToken() string
func (*ListIdentityAwareProxyClientsRequest) GetParent
func (x *ListIdentityAwareProxyClientsRequest) GetParent() string
func (*ListIdentityAwareProxyClientsRequest) ProtoMessage
func (*ListIdentityAwareProxyClientsRequest) ProtoMessage()
func (*ListIdentityAwareProxyClientsRequest) ProtoReflect
func (x *ListIdentityAwareProxyClientsRequest) ProtoReflect() protoreflect.Message
func (*ListIdentityAwareProxyClientsRequest) Reset
func (x *ListIdentityAwareProxyClientsRequest) Reset()
func (*ListIdentityAwareProxyClientsRequest) String
func (x *ListIdentityAwareProxyClientsRequest) String() string
ListIdentityAwareProxyClientsResponse
type ListIdentityAwareProxyClientsResponse struct {
IdentityAwareProxyClients []*IdentityAwareProxyClient "" /* 140 byte string literal not displayed */
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
}
Response message for ListIdentityAwareProxyClients.
func (*ListIdentityAwareProxyClientsResponse) Descriptor
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 (x *ListIdentityAwareProxyClientsResponse) ProtoReflect() protoreflect.Message
func (*ListIdentityAwareProxyClientsResponse) Reset
func (x *ListIdentityAwareProxyClientsResponse) Reset()
func (*ListIdentityAwareProxyClientsResponse) String
func (x *ListIdentityAwareProxyClientsResponse) String() string
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
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 (x *ListTunnelDestGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListTunnelDestGroupsRequest) Reset
func (x *ListTunnelDestGroupsRequest) Reset()
func (*ListTunnelDestGroupsRequest) String
func (x *ListTunnelDestGroupsRequest) String() string
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
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 (x *ListTunnelDestGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListTunnelDestGroupsResponse) Reset
func (x *ListTunnelDestGroupsResponse) Reset()
func (*ListTunnelDestGroupsResponse) String
func (x *ListTunnelDestGroupsResponse) String() string
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"`
// contains filtered or unexported fields
}
Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
func (*OAuthSettings) Descriptor
func (*OAuthSettings) Descriptor() ([]byte, []int)
Deprecated: Use OAuthSettings.ProtoReflect.Descriptor instead.
func (*OAuthSettings) GetLoginHint
func (x *OAuthSettings) GetLoginHint() *wrapperspb.StringValue
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
ReauthSettings
type ReauthSettings struct {
Method ReauthSettings_Method `protobuf:"varint,1,opt,name=method,proto3,enum=google.cloud.iap.v1.ReauthSettings_Method" json:"method,omitempty"`
MaxAge *durationpb.Duration `protobuf:"bytes,2,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
PolicyType ReauthSettings_PolicyType "" /* 143 byte string literal not displayed */
}
Configuration for IAP reauthentication policies.
func (*ReauthSettings) Descriptor
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
ReauthSettings_Method
type ReauthSettings_Method int32
Types of reauthentication methods supported by IAP.
ReauthSettings_METHOD_UNSPECIFIED, ReauthSettings_LOGIN, ReauthSettings_PASSWORD, ReauthSettings_SECURE_KEY, ReauthSettings_ENROLLED_SECOND_FACTORS
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) Descriptor() protoreflect.EnumDescriptor
func (ReauthSettings_Method) Enum
func (x ReauthSettings_Method) Enum() *ReauthSettings_Method
func (ReauthSettings_Method) EnumDescriptor
func (ReauthSettings_Method) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReauthSettings_Method.Descriptor instead.
func (ReauthSettings_Method) Number
func (x ReauthSettings_Method) Number() protoreflect.EnumNumber
func (ReauthSettings_Method) String
func (x ReauthSettings_Method) String() string
func (ReauthSettings_Method) Type
func (ReauthSettings_Method) Type() protoreflect.EnumType
ReauthSettings_PolicyType
type ReauthSettings_PolicyType int32
Type of policy in the case of hierarchial policies.
ReauthSettings_POLICY_TYPE_UNSPECIFIED, ReauthSettings_MINIMUM, ReauthSettings_DEFAULT
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) Descriptor() protoreflect.EnumDescriptor
func (ReauthSettings_PolicyType) Enum
func (x ReauthSettings_PolicyType) Enum() *ReauthSettings_PolicyType
func (ReauthSettings_PolicyType) EnumDescriptor
func (ReauthSettings_PolicyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReauthSettings_PolicyType.Descriptor instead.
func (ReauthSettings_PolicyType) Number
func (x ReauthSettings_PolicyType) Number() protoreflect.EnumNumber
func (ReauthSettings_PolicyType) String
func (x ReauthSettings_PolicyType) String() string
func (ReauthSettings_PolicyType) Type
func (ReauthSettings_PolicyType) Type() protoreflect.EnumType
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
func (*ResetIdentityAwareProxyClientSecretRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetIdentityAwareProxyClientSecretRequest.ProtoReflect.Descriptor instead.
func (*ResetIdentityAwareProxyClientSecretRequest) GetName
func (x *ResetIdentityAwareProxyClientSecretRequest) GetName() string
func (*ResetIdentityAwareProxyClientSecretRequest) ProtoMessage
func (*ResetIdentityAwareProxyClientSecretRequest) ProtoMessage()
func (*ResetIdentityAwareProxyClientSecretRequest) ProtoReflect
func (x *ResetIdentityAwareProxyClientSecretRequest) ProtoReflect() protoreflect.Message
func (*ResetIdentityAwareProxyClientSecretRequest) Reset
func (x *ResetIdentityAwareProxyClientSecretRequest) Reset()
func (*ResetIdentityAwareProxyClientSecretRequest) String
func (x *ResetIdentityAwareProxyClientSecretRequest) String() string
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
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
UnimplementedIdentityAwareProxyAdminServiceServer
type UnimplementedIdentityAwareProxyAdminServiceServer struct {
}
UnimplementedIdentityAwareProxyAdminServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityAwareProxyAdminServiceServer) CreateTunnelDestGroup
func (*UnimplementedIdentityAwareProxyAdminServiceServer) CreateTunnelDestGroup(context.Context, *CreateTunnelDestGroupRequest) (*TunnelDestGroup, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) DeleteTunnelDestGroup
func (*UnimplementedIdentityAwareProxyAdminServiceServer) DeleteTunnelDestGroup(context.Context, *DeleteTunnelDestGroupRequest) (*emptypb.Empty, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIamPolicy
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIapSettings
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetIapSettings(context.Context, *GetIapSettingsRequest) (*IapSettings, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetTunnelDestGroup
func (*UnimplementedIdentityAwareProxyAdminServiceServer) GetTunnelDestGroup(context.Context, *GetTunnelDestGroupRequest) (*TunnelDestGroup, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) ListTunnelDestGroups
func (*UnimplementedIdentityAwareProxyAdminServiceServer) ListTunnelDestGroups(context.Context, *ListTunnelDestGroupsRequest) (*ListTunnelDestGroupsResponse, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) SetIamPolicy
func (*UnimplementedIdentityAwareProxyAdminServiceServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) TestIamPermissions
func (*UnimplementedIdentityAwareProxyAdminServiceServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateIapSettings
func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateIapSettings(context.Context, *UpdateIapSettingsRequest) (*IapSettings, error)
func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateTunnelDestGroup
func (*UnimplementedIdentityAwareProxyAdminServiceServer) UpdateTunnelDestGroup(context.Context, *UpdateTunnelDestGroupRequest) (*TunnelDestGroup, error)
UnimplementedIdentityAwareProxyOAuthServiceServer
type UnimplementedIdentityAwareProxyOAuthServiceServer struct {
}
UnimplementedIdentityAwareProxyOAuthServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateBrand
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateBrand(context.Context, *CreateBrandRequest) (*Brand, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateIdentityAwareProxyClient
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) CreateIdentityAwareProxyClient(context.Context, *CreateIdentityAwareProxyClientRequest) (*IdentityAwareProxyClient, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) DeleteIdentityAwareProxyClient
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) DeleteIdentityAwareProxyClient(context.Context, *DeleteIdentityAwareProxyClientRequest) (*emptypb.Empty, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetBrand
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetBrand(context.Context, *GetBrandRequest) (*Brand, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetIdentityAwareProxyClient
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) GetIdentityAwareProxyClient(context.Context, *GetIdentityAwareProxyClientRequest) (*IdentityAwareProxyClient, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ListBrands
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ListBrands(context.Context, *ListBrandsRequest) (*ListBrandsResponse, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ListIdentityAwareProxyClients
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ListIdentityAwareProxyClients(context.Context, *ListIdentityAwareProxyClientsRequest) (*ListIdentityAwareProxyClientsResponse, error)
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ResetIdentityAwareProxyClientSecret
func (*UnimplementedIdentityAwareProxyOAuthServiceServer) ResetIdentityAwareProxyClientSecret(context.Context, *ResetIdentityAwareProxyClientSecretRequest) (*IdentityAwareProxyClient, error)
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
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
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
func (*UpdateTunnelDestGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTunnelDestGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateTunnelDestGroupRequest) GetTunnelDestGroup
func (x *UpdateTunnelDestGroupRequest) GetTunnelDestGroup() *TunnelDestGroup
func (*UpdateTunnelDestGroupRequest) GetUpdateMask
func (x *UpdateTunnelDestGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateTunnelDestGroupRequest) ProtoMessage
func (*UpdateTunnelDestGroupRequest) ProtoMessage()
func (*UpdateTunnelDestGroupRequest) ProtoReflect
func (x *UpdateTunnelDestGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateTunnelDestGroupRequest) Reset
func (x *UpdateTunnelDestGroupRequest) Reset()
func (*UpdateTunnelDestGroupRequest) String
func (x *UpdateTunnelDestGroupRequest) String() string