google-cloud-advisory_notifications-v1 0.8.2 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/client.rb +3 -2
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/paths.rb +29 -7
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/client.rb +3 -2
- data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/service_stub.rb +15 -0
- data/lib/google/cloud/advisory_notifications/v1/version.rb +1 -1
- data/lib/google/cloud/advisorynotifications/v1/service_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- data/proto_docs/google/cloud/advisorynotifications/v1/service.rb +7 -5
- metadata +4 -116
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 76374378da665de0d34566ac67b441db3cfab54da5f58d21e1eaf1f3bf56439c
         | 
| 4 | 
            +
              data.tar.gz: a4d3c97b464524e0e1b1f852885a6ab35c105c77826a260523d8fbd275250bb0
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 6e39fb8b5e085ea23c5ea8935f3d74b984d64b66f94a4bc9f4dd1345d47e2d751020588c8d13e573417575bd81dc6624f6ea3fdce28b8eb03c000ae98c10b951
         | 
| 7 | 
            +
              data.tar.gz: f2e45e6d5b8e6b6fbc495fbf67530e8d018935e12699c2e0786d442f21de624d2523c6cc4f1a6870c54a9d30ff32863ec3c08032848fe2a5c5458f9d1c601fde
         | 
    
        data/README.md
    CHANGED
    
    | @@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g | |
| 76 76 |  | 
| 77 77 | 
             
            ## Supported Ruby Versions
         | 
| 78 78 |  | 
| 79 | 
            -
            This library is supported on Ruby 2. | 
| 79 | 
            +
            This library is supported on Ruby 2.7+.
         | 
| 80 80 |  | 
| 81 81 | 
             
            Google provides official support for Ruby versions that are actively supported
         | 
| 82 82 | 
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         | 
| @@ -191,7 +191,7 @@ module Google | |
| 191 191 | 
             
                        #   @param parent [::String]
         | 
| 192 192 | 
             
                        #     Required. The parent, which owns this collection of notifications.
         | 
| 193 193 | 
             
                        #     Must be of the form "organizations/\\{organization}/locations/\\{location}"
         | 
| 194 | 
            -
                        #     or "projects/\\{project}/locations/\\{location}"
         | 
| 194 | 
            +
                        #     or "projects/\\{project}/locations/\\{location}".
         | 
| 195 195 | 
             
                        #   @param page_size [::Integer]
         | 
| 196 196 | 
             
                        #     The maximum number of notifications to return. The service may return
         | 
| 197 197 | 
             
                        #     fewer than this value. If unspecified or equal to 0, at most 50
         | 
| @@ -395,7 +395,8 @@ module Google | |
| 395 395 | 
             
                        #   @param name [::String]
         | 
| 396 396 | 
             
                        #     Required. The resource name of the settings to retrieve.
         | 
| 397 397 | 
             
                        #     Format:
         | 
| 398 | 
            -
                        #     organizations/\\{organization}/locations/\\{location}/settings | 
| 398 | 
            +
                        #     organizations/\\{organization}/locations/\\{location}/settings or
         | 
| 399 | 
            +
                        #     projects/\\{projects}/locations/\\{location}/settings.
         | 
| 399 400 | 
             
                        #
         | 
| 400 401 | 
             
                        # @yield [response, operation] Access the result along with the RPC operation
         | 
| 401 402 | 
             
                        # @yieldparam response [::Google::Cloud::AdvisoryNotifications::V1::Settings]
         | 
| @@ -109,18 +109,40 @@ module Google | |
| 109 109 | 
             
                        ##
         | 
| 110 110 | 
             
                        # Create a fully-qualified Settings resource string.
         | 
| 111 111 | 
             
                        #
         | 
| 112 | 
            -
                        #  | 
| 112 | 
            +
                        # @overload settings_path(organization:, location:)
         | 
| 113 | 
            +
                        #   The resource will be in the following format:
         | 
| 114 | 
            +
                        #
         | 
| 115 | 
            +
                        #   `organizations/{organization}/locations/{location}/settings`
         | 
| 116 | 
            +
                        #
         | 
| 117 | 
            +
                        #   @param organization [String]
         | 
| 118 | 
            +
                        #   @param location [String]
         | 
| 113 119 | 
             
                        #
         | 
| 114 | 
            -
                        #  | 
| 120 | 
            +
                        # @overload settings_path(project:, location:)
         | 
| 121 | 
            +
                        #   The resource will be in the following format:
         | 
| 115 122 | 
             
                        #
         | 
| 116 | 
            -
                        # | 
| 117 | 
            -
                        # | 
| 123 | 
            +
                        #   `projects/{project}/locations/{location}/settings`
         | 
| 124 | 
            +
                        #
         | 
| 125 | 
            +
                        #   @param project [String]
         | 
| 126 | 
            +
                        #   @param location [String]
         | 
| 118 127 | 
             
                        #
         | 
| 119 128 | 
             
                        # @return [::String]
         | 
| 120 | 
            -
                        def settings_path  | 
| 121 | 
            -
                           | 
| 129 | 
            +
                        def settings_path **args
         | 
| 130 | 
            +
                          resources = {
         | 
| 131 | 
            +
                            "location:organization" => (proc do |organization:, location:|
         | 
| 132 | 
            +
                              raise ::ArgumentError, "organization cannot contain /" if organization.to_s.include? "/"
         | 
| 133 | 
            +
             | 
| 134 | 
            +
                              "organizations/#{organization}/locations/#{location}/settings"
         | 
| 135 | 
            +
                            end),
         | 
| 136 | 
            +
                            "location:project" => (proc do |project:, location:|
         | 
| 137 | 
            +
                              raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         | 
| 122 138 |  | 
| 123 | 
            -
             | 
| 139 | 
            +
                              "projects/#{project}/locations/#{location}/settings"
         | 
| 140 | 
            +
                            end)
         | 
| 141 | 
            +
                          }
         | 
| 142 | 
            +
             | 
| 143 | 
            +
                          resource = resources[args.keys.sort.join(":")]
         | 
| 144 | 
            +
                          raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
         | 
| 145 | 
            +
                          resource.call(**args)
         | 
| 124 146 | 
             
                        end
         | 
| 125 147 |  | 
| 126 148 | 
             
                        extend self
         | 
    
        data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/client.rb
    CHANGED
    
    | @@ -184,7 +184,7 @@ module Google | |
| 184 184 | 
             
                          #   @param parent [::String]
         | 
| 185 185 | 
             
                          #     Required. The parent, which owns this collection of notifications.
         | 
| 186 186 | 
             
                          #     Must be of the form "organizations/\\{organization}/locations/\\{location}"
         | 
| 187 | 
            -
                          #     or "projects/\\{project}/locations/\\{location}"
         | 
| 187 | 
            +
                          #     or "projects/\\{project}/locations/\\{location}".
         | 
| 188 188 | 
             
                          #   @param page_size [::Integer]
         | 
| 189 189 | 
             
                          #     The maximum number of notifications to return. The service may return
         | 
| 190 190 | 
             
                          #     fewer than this value. If unspecified or equal to 0, at most 50
         | 
| @@ -374,7 +374,8 @@ module Google | |
| 374 374 | 
             
                          #   @param name [::String]
         | 
| 375 375 | 
             
                          #     Required. The resource name of the settings to retrieve.
         | 
| 376 376 | 
             
                          #     Format:
         | 
| 377 | 
            -
                          #     organizations/\\{organization}/locations/\\{location}/settings | 
| 377 | 
            +
                          #     organizations/\\{organization}/locations/\\{location}/settings or
         | 
| 378 | 
            +
                          #     projects/\\{projects}/locations/\\{location}/settings.
         | 
| 378 379 | 
             
                          # @yield [result, operation] Access the result along with the TransportOperation object
         | 
| 379 380 | 
             
                          # @yieldparam result [::Google::Cloud::AdvisoryNotifications::V1::Settings]
         | 
| 380 381 | 
             
                          # @yieldparam operation [::Gapic::Rest::TransportOperation]
         | 
    
        data/lib/google/cloud/advisory_notifications/v1/advisory_notifications_service/rest/service_stub.rb
    CHANGED
    
    | @@ -287,6 +287,13 @@ module Google | |
| 287 287 | 
             
                                                                        ["name", %r{^organizations/[^/]+/locations/[^/]+/settings/?$}, false]
         | 
| 288 288 | 
             
                                                                      ]
         | 
| 289 289 | 
             
                                                                    )
         | 
| 290 | 
            +
                                                                    .with_bindings(
         | 
| 291 | 
            +
                                                                      uri_method: :get,
         | 
| 292 | 
            +
                                                                      uri_template: "/v1/{name}",
         | 
| 293 | 
            +
                                                                      matches: [
         | 
| 294 | 
            +
                                                                        ["name", %r{^projects/[^/]+/locations/[^/]+/settings/?$}, false]
         | 
| 295 | 
            +
                                                                      ]
         | 
| 296 | 
            +
                                                                    )
         | 
| 290 297 | 
             
                            transcoder.transcode request_pb
         | 
| 291 298 | 
             
                          end
         | 
| 292 299 |  | 
| @@ -309,6 +316,14 @@ module Google | |
| 309 316 | 
             
                                                                        ["settings.name", %r{^organizations/[^/]+/locations/[^/]+/settings/?$}, false]
         | 
| 310 317 | 
             
                                                                      ]
         | 
| 311 318 | 
             
                                                                    )
         | 
| 319 | 
            +
                                                                    .with_bindings(
         | 
| 320 | 
            +
                                                                      uri_method: :patch,
         | 
| 321 | 
            +
                                                                      uri_template: "/v1/{settings.name}",
         | 
| 322 | 
            +
                                                                      body: "settings",
         | 
| 323 | 
            +
                                                                      matches: [
         | 
| 324 | 
            +
                                                                        ["settings.name", %r{^projects/[^/]+/locations/[^/]+/settings/?$}, false]
         | 
| 325 | 
            +
                                                                      ]
         | 
| 326 | 
            +
                                                                    )
         | 
| 312 327 | 
             
                            transcoder.transcode request_pb
         | 
| 313 328 | 
             
                          end
         | 
| 314 329 | 
             
                        end
         | 
| @@ -11,7 +11,7 @@ require 'google/api/resource_pb' | |
| 11 11 | 
             
            require 'google/protobuf/timestamp_pb'
         | 
| 12 12 |  | 
| 13 13 |  | 
| 14 | 
            -
            descriptor_data = "\n3google/cloud/advisorynotifications/v1/service.proto\x12%google.cloud.advisorynotifications.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\ | 
| 14 | 
            +
            descriptor_data = "\n3google/cloud/advisorynotifications/v1/service.proto\x12%google.cloud.advisorynotifications.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x04\n\x0cNotification\x12\x0c\n\x04name\x18\x01 \x01(\t\x12?\n\x07subject\x18\x02 \x01(\x0b\x32..google.cloud.advisorynotifications.v1.Subject\x12@\n\x08messages\x18\x03 \x03(\x0b\x32..google.cloud.advisorynotifications.v1.Message\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12R\n\x11notification_type\x18\x0c \x01(\x0e\x32\x37.google.cloud.advisorynotifications.v1.NotificationType:\xea\x01\xea\x41\xe6\x01\n1advisorynotifications.googleapis.com/Notification\x12Norganizations/{organization}/locations/{location}/notifications/{notification}\x12\x44projects/{project}/locations/{location}/notifications/{notification}*\rnotifications2\x0cnotification\"\x85\x01\n\x04Text\x12\x0f\n\x07\x65n_text\x18\x01 \x01(\t\x12\x16\n\x0elocalized_text\x18\x02 \x01(\t\x12T\n\x12localization_state\x18\x03 \x01(\x0e\x32\x38.google.cloud.advisorynotifications.v1.LocalizationState\"D\n\x07Subject\x12\x39\n\x04text\x18\x01 \x01(\x0b\x32+.google.cloud.advisorynotifications.v1.Text\"\xbf\x02\n\x07Message\x12\x41\n\x04\x62ody\x18\x01 \x01(\x0b\x32\x33.google.cloud.advisorynotifications.v1.Message.Body\x12\x46\n\x0b\x61ttachments\x18\x02 \x03(\x0b\x32\x31.google.cloud.advisorynotifications.v1.Attachment\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11localization_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x41\n\x04\x42ody\x12\x39\n\x04text\x18\x01 \x01(\x0b\x32+.google.cloud.advisorynotifications.v1.Text\"e\n\nAttachment\x12\x39\n\x03\x63sv\x18\x02 \x01(\x0b\x32*.google.cloud.advisorynotifications.v1.CsvH\x00\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\tB\x06\n\x04\x64\x61ta\"w\n\x03\x43sv\x12\x0f\n\x07headers\x18\x01 \x03(\t\x12\x44\n\tdata_rows\x18\x02 \x03(\x0b\x32\x31.google.cloud.advisorynotifications.v1.Csv.CsvRow\x1a\x19\n\x06\x43svRow\x12\x0f\n\x07\x65ntries\x18\x01 \x03(\t\"\xea\x01\n\x18ListNotificationsRequest\x12I\n\x06parent\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\x12\x31\x61\x64visorynotifications.googleapis.com/Notification\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x45\n\x04view\x18\x04 \x01(\x0e\x32\x37.google.cloud.advisorynotifications.v1.NotificationView\x12\x15\n\rlanguage_code\x18\x05 \x01(\t\"\x94\x01\n\x19ListNotificationsResponse\x12J\n\rnotifications\x18\x01 \x03(\x0b\x32\x33.google.cloud.advisorynotifications.v1.Notification\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"x\n\x16GetNotificationRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1advisorynotifications.googleapis.com/Notification\x12\x15\n\rlanguage_code\x18\x05 \x01(\t\"\xd1\x03\n\x08Settings\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12m\n\x15notification_settings\x18\x02 \x03(\x0b\x32I.google.cloud.advisorynotifications.v1.Settings.NotificationSettingsEntryB\x03\xe0\x41\x02\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x02\x1ax\n\x19NotificationSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.cloud.advisorynotifications.v1.NotificationSettings:\x02\x38\x01:\xb5\x01\xea\x41\xb1\x01\n-advisorynotifications.googleapis.com/Settings\x12:organizations/{organization}/locations/{location}/settings\x12\x30projects/{project}/locations/{location}/settings*\x08settings2\x08settings\"\'\n\x14NotificationSettings\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\"Y\n\x12GetSettingsRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-advisorynotifications.googleapis.com/Settings\"_\n\x15UpdateSettingsRequest\x12\x46\n\x08settings\x18\x01 \x01(\x0b\x32/.google.cloud.advisorynotifications.v1.SettingsB\x03\xe0\x41\x02*J\n\x10NotificationView\x12!\n\x1dNOTIFICATION_VIEW_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x08\n\x04\x46ULL\x10\x02*\xa0\x01\n\x11LocalizationState\x12\"\n\x1eLOCALIZATION_STATE_UNSPECIFIED\x10\x00\x12%\n!LOCALIZATION_STATE_NOT_APPLICABLE\x10\x01\x12\x1e\n\x1aLOCALIZATION_STATE_PENDING\x10\x02\x12 \n\x1cLOCALIZATION_STATE_COMPLETED\x10\x03*\xda\x01\n\x10NotificationType\x12!\n\x1dNOTIFICATION_TYPE_UNSPECIFIED\x10\x00\x12/\n+NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY\x10\x01\x12\'\n#NOTIFICATION_TYPE_SENSITIVE_ACTIONS\x10\x02\x12\"\n\x1eNOTIFICATION_TYPE_SECURITY_MSA\x10\x03\x12%\n!NOTIFICATION_TYPE_THREAT_HORIZONS\x10\x04\x32\x99\t\n\x1c\x41\x64visoryNotificationsService\x12\x94\x02\n\x11ListNotifications\x12?.google.cloud.advisorynotifications.v1.ListNotificationsRequest\x1a@.google.cloud.advisorynotifications.v1.ListNotificationsResponse\"|\xda\x41\x06parent\x82\xd3\xe4\x93\x02m\x12\x36/v1/{parent=organizations/*/locations/*}/notificationsZ3\x12\x31/v1/{parent=projects/*/locations/*}/notifications\x12\x81\x02\n\x0fGetNotification\x12=.google.cloud.advisorynotifications.v1.GetNotificationRequest\x1a\x33.google.cloud.advisorynotifications.v1.Notification\"z\xda\x41\x04name\x82\xd3\xe4\x93\x02m\x12\x36/v1/{name=organizations/*/locations/*/notifications/*}Z3\x12\x31/v1/{name=projects/*/locations/*/notifications/*}\x12\xe7\x01\n\x0bGetSettings\x12\x39.google.cloud.advisorynotifications.v1.GetSettingsRequest\x1a/.google.cloud.advisorynotifications.v1.Settings\"l\xda\x41\x04name\x82\xd3\xe4\x93\x02_\x12//v1/{name=organizations/*/locations/*/settings}Z,\x12*/v1/{name=projects/*/locations/*/settings}\x12\x99\x02\n\x0eUpdateSettings\x12<.google.cloud.advisorynotifications.v1.UpdateSettingsRequest\x1a/.google.cloud.advisorynotifications.v1.Settings\"\x97\x01\xda\x41\x08settings\x82\xd3\xe4\x93\x02\x85\x01\x32\x38/v1/{settings.name=organizations/*/locations/*/settings}:\x08settingsZ?23/v1/{settings.name=projects/*/locations/*/settings}:\x08settings\x1aX\xca\x41$advisorynotifications.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xa6\x03\n)com.google.cloud.advisorynotifications.v1B\x0cServiceProtoP\x01Z_cloud.google.com/go/advisorynotifications/apiv1/advisorynotificationspb;advisorynotificationspb\xaa\x02%Google.Cloud.AdvisoryNotifications.V1\xca\x02%Google\\Cloud\\AdvisoryNotifications\\V1\xea\x02(Google::Cloud::AdvisoryNotifications::V1\xea\x41\x8b\x01\n-advisorynotifications.googleapis.com/Location\x12\x31organizations/{organization}/locations/{location}\x12\'projects/{project}/locations/{location}b\x06proto3"
         | 
| 15 15 |  | 
| 16 16 | 
             
            pool = Google::Protobuf::DescriptorPool.generated_pool
         | 
| 17 17 |  | 
| @@ -118,6 +118,10 @@ module Google | |
| 118 118 | 
             
                #   @return [::String]
         | 
| 119 119 | 
             
                #     Optional link to proto reference documentation.  Example:
         | 
| 120 120 | 
             
                #     https://cloud.google.com/pubsub/lite/docs/reference/rpc
         | 
| 121 | 
            +
                # @!attribute [rw] rest_reference_documentation_uri
         | 
| 122 | 
            +
                #   @return [::String]
         | 
| 123 | 
            +
                #     Optional link to REST reference documentation.  Example:
         | 
| 124 | 
            +
                #     https://cloud.google.com/pubsub/lite/docs/reference/rest
         | 
| 121 125 | 
             
                class Publishing
         | 
| 122 126 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 123 127 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -138,7 +138,7 @@ module Google | |
| 138 138 | 
             
                    #   @return [::String]
         | 
| 139 139 | 
             
                    #     Required. The parent, which owns this collection of notifications.
         | 
| 140 140 | 
             
                    #     Must be of the form "organizations/\\{organization}/locations/\\{location}"
         | 
| 141 | 
            -
                    #     or "projects/\\{project}/locations/\\{location}"
         | 
| 141 | 
            +
                    #     or "projects/\\{project}/locations/\\{location}".
         | 
| 142 142 | 
             
                    # @!attribute [rw] page_size
         | 
| 143 143 | 
             
                    #   @return [::Integer]
         | 
| 144 144 | 
             
                    #     The maximum number of notifications to return. The service may return
         | 
| @@ -202,11 +202,12 @@ module Google | |
| 202 202 | 
             
                    end
         | 
| 203 203 |  | 
| 204 204 | 
             
                    # Settings for Advisory Notifications.
         | 
| 205 | 
            -
                    # @!attribute [ | 
| 205 | 
            +
                    # @!attribute [rw] name
         | 
| 206 206 | 
             
                    #   @return [::String]
         | 
| 207 | 
            -
                    #      | 
| 207 | 
            +
                    #     Identifier. The resource name of the settings to retrieve.
         | 
| 208 208 | 
             
                    #     Format:
         | 
| 209 | 
            -
                    #     organizations/\\{organization}/locations/\\{location}/settings | 
| 209 | 
            +
                    #     organizations/\\{organization}/locations/\\{location}/settings or
         | 
| 210 | 
            +
                    #     projects/\\{projects}/locations/\\{location}/settings.
         | 
| 210 211 | 
             
                    # @!attribute [rw] notification_settings
         | 
| 211 212 | 
             
                    #   @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AdvisoryNotifications::V1::NotificationSettings}]
         | 
| 212 213 | 
             
                    #     Required. Map of each notification type and its settings to get/set all
         | 
| @@ -246,7 +247,8 @@ module Google | |
| 246 247 | 
             
                    #   @return [::String]
         | 
| 247 248 | 
             
                    #     Required. The resource name of the settings to retrieve.
         | 
| 248 249 | 
             
                    #     Format:
         | 
| 249 | 
            -
                    #     organizations/\\{organization}/locations/\\{location}/settings | 
| 250 | 
            +
                    #     organizations/\\{organization}/locations/\\{location}/settings or
         | 
| 251 | 
            +
                    #     projects/\\{projects}/locations/\\{location}/settings.
         | 
| 250 252 | 
             
                    class GetSettingsRequest
         | 
| 251 253 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 252 254 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
    
        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. | 
| 4 | 
            +
              version: 0.10.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: 2024- | 
| 11 | 
            +
            date: 2024-04-19 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -44,118 +44,6 @@ dependencies: | |
| 44 44 | 
             
                - - "~>"
         | 
| 45 45 | 
             
                  - !ruby/object:Gem::Version
         | 
| 46 46 | 
             
                    version: '1.0'
         | 
| 47 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 48 | 
            -
              name: google-style
         | 
| 49 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 50 | 
            -
                requirements:
         | 
| 51 | 
            -
                - - "~>"
         | 
| 52 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 53 | 
            -
                    version: 1.26.3
         | 
| 54 | 
            -
              type: :development
         | 
| 55 | 
            -
              prerelease: false
         | 
| 56 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 57 | 
            -
                requirements:
         | 
| 58 | 
            -
                - - "~>"
         | 
| 59 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 60 | 
            -
                    version: 1.26.3
         | 
| 61 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 62 | 
            -
              name: minitest
         | 
| 63 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 64 | 
            -
                requirements:
         | 
| 65 | 
            -
                - - "~>"
         | 
| 66 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 67 | 
            -
                    version: '5.16'
         | 
| 68 | 
            -
              type: :development
         | 
| 69 | 
            -
              prerelease: false
         | 
| 70 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 71 | 
            -
                requirements:
         | 
| 72 | 
            -
                - - "~>"
         | 
| 73 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 74 | 
            -
                    version: '5.16'
         | 
| 75 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 76 | 
            -
              name: minitest-focus
         | 
| 77 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 78 | 
            -
                requirements:
         | 
| 79 | 
            -
                - - "~>"
         | 
| 80 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 81 | 
            -
                    version: '1.1'
         | 
| 82 | 
            -
              type: :development
         | 
| 83 | 
            -
              prerelease: false
         | 
| 84 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 85 | 
            -
                requirements:
         | 
| 86 | 
            -
                - - "~>"
         | 
| 87 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 88 | 
            -
                    version: '1.1'
         | 
| 89 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 90 | 
            -
              name: minitest-rg
         | 
| 91 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 92 | 
            -
                requirements:
         | 
| 93 | 
            -
                - - "~>"
         | 
| 94 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 95 | 
            -
                    version: '5.2'
         | 
| 96 | 
            -
              type: :development
         | 
| 97 | 
            -
              prerelease: false
         | 
| 98 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 99 | 
            -
                requirements:
         | 
| 100 | 
            -
                - - "~>"
         | 
| 101 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 102 | 
            -
                    version: '5.2'
         | 
| 103 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 104 | 
            -
              name: rake
         | 
| 105 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 106 | 
            -
                requirements:
         | 
| 107 | 
            -
                - - ">="
         | 
| 108 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 109 | 
            -
                    version: '13.0'
         | 
| 110 | 
            -
              type: :development
         | 
| 111 | 
            -
              prerelease: false
         | 
| 112 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 113 | 
            -
                requirements:
         | 
| 114 | 
            -
                - - ">="
         | 
| 115 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 116 | 
            -
                    version: '13.0'
         | 
| 117 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 118 | 
            -
              name: redcarpet
         | 
| 119 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 120 | 
            -
                requirements:
         | 
| 121 | 
            -
                - - "~>"
         | 
| 122 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 123 | 
            -
                    version: '3.0'
         | 
| 124 | 
            -
              type: :development
         | 
| 125 | 
            -
              prerelease: false
         | 
| 126 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 127 | 
            -
                requirements:
         | 
| 128 | 
            -
                - - "~>"
         | 
| 129 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 130 | 
            -
                    version: '3.0'
         | 
| 131 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 132 | 
            -
              name: simplecov
         | 
| 133 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 134 | 
            -
                requirements:
         | 
| 135 | 
            -
                - - "~>"
         | 
| 136 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 137 | 
            -
                    version: '0.18'
         | 
| 138 | 
            -
              type: :development
         | 
| 139 | 
            -
              prerelease: false
         | 
| 140 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 141 | 
            -
                requirements:
         | 
| 142 | 
            -
                - - "~>"
         | 
| 143 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 144 | 
            -
                    version: '0.18'
         | 
| 145 | 
            -
            - !ruby/object:Gem::Dependency
         | 
| 146 | 
            -
              name: yard
         | 
| 147 | 
            -
              requirement: !ruby/object:Gem::Requirement
         | 
| 148 | 
            -
                requirements:
         | 
| 149 | 
            -
                - - "~>"
         | 
| 150 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 151 | 
            -
                    version: '0.9'
         | 
| 152 | 
            -
              type: :development
         | 
| 153 | 
            -
              prerelease: false
         | 
| 154 | 
            -
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 155 | 
            -
                requirements:
         | 
| 156 | 
            -
                - - "~>"
         | 
| 157 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 158 | 
            -
                    version: '0.9'
         | 
| 159 47 | 
             
            description: An API for accessing Advisory Notifications in Google Cloud. Note that
         | 
| 160 48 | 
             
              google-cloud-advisory_notifications-v1 is a version-specific client library. For
         | 
| 161 49 | 
             
              most uses, we recommend installing the main client library google-cloud-advisory_notifications
         | 
| @@ -202,14 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 202 90 | 
             
              requirements:
         | 
| 203 91 | 
             
              - - ">="
         | 
| 204 92 | 
             
                - !ruby/object:Gem::Version
         | 
| 205 | 
            -
                  version: '2. | 
| 93 | 
            +
                  version: '2.7'
         | 
| 206 94 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 207 95 | 
             
              requirements:
         | 
| 208 96 | 
             
              - - ">="
         | 
| 209 97 | 
             
                - !ruby/object:Gem::Version
         | 
| 210 98 | 
             
                  version: '0'
         | 
| 211 99 | 
             
            requirements: []
         | 
| 212 | 
            -
            rubygems_version: 3.5. | 
| 100 | 
            +
            rubygems_version: 3.5.6
         | 
| 213 101 | 
             
            signing_key: 
         | 
| 214 102 | 
             
            specification_version: 4
         | 
| 215 103 | 
             
            summary: An API for accessing Advisory Notifications in Google Cloud.
         |