google-identity-access_context_manager-v1 0.9.0 → 0.10.1
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/identity/access_context_manager/v1/access_context_manager/client.rb +9 -2
- data/lib/google/identity/access_context_manager/v1/access_context_manager/operations.rb +9 -2
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/client.rb +8 -1
- data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/operations.rb +8 -1
- data/lib/google/identity/access_context_manager/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/identity/accesscontextmanager/v1/access_level.rb +4 -0
- data/proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb +8 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: d3a7e2030848d3e032f9584e7e67210b0ae54fe99d71183c1370225ec46012d5
         | 
| 4 | 
            +
              data.tar.gz: 001a9b9220398c23c030307efe4d25d0016ae6ae81692c86789c61c1fcd44f77
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7d97233adda696a4ce24bfe7037e9b8794eda0e622cc5cf06fc7f432c7dff4a4dce5e5df4905221b65c000693c104b0a66571d4574ceb7f835f5be2f7f8b2fed
         | 
| 7 | 
            +
              data.tar.gz: 817d29a471a89569e7956c6cf185130f000180cc23509ba2c8893f910bc6c33e201923da3f737cf4681a9125d3484faafd6f7f85b59790a98d7f0acc2acbc098
         | 
    
        data/README.md
    CHANGED
    
    | @@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g | |
| 86 86 |  | 
| 87 87 | 
             
            ## Supported Ruby Versions
         | 
| 88 88 |  | 
| 89 | 
            -
            This library is supported on Ruby  | 
| 89 | 
            +
            This library is supported on Ruby 3.0+.
         | 
| 90 90 |  | 
| 91 91 | 
             
            Google provides official support for Ruby versions that are actively supported
         | 
| 92 92 | 
             
            by Ruby Core—that is, Ruby versions that are either in normal maintenance or
         | 
| @@ -2960,6 +2960,13 @@ module Google | |
| 2960 2960 | 
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         | 
| 2961 2961 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 2962 2962 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 2963 | 
            +
                        #
         | 
| 2964 | 
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 2965 | 
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 2966 | 
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 2967 | 
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 2968 | 
            +
                        #   For more information, refer to [Validate credential configurations from external
         | 
| 2969 | 
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 2963 2970 | 
             
                        #   @return [::Object]
         | 
| 2964 2971 | 
             
                        # @!attribute [rw] scope
         | 
| 2965 2972 | 
             
                        #   The OAuth scopes
         | 
| @@ -3014,8 +3021,8 @@ module Google | |
| 3014 3021 |  | 
| 3015 3022 | 
             
                          config_attr :endpoint,      nil, ::String, nil
         | 
| 3016 3023 | 
             
                          config_attr :credentials,   nil do |value|
         | 
| 3017 | 
            -
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 3018 | 
            -
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         | 
| 3024 | 
            +
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         | 
| 3025 | 
            +
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
         | 
| 3019 3026 | 
             
                            allowed.any? { |klass| klass === value }
         | 
| 3020 3027 | 
             
                          end
         | 
| 3021 3028 | 
             
                          config_attr :scope,         nil, ::String, ::Array, nil
         | 
| @@ -640,6 +640,13 @@ module Google | |
| 640 640 | 
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         | 
| 641 641 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 642 642 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 643 | 
            +
                        #
         | 
| 644 | 
            +
                        #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 645 | 
            +
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 646 | 
            +
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 647 | 
            +
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 648 | 
            +
                        #   For more information, refer to [Validate credential configurations from external
         | 
| 649 | 
            +
                        #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 643 650 | 
             
                        #   @return [::Object]
         | 
| 644 651 | 
             
                        # @!attribute [rw] scope
         | 
| 645 652 | 
             
                        #   The OAuth scopes
         | 
| @@ -694,8 +701,8 @@ module Google | |
| 694 701 |  | 
| 695 702 | 
             
                          config_attr :endpoint,      nil, ::String, nil
         | 
| 696 703 | 
             
                          config_attr :credentials,   nil do |value|
         | 
| 697 | 
            -
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 698 | 
            -
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         | 
| 704 | 
            +
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         | 
| 705 | 
            +
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
         | 
| 699 706 | 
             
                            allowed.any? { |klass| klass === value }
         | 
| 700 707 | 
             
                          end
         | 
| 701 708 | 
             
                          config_attr :scope,         nil, ::String, ::Array, nil
         | 
| @@ -2785,6 +2785,13 @@ module Google | |
| 2785 2785 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 2786 2786 | 
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 2787 2787 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 2788 | 
            +
                          #
         | 
| 2789 | 
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 2790 | 
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 2791 | 
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 2792 | 
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 2793 | 
            +
                          #   For more information, refer to [Validate credential configurations from external
         | 
| 2794 | 
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 2788 2795 | 
             
                          #   @return [::Object]
         | 
| 2789 2796 | 
             
                          # @!attribute [rw] scope
         | 
| 2790 2797 | 
             
                          #   The OAuth scopes
         | 
| @@ -2832,7 +2839,7 @@ module Google | |
| 2832 2839 |  | 
| 2833 2840 | 
             
                            config_attr :endpoint,      nil, ::String, nil
         | 
| 2834 2841 | 
             
                            config_attr :credentials,   nil do |value|
         | 
| 2835 | 
            -
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 2842 | 
            +
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         | 
| 2836 2843 | 
             
                              allowed.any? { |klass| klass === value }
         | 
| 2837 2844 | 
             
                            end
         | 
| 2838 2845 | 
             
                            config_attr :scope,         nil, ::String, ::Array, nil
         | 
    
        data/lib/google/identity/access_context_manager/v1/access_context_manager/rest/operations.rb
    CHANGED
    
    | @@ -502,6 +502,13 @@ module Google | |
| 502 502 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| 503 503 | 
             
                          #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         | 
| 504 504 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 505 | 
            +
                          #
         | 
| 506 | 
            +
                          #   Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 507 | 
            +
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 508 | 
            +
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 509 | 
            +
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| 510 | 
            +
                          #   For more information, refer to [Validate credential configurations from external
         | 
| 511 | 
            +
                          #   sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
         | 
| 505 512 | 
             
                          #   @return [::Object]
         | 
| 506 513 | 
             
                          # @!attribute [rw] scope
         | 
| 507 514 | 
             
                          #   The OAuth scopes
         | 
| @@ -549,7 +556,7 @@ module Google | |
| 549 556 |  | 
| 550 557 | 
             
                            config_attr :endpoint,      nil, ::String, nil
         | 
| 551 558 | 
             
                            config_attr :credentials,   nil do |value|
         | 
| 552 | 
            -
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         | 
| 559 | 
            +
                              allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
         | 
| 553 560 | 
             
                              allowed.any? { |klass| klass === value }
         | 
| 554 561 | 
             
                            end
         | 
| 555 562 | 
             
                            config_attr :scope,         nil, ::String, ::Array, nil
         | 
| @@ -221,6 +221,12 @@ module Google | |
| 221 221 | 
             
                  #     Pythonic which are included in `protobuf>=5.29.x`. This feature will be
         | 
| 222 222 | 
             
                  #     enabled by default 1 month after launching the feature in preview
         | 
| 223 223 | 
             
                  #     packages.
         | 
| 224 | 
            +
                  # @!attribute [rw] unversioned_package_disabled
         | 
| 225 | 
            +
                  #   @return [::Boolean]
         | 
| 226 | 
            +
                  #     Disables generation of an unversioned Python package for this client
         | 
| 227 | 
            +
                  #     library. This means that the module names will need to be versioned in
         | 
| 228 | 
            +
                  #     import statements. For example `import google.cloud.library_v2` instead
         | 
| 229 | 
            +
                  #     of `import google.cloud.library`.
         | 
| 224 230 | 
             
                  class ExperimentalFeatures
         | 
| 225 231 | 
             
                    include ::Google::Protobuf::MessageExts
         | 
| 226 232 | 
             
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -409,6 +415,14 @@ module Google | |
| 409 415 | 
             
                #   @return [::Array<::String>]
         | 
| 410 416 | 
             
                #     An allowlist of the fully qualified names of RPCs that should be included
         | 
| 411 417 | 
             
                #     on public client surfaces.
         | 
| 418 | 
            +
                # @!attribute [rw] generate_omitted_as_internal
         | 
| 419 | 
            +
                #   @return [::Boolean]
         | 
| 420 | 
            +
                #     Setting this to true indicates to the client generators that methods
         | 
| 421 | 
            +
                #     that would be excluded from the generation should instead be generated
         | 
| 422 | 
            +
                #     in a way that indicates these methods should not be consumed by
         | 
| 423 | 
            +
                #     end users. How this is expressed is up to individual language
         | 
| 424 | 
            +
                #     implementations to decide. Some examples may be: added annotations,
         | 
| 425 | 
            +
                #     obfuscated identifiers, or other language idiomatic patterns.
         | 
| 412 426 | 
             
                class SelectiveGapicGeneration
         | 
| 413 427 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 414 428 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -39,9 +39,13 @@ module Google | |
| 39 39 | 
             
                    # @!attribute [rw] basic
         | 
| 40 40 | 
             
                    #   @return [::Google::Identity::AccessContextManager::V1::BasicLevel]
         | 
| 41 41 | 
             
                    #     A `BasicLevel` composed of `Conditions`.
         | 
| 42 | 
            +
                    #
         | 
| 43 | 
            +
                    #     Note: The following fields are mutually exclusive: `basic`, `custom`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 42 44 | 
             
                    # @!attribute [rw] custom
         | 
| 43 45 | 
             
                    #   @return [::Google::Identity::AccessContextManager::V1::CustomLevel]
         | 
| 44 46 | 
             
                    #     A `CustomLevel` written in the Common Expression Language.
         | 
| 47 | 
            +
                    #
         | 
| 48 | 
            +
                    #     Note: The following fields are mutually exclusive: `custom`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 45 49 | 
             
                    # @!attribute [rw] create_time
         | 
| 46 50 | 
             
                    #   @return [::Google::Protobuf::Timestamp]
         | 
| 47 51 | 
             
                    #     Output only. Time the `AccessLevel` was created in UTC.
         | 
| @@ -184,11 +184,15 @@ module Google | |
| 184 184 | 
             
                      #     [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
         | 
| 185 185 | 
             
                      #     If `*` used as value for `method`, then ALL methods and permissions are
         | 
| 186 186 | 
             
                      #     allowed.
         | 
| 187 | 
            +
                      #
         | 
| 188 | 
            +
                      #     Note: The following fields are mutually exclusive: `method`, `permission`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 187 189 | 
             
                      # @!attribute [rw] permission
         | 
| 188 190 | 
             
                      #   @return [::String]
         | 
| 189 191 | 
             
                      #     Value for `permission` should be a valid Cloud IAM permission for the
         | 
| 190 192 | 
             
                      #     corresponding `service_name` in [ApiOperation]
         | 
| 191 193 | 
             
                      #     [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
         | 
| 194 | 
            +
                      #
         | 
| 195 | 
            +
                      #     Note: The following fields are mutually exclusive: `permission`, `method`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 192 196 | 
             
                      class MethodSelector
         | 
| 193 197 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 194 198 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -240,6 +244,8 @@ module Google | |
| 240 244 | 
             
                      #     specified for `access_level`, then all [IngressSources]
         | 
| 241 245 | 
             
                      #     [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource]
         | 
| 242 246 | 
             
                      #     will be allowed.
         | 
| 247 | 
            +
                      #
         | 
| 248 | 
            +
                      #     Note: The following fields are mutually exclusive: `access_level`, `resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 243 249 | 
             
                      # @!attribute [rw] resource
         | 
| 244 250 | 
             
                      #   @return [::String]
         | 
| 245 251 | 
             
                      #     A Google Cloud resource that is allowed to ingress the perimeter.
         | 
| @@ -249,6 +255,8 @@ module Google | |
| 249 255 | 
             
                      #     The project may be in any Google Cloud organization, not just the
         | 
| 250 256 | 
             
                      #     organization that the perimeter is defined in. `*` is not allowed, the
         | 
| 251 257 | 
             
                      #     case of allowing all Google Cloud resources only is not supported.
         | 
| 258 | 
            +
                      #
         | 
| 259 | 
            +
                      #     Note: The following fields are mutually exclusive: `resource`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 252 260 | 
             
                      class IngressSource
         | 
| 253 261 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 254 262 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -40,6 +40,8 @@ module Google | |
| 40 40 | 
             
                # @!attribute [rw] error
         | 
| 41 41 | 
             
                #   @return [::Google::Rpc::Status]
         | 
| 42 42 | 
             
                #     The error result of the operation in case of failure or cancellation.
         | 
| 43 | 
            +
                #
         | 
| 44 | 
            +
                #     Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 43 45 | 
             
                # @!attribute [rw] response
         | 
| 44 46 | 
             
                #   @return [::Google::Protobuf::Any]
         | 
| 45 47 | 
             
                #     The normal, successful response of the operation.  If the original
         | 
| @@ -50,6 +52,8 @@ module Google | |
| 50 52 | 
             
                #     is the original method name.  For example, if the original method name
         | 
| 51 53 | 
             
                #     is `TakeSnapshot()`, the inferred response type is
         | 
| 52 54 | 
             
                #     `TakeSnapshotResponse`.
         | 
| 55 | 
            +
                #
         | 
| 56 | 
            +
                #     Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 53 57 | 
             
                class Operation
         | 
| 54 58 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 55 59 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-identity-access_context_manager-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.10.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 | 
            -
            autorequire: 
         | 
| 9 8 | 
             
            bindir: bin
         | 
| 10 9 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 10 | 
            +
            date: 1980-01-02 00:00:00.000000000 Z
         | 
| 12 11 | 
             
            dependencies:
         | 
| 13 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 13 | 
             
              name: gapic-common
         | 
| @@ -16,7 +15,7 @@ dependencies: | |
| 16 15 | 
             
                requirements:
         | 
| 17 16 | 
             
                - - ">="
         | 
| 18 17 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: 0. | 
| 18 | 
            +
                    version: 0.25.0
         | 
| 20 19 | 
             
                - - "<"
         | 
| 21 20 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 21 | 
             
                    version: 2.a
         | 
| @@ -26,7 +25,7 @@ dependencies: | |
| 26 25 | 
             
                requirements:
         | 
| 27 26 | 
             
                - - ">="
         | 
| 28 27 | 
             
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: 0. | 
| 28 | 
            +
                    version: 0.25.0
         | 
| 30 29 | 
             
                - - "<"
         | 
| 31 30 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 31 | 
             
                    version: 2.a
         | 
| @@ -118,7 +117,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby | |
| 118 117 | 
             
            licenses:
         | 
| 119 118 | 
             
            - Apache-2.0
         | 
| 120 119 | 
             
            metadata: {}
         | 
| 121 | 
            -
            post_install_message: 
         | 
| 122 120 | 
             
            rdoc_options: []
         | 
| 123 121 | 
             
            require_paths:
         | 
| 124 122 | 
             
            - lib
         | 
| @@ -126,15 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 126 124 | 
             
              requirements:
         | 
| 127 125 | 
             
              - - ">="
         | 
| 128 126 | 
             
                - !ruby/object:Gem::Version
         | 
| 129 | 
            -
                  version: ' | 
| 127 | 
            +
                  version: '3.0'
         | 
| 130 128 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 131 129 | 
             
              requirements:
         | 
| 132 130 | 
             
              - - ">="
         | 
| 133 131 | 
             
                - !ruby/object:Gem::Version
         | 
| 134 132 | 
             
                  version: '0'
         | 
| 135 133 | 
             
            requirements: []
         | 
| 136 | 
            -
            rubygems_version: 3. | 
| 137 | 
            -
            signing_key: 
         | 
| 134 | 
            +
            rubygems_version: 3.6.8
         | 
| 138 135 | 
             
            specification_version: 4
         | 
| 139 136 | 
             
            summary: An API for setting attribute based access control to requests to GCP services.
         | 
| 140 137 | 
             
            test_files: []
         |