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="mybusinessbusinessinformation_v1.html">My Business Business Information API</a> . <a href="mybusinessbusinessinformation_v1.chains.html">chains</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets the specified chain. Returns `NOT_FOUND` if the chain does not exist.</p> 83<p class="toc_element"> 84 <code><a href="#search">search(chainName=None, pageSize=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Searches the chain based on chain name.</p> 86<h3>Method Details</h3> 87<div class="method"> 88 <code class="details" id="close">close()</code> 89 <pre>Close httplib2 connections.</pre> 90</div> 91 92<div class="method"> 93 <code class="details" id="get">get(name, x__xgafv=None)</code> 94 <pre>Gets the specified chain. Returns `NOT_FOUND` if the chain does not exist. 95 96Args: 97 name: string, Required. The chain's resource name, in the format `chains/{chain_place_id}`. (required) 98 x__xgafv: string, V1 error format. 99 Allowed values 100 1 - v1 error format 101 2 - v2 error format 102 103Returns: 104 An object of the form: 105 106 { # A chain is a brand that your business's locations can be affiliated with. 107 "chainNames": [ # Names of the chain. 108 { # Name to be used when displaying the chain. 109 "displayName": "A String", # The display name for this chain. 110 "languageCode": "A String", # The BCP 47 code of language of the name. 111 }, 112 ], 113 "locationCount": 42, # Number of locations that are part of this chain. 114 "name": "A String", # Required. The chain's resource name, in the format `chains/{chain_id}`. 115 "websites": [ # Websites of the chain. 116 { # Url to be used when displaying the chain. 117 "uri": "A String", # The uri for this chain. 118 }, 119 ], 120}</pre> 121</div> 122 123<div class="method"> 124 <code class="details" id="search">search(chainName=None, pageSize=None, x__xgafv=None)</code> 125 <pre>Searches the chain based on chain name. 126 127Args: 128 chainName: string, Required. Search for a chain by its name. Exact/partial/fuzzy/related queries are supported. Examples: "walmart", "wal-mart", "walmmmart", "沃尔玛" 129 pageSize: integer, The maximum number of matched chains to return from this query. The default is 10. The maximum possible value is 500. 130 x__xgafv: string, V1 error format. 131 Allowed values 132 1 - v1 error format 133 2 - v2 error format 134 135Returns: 136 An object of the form: 137 138 { # Response message for Locations.SearchChains. 139 "chains": [ # Chains that match the queried chain_display_name in SearchChainsRequest. If there are no matches, this field will be empty. Results are listed in order of relevance. 140 { # A chain is a brand that your business's locations can be affiliated with. 141 "chainNames": [ # Names of the chain. 142 { # Name to be used when displaying the chain. 143 "displayName": "A String", # The display name for this chain. 144 "languageCode": "A String", # The BCP 47 code of language of the name. 145 }, 146 ], 147 "locationCount": 42, # Number of locations that are part of this chain. 148 "name": "A String", # Required. The chain's resource name, in the format `chains/{chain_id}`. 149 "websites": [ # Websites of the chain. 150 { # Url to be used when displaying the chain. 151 "uri": "A String", # The uri for this chain. 152 }, 153 ], 154 }, 155 ], 156}</pre> 157</div> 158 159</body></html>