google-cloud-dns 1.0.0 → 1.1.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/AUTHENTICATION.md +12 -1
 - data/CHANGELOG.md +12 -0
 - data/OVERVIEW.md +2 -2
 - data/lib/google/cloud/dns/record.rb +2 -2
 - data/lib/google/cloud/dns/version.rb +1 -1
 - data/lib/google/cloud/dns/zone/transaction.rb +4 -4
 - data/lib/google/cloud/dns/zone.rb +5 -5
 - data/lib/google/cloud/dns.rb +23 -5
 - data/lib/google-cloud-dns.rb +19 -3
 - metadata +8 -17
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 936fa34292aead803fe952d5a57fcf1db0cd8545892757cacbee33265030932e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f80081a6a021af3f4d1d5719bdeb2948a70f97a4af0ff50ee5433245fc7e64ba
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: aa85f2dc53a45236c9e214b2ef63d278e4db25d3a2a3df7786a21882aceb2e8c9edf26606f7aa343b8bef2a6f542fba8e1b1076882424efa2e749d69d27a772f
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 0be74c9658ee4e1329174f1b16f99d5df0dd62ae1bf7bc19ea1732afce23beba0f952958a0fc4521955b9972266eeeec4b67a3c747669c20df50ba3c6011cd3d
         
     | 
    
        data/AUTHENTICATION.md
    CHANGED
    
    | 
         @@ -28,6 +28,12 @@ providing **Project ID** and **Service Account Credentials** directly in code. 
     | 
|
| 
       28 
28 
     | 
    
         | 
| 
       29 
29 
     | 
    
         
             
            **Credentials** are discovered in the following order:
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
      
 31 
     | 
    
         
            +
            > [!WARNING]
         
     | 
| 
      
 32 
     | 
    
         
            +
            > If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
      
 33 
     | 
    
         
            +
            > external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
      
 34 
     | 
    
         
            +
            > providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
      
 35 
     | 
    
         
            +
            > configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
       31 
37 
     | 
    
         
             
            1. Specify credentials in method arguments
         
     | 
| 
       32 
38 
     | 
    
         
             
            2. Specify credentials in configuration
         
     | 
| 
       33 
39 
     | 
    
         
             
            3. Discover credentials path in environment variables
         
     | 
| 
         @@ -82,11 +88,16 @@ The **Project ID** and **Credentials JSON** can be configured instead of placing 
     | 
|
| 
       82 
88 
     | 
    
         
             
            them in environment variables or providing them as arguments.
         
     | 
| 
       83 
89 
     | 
    
         | 
| 
       84 
90 
     | 
    
         
             
            ```ruby
         
     | 
| 
      
 91 
     | 
    
         
            +
            require "googleauth"
         
     | 
| 
       85 
92 
     | 
    
         
             
            require "google/cloud/dns"
         
     | 
| 
       86 
93 
     | 
    
         | 
| 
      
 94 
     | 
    
         
            +
            credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 95 
     | 
    
         
            +
              json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 96 
     | 
    
         
            +
            )
         
     | 
| 
      
 97 
     | 
    
         
            +
             
     | 
| 
       87 
98 
     | 
    
         
             
            Google::Cloud::Dns.configure do |config|
         
     | 
| 
       88 
99 
     | 
    
         
             
              config.project_id  = "my-project-id"
         
     | 
| 
       89 
     | 
    
         
            -
              config.credentials =  
     | 
| 
      
 100 
     | 
    
         
            +
              config.credentials = credentials
         
     | 
| 
       90 
101 
     | 
    
         
             
            end
         
     | 
| 
       91 
102 
     | 
    
         | 
| 
       92 
103 
     | 
    
         
             
            dns = Google::Cloud::Dns.new
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,17 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release History
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### 1.1.1 (2025-10-31)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            #### Documentation
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * add warning about loading unvalidated credentials ([#32121](https://github.com/googleapis/google-cloud-ruby/issues/32121)) 
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            ### 1.1.0 (2025-03-04)
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            #### Features
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Update minimum Ruby version to 3.0 ([#29261](https://github.com/googleapis/google-cloud-ruby/issues/29261)) 
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
       3 
15 
     | 
    
         
             
            ### 1.0.0 (2024-08-05)
         
     | 
| 
       4 
16 
     | 
    
         | 
| 
       5 
17 
     | 
    
         
             
            #### Features
         
     | 
    
        data/OVERVIEW.md
    CHANGED
    
    | 
         @@ -4,8 +4,8 @@ Google Cloud DNS is a high-performance, resilient, global DNS service that 
     | 
|
| 
       4 
4 
     | 
    
         
             
            provides a cost-effective way to make your applications and services
         
     | 
| 
       5 
5 
     | 
    
         
             
            available to your users. This programmable, authoritative DNS service can
         
     | 
| 
       6 
6 
     | 
    
         
             
            be used to easily publish and manage DNS records using the same
         
     | 
| 
       7 
     | 
    
         
            -
            infrastructure relied upon by Google. To learn more, read [ 
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
      
 7 
     | 
    
         
            +
            infrastructure relied upon by Google. To learn more, read [Cloud DNS
         
     | 
| 
      
 8 
     | 
    
         
            +
            Overview](https://cloud.google.com/dns/docs/overview).
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
10 
     | 
    
         
             
            The goal of google-cloud is to provide an API that is comfortable to Rubyists.
         
     | 
| 
       11 
11 
     | 
    
         
             
            Your authentication credentials are detected automatically in Google Cloud
         
     | 
| 
         @@ -52,7 +52,7 @@ module Google 
     | 
|
| 
       52 
52 
     | 
    
         | 
| 
       53 
53 
     | 
    
         
             
                    ##
         
     | 
| 
       54 
54 
     | 
    
         
             
                    # The identifier of a [supported record type
         
     | 
| 
       55 
     | 
    
         
            -
                    # ](https://cloud.google.com/dns/ 
     | 
| 
      
 55 
     | 
    
         
            +
                    # ](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       56 
56 
     | 
    
         
             
                    # For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       57 
57 
     | 
    
         
             
                    #
         
     | 
| 
       58 
58 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
         @@ -83,7 +83,7 @@ module Google 
     | 
|
| 
       83 
83 
     | 
    
         
             
                    # @param [String] name The owner of the record. For example:
         
     | 
| 
       84 
84 
     | 
    
         
             
                    #   `example.com.`.
         
     | 
| 
       85 
85 
     | 
    
         
             
                    # @param [String] type The identifier of a [supported record
         
     | 
| 
       86 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 86 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       87 
87 
     | 
    
         
             
                    #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       88 
88 
     | 
    
         
             
                    # @param [Integer] ttl The number of seconds that the record can be
         
     | 
| 
       89 
89 
     | 
    
         
             
                    #   cached by resolvers.
         
     | 
| 
         @@ -57,7 +57,7 @@ module Google 
     | 
|
| 
       57 
57 
     | 
    
         
             
                      # @param [String] name The owner of the record. For example:
         
     | 
| 
       58 
58 
     | 
    
         
             
                      #   `example.com.`.
         
     | 
| 
       59 
59 
     | 
    
         
             
                      # @param [String] type The identifier of a [supported record
         
     | 
| 
       60 
     | 
    
         
            -
                      #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 60 
     | 
    
         
            +
                      #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       61 
61 
     | 
    
         
             
                      #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       62 
62 
     | 
    
         
             
                      # @param [Integer] ttl The number of seconds that the record can be
         
     | 
| 
       63 
63 
     | 
    
         
             
                      #   cached by resolvers.
         
     | 
| 
         @@ -88,7 +88,7 @@ module Google 
     | 
|
| 
       88 
88 
     | 
    
         
             
                      # @param [String] name The owner of the record. For example:
         
     | 
| 
       89 
89 
     | 
    
         
             
                      #   `example.com.`.
         
     | 
| 
       90 
90 
     | 
    
         
             
                      # @param [String] type The identifier of a [supported record
         
     | 
| 
       91 
     | 
    
         
            -
                      #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 91 
     | 
    
         
            +
                      #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       92 
92 
     | 
    
         
             
                      #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       93 
93 
     | 
    
         
             
                      #
         
     | 
| 
       94 
94 
     | 
    
         
             
                      # @example
         
     | 
| 
         @@ -111,7 +111,7 @@ module Google 
     | 
|
| 
       111 
111 
     | 
    
         
             
                      # @param [String] name The owner of the record. For example:
         
     | 
| 
       112 
112 
     | 
    
         
             
                      #   `example.com.`.
         
     | 
| 
       113 
113 
     | 
    
         
             
                      # @param [String] type The identifier of a [supported record
         
     | 
| 
       114 
     | 
    
         
            -
                      #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 114 
     | 
    
         
            +
                      #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       115 
115 
     | 
    
         
             
                      #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       116 
116 
     | 
    
         
             
                      # @param [Integer] ttl The number of seconds that the record can be
         
     | 
| 
       117 
117 
     | 
    
         
             
                      #   cached by resolvers.
         
     | 
| 
         @@ -146,7 +146,7 @@ module Google 
     | 
|
| 
       146 
146 
     | 
    
         
             
                      # @param [String] name The owner of the record. For example:
         
     | 
| 
       147 
147 
     | 
    
         
             
                      #   `example.com.`.
         
     | 
| 
       148 
148 
     | 
    
         
             
                      # @param [String] type The identifier of a [supported record
         
     | 
| 
       149 
     | 
    
         
            -
                      #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 149 
     | 
    
         
            +
                      #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       150 
150 
     | 
    
         
             
                      #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       151 
151 
     | 
    
         
             
                      # @yield [record] a block yielding each matching record
         
     | 
| 
       152 
152 
     | 
    
         
             
                      # @yieldparam [Record] record the record to be modified
         
     | 
| 
         @@ -256,7 +256,7 @@ module Google 
     | 
|
| 
       256 
256 
     | 
    
         
             
                    # @param [String] name Return only records with this domain or subdomain
         
     | 
| 
       257 
257 
     | 
    
         
             
                    #   name.
         
     | 
| 
       258 
258 
     | 
    
         
             
                    # @param [String] type Return only records with this [record
         
     | 
| 
       259 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 259 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview). If present,
         
     | 
| 
       260 
260 
     | 
    
         
             
                    #   the `name` parameter must also be present.
         
     | 
| 
       261 
261 
     | 
    
         
             
                    # @param [String] token A previously-returned page token representing
         
     | 
| 
       262 
262 
     | 
    
         
             
                    #   part of the larger set of results to view.
         
     | 
| 
         @@ -505,7 +505,7 @@ module Google 
     | 
|
| 
       505 
505 
     | 
    
         
             
                    # @param [String] name The owner of the record. For example:
         
     | 
| 
       506 
506 
     | 
    
         
             
                    #   `example.com.`.
         
     | 
| 
       507 
507 
     | 
    
         
             
                    # @param [String] type The identifier of a [supported record
         
     | 
| 
       508 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 508 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       509 
509 
     | 
    
         
             
                    #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       510 
510 
     | 
    
         
             
                    # @param [Integer] ttl The number of seconds that the record can be
         
     | 
| 
       511 
511 
     | 
    
         
             
                    #   cached by resolvers.
         
     | 
| 
         @@ -547,7 +547,7 @@ module Google 
     | 
|
| 
       547 
547 
     | 
    
         
             
                    # @param [String] name The owner of the record. For example:
         
     | 
| 
       548 
548 
     | 
    
         
             
                    #   `example.com.`.
         
     | 
| 
       549 
549 
     | 
    
         
             
                    # @param [String] type The identifier of a [supported record
         
     | 
| 
       550 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 550 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       551 
551 
     | 
    
         
             
                    #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       552 
552 
     | 
    
         
             
                    # @param [Boolean] skip_soa Do not automatically update the SOA record
         
     | 
| 
       553 
553 
     | 
    
         
             
                    #   serial number. See {#update} for details.
         
     | 
| 
         @@ -581,7 +581,7 @@ module Google 
     | 
|
| 
       581 
581 
     | 
    
         
             
                    # @param [String] name The owner of the record. For example:
         
     | 
| 
       582 
582 
     | 
    
         
             
                    #   `example.com.`.
         
     | 
| 
       583 
583 
     | 
    
         
             
                    # @param [String] type The identifier of a [supported record
         
     | 
| 
       584 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 584 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       585 
585 
     | 
    
         
             
                    #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       586 
586 
     | 
    
         
             
                    # @param [Integer] ttl The number of seconds that the record can be
         
     | 
| 
       587 
587 
     | 
    
         
             
                    #   cached by resolvers.
         
     | 
| 
         @@ -627,7 +627,7 @@ module Google 
     | 
|
| 
       627 
627 
     | 
    
         
             
                    # @param [String] name The owner of the record. For example:
         
     | 
| 
       628 
628 
     | 
    
         
             
                    #   `example.com.`.
         
     | 
| 
       629 
629 
     | 
    
         
             
                    # @param [String] type The identifier of a [supported record
         
     | 
| 
       630 
     | 
    
         
            -
                    #   type](https://cloud.google.com/dns/ 
     | 
| 
      
 630 
     | 
    
         
            +
                    #   type](https://cloud.google.com/dns/docs/records-overview).
         
     | 
| 
       631 
631 
     | 
    
         
             
                    #   For example: `A`, `AAAA`, `CNAME`, `MX`, or `TXT`.
         
     | 
| 
       632 
632 
     | 
    
         
             
                    # @param [Boolean] skip_soa Do not automatically update the SOA record
         
     | 
| 
       633 
633 
     | 
    
         
             
                    #   serial number. See {#update} for details.
         
     | 
    
        data/lib/google/cloud/dns.rb
    CHANGED
    
    | 
         @@ -27,8 +27,8 @@ module Google 
     | 
|
| 
       27 
27 
     | 
    
         
             
                # provides a cost-effective way to make your applications and services
         
     | 
| 
       28 
28 
     | 
    
         
             
                # available to your users. This programmable, authoritative DNS service can
         
     | 
| 
       29 
29 
     | 
    
         
             
                # be used to easily publish and manage DNS records using the same
         
     | 
| 
       30 
     | 
    
         
            -
                # infrastructure relied upon by Google. To learn more, read [ 
     | 
| 
       31 
     | 
    
         
            -
                #  
     | 
| 
      
 30 
     | 
    
         
            +
                # infrastructure relied upon by Google. To learn more, read [Cloud
         
     | 
| 
      
 31 
     | 
    
         
            +
                # DNS Overview](https://cloud.google.com/dns/docs/overview).
         
     | 
| 
       32 
32 
     | 
    
         
             
                #
         
     | 
| 
       33 
33 
     | 
    
         
             
                # See {file:OVERVIEW.md Google Cloud DNS Overview}.
         
     | 
| 
       34 
34 
     | 
    
         
             
                #
         
     | 
| 
         @@ -42,9 +42,27 @@ module Google 
     | 
|
| 
       42 
42 
     | 
    
         
             
                  #
         
     | 
| 
       43 
43 
     | 
    
         
             
                  # @param [String] project_id Identifier for a DNS project. If not present,
         
     | 
| 
       44 
44 
     | 
    
         
             
                  #   the default project for the credentials is used.
         
     | 
| 
       45 
     | 
    
         
            -
                  # @param [ 
     | 
| 
       46 
     | 
    
         
            -
                  #    
     | 
| 
       47 
     | 
    
         
            -
                  #    
     | 
| 
      
 45 
     | 
    
         
            +
                  # @param [Google::Auth::Credentials] credentials A Google::Auth::Credentials
         
     | 
| 
      
 46 
     | 
    
         
            +
                  #   object. (See {Dns::Credentials})
         
     | 
| 
      
 47 
     | 
    
         
            +
                  #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 48 
     | 
    
         
            +
                  #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 49 
     | 
    
         
            +
                  #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 50 
     | 
    
         
            +
                  #
         
     | 
| 
      
 51 
     | 
    
         
            +
                  #   @example
         
     | 
| 
      
 52 
     | 
    
         
            +
                  #
         
     | 
| 
      
 53 
     | 
    
         
            +
                  #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 54 
     | 
    
         
            +
                  #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 55 
     | 
    
         
            +
                  #
         
     | 
| 
      
 56 
     | 
    
         
            +
                  #     require "googleauth"
         
     | 
| 
      
 57 
     | 
    
         
            +
                  #
         
     | 
| 
      
 58 
     | 
    
         
            +
                  #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 59 
     | 
    
         
            +
                  #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 60 
     | 
    
         
            +
                  #     )
         
     | 
| 
      
 61 
     | 
    
         
            +
                  #
         
     | 
| 
      
 62 
     | 
    
         
            +
                  #     dns = Google::Cloud::Dns.new(
         
     | 
| 
      
 63 
     | 
    
         
            +
                  #       project_id: "my-project-id",
         
     | 
| 
      
 64 
     | 
    
         
            +
                  #       credentials: credentials
         
     | 
| 
      
 65 
     | 
    
         
            +
                  #     )
         
     | 
| 
       48 
66 
     | 
    
         
             
                  # @param [String, Array<String>] scope The OAuth 2.0 scopes controlling
         
     | 
| 
       49 
67 
     | 
    
         
             
                  #   the set of resources and operations that the connection can access.
         
     | 
| 
       50 
68 
     | 
    
         
             
                  #   See [Using OAuth 2.0 to Access Google
         
     | 
    
        data/lib/google-cloud-dns.rb
    CHANGED
    
    | 
         @@ -80,9 +80,25 @@ module Google 
     | 
|
| 
       80 
80 
     | 
    
         
             
                #
         
     | 
| 
       81 
81 
     | 
    
         
             
                # @param [String] project_id Identifier for a DNS project. If not present,
         
     | 
| 
       82 
82 
     | 
    
         
             
                #   the default project for the credentials is used.
         
     | 
| 
       83 
     | 
    
         
            -
                # @param [ 
     | 
| 
       84 
     | 
    
         
            -
                #    
     | 
| 
       85 
     | 
    
         
            -
                #    
     | 
| 
      
 83 
     | 
    
         
            +
                # @param [Google::Auth::Credentials] credentials A Google::Auth::Credentials
         
     | 
| 
      
 84 
     | 
    
         
            +
                #   object. (See {Dns::Credentials})
         
     | 
| 
      
 85 
     | 
    
         
            +
                #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 86 
     | 
    
         
            +
                #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 87 
     | 
    
         
            +
                #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 88 
     | 
    
         
            +
                #
         
     | 
| 
      
 89 
     | 
    
         
            +
                #   @example
         
     | 
| 
      
 90 
     | 
    
         
            +
                #
         
     | 
| 
      
 91 
     | 
    
         
            +
                #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 92 
     | 
    
         
            +
                #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 93 
     | 
    
         
            +
                #
         
     | 
| 
      
 94 
     | 
    
         
            +
                #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 95 
     | 
    
         
            +
                #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 96 
     | 
    
         
            +
                #     )
         
     | 
| 
      
 97 
     | 
    
         
            +
                #
         
     | 
| 
      
 98 
     | 
    
         
            +
                #     dns = Google::Cloud::Dns.new(
         
     | 
| 
      
 99 
     | 
    
         
            +
                #       project_id: "my-project-id",
         
     | 
| 
      
 100 
     | 
    
         
            +
                #       credentials: credentials
         
     | 
| 
      
 101 
     | 
    
         
            +
                #     )
         
     | 
| 
       86 
102 
     | 
    
         
             
                # @param [String, Array<String>] scope The OAuth 2.0 scopes controlling the
         
     | 
| 
       87 
103 
     | 
    
         
             
                #   set of resources and operations that the connection can access. See
         
     | 
| 
       88 
104 
     | 
    
         
             
                #   [Using OAuth 2.0 to Access Google
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,15 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-dns
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.1
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Mike Moore
         
     | 
| 
       8 
8 
     | 
    
         
             
            - Chris Smith
         
     | 
| 
       9 
     | 
    
         
            -
            autorequire: 
         
     | 
| 
       10 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 1980-01-02 00:00:00.000000000 Z
         
     | 
| 
       13 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
14 
     | 
    
         
             
              name: google-cloud-core
         
     | 
| 
         @@ -43,22 +42,16 @@ dependencies: 
     | 
|
| 
       43 
42 
     | 
    
         
             
              name: googleauth
         
     | 
| 
       44 
43 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
       45 
44 
     | 
    
         
             
                requirements:
         
     | 
| 
       46 
     | 
    
         
            -
                - - " 
     | 
| 
       47 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       48 
     | 
    
         
            -
                    version: 0.16.2
         
     | 
| 
       49 
     | 
    
         
            -
                - - "<"
         
     | 
| 
      
 45 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       50 
46 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       51 
     | 
    
         
            -
                    version:  
     | 
| 
      
 47 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
       52 
48 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       53 
49 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       54 
50 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       55 
51 
     | 
    
         
             
                requirements:
         
     | 
| 
       56 
     | 
    
         
            -
                - - " 
     | 
| 
       57 
     | 
    
         
            -
                  - !ruby/object:Gem::Version
         
     | 
| 
       58 
     | 
    
         
            -
                    version: 0.16.2
         
     | 
| 
       59 
     | 
    
         
            -
                - - "<"
         
     | 
| 
      
 52 
     | 
    
         
            +
                - - "~>"
         
     | 
| 
       60 
53 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       61 
     | 
    
         
            -
                    version:  
     | 
| 
      
 54 
     | 
    
         
            +
                    version: '1.0'
         
     | 
| 
       62 
55 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       63 
56 
     | 
    
         
             
              name: zonefile
         
     | 
| 
       64 
57 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -108,7 +101,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-clo 
     | 
|
| 
       108 
101 
     | 
    
         
             
            licenses:
         
     | 
| 
       109 
102 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       110 
103 
     | 
    
         
             
            metadata: {}
         
     | 
| 
       111 
     | 
    
         
            -
            post_install_message: 
         
     | 
| 
       112 
104 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       113 
105 
     | 
    
         
             
            require_paths:
         
     | 
| 
       114 
106 
     | 
    
         
             
            - lib
         
     | 
| 
         @@ -116,15 +108,14 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       116 
108 
     | 
    
         
             
              requirements:
         
     | 
| 
       117 
109 
     | 
    
         
             
              - - ">="
         
     | 
| 
       118 
110 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       119 
     | 
    
         
            -
                  version: ' 
     | 
| 
      
 111 
     | 
    
         
            +
                  version: '3.0'
         
     | 
| 
       120 
112 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       121 
113 
     | 
    
         
             
              requirements:
         
     | 
| 
       122 
114 
     | 
    
         
             
              - - ">="
         
     | 
| 
       123 
115 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       124 
116 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       125 
117 
     | 
    
         
             
            requirements: []
         
     | 
| 
       126 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
       127 
     | 
    
         
            -
            signing_key: 
         
     | 
| 
      
 118 
     | 
    
         
            +
            rubygems_version: 3.6.9
         
     | 
| 
       128 
119 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       129 
120 
     | 
    
         
             
            summary: API Client library for Google Cloud DNS
         
     | 
| 
       130 
121 
     | 
    
         
             
            test_files: []
         
     |