|
195 | 195 | } |
196 | 196 | ] |
197 | 197 | }, |
| 198 | + { |
| 199 | + "regionTag": "vision_v1_generated_ImageAnnotator_GetOperation_sync", |
| 200 | + "title": "vision GetOperation Sample", |
| 201 | + "description": "GetOperation is a utility method from google.longrunning.Operations.", |
| 202 | + "file": "ImageAnnotatorClient/GetOperation/main.go", |
| 203 | + "language": "GO", |
| 204 | + "clientMethod": { |
| 205 | + "shortName": "GetOperation", |
| 206 | + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient.GetOperation", |
| 207 | + "parameters": [ |
| 208 | + { |
| 209 | + "type": "context.Context", |
| 210 | + "name": "ctx" |
| 211 | + }, |
| 212 | + { |
| 213 | + "type": "longrunningpb.GetOperationRequest", |
| 214 | + "name": "req" |
| 215 | + }, |
| 216 | + { |
| 217 | + "type": "...gax.CallOption", |
| 218 | + "name": "opts" |
| 219 | + } |
| 220 | + ], |
| 221 | + "resultType": "*longrunningpb.Operation", |
| 222 | + "client": { |
| 223 | + "shortName": "ImageAnnotatorClient", |
| 224 | + "fullName": "google.cloud.vision.v1.ImageAnnotatorClient" |
| 225 | + }, |
| 226 | + "method": { |
| 227 | + "shortName": "GetOperation", |
| 228 | + "fullName": "google.longrunning.Operations.GetOperation", |
| 229 | + "service": { |
| 230 | + "shortName": "Operations", |
| 231 | + "fullName": "google.longrunning.Operations" |
| 232 | + } |
| 233 | + } |
| 234 | + }, |
| 235 | + "origin": "API_DEFINITION", |
| 236 | + "segments": [ |
| 237 | + { |
| 238 | + "start": 18, |
| 239 | + "end": 53, |
| 240 | + "type": "FULL" |
| 241 | + } |
| 242 | + ] |
| 243 | + }, |
198 | 244 | { |
199 | 245 | "regionTag": "vision_v1_generated_ProductSearch_AddProductToProductSet_sync", |
200 | 246 | "title": "vision AddProductToProductSet Sample", |
|
513 | 559 | } |
514 | 560 | ] |
515 | 561 | }, |
| 562 | + { |
| 563 | + "regionTag": "vision_v1_generated_ProductSearch_GetOperation_sync", |
| 564 | + "title": "vision GetOperation Sample", |
| 565 | + "description": "GetOperation is a utility method from google.longrunning.Operations.", |
| 566 | + "file": "ProductSearchClient/GetOperation/main.go", |
| 567 | + "language": "GO", |
| 568 | + "clientMethod": { |
| 569 | + "shortName": "GetOperation", |
| 570 | + "fullName": "google.cloud.vision.v1.ProductSearchClient.GetOperation", |
| 571 | + "parameters": [ |
| 572 | + { |
| 573 | + "type": "context.Context", |
| 574 | + "name": "ctx" |
| 575 | + }, |
| 576 | + { |
| 577 | + "type": "longrunningpb.GetOperationRequest", |
| 578 | + "name": "req" |
| 579 | + }, |
| 580 | + { |
| 581 | + "type": "...gax.CallOption", |
| 582 | + "name": "opts" |
| 583 | + } |
| 584 | + ], |
| 585 | + "resultType": "*longrunningpb.Operation", |
| 586 | + "client": { |
| 587 | + "shortName": "ProductSearchClient", |
| 588 | + "fullName": "google.cloud.vision.v1.ProductSearchClient" |
| 589 | + }, |
| 590 | + "method": { |
| 591 | + "shortName": "GetOperation", |
| 592 | + "fullName": "google.longrunning.Operations.GetOperation", |
| 593 | + "service": { |
| 594 | + "shortName": "Operations", |
| 595 | + "fullName": "google.longrunning.Operations" |
| 596 | + } |
| 597 | + } |
| 598 | + }, |
| 599 | + "origin": "API_DEFINITION", |
| 600 | + "segments": [ |
| 601 | + { |
| 602 | + "start": 18, |
| 603 | + "end": 53, |
| 604 | + "type": "FULL" |
| 605 | + } |
| 606 | + ] |
| 607 | + }, |
516 | 608 | { |
517 | 609 | "regionTag": "vision_v1_generated_ProductSearch_GetProduct_sync", |
518 | 610 | "title": "vision GetProduct Sample", |
|
654 | 746 | { |
655 | 747 | "regionTag": "vision_v1_generated_ProductSearch_ImportProductSets_sync", |
656 | 748 | "title": "vision ImportProductSets Sample", |
657 | | - "description": "ImportProductSets asynchronous API that imports a list of reference images to specified\nproduct sets based on a list of image information.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the\nprogress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)\n`Operation.response` contains `ImportProductSetsResponse`. (results)\n\nThe input source of this method is a csv file on Google Cloud Storage.\nFor the format of the csv file please see\n[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].", |
| 749 | + "description": "ImportProductSets asynchronous API that imports a list of reference images to specified\nproduct sets based on a list of image information.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)\n`Operation.response` contains `ImportProductSetsResponse`. (results)\n\nThe input source of this method is a csv file on Google Cloud Storage.\nFor the format of the csv file please see\n[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1.ImportProductSetsGcsSource.csv_file_uri].", |
658 | 750 | "file": "ProductSearchClient/ImportProductSets/main.go", |
659 | 751 | "language": "GO", |
660 | 752 | "clientMethod": { |
|
884 | 976 | { |
885 | 977 | "regionTag": "vision_v1_generated_ProductSearch_PurgeProducts_sync", |
886 | 978 | "title": "vision PurgeProducts Sample", |
887 | | - "description": "PurgeProducts asynchronous API to delete all Products in a ProductSet or all Products\nthat are in no ProductSet.\n\nIf a Product is a member of the specified ProductSet in addition to other\nProductSets, the Product will still be deleted.\n\nIt is recommended to not delete the specified ProductSet until after this\noperation has completed. It is also recommended to not add any of the\nProducts involved in the batch delete to a new ProductSet while this\noperation is running because those Products may still end up deleted.\n\nIt's not possible to undo the PurgeProducts operation. Therefore, it is\nrecommended to keep the csv files used in ImportProductSets (if that was\nhow you originally built the Product Set) before starting PurgeProducts, in\ncase you need to re-import the data after deletion.\n\nIf the plan is to purge all of the Products from a ProductSet and then\nre-use the empty ProductSet to re-import new Products into the empty\nProductSet, you must wait until the PurgeProducts operation has finished\nfor that ProductSet.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be used to keep track of the\nprogress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)", |
| 979 | + "description": "PurgeProducts asynchronous API to delete all Products in a ProductSet or all Products\nthat are in no ProductSet.\n\nIf a Product is a member of the specified ProductSet in addition to other\nProductSets, the Product will still be deleted.\n\nIt is recommended to not delete the specified ProductSet until after this\noperation has completed. It is also recommended to not add any of the\nProducts involved in the batch delete to a new ProductSet while this\noperation is running because those Products may still end up deleted.\n\nIt's not possible to undo the PurgeProducts operation. Therefore, it is\nrecommended to keep the csv files used in ImportProductSets (if that was\nhow you originally built the Product Set) before starting PurgeProducts, in\ncase you need to re-import the data after deletion.\n\nIf the plan is to purge all of the Products from a ProductSet and then\nre-use the empty ProductSet to re-import new Products into the empty\nProductSet, you must wait until the PurgeProducts operation has finished\nfor that ProductSet.\n\nThe [google.longrunning.Operation][google.longrunning.Operation] API can be\nused to keep track of the progress and results of the request.\n`Operation.metadata` contains `BatchOperationMetadata`. (progress)", |
888 | 980 | "file": "ProductSearchClient/PurgeProducts/main.go", |
889 | 981 | "language": "GO", |
890 | 982 | "clientMethod": { |
|
0 commit comments