google-cloud-gke_hub-v1beta1 0.18.0 → 0.18.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 046e319db7474092ea4e2caa5f0bfa5050b2be11c9e749c242c3d2d71f603746
         | 
| 4 | 
            +
              data.tar.gz: 9efc380fbde28f4b5d10d199b9444060f5b5ac5a7dc8e325ad456e5a43f2e3bd
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ab4501d129ed187052aa134435b048589aecb9be93e706f72746ee1e00e7fc65bad85aab1695e1e8a2792cc785cce0be1ecc1e7d466cd228e2dfbdd3f0ce7d85
         | 
| 7 | 
            +
              data.tar.gz: 38494eddd5826c8956a59afeeb792662edcf4ffd62b16d22285be04e3406ff9bded04772e8f97367e7bb033c0a64d650f2a81dad282bd037df98dd43a82d03ab
         | 
| @@ -1153,8 +1153,6 @@ module Google | |
| 1153 1153 | 
             
                        #   @return [::String,nil]
         | 
| 1154 1154 | 
             
                        # @!attribute [rw] credentials
         | 
| 1155 1155 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 1156 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 1157 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 1158 1156 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 1159 1157 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 1160 1158 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -1163,7 +1161,26 @@ module Google | |
| 1163 1161 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 1164 1162 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 1165 1163 | 
             
                        #
         | 
| 1166 | 
            -
                        #   Warning:  | 
| 1164 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 1165 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 1166 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 1167 | 
            +
                        #
         | 
| 1168 | 
            +
                        #   @example
         | 
| 1169 | 
            +
                        #
         | 
| 1170 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 1171 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 1172 | 
            +
                        #
         | 
| 1173 | 
            +
                        #     require "googleauth"
         | 
| 1174 | 
            +
                        #
         | 
| 1175 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 1176 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 1177 | 
            +
                        #     )
         | 
| 1178 | 
            +
                        #
         | 
| 1179 | 
            +
                        #     client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new do |config|
         | 
| 1180 | 
            +
                        #       config.credentials = credentials
         | 
| 1181 | 
            +
                        #     end
         | 
| 1182 | 
            +
                        #
         | 
| 1183 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 1167 1184 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 1168 1185 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 1169 1186 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -642,8 +642,6 @@ module Google | |
| 642 642 | 
             
                        #   @return [::String,nil]
         | 
| 643 643 | 
             
                        # @!attribute [rw] credentials
         | 
| 644 644 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 645 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 646 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 647 645 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 648 646 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 649 647 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -652,7 +650,26 @@ module Google | |
| 652 650 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 653 651 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 654 652 | 
             
                        #
         | 
| 655 | 
            -
                        #   Warning:  | 
| 653 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 654 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 655 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 656 | 
            +
                        #
         | 
| 657 | 
            +
                        #   @example
         | 
| 658 | 
            +
                        #
         | 
| 659 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 660 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 661 | 
            +
                        #
         | 
| 662 | 
            +
                        #     require "googleauth"
         | 
| 663 | 
            +
                        #
         | 
| 664 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 665 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 666 | 
            +
                        #     )
         | 
| 667 | 
            +
                        #
         | 
| 668 | 
            +
                        #     client = ::Google::Longrunning::Operations::Client.new do |config|
         | 
| 669 | 
            +
                        #       config.credentials = credentials
         | 
| 670 | 
            +
                        #     end
         | 
| 671 | 
            +
                        #
         | 
| 672 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 656 673 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 657 674 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 658 675 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         |