google-cloud-storage_transfer-v1 0.1.0 → 0.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/AUTHENTICATION.md +7 -25
 - data/README.md +1 -1
 - data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/client.rb +704 -43
 - data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/operations.rb +115 -12
 - data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/paths.rb +50 -0
 - data/lib/google/cloud/storage_transfer/v1/storage_transfer_service.rb +1 -0
 - data/lib/google/cloud/storage_transfer/v1/version.rb +1 -1
 - data/lib/google/cloud/storage_transfer/v1.rb +2 -0
 - data/lib/google/storagetransfer/v1/transfer_pb.rb +33 -3
 - data/lib/google/storagetransfer/v1/transfer_services_pb.rb +15 -5
 - data/lib/google/storagetransfer/v1/transfer_types_pb.rb +141 -4
 - data/proto_docs/google/api/resource.rb +10 -71
 - data/proto_docs/google/storagetransfer/v1/transfer.rb +129 -20
 - data/proto_docs/google/storagetransfer/v1/transfer_types.rb +487 -113
 - metadata +4 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 2ca1710d6302e3588a93c8fda19dcb9373953372408abab5055f2ff0a1e0776e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: fc08fb218697170ead07a908a280a84f5a78b2feee14860156e015ba1b92918b
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 4dd1c70c20747fc9a54478aede456483ce448f67915800d0bb7b1a9d4be4dcd5b0827f76655c59d9af1ff5b28bc02b982e5a618824bfba73b2ea68fff494f1db
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: bb60202c3c2ecdc5be5a790163ff3139a4609350fb888232e24fd275dfb4602998a1249b47dbd3ac3eb782de6a80a495a238ae26206235848b776f290b8614be
         
     | 
    
        data/.yardopts
    CHANGED
    
    
    
        data/AUTHENTICATION.md
    CHANGED
    
    | 
         @@ -118,15 +118,6 @@ To configure your system for this, simply: 
     | 
|
| 
       118 
118 
     | 
    
         
             
            **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
         
     | 
| 
       119 
119 
     | 
    
         
             
            *should* only be used during development.
         
     | 
| 
       120 
120 
     | 
    
         | 
| 
       121 
     | 
    
         
            -
            [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
         
     | 
| 
       122 
     | 
    
         
            -
            [dev-console]: https://console.cloud.google.com/project
         
     | 
| 
       123 
     | 
    
         
            -
             
     | 
| 
       124 
     | 
    
         
            -
            [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
         
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
       126 
     | 
    
         
            -
            [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
         
     | 
| 
       127 
     | 
    
         
            -
            [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
         
     | 
| 
       128 
     | 
    
         
            -
            [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
         
     | 
| 
       129 
     | 
    
         
            -
             
     | 
| 
       130 
121 
     | 
    
         
             
            ## Creating a Service Account
         
     | 
| 
       131 
122 
     | 
    
         | 
| 
       132 
123 
     | 
    
         
             
            Google Cloud requires **Service Account Credentials** to
         
     | 
| 
         @@ -137,31 +128,22 @@ If you are not running this client within 
     | 
|
| 
       137 
128 
     | 
    
         
             
            [Google Cloud Platform environments](#google-cloud-platform-environments), you
         
     | 
| 
       138 
129 
     | 
    
         
             
            need a Google Developers service account.
         
     | 
| 
       139 
130 
     | 
    
         | 
| 
       140 
     | 
    
         
            -
            1. Visit the [Google  
     | 
| 
      
 131 
     | 
    
         
            +
            1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
         
     | 
| 
       141 
132 
     | 
    
         
             
            2. Create a new project or click on an existing project.
         
     | 
| 
       142 
     | 
    
         
            -
            3. Activate the  
     | 
| 
      
 133 
     | 
    
         
            +
            3. Activate the menu in the upper left and select **APIs & Services**. From
         
     | 
| 
       143 
134 
     | 
    
         
             
               here, you will enable the APIs that your application requires.
         
     | 
| 
       144 
135 
     | 
    
         | 
| 
       145 
     | 
    
         
            -
               ![Enable the APIs that your application requires][enable-apis]
         
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
136 
     | 
    
         
             
               *Note: You may need to enable billing in order to use these services.*
         
     | 
| 
       148 
137 
     | 
    
         | 
| 
       149 
138 
     | 
    
         
             
            4. Select **Credentials** from the side navigation.
         
     | 
| 
       150 
139 
     | 
    
         | 
| 
       151 
     | 
    
         
            -
                
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
               ![Create a new service account][create-new-service-account]
         
     | 
| 
       154 
     | 
    
         
            -
             
     | 
| 
       155 
     | 
    
         
            -
               ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
         
     | 
| 
       156 
     | 
    
         
            -
             
     | 
| 
       157 
     | 
    
         
            -
               Find the "Add credentials" drop down and select "Service account" to be
         
     | 
| 
       158 
     | 
    
         
            -
               guided through downloading a new JSON key file.
         
     | 
| 
      
 140 
     | 
    
         
            +
               Find the "Create credentials" drop down near the top of the page, and select
         
     | 
| 
      
 141 
     | 
    
         
            +
               "Service account" to be guided through downloading a new JSON key file.
         
     | 
| 
       159 
142 
     | 
    
         | 
| 
       160 
143 
     | 
    
         
             
               If you want to re-use an existing service account, you can easily generate a
         
     | 
| 
       161 
     | 
    
         
            -
               new key file. Just select the account you wish to re-use,  
     | 
| 
       162 
     | 
    
         
            -
                
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
               ![Re-use an existing service account][reuse-service-account]
         
     | 
| 
      
 144 
     | 
    
         
            +
               new key file. Just select the account you wish to re-use, click the pencil
         
     | 
| 
      
 145 
     | 
    
         
            +
               tool on the right side to edit the service account, select the **Keys** tab,
         
     | 
| 
      
 146 
     | 
    
         
            +
               and then select **Add Key**.
         
     | 
| 
       165 
147 
     | 
    
         | 
| 
       166 
148 
     | 
    
         
             
               The key file you download will be used by this library to authenticate API
         
     | 
| 
       167 
149 
     | 
    
         
             
               requests and should be stored in a secure location.
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -37,7 +37,7 @@ request = ::Google::Cloud::StorageTransfer::V1::GetGoogleServiceAccountRequest.n 
     | 
|
| 
       37 
37 
     | 
    
         
             
            response = client.get_google_service_account request
         
     | 
| 
       38 
38 
     | 
    
         
             
            ```
         
     | 
| 
       39 
39 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
            View the [Client Library Documentation](https:// 
     | 
| 
      
 40 
     | 
    
         
            +
            View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-storage_transfer-v1/latest)
         
     | 
| 
       41 
41 
     | 
    
         
             
            for class and method documentation.
         
     | 
| 
       42 
42 
     | 
    
         | 
| 
       43 
43 
     | 
    
         
             
            See also the [Product Documentation](https://cloud.google.com/storage-transfer-service/)
         
     |