Skip to content

Commit

Permalink
feat(advisorynotifications): update the api
Browse files Browse the repository at this point in the history
#### 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)
  • Loading branch information
yoshi-automation committed Dec 7, 2023
1 parent 4d3994f commit bfe6809
Show file tree
Hide file tree
Showing 7 changed files with 539 additions and 15 deletions.
5 changes: 5 additions & 0 deletions docs/dyn/advisorynotifications_v1.html
Expand Up @@ -79,6 +79,11 @@ <h2>Instance Methods</h2>
</p>
<p class="firstline">Returns the organizations Resource.</p>

<p class="toc_element">
<code><a href="advisorynotifications_v1.projects.html">projects()</a></code>
</p>
<p class="firstline">Returns the projects Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
Expand Down
Expand Up @@ -110,7 +110,7 @@ <h3>Method Details</h3>

{ # Settings for Advisory Notifications.
&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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&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.
&quot;a_key&quot;: { # Settings for each NotificationType.
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.
Expand All @@ -124,13 +124,13 @@ <h3>Method Details</h3>
<pre>Update notification settings.

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

{ # Settings for Advisory Notifications.
&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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&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.
&quot;a_key&quot;: { # Settings for each NotificationType.
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.
Expand All @@ -148,7 +148,7 @@ <h3>Method Details</h3>

{ # Settings for Advisory Notifications.
&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.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings.
&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.
&quot;a_key&quot;: { # Settings for each NotificationType.
&quot;enabled&quot;: True or False, # Whether the associated NotificationType is enabled.
Expand Down
Expand Up @@ -97,7 +97,7 @@ <h3>Method Details</h3>
<pre>Gets a notification.

Args:
name: string, Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification}. (required)
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)
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.
x__xgafv: string, V1 error format.
Allowed values
Expand Down Expand Up @@ -139,7 +139,7 @@ <h3>Method Details</h3>
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
},
],
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
&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}.
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
Expand All @@ -156,7 +156,7 @@ <h3>Method Details</h3>
<pre>Lists notifications under a given parent.

Args:
parent: string, Required. The parent, which owns this collection of notifications. Must be of the form &quot;organizations/{organization}/locations/{location}&quot; (required)
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)
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.
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.
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.
Expand Down Expand Up @@ -208,7 +208,7 @@ <h3>Method Details</h3>
&quot;localizationTime&quot;: &quot;A String&quot;, # Time when Message was localized
},
],
&quot;name&quot;: &quot;A String&quot;, # The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
&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}.
&quot;notificationType&quot;: &quot;A String&quot;, # Type of notification
&quot;subject&quot;: { # A subject line of a notification. # The subject line of the notification.
&quot;text&quot;: { # A text object containing the English text and its localized copies. # The text content.
Expand Down
91 changes: 91 additions & 0 deletions docs/dyn/advisorynotifications_v1.projects.html
@@ -0,0 +1,91 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<h1><a href="advisorynotifications_v1.html">Advisory Notifications API</a> . <a href="advisorynotifications_v1.projects.html">projects</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="advisorynotifications_v1.projects.locations.html">locations()</a></code>
</p>
<p class="firstline">Returns the locations Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

</body></html>
91 changes: 91 additions & 0 deletions docs/dyn/advisorynotifications_v1.projects.locations.html
@@ -0,0 +1,91 @@
<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}

body {
font-size: 13px;
padding: 1em;
}

h1 {
font-size: 26px;
margin-bottom: 1em;
}

h2 {
font-size: 24px;
margin-bottom: 1em;
}

h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}

pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
margin-top: 0.5em;
}

h1, h2, h3, p {
font-family: Arial, sans serif;
}

h1, h2, h3 {
border-bottom: solid #CCC 1px;
}

.toc_element {
margin-top: 0.5em;
}

.firstline {
margin-left: 2 em;
}

.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}

.details {
font-weight: bold;
font-size: 14px;
}

</style>

<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>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="advisorynotifications_v1.projects.locations.notifications.html">notifications()</a></code>
</p>
<p class="firstline">Returns the notifications Resource.</p>

<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>

</body></html>

0 comments on commit bfe6809

Please sign in to comment.