google-cloud-dataform-v1beta1 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +1 -1
 - data/lib/google/cloud/dataform/v1beta1/dataform/client.rb +16 -5
 - data/lib/google/cloud/dataform/v1beta1/dataform/rest/client.rb +610 -4
 - data/lib/google/cloud/dataform/v1beta1/dataform/rest/service_stub.rb +36 -36
 - data/lib/google/cloud/dataform/v1beta1/dataform_pb.rb +26 -399
 - data/lib/google/cloud/dataform/v1beta1/version.rb +1 -1
 - data/proto_docs/google/api/client.rb +67 -4
 - data/proto_docs/google/api/field_behavior.rb +14 -0
 - data/proto_docs/google/protobuf/any.rb +7 -4
 - data/proto_docs/google/protobuf/timestamp.rb +1 -3
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d74c4de18dfcb3e61193dcd67609f46c30cbd792a5fe302ea719576d722f58d8
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c4bc349255d0085efb1181f5dbec1f3aeae89a911d1ca77c7d1da78239528c8e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: add097fe8c07b8c0dd11f430ddb113de25305ba282ff0addd5a25eaf99797c18cd286c80c32140c1580bc7d4f08a99661d4777fa09ad887e022c925df9d805c7
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: b1528a985c79546baa7258179e5cc872e4b4d111452197d52c6eaad71f0bdc6d15b0e225872724fd4a79a972eb3b2c599500c92767aa842846c5f30bc799daf0
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -47,7 +47,7 @@ for general usage information. 
     | 
|
| 
       47 
47 
     | 
    
         | 
| 
       48 
48 
     | 
    
         
             
            To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
         
     | 
| 
       49 
49 
     | 
    
         
             
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
         
     | 
| 
       50 
     | 
    
         
            -
            or a [`Google::Cloud::Logging::Logger`](https:// 
     | 
| 
      
 50 
     | 
    
         
            +
            or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
         
     | 
| 
       51 
51 
     | 
    
         
             
            that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
         
     | 
| 
       52 
52 
     | 
    
         
             
            and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
         
     | 
| 
       53 
53 
     | 
    
         | 
| 
         @@ -126,7 +126,7 @@ module Google 
     | 
|
| 
       126 
126 
     | 
    
         
             
                          credentials = @config.credentials
         
     | 
| 
       127 
127 
     | 
    
         
             
                          # Use self-signed JWT if the endpoint is unchanged from default,
         
     | 
| 
       128 
128 
     | 
    
         
             
                          # but only if the default endpoint does not have a region prefix.
         
     | 
| 
       129 
     | 
    
         
            -
                          enable_self_signed_jwt = @config.endpoint ==  
     | 
| 
      
 129 
     | 
    
         
            +
                          enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
         
     | 
| 
       130 
130 
     | 
    
         
             
                                                   !@config.endpoint.split(".").first.include?("-")
         
     | 
| 
       131 
131 
     | 
    
         
             
                          credentials ||= Credentials.default scope: @config.scope,
         
     | 
| 
       132 
132 
     | 
    
         
             
                                                              enable_self_signed_jwt: enable_self_signed_jwt
         
     | 
| 
         @@ -153,7 +153,8 @@ module Google 
     | 
|
| 
       153 
153 
     | 
    
         
             
                            credentials:  credentials,
         
     | 
| 
       154 
154 
     | 
    
         
             
                            endpoint:     @config.endpoint,
         
     | 
| 
       155 
155 
     | 
    
         
             
                            channel_args: @config.channel_args,
         
     | 
| 
       156 
     | 
    
         
            -
                            interceptors: @config.interceptors
         
     | 
| 
      
 156 
     | 
    
         
            +
                            interceptors: @config.interceptors,
         
     | 
| 
      
 157 
     | 
    
         
            +
                            channel_pool_config: @config.channel_pool
         
     | 
| 
       157 
158 
     | 
    
         
             
                          )
         
     | 
| 
       158 
159 
     | 
    
         
             
                        end
         
     | 
| 
       159 
160 
     | 
    
         | 
| 
         @@ -3478,9 +3479,9 @@ module Google 
     | 
|
| 
       3478 
3479 
     | 
    
         
             
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       3479 
3480 
     | 
    
         
             
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       3480 
3481 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       3481 
     | 
    
         
            -
                        #       (see the [googleauth docs](https:// 
     | 
| 
      
 3482 
     | 
    
         
            +
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       3482 
3483 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       3483 
     | 
    
         
            -
                        #       (see the [signet docs](https:// 
     | 
| 
      
 3484 
     | 
    
         
            +
                        #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       3484 
3485 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       3485 
3486 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       3486 
3487 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
         @@ -3522,7 +3523,9 @@ module Google 
     | 
|
| 
       3522 
3523 
     | 
    
         
             
                        class Configuration
         
     | 
| 
       3523 
3524 
     | 
    
         
             
                          extend ::Gapic::Config
         
     | 
| 
       3524 
3525 
     | 
    
         | 
| 
       3525 
     | 
    
         
            -
                           
     | 
| 
      
 3526 
     | 
    
         
            +
                          DEFAULT_ENDPOINT = "dataform.googleapis.com"
         
     | 
| 
      
 3527 
     | 
    
         
            +
             
     | 
| 
      
 3528 
     | 
    
         
            +
                          config_attr :endpoint,      DEFAULT_ENDPOINT, ::String
         
     | 
| 
       3526 
3529 
     | 
    
         
             
                          config_attr :credentials,   nil do |value|
         
     | 
| 
       3527 
3530 
     | 
    
         
             
                            allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
         
     | 
| 
       3528 
3531 
     | 
    
         
             
                            allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
         
     | 
| 
         @@ -3557,6 +3560,14 @@ module Google 
     | 
|
| 
       3557 
3560 
     | 
    
         
             
                            end
         
     | 
| 
       3558 
3561 
     | 
    
         
             
                          end
         
     | 
| 
       3559 
3562 
     | 
    
         | 
| 
      
 3563 
     | 
    
         
            +
                          ##
         
     | 
| 
      
 3564 
     | 
    
         
            +
                          # Configuration for the channel pool
         
     | 
| 
      
 3565 
     | 
    
         
            +
                          # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
         
     | 
| 
      
 3566 
     | 
    
         
            +
                          #
         
     | 
| 
      
 3567 
     | 
    
         
            +
                          def channel_pool
         
     | 
| 
      
 3568 
     | 
    
         
            +
                            @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
         
     | 
| 
      
 3569 
     | 
    
         
            +
                          end
         
     | 
| 
      
 3570 
     | 
    
         
            +
             
     | 
| 
       3560 
3571 
     | 
    
         
             
                          ##
         
     | 
| 
       3561 
3572 
     | 
    
         
             
                          # Configuration RPC class for the Dataform API.
         
     | 
| 
       3562 
3573 
     | 
    
         
             
                          #
         
     |