| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/shopping/merchant/issueresolution/apiv1beta", |
| 4 |
"version": "1.1.0", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.shopping.merchant.issueresolution.v1beta", |
| 9 |
"version": "v1beta" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "merchantapi_v1beta_generated_AggregateProductStatusesService_ListAggregateProductStatuses_sync", |
| 16 |
"title": "merchantapi ListAggregateProductStatuses Sample", |
| 17 |
"description": "ListAggregateProductStatuses lists the `AggregateProductStatuses` resources for your merchant account.\nThe response might contain fewer items than specified by `pageSize`.\nIf `pageToken` was returned in previous request, it can be used to obtain\nadditional results.", |
| 18 |
"file": "AggregateProductStatusesClient/ListAggregateProductStatuses/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "ListAggregateProductStatuses", |
| 22 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesClient.ListAggregateProductStatuses", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "issueresolutionpb.ListAggregateProductStatusesRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "AggregateProductStatusIterator", |
| 38 |
"client": { |
| 39 |
"shortName": "AggregateProductStatusesClient", |
| 40 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesClient" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "ListAggregateProductStatuses", |
| 44 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService.ListAggregateProductStatuses", |
| 45 |
"service": { |
| 46 |
"shortName": "AggregateProductStatusesService", |
| 47 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.AggregateProductStatusesService" |
| 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": "merchantapi_v1beta_generated_IssueResolutionService_RenderAccountIssues_sync", |
| 62 |
"title": "merchantapi RenderAccountIssues Sample", |
| 63 |
"description": "RenderAccountIssues provide a list of business's account issues with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", |
| 64 |
"file": "Client/RenderAccountIssues/main.go", |
| 65 |
"language": "GO", |
| 66 |
"clientMethod": { |
| 67 |
"shortName": "RenderAccountIssues", |
| 68 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client.RenderAccountIssues", |
| 69 |
"parameters": [ |
| 70 |
{ |
| 71 |
"type": "context.Context", |
| 72 |
"name": "ctx" |
| 73 |
}, |
| 74 |
{ |
| 75 |
"type": "issueresolutionpb.RenderAccountIssuesRequest", |
| 76 |
"name": "req" |
| 77 |
}, |
| 78 |
{ |
| 79 |
"type": "...gax.CallOption", |
| 80 |
"name": "opts" |
| 81 |
} |
| 82 |
], |
| 83 |
"resultType": "*issueresolutionpb.RenderAccountIssuesResponse", |
| 84 |
"client": { |
| 85 |
"shortName": "Client", |
| 86 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client" |
| 87 |
}, |
| 88 |
"method": { |
| 89 |
"shortName": "RenderAccountIssues", |
| 90 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderAccountIssues", |
| 91 |
"service": { |
| 92 |
"shortName": "IssueResolutionService", |
| 93 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" |
| 94 |
} |
| 95 |
} |
| 96 |
}, |
| 97 |
"origin": "API_DEFINITION", |
| 98 |
"segments": [ |
| 99 |
{ |
| 100 |
"start": 18, |
| 101 |
"end": 53, |
| 102 |
"type": "FULL" |
| 103 |
} |
| 104 |
] |
| 105 |
}, |
| 106 |
{ |
| 107 |
"regionTag": "merchantapi_v1beta_generated_IssueResolutionService_RenderProductIssues_sync", |
| 108 |
"title": "merchantapi RenderProductIssues Sample", |
| 109 |
"description": "RenderProductIssues provide a list of issues for business's product with an issue resolution\ncontent and available actions. This content and actions are meant to be\nrendered and shown in third-party applications.", |
| 110 |
"file": "Client/RenderProductIssues/main.go", |
| 111 |
"language": "GO", |
| 112 |
"clientMethod": { |
| 113 |
"shortName": "RenderProductIssues", |
| 114 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client.RenderProductIssues", |
| 115 |
"parameters": [ |
| 116 |
{ |
| 117 |
"type": "context.Context", |
| 118 |
"name": "ctx" |
| 119 |
}, |
| 120 |
{ |
| 121 |
"type": "issueresolutionpb.RenderProductIssuesRequest", |
| 122 |
"name": "req" |
| 123 |
}, |
| 124 |
{ |
| 125 |
"type": "...gax.CallOption", |
| 126 |
"name": "opts" |
| 127 |
} |
| 128 |
], |
| 129 |
"resultType": "*issueresolutionpb.RenderProductIssuesResponse", |
| 130 |
"client": { |
| 131 |
"shortName": "Client", |
| 132 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client" |
| 133 |
}, |
| 134 |
"method": { |
| 135 |
"shortName": "RenderProductIssues", |
| 136 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.RenderProductIssues", |
| 137 |
"service": { |
| 138 |
"shortName": "IssueResolutionService", |
| 139 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" |
| 140 |
} |
| 141 |
} |
| 142 |
}, |
| 143 |
"origin": "API_DEFINITION", |
| 144 |
"segments": [ |
| 145 |
{ |
| 146 |
"start": 18, |
| 147 |
"end": 53, |
| 148 |
"type": "FULL" |
| 149 |
} |
| 150 |
] |
| 151 |
}, |
| 152 |
{ |
| 153 |
"regionTag": "merchantapi_v1beta_generated_IssueResolutionService_TriggerAction_sync", |
| 154 |
"title": "merchantapi TriggerAction Sample", |
| 155 |
"description": "TriggerAction start an action. The action can be requested by a business in\nthird-party application. Before the business can request the action, the\nthird-party application needs to show them action specific content and\ndisplay a user input form.\n\nThe action can be successfully started only once all `required` inputs are\nprovided. If any `required` input is missing, or invalid value was\nprovided, the service will return 400 error. Validation errors will contain\n[Ids][google.shopping.merchant.issueresolution.v1beta.InputField.id] for\nall problematic field together with translated, human readable error\nmessages that can be shown to the user.", |
| 156 |
"file": "Client/TriggerAction/main.go", |
| 157 |
"language": "GO", |
| 158 |
"clientMethod": { |
| 159 |
"shortName": "TriggerAction", |
| 160 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client.TriggerAction", |
| 161 |
"parameters": [ |
| 162 |
{ |
| 163 |
"type": "context.Context", |
| 164 |
"name": "ctx" |
| 165 |
}, |
| 166 |
{ |
| 167 |
"type": "issueresolutionpb.TriggerActionRequest", |
| 168 |
"name": "req" |
| 169 |
}, |
| 170 |
{ |
| 171 |
"type": "...gax.CallOption", |
| 172 |
"name": "opts" |
| 173 |
} |
| 174 |
], |
| 175 |
"resultType": "*issueresolutionpb.TriggerActionResponse", |
| 176 |
"client": { |
| 177 |
"shortName": "Client", |
| 178 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.Client" |
| 179 |
}, |
| 180 |
"method": { |
| 181 |
"shortName": "TriggerAction", |
| 182 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService.TriggerAction", |
| 183 |
"service": { |
| 184 |
"shortName": "IssueResolutionService", |
| 185 |
"fullName": "google.shopping.merchant.issueresolution.v1beta.IssueResolutionService" |
| 186 |
} |
| 187 |
} |
| 188 |
}, |
| 189 |
"origin": "API_DEFINITION", |
| 190 |
"segments": [ |
| 191 |
{ |
| 192 |
"start": 18, |
| 193 |
"end": 53, |
| 194 |
"type": "FULL" |
| 195 |
} |
| 196 |
] |
| 197 |
} |
| 198 |
] |
| 199 |
} |