| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package recaptchaenterprise aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package recaptchaenterprise |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 31 |
const ( |
| 32 |
AccountDefenderAssessment_ACCOUNT_DEFENDER_LABEL_UNSPECIFIED = src.AccountDefenderAssessment_ACCOUNT_DEFENDER_LABEL_UNSPECIFIED |
| 33 |
AccountDefenderAssessment_PROFILE_MATCH = src.AccountDefenderAssessment_PROFILE_MATCH |
| 34 |
AccountDefenderAssessment_RELATED_ACCOUNTS_NUMBER_HIGH = src.AccountDefenderAssessment_RELATED_ACCOUNTS_NUMBER_HIGH |
| 35 |
AccountDefenderAssessment_SUSPICIOUS_ACCOUNT_CREATION = src.AccountDefenderAssessment_SUSPICIOUS_ACCOUNT_CREATION |
| 36 |
AccountDefenderAssessment_SUSPICIOUS_LOGIN_ACTIVITY = src.AccountDefenderAssessment_SUSPICIOUS_LOGIN_ACTIVITY |
| 37 |
AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED = src.AnnotateAssessmentRequest_ANNOTATION_UNSPECIFIED |
| 38 |
AnnotateAssessmentRequest_CHARGEBACK = src.AnnotateAssessmentRequest_CHARGEBACK |
| 39 |
AnnotateAssessmentRequest_CHARGEBACK_DISPUTE = src.AnnotateAssessmentRequest_CHARGEBACK_DISPUTE |
| 40 |
AnnotateAssessmentRequest_CHARGEBACK_FRAUD = src.AnnotateAssessmentRequest_CHARGEBACK_FRAUD |
| 41 |
AnnotateAssessmentRequest_CORRECT_PASSWORD = src.AnnotateAssessmentRequest_CORRECT_PASSWORD |
| 42 |
AnnotateAssessmentRequest_FAILED_TWO_FACTOR = src.AnnotateAssessmentRequest_FAILED_TWO_FACTOR |
| 43 |
AnnotateAssessmentRequest_FRAUDULENT = src.AnnotateAssessmentRequest_FRAUDULENT |
| 44 |
AnnotateAssessmentRequest_INCORRECT_PASSWORD = src.AnnotateAssessmentRequest_INCORRECT_PASSWORD |
| 45 |
AnnotateAssessmentRequest_INITIATED_TWO_FACTOR = src.AnnotateAssessmentRequest_INITIATED_TWO_FACTOR |
| 46 |
AnnotateAssessmentRequest_LEGITIMATE = src.AnnotateAssessmentRequest_LEGITIMATE |
| 47 |
AnnotateAssessmentRequest_PASSED_TWO_FACTOR = src.AnnotateAssessmentRequest_PASSED_TWO_FACTOR |
| 48 |
AnnotateAssessmentRequest_PASSWORD_CORRECT = src.AnnotateAssessmentRequest_PASSWORD_CORRECT |
| 49 |
AnnotateAssessmentRequest_PASSWORD_INCORRECT = src.AnnotateAssessmentRequest_PASSWORD_INCORRECT |
| 50 |
AnnotateAssessmentRequest_PAYMENT_HEURISTICS = src.AnnotateAssessmentRequest_PAYMENT_HEURISTICS |
| 51 |
AnnotateAssessmentRequest_REASON_UNSPECIFIED = src.AnnotateAssessmentRequest_REASON_UNSPECIFIED |
| 52 |
Assessment_AUTOMATION = src.Assessment_AUTOMATION |
| 53 |
Assessment_CLASSIFICATION_REASON_UNSPECIFIED = src.Assessment_CLASSIFICATION_REASON_UNSPECIFIED |
| 54 |
Assessment_LOW_CONFIDENCE_SCORE = src.Assessment_LOW_CONFIDENCE_SCORE |
| 55 |
Assessment_TOO_MUCH_TRAFFIC = src.Assessment_TOO_MUCH_TRAFFIC |
| 56 |
Assessment_UNEXPECTED_ENVIRONMENT = src.Assessment_UNEXPECTED_ENVIRONMENT |
| 57 |
Assessment_UNEXPECTED_USAGE_PATTERNS = src.Assessment_UNEXPECTED_USAGE_PATTERNS |
| 58 |
TokenProperties_BROWSER_ERROR = src.TokenProperties_BROWSER_ERROR |
| 59 |
TokenProperties_DUPE = src.TokenProperties_DUPE |
| 60 |
TokenProperties_EXPIRED = src.TokenProperties_EXPIRED |
| 61 |
TokenProperties_INVALID_REASON_UNSPECIFIED = src.TokenProperties_INVALID_REASON_UNSPECIFIED |
| 62 |
TokenProperties_MALFORMED = src.TokenProperties_MALFORMED |
| 63 |
TokenProperties_MISSING = src.TokenProperties_MISSING |
| 64 |
TokenProperties_SITE_MISMATCH = src.TokenProperties_SITE_MISMATCH |
| 65 |
TokenProperties_UNKNOWN_INVALID_REASON = src.TokenProperties_UNKNOWN_INVALID_REASON |
| 66 |
) |
| 67 |
|
| 68 |
// Deprecated: Please use vars in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 69 |
var ( |
| 70 |
AccountDefenderAssessment_AccountDefenderLabel_name = src.AccountDefenderAssessment_AccountDefenderLabel_name |
| 71 |
AccountDefenderAssessment_AccountDefenderLabel_value = src.AccountDefenderAssessment_AccountDefenderLabel_value |
| 72 |
AnnotateAssessmentRequest_Annotation_name = src.AnnotateAssessmentRequest_Annotation_name |
| 73 |
AnnotateAssessmentRequest_Annotation_value = src.AnnotateAssessmentRequest_Annotation_value |
| 74 |
AnnotateAssessmentRequest_Reason_name = src.AnnotateAssessmentRequest_Reason_name |
| 75 |
AnnotateAssessmentRequest_Reason_value = src.AnnotateAssessmentRequest_Reason_value |
| 76 |
Assessment_ClassificationReason_name = src.Assessment_ClassificationReason_name |
| 77 |
Assessment_ClassificationReason_value = src.Assessment_ClassificationReason_value |
| 78 |
File_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto = src.File_google_cloud_recaptchaenterprise_v1beta1_recaptchaenterprise_proto |
| 79 |
TokenProperties_InvalidReason_name = src.TokenProperties_InvalidReason_name |
| 80 |
TokenProperties_InvalidReason_value = src.TokenProperties_InvalidReason_value |
| 81 |
) |
| 82 |
|
| 83 |
// Account Defender risk assessment. |
| 84 |
// |
| 85 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 86 |
type AccountDefenderAssessment = src.AccountDefenderAssessment |
| 87 |
|
| 88 |
// Labels returned by Account Defender for this request. |
| 89 |
// |
| 90 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 91 |
type AccountDefenderAssessment_AccountDefenderLabel = src.AccountDefenderAssessment_AccountDefenderLabel |
| 92 |
|
| 93 |
// The request message to annotate an Assessment. |
| 94 |
// |
| 95 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 96 |
type AnnotateAssessmentRequest = src.AnnotateAssessmentRequest |
| 97 |
|
| 98 |
// Enum that represents the types of annotations. |
| 99 |
// |
| 100 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 101 |
type AnnotateAssessmentRequest_Annotation = src.AnnotateAssessmentRequest_Annotation |
| 102 |
|
| 103 |
// Enum that represents potential reasons for annotating an assessment. |
| 104 |
// |
| 105 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 106 |
type AnnotateAssessmentRequest_Reason = src.AnnotateAssessmentRequest_Reason |
| 107 |
|
| 108 |
// Empty response for AnnotateAssessment. |
| 109 |
// |
| 110 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 111 |
type AnnotateAssessmentResponse = src.AnnotateAssessmentResponse |
| 112 |
|
| 113 |
// A recaptcha assessment resource. |
| 114 |
// |
| 115 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 116 |
type Assessment = src.Assessment |
| 117 |
|
| 118 |
// Reasons contributing to the risk analysis verdict. |
| 119 |
// |
| 120 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 121 |
type Assessment_ClassificationReason = src.Assessment_ClassificationReason |
| 122 |
|
| 123 |
// The create assessment request message. |
| 124 |
// |
| 125 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 126 |
type CreateAssessmentRequest = src.CreateAssessmentRequest |
| 127 |
type Event = src.Event |
| 128 |
|
| 129 |
// Password leak verification info. |
| 130 |
// |
| 131 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 132 |
type PasswordLeakVerification = src.PasswordLeakVerification |
| 133 |
|
| 134 |
// RecaptchaEnterpriseServiceV1Beta1Client is the client API for |
| 135 |
// RecaptchaEnterpriseServiceV1Beta1 service. For semantics around ctx use and |
| 136 |
// closing/ending streaming RPCs, please refer to |
| 137 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 138 |
// |
| 139 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 140 |
type RecaptchaEnterpriseServiceV1Beta1Client = src.RecaptchaEnterpriseServiceV1Beta1Client |
| 141 |
|
| 142 |
// RecaptchaEnterpriseServiceV1Beta1Server is the server API for |
| 143 |
// RecaptchaEnterpriseServiceV1Beta1 service. |
| 144 |
// |
| 145 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 146 |
type RecaptchaEnterpriseServiceV1Beta1Server = src.RecaptchaEnterpriseServiceV1Beta1Server |
| 147 |
type TokenProperties = src.TokenProperties |
| 148 |
|
| 149 |
// Enum that represents the types of invalid token reasons. |
| 150 |
// |
| 151 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 152 |
type TokenProperties_InvalidReason = src.TokenProperties_InvalidReason |
| 153 |
|
| 154 |
// UnimplementedRecaptchaEnterpriseServiceV1Beta1Server can be embedded to |
| 155 |
// have forward compatible implementations. |
| 156 |
// |
| 157 |
// Deprecated: Please use types in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 158 |
type UnimplementedRecaptchaEnterpriseServiceV1Beta1Server = src.UnimplementedRecaptchaEnterpriseServiceV1Beta1Server |
| 159 |
|
| 160 |
// Deprecated: Please use funcs in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 161 |
func NewRecaptchaEnterpriseServiceV1Beta1Client(cc grpc.ClientConnInterface) RecaptchaEnterpriseServiceV1Beta1Client { |
| 162 |
return src.NewRecaptchaEnterpriseServiceV1Beta1Client(cc) |
| 163 |
} |
| 164 |
|
| 165 |
// Deprecated: Please use funcs in: cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1/recaptchaenterprisepb |
| 166 |
func RegisterRecaptchaEnterpriseServiceV1Beta1Server(s *grpc.Server, srv RecaptchaEnterpriseServiceV1Beta1Server) { |
| 167 |
src.RegisterRecaptchaEnterpriseServiceV1Beta1Server(s, srv) |
| 168 |
} |