Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bfe6809

Browse files
committedDec 7, 2023
feat(advisorynotifications): update the api
#### advisorynotifications:v1 The following keys were deleted: - schemas.GoogleCloudAdvisorynotificationsV1Settings.properties.name.readOnly (Total Keys: 1) The following keys were added: - resources.projects.resources.locations.resources.notifications.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.notifications.methods.list (Total Keys: 20)
1 parent 4d3994f commit bfe6809

7 files changed

+539
-15
lines changed
 

‎docs/dyn/advisorynotifications_v1.html

+5
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the organizations Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="advisorynotifications_v1.projects.html">projects()</a></code>
84+
</p>
85+
<p class="firstline">Returns the projects Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="#close">close()</a></code></p>
8489
<p class="firstline">Close httplib2 connections.</p>

‎docs/dyn/advisorynotifications_v1.organizations.locations.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110

111111
{ # Settings for Advisory Notifications.
112112
&quot;etag&quot;: &quot;A String&quot;, # Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.
113-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
113+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
114114
&quot;notificationSettings&quot;: { # Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.
115115
&quot;a_key&quot;: { # Settings for each NotificationType.
116116
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.
@@ -124,13 +124,13 @@ <h3>Method Details</h3>
124124
<pre>Update notification settings.
125125

126126
Args:
127-
name: string, Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. (required)
127+
name: string, Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings. (required)
128128
body: object, The request body.
129129
The object takes the form of:
130130

131131
{ # Settings for Advisory Notifications.
132132
&quot;etag&quot;: &quot;A String&quot;, # Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.
133-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
133+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
134134
&quot;notificationSettings&quot;: { # Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.
135135
&quot;a_key&quot;: { # Settings for each NotificationType.
136136
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.
@@ -148,7 +148,7 @@ <h3>Method Details</h3>
148148

149149
{ # Settings for Advisory Notifications.
150150
&quot;etag&quot;: &quot;A String&quot;, # Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle.
151-
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
151+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
152152
&quot;notificationSettings&quot;: { # Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type.
153153
&quot;a_key&quot;: { # Settings for each NotificationType.
154154
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.

‎docs/dyn/advisorynotifications_v1.organizations.locations.notifications.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h3>Method Details</h3>
9797
<pre>Gets a notification.
9898

9999
Args:
100-
name: string, Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}. (required)
100+
name: string, Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}. (required)
101101
languageCode: string, ISO code for requested localization language. If unset, will be interpereted as &quot;en&quot;. If the requested language is valid, but not supported for this notification, English will be returned with an &quot;Not applicable&quot; LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
102102
x__xgafv: string, V1 error format.
103103
Allowed values
@@ -139,7 +139,7 @@ <h3>Method Details</h3>
139139
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
140140
},
141141
],
142-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
142+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.
143143
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
144144
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
145145
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
@@ -156,7 +156,7 @@ <h3>Method Details</h3>
156156
<pre>Lists notifications under a given parent.
157157

158158
Args:
159-
parent: string, Required. The parent, which owns this collection of notifications. Must be of the form &quot;organizations/{organization}/locations/{location}&quot; (required)
159+
parent: string, Required. The parent, which owns this collection of notifications. Must be of the form &quot;organizations/{organization}/locations/{location}&quot; or &quot;projects/{project}/locations/{location}&quot; (required)
160160
languageCode: string, ISO code for requested localization language. If unset, will be interpereted as &quot;en&quot;. If the requested language is valid, but not supported for this notification, English will be returned with an &quot;Not applicable&quot; LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
161161
pageSize: integer, The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.
162162
pageToken: string, A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.
@@ -208,7 +208,7 @@ <h3>Method Details</h3>
208208
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
209209
},
210210
],
211-
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
211+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.
212212
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
213213
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
214214
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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="advisorynotifications_v1.html">Advisory Notifications API</a> . <a href="advisorynotifications_v1.projects.html">projects</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="advisorynotifications_v1.projects.locations.html">locations()</a></code>
79+
</p>
80+
<p class="firstline">Returns the locations Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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="advisorynotifications_v1.html">Advisory Notifications API</a> . <a href="advisorynotifications_v1.projects.html">projects</a> . <a href="advisorynotifications_v1.projects.locations.html">locations</a></h1>
76+
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="advisorynotifications_v1.projects.locations.notifications.html">notifications()</a></code>
79+
</p>
80+
<p class="firstline">Returns the notifications Resource.</p>
81+
82+
<p class="toc_element">
83+
<code><a href="#close">close()</a></code></p>
84+
<p class="firstline">Close httplib2 connections.</p>
85+
<h3>Method Details</h3>
86+
<div class="method">
87+
<code class="details" id="close">close()</code>
88+
<pre>Close httplib2 connections.</pre>
89+
</div>
90+
91+
</body></html>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
<html><body>
2+
<style>
3+
4+
body, 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+
15+
body {
16+
font-size: 13px;
17+
padding: 1em;
18+
}
19+
20+
h1 {
21+
font-size: 26px;
22+
margin-bottom: 1em;
23+
}
24+
25+
h2 {
26+
font-size: 24px;
27+
margin-bottom: 1em;
28+
}
29+
30+
h3 {
31+
font-size: 20px;
32+
margin-bottom: 1em;
33+
margin-top: 1em;
34+
}
35+
36+
pre, code {
37+
line-height: 1.5;
38+
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39+
}
40+
41+
pre {
42+
margin-top: 0.5em;
43+
}
44+
45+
h1, h2, h3, p {
46+
font-family: Arial, sans serif;
47+
}
48+
49+
h1, 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="advisorynotifications_v1.html">Advisory Notifications API</a> . <a href="advisorynotifications_v1.projects.html">projects</a> . <a href="advisorynotifications_v1.projects.locations.html">locations</a> . <a href="advisorynotifications_v1.projects.locations.notifications.html">notifications</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, languageCode=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Gets a notification.</p>
83+
<p class="toc_element">
84+
<code><a href="#list">list(parent, languageCode=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
85+
<p class="firstline">Lists notifications under a given parent.</p>
86+
<p class="toc_element">
87+
<code><a href="#list_next">list_next()</a></code></p>
88+
<p class="firstline">Retrieves the next page of results.</p>
89+
<h3>Method Details</h3>
90+
<div class="method">
91+
<code class="details" id="close">close()</code>
92+
<pre>Close httplib2 connections.</pre>
93+
</div>
94+
95+
<div class="method">
96+
<code class="details" id="get">get(name, languageCode=None, x__xgafv=None)</code>
97+
<pre>Gets a notification.
98+
99+
Args:
100+
name: string, Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}. (required)
101+
languageCode: string, ISO code for requested localization language. If unset, will be interpereted as &quot;en&quot;. If the requested language is valid, but not supported for this notification, English will be returned with an &quot;Not applicable&quot; LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
102+
x__xgafv: string, V1 error format.
103+
Allowed values
104+
1 - v1 error format
105+
2 - v2 error format
106+
107+
Returns:
108+
An object of the form:
109+
110+
{ # A notification object for notifying customers about security and privacy issues.
111+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the notification was created.
112+
&quot;messages&quot;: [ # A list of messages in the notification.
113+
{ # A message which contains notification details.
114+
&quot;attachments&quot;: [ # The attachments to download.
115+
{ # Attachment with specific information about the issue.
116+
&quot;csv&quot;: { # A representation of a CSV file attachment, as a list of column headers and a list of data rows. # A CSV file attachment. Max size is 10 MB.
117+
&quot;dataRows&quot;: [ # The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
118+
{ # A representation of a single data row in a CSV file.
119+
&quot;entries&quot;: [ # The data entries in a CSV file row, as a string array rather than a single comma-separated string.
120+
&quot;A String&quot;,
121+
],
122+
},
123+
],
124+
&quot;headers&quot;: [ # The list of headers for data columns in a CSV file.
125+
&quot;A String&quot;,
126+
],
127+
},
128+
&quot;displayName&quot;: &quot;A String&quot;, # The title of the attachment.
129+
},
130+
],
131+
&quot;body&quot;: { # A message body containing text. # The message content.
132+
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content of the message body.
133+
&quot;enText&quot;: &quot;A String&quot;, # The English copy.
134+
&quot;localizationState&quot;: &quot;A String&quot;, # Status of the localization.
135+
&quot;localizedText&quot;: &quot;A String&quot;, # The requested localized copy (if applicable).
136+
},
137+
},
138+
&quot;createTime&quot;: &quot;A String&quot;, # The Message creation timestamp.
139+
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
140+
},
141+
],
142+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.
143+
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
144+
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
145+
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
146+
&quot;enText&quot;: &quot;A String&quot;, # The English copy.
147+
&quot;localizationState&quot;: &quot;A String&quot;, # Status of the localization.
148+
&quot;localizedText&quot;: &quot;A String&quot;, # The requested localized copy (if applicable).
149+
},
150+
},
151+
}</pre>
152+
</div>
153+
154+
<div class="method">
155+
<code class="details" id="list">list(parent, languageCode=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
156+
<pre>Lists notifications under a given parent.
157+
158+
Args:
159+
parent: string, Required. The parent, which owns this collection of notifications. Must be of the form &quot;organizations/{organization}/locations/{location}&quot; or &quot;projects/{project}/locations/{location}&quot; (required)
160+
languageCode: string, ISO code for requested localization language. If unset, will be interpereted as &quot;en&quot;. If the requested language is valid, but not supported for this notification, English will be returned with an &quot;Not applicable&quot; LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.
161+
pageSize: integer, The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.
162+
pageToken: string, A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.
163+
view: string, Specifies which parts of the notification resource should be returned in the response.
164+
Allowed values
165+
NOTIFICATION_VIEW_UNSPECIFIED - Not specified, equivalent to BASIC.
166+
BASIC - Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.
167+
FULL - Include everything.
168+
x__xgafv: string, V1 error format.
169+
Allowed values
170+
1 - v1 error format
171+
2 - v2 error format
172+
173+
Returns:
174+
An object of the form:
175+
176+
{ # Response of ListNotifications endpoint.
177+
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
178+
&quot;notifications&quot;: [ # List of notifications under a given parent.
179+
{ # A notification object for notifying customers about security and privacy issues.
180+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. Time the notification was created.
181+
&quot;messages&quot;: [ # A list of messages in the notification.
182+
{ # A message which contains notification details.
183+
&quot;attachments&quot;: [ # The attachments to download.
184+
{ # Attachment with specific information about the issue.
185+
&quot;csv&quot;: { # A representation of a CSV file attachment, as a list of column headers and a list of data rows. # A CSV file attachment. Max size is 10 MB.
186+
&quot;dataRows&quot;: [ # The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string.
187+
{ # A representation of a single data row in a CSV file.
188+
&quot;entries&quot;: [ # The data entries in a CSV file row, as a string array rather than a single comma-separated string.
189+
&quot;A String&quot;,
190+
],
191+
},
192+
],
193+
&quot;headers&quot;: [ # The list of headers for data columns in a CSV file.
194+
&quot;A String&quot;,
195+
],
196+
},
197+
&quot;displayName&quot;: &quot;A String&quot;, # The title of the attachment.
198+
},
199+
],
200+
&quot;body&quot;: { # A message body containing text. # The message content.
201+
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content of the message body.
202+
&quot;enText&quot;: &quot;A String&quot;, # The English copy.
203+
&quot;localizationState&quot;: &quot;A String&quot;, # Status of the localization.
204+
&quot;localizedText&quot;: &quot;A String&quot;, # The requested localized copy (if applicable).
205+
},
206+
},
207+
&quot;createTime&quot;: &quot;A String&quot;, # The Message creation timestamp.
208+
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
209+
},
210+
],
211+
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.
212+
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
213+
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
214+
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
215+
&quot;enText&quot;: &quot;A String&quot;, # The English copy.
216+
&quot;localizationState&quot;: &quot;A String&quot;, # Status of the localization.
217+
&quot;localizedText&quot;: &quot;A String&quot;, # The requested localized copy (if applicable).
218+
},
219+
},
220+
},
221+
],
222+
&quot;totalSize&quot;: 42, # Estimation of a total number of notifications.
223+
}</pre>
224+
</div>
225+
226+
<div class="method">
227+
<code class="details" id="list_next">list_next()</code>
228+
<pre>Retrieves the next page of results.
229+
230+
Args:
231+
previous_request: The request for the previous page. (required)
232+
previous_response: The response from the request for the previous page. (required)
233+
234+
Returns:
235+
A request object that you can call &#x27;execute()&#x27; on to request the next
236+
page. Returns None if there are no more items in the collection.
237+
</pre>
238+
</div>
239+
240+
</body></html>

‎googleapiclient/discovery_cache/documents/advisorynotifications.v1.json

+104-7
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"name": {
147-
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
147+
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
148148
"location": "path",
149149
"pattern": "^organizations/[^/]+/locations/[^/]+/settings$",
150150
"required": true,
@@ -181,7 +181,7 @@
181181
"type": "string"
182182
},
183183
"name": {
184-
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
184+
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
185185
"location": "path",
186186
"pattern": "^organizations/[^/]+/locations/[^/]+/notifications/[^/]+$",
187187
"required": true,
@@ -222,7 +222,7 @@
222222
"type": "string"
223223
},
224224
"parent": {
225-
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\"",
225+
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
226226
"location": "path",
227227
"pattern": "^organizations/[^/]+/locations/[^/]+$",
228228
"required": true,
@@ -257,9 +257,107 @@
257257
}
258258
}
259259
}
260+
},
261+
"projects": {
262+
"resources": {
263+
"locations": {
264+
"resources": {
265+
"notifications": {
266+
"methods": {
267+
"get": {
268+
"description": "Gets a notification.",
269+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications/{notificationsId}",
270+
"httpMethod": "GET",
271+
"id": "advisorynotifications.projects.locations.notifications.get",
272+
"parameterOrder": [
273+
"name"
274+
],
275+
"parameters": {
276+
"languageCode": {
277+
"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.",
278+
"location": "query",
279+
"type": "string"
280+
},
281+
"name": {
282+
"description": "Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.",
283+
"location": "path",
284+
"pattern": "^projects/[^/]+/locations/[^/]+/notifications/[^/]+$",
285+
"required": true,
286+
"type": "string"
287+
}
288+
},
289+
"path": "v1/{+name}",
290+
"response": {
291+
"$ref": "GoogleCloudAdvisorynotificationsV1Notification"
292+
},
293+
"scopes": [
294+
"https://www.googleapis.com/auth/cloud-platform"
295+
]
296+
},
297+
"list": {
298+
"description": "Lists notifications under a given parent.",
299+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/notifications",
300+
"httpMethod": "GET",
301+
"id": "advisorynotifications.projects.locations.notifications.list",
302+
"parameterOrder": [
303+
"parent"
304+
],
305+
"parameters": {
306+
"languageCode": {
307+
"description": "ISO code for requested localization language. If unset, will be interpereted as \"en\". If the requested language is valid, but not supported for this notification, English will be returned with an \"Not applicable\" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error.",
308+
"location": "query",
309+
"type": "string"
310+
},
311+
"pageSize": {
312+
"description": "The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50.",
313+
"format": "int32",
314+
"location": "query",
315+
"type": "integer"
316+
},
317+
"pageToken": {
318+
"description": "A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token.",
319+
"location": "query",
320+
"type": "string"
321+
},
322+
"parent": {
323+
"description": "Required. The parent, which owns this collection of notifications. Must be of the form \"organizations/{organization}/locations/{location}\" or \"projects/{project}/locations/{location}\"",
324+
"location": "path",
325+
"pattern": "^projects/[^/]+/locations/[^/]+$",
326+
"required": true,
327+
"type": "string"
328+
},
329+
"view": {
330+
"description": "Specifies which parts of the notification resource should be returned in the response.",
331+
"enum": [
332+
"NOTIFICATION_VIEW_UNSPECIFIED",
333+
"BASIC",
334+
"FULL"
335+
],
336+
"enumDescriptions": [
337+
"Not specified, equivalent to BASIC.",
338+
"Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.",
339+
"Include everything."
340+
],
341+
"location": "query",
342+
"type": "string"
343+
}
344+
},
345+
"path": "v1/{+parent}/notifications",
346+
"response": {
347+
"$ref": "GoogleCloudAdvisorynotificationsV1ListNotificationsResponse"
348+
},
349+
"scopes": [
350+
"https://www.googleapis.com/auth/cloud-platform"
351+
]
352+
}
353+
}
354+
}
355+
}
356+
}
357+
}
260358
}
261359
},
262-
"revision": "20231119",
360+
"revision": "20231203",
263361
"rootUrl": "https://advisorynotifications.googleapis.com/",
264362
"schemas": {
265363
"GoogleCloudAdvisorynotificationsV1Attachment": {
@@ -392,7 +490,7 @@
392490
"type": "array"
393491
},
394492
"name": {
395-
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
493+
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}.",
396494
"type": "string"
397495
},
398496
"notificationType": {
@@ -440,8 +538,7 @@
440538
"type": "string"
441539
},
442540
"name": {
443-
"description": "Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
444-
"readOnly": true,
541+
"description": "Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.",
445542
"type": "string"
446543
},
447544
"notificationSettings": {

0 commit comments

Comments
 (0)
Please sign in to comment.