• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="servicebroker_v1beta1.html">Service Broker API</a> . <a href="servicebroker_v1beta1.projects.html">projects</a> . <a href="servicebroker_v1beta1.projects.brokers.html">brokers</a> . <a href="servicebroker_v1beta1.projects.brokers.v2.html">v2</a> . <a href="servicebroker_v1beta1.projects.brokers.v2.catalog.html">catalog</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#list">list(parent, pageToken=None, x__xgafv=None, pageSize=None)</a></code></p>
79<p class="firstline">Lists all the Services registered with this broker for consumption for</p>
80<p class="toc_element">
81  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
85    <code class="details" id="list">list(parent, pageToken=None, x__xgafv=None, pageSize=None)</code>
86  <pre>Lists all the Services registered with this broker for consumption for
87given service registry broker, which contains an set of services.
88Note, that Service producer API is separate from Broker API.
89
90Args:
91  parent: string, Parent must match `projects/[PROJECT_ID]/brokers/[BROKER_ID]`. (required)
92  pageToken: string, Specifies a page token to use. Set `pageToken` to a `nextPageToken`
93returned by a previous list request to get the next page of results.
94  x__xgafv: string, V1 error format.
95    Allowed values
96      1 - v1 error format
97      2 - v2 error format
98  pageSize: integer, Specifies the number of results to return per page. If there are fewer
99elements than the specified number, returns all elements.
100Optional. If unset or 0, all the results will be returned.
101
102Returns:
103  An object of the form:
104
105    { # Response message for the `ListCatalog()` method.
106    "services": [ # The services available for the requested GCP project.
107      { # The resource model mostly follows the Open Service Broker API, as
108          # described here:
109          # https://github.com/openservicebrokerapi/servicebroker/blob/master/_spec.md
110          # Though due to Google Specifics it has additional optional fields.
111        "plans": [ # A list of plans for this service.
112            # At least one plan is required.
113          { # Plan message describes a Service Plan.
114            "description": "A String", # Textual description of the plan. Optional.
115            "free": True or False, # Whether the service is free.
116            "name": "A String", # User friendly name of the plan.
117                # The name must be globally unique within GCP project.
118                # Note, which is different from ("This must be globally unique within a
119                # platform marketplace").
120            "bindable": True or False, # Specifies whether instances of the service can be bound to applications.
121                # If not specified, `Service.bindable` will be presumed.
122            "schemas": { # Schema definitions for service instances and bindings for the plan.
123              "a_key": "", # Properties of the object.
124            },
125            "id": "A String", # ID is a globally unique identifier used to uniquely identify the plan.
126                # User must make no presumption about the format of this field.
127            "metadata": { # A list of metadata for a service offering.
128                # Metadata is an arbitrary JSON object.
129              "a_key": "", # Properties of the object.
130            },
131          },
132        ],
133        "binding_retrievable": True or False, # Whether the service provides an endpoint to get service bindings.
134        "tags": [ # Tags provide a flexible mechanism to expose a classification, attribute, or
135            # base technology of a service.
136          "A String",
137        ],
138        "metadata": { # A list of metadata for a service offering.
139            # Metadata is an arbitrary JSON object.
140          "a_key": "", # Properties of the object.
141        },
142        "dashboard_client": { # Message containing information required to activate Dashboard SSO feature. # Information to activate Dashboard SSO feature.
143          "secret": "A String", # A secret for the dashboard client.
144          "redirect_uri": "A String", # A URI for the service dashboard.
145              # Validated by the OAuth token server when the dashboard requests a token.
146          "id": "A String", # The id of the Oauth client that the dashboard will use.
147        },
148        "name": "A String", # User friendly service name.
149            # Name must match [a-z0-9]+ regexp.
150            # The name must be globally unique within GCP project.
151            # Note, which is different from ("This must be globally unique within a
152            # platform marketplace").
153            # Required.
154        "plan_updateable": True or False, # Whether the service supports upgrade/downgrade for some plans.
155        "bindings_retrievable": True or False, # Whether the service provides an endpoint to get service bindings.
156        "bindable": True or False, # Specifies whether instances of the service can be bound to applications.
157            # Required.
158        "instances_retrievable": True or False, # Whether the service provides an endpoint to get service instances.
159        "id": "A String", # ID is a globally unique identifier used to uniquely identify the service.
160            # ID is an opaque string.
161        "description": "A String", # Textual description of the service. Required.
162      },
163    ],
164    "nextPageToken": "A String", # This token allows you to get the next page of results for list requests.
165        # If the number of results is larger than `pageSize`, use the `nextPageToken`
166        # as a value for the query parameter `pageToken` in the next list request.
167        # Subsequent list requests will have their own `nextPageToken` to continue
168        # paging through the results
169    "description": "A String", # Used to communicate description of the response. Usually for non-standard
170        # error codes.
171        # https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#service-broker-errors
172  }</pre>
173</div>
174
175<div class="method">
176    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
177  <pre>Retrieves the next page of results.
178
179Args:
180  previous_request: The request for the previous page. (required)
181  previous_response: The response from the request for the previous page. (required)
182
183Returns:
184  A request object that you can call 'execute()' on to request the next
185  page. Returns None if there are no more items in the collection.
186    </pre>
187</div>
188
189</body></html>