google-cloud-advisory_notifications-v1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60c6803e4da8bdff01a389049c568d4588b18d0acad6e1bd19754cf6470f757f
4
- data.tar.gz: afe1ddbd69d142118080108fc200616eb6b2818b4a09f0c42aeabdca8b62ac81
3
+ metadata.gz: 1e6c6a5b11859cb7be33b09752887467d883f0606a39d0ba3dcad5c9f7124816
4
+ data.tar.gz: 0e0a4480d1017448522c68d471ac9c3aad95fe8f91976e3636a22d29affea328
5
5
  SHA512:
6
- metadata.gz: 76823f82a07c37ea298ad7064daa0ab616b5823886ab8b3534454179e839c080704c090b1ed4b92fdb8bf92768b12f286a9bf396019d2b37da09d5c69c2897da
7
- data.tar.gz: 45d90e5a92a5b6592510063c7ce824281a453f1e13a638d10d435a3faedea89d990615364c1a0e83168ccb16632cb4badb906bcc4a70835fa383cd440b73aa0a
6
+ metadata.gz: 56c3896e571017fb1314e394c22ff41a2b75410ed0ed30250f8c8047c20b8e556255c8197267e2b7c5b556a70a5cd383e5e53ef5a468aa619bcdeee0cfe2e389
7
+ data.tar.gz: d1b5d92b8f951e61df3af0ce33aa7e5fe364a30e52af50201db6d6b510ef786ac6f874acc396dc3a6b3612bf1e3fc38a6b92826f8dc1ea24d2f7639e8633e92b
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -394,9 +394,9 @@ module Google
394
394
  # * (`String`) The path to a service account key file in JSON format
395
395
  # * (`Hash`) A service account key as a Hash
396
396
  # * (`Google::Auth::Credentials`) A googleauth credentials object
397
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
397
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
398
398
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
399
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
399
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
400
400
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
401
401
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
402
402
  # * (`nil`) indicating no credentials
@@ -335,9 +335,9 @@ module Google
335
335
  # * (`String`) The path to a service account key file in JSON format
336
336
  # * (`Hash`) A service account key as a Hash
337
337
  # * (`Google::Auth::Credentials`) A googleauth credentials object
338
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
338
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
339
339
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
340
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
340
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
341
341
  # * (`nil`) indicating no credentials
342
342
  # @return [::Object]
343
343
  # @!attribute [rw] scope
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AdvisoryNotifications
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  optional :subject, :message, 2, "google.cloud.advisorynotifications.v1.Subject"
17
17
  repeated :messages, :message, 3, "google.cloud.advisorynotifications.v1.Message"
18
18
  optional :create_time, :message, 4, "google.protobuf.Timestamp"
19
+ optional :notification_type, :enum, 12, "google.cloud.advisorynotifications.v1.NotificationType"
19
20
  end
20
21
  add_message "google.cloud.advisorynotifications.v1.Text" do
21
22
  optional :en_text, :string, 1
@@ -74,6 +75,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
74
75
  value :LOCALIZATION_STATE_PENDING, 2
75
76
  value :LOCALIZATION_STATE_COMPLETED, 3
76
77
  end
78
+ add_enum "google.cloud.advisorynotifications.v1.NotificationType" do
79
+ value :NOTIFICATION_TYPE_UNSPECIFIED, 0
80
+ value :NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY, 1
81
+ value :NOTIFICATION_TYPE_SENSITIVE_ACTIONS, 2
82
+ end
77
83
  end
78
84
  end
79
85
 
@@ -94,6 +100,7 @@ module Google
94
100
  GetNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.GetNotificationRequest").msgclass
95
101
  NotificationView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.NotificationView").enummodule
96
102
  LocalizationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.LocalizationState").enummodule
103
+ NotificationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.advisorynotifications.v1.NotificationType").enummodule
97
104
  end
98
105
  end
99
106
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -37,6 +37,9 @@ module Google
37
37
  # @!attribute [r] create_time
38
38
  # @return [::Google::Protobuf::Timestamp]
39
39
  # Output only. Time the notification was created.
40
+ # @!attribute [rw] notification_type
41
+ # @return [::Google::Cloud::AdvisoryNotifications::V1::NotificationType]
42
+ # Type of notification
40
43
  class Notification
41
44
  include ::Google::Protobuf::MessageExts
42
45
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -228,6 +231,18 @@ module Google
228
231
  # Localization for requested language is completed.
229
232
  LOCALIZATION_STATE_COMPLETED = 3
230
233
  end
234
+
235
+ # Type of notification
236
+ module NotificationType
237
+ # Default type
238
+ NOTIFICATION_TYPE_UNSPECIFIED = 0
239
+
240
+ # Security and privacy advisory notifications
241
+ NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY = 1
242
+
243
+ # Sensitive action notifications
244
+ NOTIFICATION_TYPE_SENSITIVE_ACTIONS = 2
245
+ end
231
246
  end
232
247
  end
233
248
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-advisory_notifications-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-28 00:00:00.000000000 Z
11
+ date: 2023-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common