| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/recaptchaenterprise/v2/apiv1beta1", |
| 4 |
"version": "2.20.4", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.recaptchaenterprise.v1beta1", |
| 9 |
"version": "v1beta1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_AnnotateAssessment_sync", |
| 16 |
"title": "recaptchaenterprise AnnotateAssessment Sample", |
| 17 |
"description": "AnnotateAssessment annotates a previously created Assessment to provide additional information\non whether the event turned out to be authentic or fradulent.", |
| 18 |
"file": "RecaptchaEnterpriseServiceV1Beta1Client/AnnotateAssessment/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "AnnotateAssessment", |
| 22 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client.AnnotateAssessment", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "recaptchaenterprisepb.AnnotateAssessmentRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "*recaptchaenterprisepb.AnnotateAssessmentResponse", |
| 38 |
"client": { |
| 39 |
"shortName": "RecaptchaEnterpriseServiceV1Beta1Client", |
| 40 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "AnnotateAssessment", |
| 44 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.AnnotateAssessment", |
| 45 |
"service": { |
| 46 |
"shortName": "RecaptchaEnterpriseServiceV1Beta1", |
| 47 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 53, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"regionTag": "recaptchaenterprise_v1beta1_generated_RecaptchaEnterpriseServiceV1Beta1_CreateAssessment_sync", |
| 62 |
"title": "recaptchaenterprise CreateAssessment Sample", |
| 63 |
"description": "CreateAssessment creates an Assessment of the likelihood an event is legitimate.", |
| 64 |
"file": "RecaptchaEnterpriseServiceV1Beta1Client/CreateAssessment/main.go", |
| 65 |
"language": "GO", |
| 66 |
"clientMethod": { |
| 67 |
"shortName": "CreateAssessment", |
| 68 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client.CreateAssessment", |
| 69 |
"parameters": [ |
| 70 |
{ |
| 71 |
"type": "context.Context", |
| 72 |
"name": "ctx" |
| 73 |
}, |
| 74 |
{ |
| 75 |
"type": "recaptchaenterprisepb.CreateAssessmentRequest", |
| 76 |
"name": "req" |
| 77 |
}, |
| 78 |
{ |
| 79 |
"type": "...gax.CallOption", |
| 80 |
"name": "opts" |
| 81 |
} |
| 82 |
], |
| 83 |
"resultType": "*recaptchaenterprisepb.Assessment", |
| 84 |
"client": { |
| 85 |
"shortName": "RecaptchaEnterpriseServiceV1Beta1Client", |
| 86 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1Client" |
| 87 |
}, |
| 88 |
"method": { |
| 89 |
"shortName": "CreateAssessment", |
| 90 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1.CreateAssessment", |
| 91 |
"service": { |
| 92 |
"shortName": "RecaptchaEnterpriseServiceV1Beta1", |
| 93 |
"fullName": "google.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1" |
| 94 |
} |
| 95 |
} |
| 96 |
}, |
| 97 |
"origin": "API_DEFINITION", |
| 98 |
"segments": [ |
| 99 |
{ |
| 100 |
"start": 18, |
| 101 |
"end": 53, |
| 102 |
"type": "FULL" |
| 103 |
} |
| 104 |
] |
| 105 |
} |
| 106 |
] |
| 107 |
} |