• 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="cloudprivatecatalog_v1beta1.html">Cloud Private Catalog API</a> . <a href="cloudprivatecatalog_v1beta1.organizations.html">organizations</a> . <a href="cloudprivatecatalog_v1beta1.organizations.versions.html">versions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#search">search(resource, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Search Version resources that consumers have access to, within the</p>
80<p class="toc_element">
81  <code><a href="#search_next">search_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="search">search(resource, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
86  <pre>Search Version resources that consumers have access to, within the
87scope of the consumer cloud resource hierarchy context.
88
89Args:
90  resource: string, Required. The name of the resource context. See
91SearchCatalogsRequest.resource for details. (required)
92  pageSize: integer, The maximum number of entries that are requested.
93  pageToken: string, A pagination token returned from a previous call to SearchVersions
94that indicates where this listing should continue from.
95This field is optional.
96  query: string, The query to filter the versions. Required.
97
98The supported queries are:
99* List versions under a product:
100`parent=catalogs/{catalog_id}/products/{product_id}`
101* Get a version by name:
102`name=catalogs/{catalog_id}/products/{product_id}/versions/{version_id}`
103  x__xgafv: string, V1 error format.
104    Allowed values
105      1 - v1 error format
106      2 - v2 error format
107
108Returns:
109  An object of the form:
110
111    { # Response message for PrivateCatalog.SearchVersions.
112    "nextPageToken": "A String", # A pagination token returned from a previous call to SearchVersions that
113        # indicates from where the listing should continue.
114        # This field is optional.
115    "versions": [ # The `Version` resources computed from the resource context.
116      { # The consumer representation of a version which is a child resource under a
117          # `Product` with asset data.
118        "updateTime": "A String", # Output only. The time when the version was last updated.
119        "description": "A String", # Output only. The user-supplied description of the version. Maximum of 256
120            # characters.
121        "asset": { # Output only. The asset which has been validated and is ready to be
122            # provisioned. See
123            # google.cloud.privatecatalogproducer.v1beta.Version.asset for details.
124          "a_key": "", # Properties of the object.
125        },
126        "name": "A String", # Output only. The resource name of the version, in the format
127            # `catalogs/{catalog_id}/products/{product_id}/versions/a-z*[a-z0-9]'.
128            #
129            # A unique identifier for the version under a product.
130        "createTime": "A String", # Output only. The time when the version was created.
131      },
132    ],
133  }</pre>
134</div>
135
136<div class="method">
137    <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
138  <pre>Retrieves the next page of results.
139
140Args:
141  previous_request: The request for the previous page. (required)
142  previous_response: The response from the request for the previous page. (required)
143
144Returns:
145  A request object that you can call 'execute()' on to request the next
146  page. Returns None if there are no more items in the collection.
147    </pre>
148</div>
149
150</body></html>