google-cloud-essential_contacts-v1 0.2.0 → 0.3.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/AUTHENTICATION.md +1 -1
 - data/README.md +1 -1
 - data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/client.rb +8 -12
 - data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/rest/client.rb +840 -0
 - data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/rest/service_stub.rb +568 -0
 - data/lib/google/cloud/essential_contacts/v1/essential_contacts_service/rest.rb +52 -0
 - data/lib/google/cloud/essential_contacts/v1/essential_contacts_service.rb +7 -1
 - data/lib/google/cloud/essential_contacts/v1/rest.rb +37 -0
 - data/lib/google/cloud/essential_contacts/v1/version.rb +1 -1
 - data/lib/google/cloud/essential_contacts/v1.rb +7 -2
 - data/proto_docs/google/api/client.rb +318 -0
 - data/proto_docs/google/api/launch_stage.rb +71 -0
 - data/proto_docs/google/protobuf/duration.rb +98 -0
 - data/proto_docs/google/protobuf/empty.rb +0 -2
 - metadata +14 -7
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: fdc476c3673e6bf6f67e3711270657d3b7ffe4d0f7087e5c79f98c5e5b035a0b
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: a31be9b56a3364265ad09fb3bdb4b9fde0efc2f0e30d7c313b355c0d2906ad95
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 3b05cc27e3e9275e88ca5fcdc03dd960a47cede5146e2518e84a7450785f5805f1a357b90bfc1fea07dcc096a1852cf3f33fe3d5d5c71712f4aefd42dc417e52
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e5d0040e273893c5168b05d79a14fc603ccb069647cdfbb70e2fbef486ce26c50f14c0e03bab93c4e92518935991db48956318bebd04450a4d26e2265f6a875e
         
     | 
    
        data/AUTHENTICATION.md
    CHANGED
    
    | 
         @@ -114,7 +114,7 @@ credentials are discovered. 
     | 
|
| 
       114 
114 
     | 
    
         
             
            To configure your system for this, simply:
         
     | 
| 
       115 
115 
     | 
    
         | 
| 
       116 
116 
     | 
    
         
             
            1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
         
     | 
| 
       117 
     | 
    
         
            -
            2. Authenticate using OAuth 2.0 `$ gcloud auth login`
         
     | 
| 
      
 117 
     | 
    
         
            +
            2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
         
     | 
| 
       118 
118 
     | 
    
         
             
            3. Write code as if already authenticated.
         
     | 
| 
       119 
119 
     | 
    
         | 
| 
       120 
120 
     | 
    
         
             
            **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -46,7 +46,7 @@ for general usage information. 
     | 
|
| 
       46 
46 
     | 
    
         
             
            ## Enabling Logging
         
     | 
| 
       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 
     | 
    
         
            -
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/ 
     | 
| 
      
 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 
50 
     | 
    
         
             
            or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/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.
         
     | 
| 
         @@ -398,13 +398,11 @@ module Google 
     | 
|
| 
       398 
398 
     | 
    
         
             
                        #   # Call the list_contacts method.
         
     | 
| 
       399 
399 
     | 
    
         
             
                        #   result = client.list_contacts request
         
     | 
| 
       400 
400 
     | 
    
         
             
                        #
         
     | 
| 
       401 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         
     | 
| 
       402 
     | 
    
         
            -
                        #   #  
     | 
| 
       403 
     | 
    
         
            -
                        #    
     | 
| 
       404 
     | 
    
         
            -
                        #   # methods are also available for managing paging directly.
         
     | 
| 
       405 
     | 
    
         
            -
                        #   result.each do |response|
         
     | 
| 
      
 401 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         
     | 
| 
      
 402 
     | 
    
         
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         
     | 
| 
      
 403 
     | 
    
         
            +
                        #   result.each do |item|
         
     | 
| 
       406 
404 
     | 
    
         
             
                        #     # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
         
     | 
| 
       407 
     | 
    
         
            -
                        #     p  
     | 
| 
      
 405 
     | 
    
         
            +
                        #     p item
         
     | 
| 
       408 
406 
     | 
    
         
             
                        #   end
         
     | 
| 
       409 
407 
     | 
    
         
             
                        #
         
     | 
| 
       410 
408 
     | 
    
         
             
                        def list_contacts request, options = nil
         
     | 
| 
         @@ -684,13 +682,11 @@ module Google 
     | 
|
| 
       684 
682 
     | 
    
         
             
                        #   # Call the compute_contacts method.
         
     | 
| 
       685 
683 
     | 
    
         
             
                        #   result = client.compute_contacts request
         
     | 
| 
       686 
684 
     | 
    
         
             
                        #
         
     | 
| 
       687 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         
     | 
| 
       688 
     | 
    
         
            -
                        #   #  
     | 
| 
       689 
     | 
    
         
            -
                        #    
     | 
| 
       690 
     | 
    
         
            -
                        #   # methods are also available for managing paging directly.
         
     | 
| 
       691 
     | 
    
         
            -
                        #   result.each do |response|
         
     | 
| 
      
 685 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         
     | 
| 
      
 686 
     | 
    
         
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         
     | 
| 
      
 687 
     | 
    
         
            +
                        #   result.each do |item|
         
     | 
| 
       692 
688 
     | 
    
         
             
                        #     # Each element is of type ::Google::Cloud::EssentialContacts::V1::Contact.
         
     | 
| 
       693 
     | 
    
         
            -
                        #     p  
     | 
| 
      
 689 
     | 
    
         
            +
                        #     p item
         
     | 
| 
       694 
690 
     | 
    
         
             
                        #   end
         
     | 
| 
       695 
691 
     | 
    
         
             
                        #
         
     | 
| 
       696 
692 
     | 
    
         
             
                        def compute_contacts request, options = nil
         
     |