google-cloud-security-private_ca-v1 1.0.1 → 1.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/.yardopts +1 -1
- data/README.md +33 -23
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +55 -30
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +19 -15
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +50 -30
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb +50 -38
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/service_stub.rb +246 -176
- data/lib/google/cloud/security/private_ca/v1/version.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/security/privateca/v1/resources.rb +16 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- metadata +6 -9
    
        data/proto_docs/README.md
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            #  | 
| 1 | 
            +
            # Certificate Authority Service V1 Protocol Buffer Documentation
         | 
| 2 2 |  | 
| 3 3 | 
             
            These files are for the YARD documentation of the generated protobuf files.
         | 
| 4 4 | 
             
            They are not intended to be required or loaded at runtime.
         | 
| @@ -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
         | 
| @@ -212,6 +215,12 @@ module Google | |
| 212 215 | 
             
                  #     enabled. By default, asynchronous REST clients will not be generated.
         | 
| 213 216 | 
             
                  #     This feature will be enabled by default 1 month after launching the
         | 
| 214 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.
         | 
| 215 224 | 
             
                  class ExperimentalFeatures
         | 
| 216 225 | 
             
                    include ::Google::Protobuf::MessageExts
         | 
| 217 226 | 
             
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -297,9 +306,28 @@ module Google | |
| 297 306 | 
             
                # @!attribute [rw] common
         | 
| 298 307 | 
             
                #   @return [::Google::Api::CommonLanguageSettings]
         | 
| 299 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
         | 
| 300 319 | 
             
                class GoSettings
         | 
| 301 320 | 
             
                  include ::Google::Protobuf::MessageExts
         | 
| 302 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
         | 
| 303 331 | 
             
                end
         | 
| 304 332 |  | 
| 305 333 | 
             
                # Describes the generator configuration for a method.
         | 
| @@ -375,6 +403,17 @@ module Google | |
| 375 403 | 
             
                  end
         | 
| 376 404 | 
             
                end
         | 
| 377 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 | 
            +
             | 
| 378 417 | 
             
                # The organization for which the client libraries are being published.
         | 
| 379 418 | 
             
                # Affects the url where generated docs are published, etc.
         | 
| 380 419 | 
             
                module ClientLibraryOrganization
         | 
| @@ -166,11 +166,15 @@ module Google | |
| 166 166 | 
             
                        #     `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
         | 
| 167 167 | 
             
                        #     This option enables full flexibility in the key's capabilities and
         | 
| 168 168 | 
             
                        #     properties.
         | 
| 169 | 
            +
                        #
         | 
| 170 | 
            +
                        #     Note: The following fields are mutually exclusive: `cloud_kms_key_version`, `algorithm`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 169 171 | 
             
                        # @!attribute [rw] algorithm
         | 
| 170 172 | 
             
                        #   @return [::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm]
         | 
| 171 173 | 
             
                        #     The algorithm to use for creating a managed Cloud KMS key for a for a
         | 
| 172 174 | 
             
                        #     simplified experience. All managed keys will be have their
         | 
| 173 175 | 
             
                        #     [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as `HSM`.
         | 
| 176 | 
            +
                        #
         | 
| 177 | 
            +
                        #     Note: The following fields are mutually exclusive: `algorithm`, `cloud_kms_key_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 174 178 | 
             
                        class KeyVersionSpec
         | 
| 175 179 | 
             
                          include ::Google::Protobuf::MessageExts
         | 
| 176 180 | 
             
                          extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -453,9 +457,13 @@ module Google | |
| 453 457 | 
             
                          # @!attribute [rw] rsa
         | 
| 454 458 | 
             
                          #   @return [::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy::AllowedKeyType::RsaKeyType]
         | 
| 455 459 | 
             
                          #     Represents an allowed RSA key type.
         | 
| 460 | 
            +
                          #
         | 
| 461 | 
            +
                          #     Note: The following fields are mutually exclusive: `rsa`, `elliptic_curve`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 456 462 | 
             
                          # @!attribute [rw] elliptic_curve
         | 
| 457 463 | 
             
                          #   @return [::Google::Cloud::Security::PrivateCA::V1::CaPool::IssuancePolicy::AllowedKeyType::EcKeyType]
         | 
| 458 464 | 
             
                          #     Represents an allowed Elliptic Curve key type.
         | 
| 465 | 
            +
                          #
         | 
| 466 | 
            +
                          #     Note: The following fields are mutually exclusive: `elliptic_curve`, `rsa`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 459 467 | 
             
                          class AllowedKeyType
         | 
| 460 468 | 
             
                            include ::Google::Protobuf::MessageExts
         | 
| 461 469 | 
             
                            extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -667,10 +675,14 @@ module Google | |
| 667 675 | 
             
                      # @!attribute [rw] pem_csr
         | 
| 668 676 | 
             
                      #   @return [::String]
         | 
| 669 677 | 
             
                      #     Immutable. A pem-encoded X.509 certificate signing request (CSR).
         | 
| 678 | 
            +
                      #
         | 
| 679 | 
            +
                      #     Note: The following fields are mutually exclusive: `pem_csr`, `config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 670 680 | 
             
                      # @!attribute [rw] config
         | 
| 671 681 | 
             
                      #   @return [::Google::Cloud::Security::PrivateCA::V1::CertificateConfig]
         | 
| 672 682 | 
             
                      #     Immutable. A description of the certificate and key that does not require
         | 
| 673 683 | 
             
                      #     X.509 or ASN.1.
         | 
| 684 | 
            +
                      #
         | 
| 685 | 
            +
                      #     Note: The following fields are mutually exclusive: `config`, `pem_csr`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 674 686 | 
             
                      # @!attribute [r] issuer_certificate_authority
         | 
| 675 687 | 
             
                      #   @return [::String]
         | 
| 676 688 | 
             
                      #     Output only. The resource name of the issuing
         | 
| @@ -971,11 +983,15 @@ module Google | |
| 971 983 | 
             
                      #     This field is used for information and usability purposes only. The
         | 
| 972 984 | 
             
                      #     resource name is in the format
         | 
| 973 985 | 
             
                      #     `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
         | 
| 986 | 
            +
                      #
         | 
| 987 | 
            +
                      #     Note: The following fields are mutually exclusive: `certificate_authority`, `pem_issuer_chain`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 974 988 | 
             
                      # @!attribute [rw] pem_issuer_chain
         | 
| 975 989 | 
             
                      #   @return [::Google::Cloud::Security::PrivateCA::V1::SubordinateConfig::SubordinateConfigChain]
         | 
| 976 990 | 
             
                      #     Required. Contains the PEM certificate chain for the issuers of this
         | 
| 977 991 | 
             
                      #     {::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority CertificateAuthority},
         | 
| 978 992 | 
             
                      #     but not pem certificate for this CA itself.
         | 
| 993 | 
            +
                      #
         | 
| 994 | 
            +
                      #     Note: The following fields are mutually exclusive: `pem_issuer_chain`, `certificate_authority`. If a field in that set is populated, all other fields in the set will automatically be cleared.
         | 
| 979 995 | 
             
                      class SubordinateConfig
         | 
| 980 996 | 
             
                        include ::Google::Protobuf::MessageExts
         | 
| 981 997 | 
             
                        extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| @@ -40,9 +40,11 @@ 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 | 
            -
                #     The normal response of the operation | 
| 47 | 
            +
                #     The normal, successful response of the operation.  If the original
         | 
| 46 48 | 
             
                #     method returns no data on success, such as `Delete`, the response is
         | 
| 47 49 | 
             
                #     `google.protobuf.Empty`.  If the original method is standard
         | 
| 48 50 | 
             
                #     `Get`/`Create`/`Update`, the response should be the resource.  For other
         | 
| @@ -50,12 +52,15 @@ 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
         | 
| 56 60 | 
             
                end
         | 
| 57 61 |  | 
| 58 | 
            -
                # The request message for | 
| 62 | 
            +
                # The request message for
         | 
| 63 | 
            +
                # Operations.GetOperation.
         | 
| 59 64 | 
             
                # @!attribute [rw] name
         | 
| 60 65 | 
             
                #   @return [::String]
         | 
| 61 66 | 
             
                #     The name of the operation resource.
         | 
| @@ -64,7 +69,8 @@ module Google | |
| 64 69 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 65 70 | 
             
                end
         | 
| 66 71 |  | 
| 67 | 
            -
                # The request message for | 
| 72 | 
            +
                # The request message for
         | 
| 73 | 
            +
                # Operations.ListOperations.
         | 
| 68 74 | 
             
                # @!attribute [rw] name
         | 
| 69 75 | 
             
                #   @return [::String]
         | 
| 70 76 | 
             
                #     The name of the operation's parent resource.
         | 
| @@ -82,7 +88,8 @@ module Google | |
| 82 88 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 83 89 | 
             
                end
         | 
| 84 90 |  | 
| 85 | 
            -
                # The response message for | 
| 91 | 
            +
                # The response message for
         | 
| 92 | 
            +
                # Operations.ListOperations.
         | 
| 86 93 | 
             
                # @!attribute [rw] operations
         | 
| 87 94 | 
             
                #   @return [::Array<::Google::Longrunning::Operation>]
         | 
| 88 95 | 
             
                #     A list of operations that matches the specified filter in the request.
         | 
| @@ -94,7 +101,8 @@ module Google | |
| 94 101 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 95 102 | 
             
                end
         | 
| 96 103 |  | 
| 97 | 
            -
                # The request message for | 
| 104 | 
            +
                # The request message for
         | 
| 105 | 
            +
                # Operations.CancelOperation.
         | 
| 98 106 | 
             
                # @!attribute [rw] name
         | 
| 99 107 | 
             
                #   @return [::String]
         | 
| 100 108 | 
             
                #     The name of the operation resource to be cancelled.
         | 
| @@ -103,7 +111,8 @@ module Google | |
| 103 111 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 104 112 | 
             
                end
         | 
| 105 113 |  | 
| 106 | 
            -
                # The request message for | 
| 114 | 
            +
                # The request message for
         | 
| 115 | 
            +
                # Operations.DeleteOperation.
         | 
| 107 116 | 
             
                # @!attribute [rw] name
         | 
| 108 117 | 
             
                #   @return [::String]
         | 
| 109 118 | 
             
                #     The name of the operation resource to be deleted.
         | 
| @@ -112,7 +121,8 @@ module Google | |
| 112 121 | 
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         | 
| 113 122 | 
             
                end
         | 
| 114 123 |  | 
| 115 | 
            -
                # The request message for | 
| 124 | 
            +
                # The request message for
         | 
| 125 | 
            +
                # Operations.WaitOperation.
         | 
| 116 126 | 
             
                # @!attribute [rw] name
         | 
| 117 127 | 
             
                #   @return [::String]
         | 
| 118 128 | 
             
                #     The name of the operation resource to wait on.
         | 
| @@ -130,13 +140,12 @@ module Google | |
| 130 140 | 
             
                #
         | 
| 131 141 | 
             
                # Example:
         | 
| 132 142 | 
             
                #
         | 
| 133 | 
            -
                # | 
| 134 | 
            -
                #        | 
| 135 | 
            -
                # | 
| 136 | 
            -
                # | 
| 137 | 
            -
                #        | 
| 138 | 
            -
                #     } | 
| 139 | 
            -
                #   }
         | 
| 143 | 
            +
                #     rpc Export(ExportRequest) returns (google.longrunning.Operation) {
         | 
| 144 | 
            +
                #       option (google.longrunning.operation_info) = {
         | 
| 145 | 
            +
                #         response_type: "ExportResponse"
         | 
| 146 | 
            +
                #         metadata_type: "ExportMetadata"
         | 
| 147 | 
            +
                #       };
         | 
| 148 | 
            +
                #     }
         | 
| 140 149 | 
             
                # @!attribute [rw] response_type
         | 
| 141 150 | 
             
                #   @return [::String]
         | 
| 142 151 | 
             
                #     Required. The message name of the primary return type for this
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-security-private_ca-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0 | 
| 4 | 
            +
              version: 1.2.0
         | 
| 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: 2025-01-29 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
         | 
| @@ -135,7 +134,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby | |
| 135 134 | 
             
            licenses:
         | 
| 136 135 | 
             
            - Apache-2.0
         | 
| 137 136 | 
             
            metadata: {}
         | 
| 138 | 
            -
            post_install_message: 
         | 
| 139 137 | 
             
            rdoc_options: []
         | 
| 140 138 | 
             
            require_paths:
         | 
| 141 139 | 
             
            - lib
         | 
| @@ -143,15 +141,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 143 141 | 
             
              requirements:
         | 
| 144 142 | 
             
              - - ">="
         | 
| 145 143 | 
             
                - !ruby/object:Gem::Version
         | 
| 146 | 
            -
                  version: ' | 
| 144 | 
            +
                  version: '3.0'
         | 
| 147 145 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 148 146 | 
             
              requirements:
         | 
| 149 147 | 
             
              - - ">="
         | 
| 150 148 | 
             
                - !ruby/object:Gem::Version
         | 
| 151 149 | 
             
                  version: '0'
         | 
| 152 150 | 
             
            requirements: []
         | 
| 153 | 
            -
            rubygems_version: 3. | 
| 154 | 
            -
            signing_key: 
         | 
| 151 | 
            +
            rubygems_version: 3.6.2
         | 
| 155 152 | 
             
            specification_version: 4
         | 
| 156 153 | 
             
            summary: The Certificate Authority Service API is a highly-available, scalable service
         | 
| 157 154 | 
             
              that enables you to simplify and automate the management of private certificate
         |