1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="recommendationengine_v1beta1.html">Recommendations AI (Beta)</a> . <a href="recommendationengine_v1beta1.projects.html">projects</a> . <a href="recommendationengine_v1beta1.projects.locations.html">locations</a> . <a href="recommendationengine_v1beta1.projects.locations.catalogs.html">catalogs</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="recommendationengine_v1beta1.projects.locations.catalogs.catalogItems.html">catalogItems()</a></code> 79</p> 80<p class="firstline">Returns the catalogItems Resource.</p> 81 82<p class="toc_element"> 83 <code><a href="recommendationengine_v1beta1.projects.locations.catalogs.eventStores.html">eventStores()</a></code> 84</p> 85<p class="firstline">Returns the eventStores Resource.</p> 86 87<p class="toc_element"> 88 <code><a href="recommendationengine_v1beta1.projects.locations.catalogs.operations.html">operations()</a></code> 89</p> 90<p class="firstline">Returns the operations Resource.</p> 91 92<p class="toc_element"> 93 <code><a href="#close">close()</a></code></p> 94<p class="firstline">Close httplib2 connections.</p> 95<p class="toc_element"> 96 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Lists all the catalog configurations associated with the project.</p> 98<p class="toc_element"> 99 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 100<p class="firstline">Retrieves the next page of results.</p> 101<p class="toc_element"> 102 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p> 103<p class="firstline">Updates the catalog configuration.</p> 104<h3>Method Details</h3> 105<div class="method"> 106 <code class="details" id="close">close()</code> 107 <pre>Close httplib2 connections.</pre> 108</div> 109 110<div class="method"> 111 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code> 112 <pre>Lists all the catalog configurations associated with the project. 113 114Args: 115 parent: string, Required. The account resource name with an associated location. (required) 116 pageSize: integer, Optional. Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. 117 pageToken: string, Optional. A page token, received from a previous `ListCatalogs` call. Provide this to retrieve the subsequent page. 118 x__xgafv: string, V1 error format. 119 Allowed values 120 1 - v1 error format 121 2 - v2 error format 122 123Returns: 124 An object of the form: 125 126 { # Response for ListCatalogs method. 127 "catalogs": [ # Output only. All the customer's catalogs. 128 { # The catalog configuration. Next ID: 5. 129 "catalogItemLevelConfig": { # Configures the catalog level that users send events to, and the level at which predictions are made. # Required. The catalog item level configuration. 130 "eventItemLevel": "A String", # Optional. Level of the catalog at which events are uploaded. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 131 "predictItemLevel": "A String", # Optional. Level of the catalog at which predictions are made. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 132 }, 133 "defaultEventStoreId": "A String", # Required. The ID of the default event store. 134 "displayName": "A String", # Required. The catalog display name. 135 "name": "A String", # The fully qualified resource name of the catalog. 136 }, 137 ], 138 "nextPageToken": "A String", # Pagination token, if not returned indicates the last page. 139}</pre> 140</div> 141 142<div class="method"> 143 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 144 <pre>Retrieves the next page of results. 145 146Args: 147 previous_request: The request for the previous page. (required) 148 previous_response: The response from the request for the previous page. (required) 149 150Returns: 151 A request object that you can call 'execute()' on to request the next 152 page. Returns None if there are no more items in the collection. 153 </pre> 154</div> 155 156<div class="method"> 157 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code> 158 <pre>Updates the catalog configuration. 159 160Args: 161 name: string, The fully qualified resource name of the catalog. (required) 162 body: object, The request body. 163 The object takes the form of: 164 165{ # The catalog configuration. Next ID: 5. 166 "catalogItemLevelConfig": { # Configures the catalog level that users send events to, and the level at which predictions are made. # Required. The catalog item level configuration. 167 "eventItemLevel": "A String", # Optional. Level of the catalog at which events are uploaded. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 168 "predictItemLevel": "A String", # Optional. Level of the catalog at which predictions are made. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 169 }, 170 "defaultEventStoreId": "A String", # Required. The ID of the default event store. 171 "displayName": "A String", # Required. The catalog display name. 172 "name": "A String", # The fully qualified resource name of the catalog. 173} 174 175 updateMask: string, Optional. Indicates which fields in the provided 'catalog' to update. If not set, will only update the catalog_item_level_config field. Currently only fields that can be updated are catalog_item_level_config. 176 x__xgafv: string, V1 error format. 177 Allowed values 178 1 - v1 error format 179 2 - v2 error format 180 181Returns: 182 An object of the form: 183 184 { # The catalog configuration. Next ID: 5. 185 "catalogItemLevelConfig": { # Configures the catalog level that users send events to, and the level at which predictions are made. # Required. The catalog item level configuration. 186 "eventItemLevel": "A String", # Optional. Level of the catalog at which events are uploaded. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 187 "predictItemLevel": "A String", # Optional. Level of the catalog at which predictions are made. See https://cloud.google.com/recommendations-ai/docs/catalog#catalog-levels for more details. 188 }, 189 "defaultEventStoreId": "A String", # Required. The ID of the default event store. 190 "displayName": "A String", # Required. The catalog display name. 191 "name": "A String", # The fully qualified resource name of the catalog. 192}</pre> 193</div> 194 195</body></html>