| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/privatecatalog/apiv1beta1", |
| 4 |
"version": "0.10.7", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.privatecatalog.v1beta1", |
| 9 |
"version": "v1beta1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync", |
| 16 |
"title": "cloudprivatecatalog SearchCatalogs Sample", |
| 17 |
"description": "SearchCatalogs search [Catalog][google.cloud.privatecatalog.v1beta1.Catalog] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", |
| 18 |
"file": "Client/SearchCatalogs/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "SearchCatalogs", |
| 22 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchCatalogs", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "privatecatalogpb.SearchCatalogsRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "CatalogIterator", |
| 38 |
"client": { |
| 39 |
"shortName": "Client", |
| 40 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "SearchCatalogs", |
| 44 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogs", |
| 45 |
"service": { |
| 46 |
"shortName": "PrivateCatalog", |
| 47 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 66, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync", |
| 62 |
"title": "cloudprivatecatalog SearchProducts Sample", |
| 63 |
"description": "SearchProducts search [Product][google.cloud.privatecatalog.v1beta1.Product] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", |
| 64 |
"file": "Client/SearchProducts/main.go", |
| 65 |
"language": "GO", |
| 66 |
"clientMethod": { |
| 67 |
"shortName": "SearchProducts", |
| 68 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchProducts", |
| 69 |
"parameters": [ |
| 70 |
{ |
| 71 |
"type": "context.Context", |
| 72 |
"name": "ctx" |
| 73 |
}, |
| 74 |
{ |
| 75 |
"type": "privatecatalogpb.SearchProductsRequest", |
| 76 |
"name": "req" |
| 77 |
}, |
| 78 |
{ |
| 79 |
"type": "...gax.CallOption", |
| 80 |
"name": "opts" |
| 81 |
} |
| 82 |
], |
| 83 |
"resultType": "ProductIterator", |
| 84 |
"client": { |
| 85 |
"shortName": "Client", |
| 86 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client" |
| 87 |
}, |
| 88 |
"method": { |
| 89 |
"shortName": "SearchProducts", |
| 90 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProducts", |
| 91 |
"service": { |
| 92 |
"shortName": "PrivateCatalog", |
| 93 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" |
| 94 |
} |
| 95 |
} |
| 96 |
}, |
| 97 |
"origin": "API_DEFINITION", |
| 98 |
"segments": [ |
| 99 |
{ |
| 100 |
"start": 18, |
| 101 |
"end": 66, |
| 102 |
"type": "FULL" |
| 103 |
} |
| 104 |
] |
| 105 |
}, |
| 106 |
{ |
| 107 |
"regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync", |
| 108 |
"title": "cloudprivatecatalog SearchVersions Sample", |
| 109 |
"description": "SearchVersions search [Version][google.cloud.privatecatalog.v1beta1.Version] resources that consumers have access to, within the\nscope of the consumer cloud resource hierarchy context.", |
| 110 |
"file": "Client/SearchVersions/main.go", |
| 111 |
"language": "GO", |
| 112 |
"clientMethod": { |
| 113 |
"shortName": "SearchVersions", |
| 114 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client.SearchVersions", |
| 115 |
"parameters": [ |
| 116 |
{ |
| 117 |
"type": "context.Context", |
| 118 |
"name": "ctx" |
| 119 |
}, |
| 120 |
{ |
| 121 |
"type": "privatecatalogpb.SearchVersionsRequest", |
| 122 |
"name": "req" |
| 123 |
}, |
| 124 |
{ |
| 125 |
"type": "...gax.CallOption", |
| 126 |
"name": "opts" |
| 127 |
} |
| 128 |
], |
| 129 |
"resultType": "VersionIterator", |
| 130 |
"client": { |
| 131 |
"shortName": "Client", |
| 132 |
"fullName": "google.cloud.privatecatalog.v1beta1.Client" |
| 133 |
}, |
| 134 |
"method": { |
| 135 |
"shortName": "SearchVersions", |
| 136 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersions", |
| 137 |
"service": { |
| 138 |
"shortName": "PrivateCatalog", |
| 139 |
"fullName": "google.cloud.privatecatalog.v1beta1.PrivateCatalog" |
| 140 |
} |
| 141 |
} |
| 142 |
}, |
| 143 |
"origin": "API_DEFINITION", |
| 144 |
"segments": [ |
| 145 |
{ |
| 146 |
"start": 18, |
| 147 |
"end": 66, |
| 148 |
"type": "FULL" |
| 149 |
} |
| 150 |
] |
| 151 |
} |
| 152 |
] |
| 153 |
} |