google-cloud-privileged_access_manager-v1 0.1.1 → 0.2.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 +30 -20
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/client.rb +43 -22
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/operations.rb +12 -15
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/client.rb +41 -22
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/operations.rb +43 -38
- data/lib/google/cloud/privileged_access_manager/v1/privileged_access_manager/rest/service_stub.rb +126 -86
- data/lib/google/cloud/privileged_access_manager/v1/version.rb +1 -1
- data/lib/google/cloud/privilegedaccessmanager/v1/privilegedaccessmanager_services_pb.rb +4 -3
- data/proto_docs/google/api/client.rb +56 -0
- data/proto_docs/google/cloud/privilegedaccessmanager/v1/privilegedaccessmanager.rb +7 -10
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +5 -5
| @@ -28,6 +28,9 @@ module Google | |
| 28 28 | 
             
                # @!attribute [rw] destinations
         | 
| 29 29 | 
             
                #   @return [::Array<::Google::Api::ClientLibraryDestination>]
         | 
| 30 30 | 
             
                #     The destination where API teams want this client library to be published.
         | 
| 31 | 
            +
                # @!attribute [rw] selective_gapic_generation
         | 
| 32 | 
            +
                #   @return [::Google::Api::SelectiveGapicGeneration]
         | 
| 33 | 
            +
                #     Configuration for which RPCs should be generated in the GAPIC client.
         | 
| 31 34 | 
             
                class CommonLanguageSettings
         | 
| 32 35 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 33 36 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -196,9 +199,32 @@ module Google | |
| 196 199 | 
             
                # @!attribute [rw] common
         | 
| 197 200 | 
             
                #   @return [::Google::Api::CommonLanguageSettings]
         | 
| 198 201 | 
             
                #     Some settings.
         | 
| 202 | 
            +
                # @!attribute [rw] experimental_features
         | 
| 203 | 
            +
                #   @return [::Google::Api::PythonSettings::ExperimentalFeatures]
         | 
| 204 | 
            +
                #     Experimental features to be included during client library generation.
         | 
| 199 205 | 
             
                class PythonSettings
         | 
| 200 206 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 201 207 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 208 | 
            +
             | 
| 209 | 
            +
                  # Experimental features to be included during client library generation.
         | 
| 210 | 
            +
                  # These fields will be deprecated once the feature graduates and is enabled
         | 
| 211 | 
            +
                  # by default.
         | 
| 212 | 
            +
                  # @!attribute [rw] rest_async_io_enabled
         | 
| 213 | 
            +
                  #   @return [::Boolean]
         | 
| 214 | 
            +
                  #     Enables generation of asynchronous REST clients if `rest` transport is
         | 
| 215 | 
            +
                  #     enabled. By default, asynchronous REST clients will not be generated.
         | 
| 216 | 
            +
                  #     This feature will be enabled by default 1 month after launching the
         | 
| 217 | 
            +
                  #     feature in preview packages.
         | 
| 218 | 
            +
                  # @!attribute [rw] protobuf_pythonic_types_enabled
         | 
| 219 | 
            +
                  #   @return [::Boolean]
         | 
| 220 | 
            +
                  #     Enables generation of protobuf code using new types that are more
         | 
| 221 | 
            +
                  #     Pythonic which are included in `protobuf>=5.29.x`. This feature will be
         | 
| 222 | 
            +
                  #     enabled by default 1 month after launching the feature in preview
         | 
| 223 | 
            +
                  #     packages.
         | 
| 224 | 
            +
                  class ExperimentalFeatures
         | 
| 225 | 
            +
                    include ::Google::Protobuf::MessageExts
         | 
| 226 | 
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 227 | 
            +
                  end
         | 
| 202 228 | 
             
                end
         | 
| 203 229 |  | 
| 204 230 | 
             
                # Settings for Node client libraries.
         | 
| @@ -280,9 +306,28 @@ module Google | |
| 280 306 | 
             
                # @!attribute [rw] common
         | 
| 281 307 | 
             
                #   @return [::Google::Api::CommonLanguageSettings]
         | 
| 282 308 | 
             
                #     Some settings.
         | 
| 309 | 
            +
                # @!attribute [rw] renamed_services
         | 
| 310 | 
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         | 
| 311 | 
            +
                #     Map of service names to renamed services. Keys are the package relative
         | 
| 312 | 
            +
                #     service names and values are the name to be used for the service client
         | 
| 313 | 
            +
                #     and call options.
         | 
| 314 | 
            +
                #
         | 
| 315 | 
            +
                #     publishing:
         | 
| 316 | 
            +
                #       go_settings:
         | 
| 317 | 
            +
                #         renamed_services:
         | 
| 318 | 
            +
                #           Publisher: TopicAdmin
         | 
| 283 319 | 
             
                class GoSettings
         | 
| 284 320 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 285 321 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 322 | 
            +
             | 
| 323 | 
            +
                  # @!attribute [rw] key
         | 
| 324 | 
            +
                  #   @return [::String]
         | 
| 325 | 
            +
                  # @!attribute [rw] value
         | 
| 326 | 
            +
                  #   @return [::String]
         | 
| 327 | 
            +
                  class RenamedServicesEntry
         | 
| 328 | 
            +
                    include ::Google::Protobuf::MessageExts
         | 
| 329 | 
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 330 | 
            +
                  end
         | 
| 286 331 | 
             
                end
         | 
| 287 332 |  | 
| 288 333 | 
             
                # Describes the generator configuration for a method.
         | 
| @@ -358,6 +403,17 @@ module Google | |
| 358 403 | 
             
                  end
         | 
| 359 404 | 
             
                end
         | 
| 360 405 |  | 
| 406 | 
            +
                # This message is used to configure the generation of a subset of the RPCs in
         | 
| 407 | 
            +
                # a service for client libraries.
         | 
| 408 | 
            +
                # @!attribute [rw] methods
         | 
| 409 | 
            +
                #   @return [::Array<::String>]
         | 
| 410 | 
            +
                #     An allowlist of the fully qualified names of RPCs that should be included
         | 
| 411 | 
            +
                #     on public client surfaces.
         | 
| 412 | 
            +
                class SelectiveGapicGeneration
         | 
| 413 | 
            +
                  include ::Google::Protobuf::MessageExts
         | 
| 414 | 
            +
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 415 | 
            +
                end
         | 
| 416 | 
            +
             | 
| 361 417 | 
             
                # The organization for which the client libraries are being published.
         | 
| 362 418 | 
             
                # Affects the url where generated docs are published, etc.
         | 
| 363 419 | 
             
                module ClientLibraryOrganization
         | 
| @@ -154,7 +154,7 @@ module Google | |
| 154 154 | 
             
                        end
         | 
| 155 155 | 
             
                      end
         | 
| 156 156 |  | 
| 157 | 
            -
                      # AdditionalNotificationTargets includes email addresses to be notified.
         | 
| 157 | 
            +
                      # `AdditionalNotificationTargets` includes email addresses to be notified.
         | 
| 158 158 | 
             
                      # @!attribute [rw] admin_email_recipients
         | 
| 159 159 | 
             
                      #   @return [::Array<::String>]
         | 
| 160 160 | 
             
                      #     Optional. Additional email addresses to be notified when a principal
         | 
| @@ -190,7 +190,7 @@ module Google | |
| 190 190 | 
             
                      end
         | 
| 191 191 | 
             
                    end
         | 
| 192 192 |  | 
| 193 | 
            -
                    # AccessControlEntry is used to control who can do some operation.
         | 
| 193 | 
            +
                    # `AccessControlEntry` is used to control who can do some operation.
         | 
| 194 194 | 
             
                    # @!attribute [rw] principals
         | 
| 195 195 | 
             
                    #   @return [::Array<::String>]
         | 
| 196 196 | 
             
                    #     Optional. Users who are allowed for the operation. Each entry should be a
         | 
| @@ -267,7 +267,7 @@ module Google | |
| 267 267 | 
             
                      include ::Google::Protobuf::MessageExts
         | 
| 268 268 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 269 269 |  | 
| 270 | 
            -
                      # GcpIamAccess represents IAM based access control on a Google Cloud
         | 
| 270 | 
            +
                      # `GcpIamAccess` represents IAM based access control on a Google Cloud
         | 
| 271 271 | 
             
                      # resource. Refer to https://cloud.google.com/iam/docs to understand more
         | 
| 272 272 | 
             
                      # about IAM.
         | 
| 273 273 | 
             
                      # @!attribute [rw] resource_type
         | 
| @@ -283,7 +283,7 @@ module Google | |
| 283 283 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 284 284 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 285 285 |  | 
| 286 | 
            -
                        # IAM  | 
| 286 | 
            +
                        # IAM role bindings that are created after a successful grant.
         | 
| 287 287 | 
             
                        # @!attribute [rw] role
         | 
| 288 288 | 
             
                        #   @return [::String]
         | 
| 289 289 | 
             
                        #     Required. IAM role to be granted.
         | 
| @@ -434,7 +434,7 @@ module Google | |
| 434 434 | 
             
                    #     ID, the server can check if original operation with the same request ID
         | 
| 435 435 | 
             
                    #     was received, and if so, ignores the second request and returns the
         | 
| 436 436 | 
             
                    #     previous operation's response. This prevents clients from accidentally
         | 
| 437 | 
            -
                    #     creating duplicate  | 
| 437 | 
            +
                    #     creating duplicate entitlements.
         | 
| 438 438 | 
             
                    #
         | 
| 439 439 | 
             
                    #     The request ID must be a valid UUID with the exception that zero UUID is
         | 
| 440 440 | 
             
                    #     not supported (00000000-0000-0000-0000-000000000000).
         | 
| @@ -457,8 +457,7 @@ module Google | |
| 457 457 | 
             
                    #     For example, consider a situation where you make an initial request and the
         | 
| 458 458 | 
             
                    #     request times out. If you make the request again with the same request
         | 
| 459 459 | 
             
                    #     ID, the server can check if original operation with the same request ID
         | 
| 460 | 
            -
                    #     was received, and if so, ignores the second request. | 
| 461 | 
            -
                    #     clients from accidentally creating duplicate commitments.
         | 
| 460 | 
            +
                    #     was received, and if so, ignores the second request.
         | 
| 462 461 | 
             
                    #
         | 
| 463 462 | 
             
                    #     The request ID must be a valid UUID with the exception that zero UUID is
         | 
| 464 463 | 
             
                    #     not supported (00000000-0000-0000-0000-000000000000).
         | 
| @@ -492,8 +491,6 @@ module Google | |
| 492 491 | 
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 493 492 | 
             
                    end
         | 
| 494 493 |  | 
| 495 | 
            -
                    # This is to ensure that the `Grants` and `ProducerGrants` proto are byte
         | 
| 496 | 
            -
                    # compatible.
         | 
| 497 494 | 
             
                    # A grant represents a request from a user for obtaining the access specified
         | 
| 498 495 | 
             
                    # in an entitlement they are eligible for.
         | 
| 499 496 | 
             
                    # @!attribute [rw] name
         | 
| @@ -921,7 +918,7 @@ module Google | |
| 921 918 | 
             
                    #     request times out. If you make the request again with the same request
         | 
| 922 919 | 
             
                    #     ID, the server can check if original operation with the same request ID
         | 
| 923 920 | 
             
                    #     was received, and if so, ignores the second request. This prevents
         | 
| 924 | 
            -
                    #     clients from accidentally creating duplicate  | 
| 921 | 
            +
                    #     clients from accidentally creating duplicate grants.
         | 
| 925 922 | 
             
                    #
         | 
| 926 923 | 
             
                    #     The request ID must be a valid UUID with the exception that zero UUID is
         | 
| 927 924 | 
             
                    #     not supported (00000000-0000-0000-0000-000000000000).
         | 
| @@ -42,7 +42,7 @@ module Google | |
| 42 42 | 
             
                #     The error result of the operation in case of failure or cancellation.
         | 
| 43 43 | 
             
                # @!attribute [rw] response
         | 
| 44 44 | 
             
                #   @return [::Google::Protobuf::Any]
         | 
| 45 | 
            -
                #     The normal response of the operation | 
| 45 | 
            +
                #     The normal, successful response of the operation.  If the original
         | 
| 46 46 | 
             
                #     method returns no data on success, such as `Delete`, the response is
         | 
| 47 47 | 
             
                #     `google.protobuf.Empty`.  If the original method is standard
         | 
| 48 48 | 
             
                #     `Get`/`Create`/`Update`, the response should be the resource.  For other
         | 
| @@ -55,7 +55,8 @@ module Google | |
| 55 55 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 56 56 | 
             
                end
         | 
| 57 57 |  | 
| 58 | 
            -
                # The request message for | 
| 58 | 
            +
                # The request message for
         | 
| 59 | 
            +
                # Operations.GetOperation.
         | 
| 59 60 | 
             
                # @!attribute [rw] name
         | 
| 60 61 | 
             
                #   @return [::String]
         | 
| 61 62 | 
             
                #     The name of the operation resource.
         | 
| @@ -64,7 +65,8 @@ module Google | |
| 64 65 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 65 66 | 
             
                end
         | 
| 66 67 |  | 
| 67 | 
            -
                # The request message for | 
| 68 | 
            +
                # The request message for
         | 
| 69 | 
            +
                # Operations.ListOperations.
         | 
| 68 70 | 
             
                # @!attribute [rw] name
         | 
| 69 71 | 
             
                #   @return [::String]
         | 
| 70 72 | 
             
                #     The name of the operation's parent resource.
         | 
| @@ -82,7 +84,8 @@ module Google | |
| 82 84 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 83 85 | 
             
                end
         | 
| 84 86 |  | 
| 85 | 
            -
                # The response message for | 
| 87 | 
            +
                # The response message for
         | 
| 88 | 
            +
                # Operations.ListOperations.
         | 
| 86 89 | 
             
                # @!attribute [rw] operations
         | 
| 87 90 | 
             
                #   @return [::Array<::Google::Longrunning::Operation>]
         | 
| 88 91 | 
             
                #     A list of operations that matches the specified filter in the request.
         | 
| @@ -94,7 +97,8 @@ module Google | |
| 94 97 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 95 98 | 
             
                end
         | 
| 96 99 |  | 
| 97 | 
            -
                # The request message for | 
| 100 | 
            +
                # The request message for
         | 
| 101 | 
            +
                # Operations.CancelOperation.
         | 
| 98 102 | 
             
                # @!attribute [rw] name
         | 
| 99 103 | 
             
                #   @return [::String]
         | 
| 100 104 | 
             
                #     The name of the operation resource to be cancelled.
         | 
| @@ -103,7 +107,8 @@ module Google | |
| 103 107 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 104 108 | 
             
                end
         | 
| 105 109 |  | 
| 106 | 
            -
                # The request message for | 
| 110 | 
            +
                # The request message for
         | 
| 111 | 
            +
                # Operations.DeleteOperation.
         | 
| 107 112 | 
             
                # @!attribute [rw] name
         | 
| 108 113 | 
             
                #   @return [::String]
         | 
| 109 114 | 
             
                #     The name of the operation resource to be deleted.
         | 
| @@ -112,7 +117,8 @@ module Google | |
| 112 117 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 113 118 | 
             
                end
         | 
| 114 119 |  | 
| 115 | 
            -
                # The request message for | 
| 120 | 
            +
                # The request message for
         | 
| 121 | 
            +
                # Operations.WaitOperation.
         | 
| 116 122 | 
             
                # @!attribute [rw] name
         | 
| 117 123 | 
             
                #   @return [::String]
         | 
| 118 124 | 
             
                #     The name of the operation resource to wait on.
         | 
| @@ -130,13 +136,12 @@ module Google | |
| 130 136 | 
             
                #
         | 
| 131 137 | 
             
                # Example:
         | 
| 132 138 | 
             
                #
         | 
| 133 | 
            -
                # | 
| 134 | 
            -
                #        | 
| 135 | 
            -
                # | 
| 136 | 
            -
                # | 
| 137 | 
            -
                #        | 
| 138 | 
            -
                #     } | 
| 139 | 
            -
                #   }
         | 
| 139 | 
            +
                #     rpc Export(ExportRequest) returns (google.longrunning.Operation) {
         | 
| 140 | 
            +
                #       option (google.longrunning.operation_info) = {
         | 
| 141 | 
            +
                #         response_type: "ExportResponse"
         | 
| 142 | 
            +
                #         metadata_type: "ExportMetadata"
         | 
| 143 | 
            +
                #       };
         | 
| 144 | 
            +
                #     }
         | 
| 140 145 | 
             
                # @!attribute [rw] response_type
         | 
| 141 146 | 
             
                #   @return [::String]
         | 
| 142 147 | 
             
                #     Required. The message name of the primary return type for this
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-privileged_access_manager-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 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: 2024- | 
| 11 | 
            +
            date: 2024-12-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| @@ -16,7 +16,7 @@ dependencies: | |
| 16 16 | 
             
                requirements:
         | 
| 17 17 | 
             
                - - ">="
         | 
| 18 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 19 | 
            +
                    version: 0.24.0
         | 
| 20 20 | 
             
                - - "<"
         | 
| 21 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 22 | 
             
                    version: 2.a
         | 
| @@ -26,7 +26,7 @@ dependencies: | |
| 26 26 | 
             
                requirements:
         | 
| 27 27 | 
             
                - - ">="
         | 
| 28 28 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 29 | 
            +
                    version: 0.24.0
         | 
| 30 30 | 
             
                - - "<"
         | 
| 31 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 32 | 
             
                    version: 2.a
         | 
| @@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 147 147 | 
             
                - !ruby/object:Gem::Version
         | 
| 148 148 | 
             
                  version: '0'
         | 
| 149 149 | 
             
            requirements: []
         | 
| 150 | 
            -
            rubygems_version: 3.5. | 
| 150 | 
            +
            rubygems_version: 3.5.23
         | 
| 151 151 | 
             
            signing_key: 
         | 
| 152 152 | 
             
            specification_version: 4
         | 
| 153 153 | 
             
            summary: Privileged Access Manager (PAM) helps you on your journey towards least privilege
         |