google-cloud-os_config-v1 0.1.4 → 0.4.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/LICENSE.md +188 -190
- data/README.md +66 -2
- data/lib/google/cloud/os_config/v1.rb +3 -0
- data/lib/google/cloud/os_config/v1/os_config_service/client.rb +39 -27
- data/lib/google/cloud/os_config/v1/version.rb +1 -1
- data/lib/google/cloud/osconfig/v1/inventory_pb.rb +108 -0
- data/lib/google/cloud/osconfig/v1/osconfig_common_pb.rb +25 -0
- data/lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb +10 -10
- data/lib/google/cloud/osconfig/v1/patch_deployments_pb.rb +1 -0
- data/lib/google/cloud/osconfig/v1/patch_jobs_pb.rb +14 -0
- data/proto_docs/google/api/field_behavior.rb +6 -0
- data/proto_docs/google/api/resource.rb +50 -14
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +284 -0
- data/proto_docs/google/cloud/osconfig/v1/osconfig_common.rb +40 -0
- data/proto_docs/google/cloud/osconfig/v1/patch_deployments.rb +24 -17
- data/proto_docs/google/cloud/osconfig/v1/patch_jobs.rb +64 -5
- data/proto_docs/google/protobuf/timestamp.rb +10 -1
- metadata +24 -11
| @@ -70,7 +70,16 @@ module Google | |
| 70 70 | 
             
                #         .setNanos((int) ((millis % 1000) * 1000000)).build();
         | 
| 71 71 | 
             
                #
         | 
| 72 72 | 
             
                #
         | 
| 73 | 
            -
                # Example 5: Compute Timestamp from  | 
| 73 | 
            +
                # Example 5: Compute Timestamp from Java `Instant.now()`.
         | 
| 74 | 
            +
                #
         | 
| 75 | 
            +
                #     Instant now = Instant.now();
         | 
| 76 | 
            +
                #
         | 
| 77 | 
            +
                #     Timestamp timestamp =
         | 
| 78 | 
            +
                #         Timestamp.newBuilder().setSeconds(now.getEpochSecond())
         | 
| 79 | 
            +
                #             .setNanos(now.getNano()).build();
         | 
| 80 | 
            +
                #
         | 
| 81 | 
            +
                #
         | 
| 82 | 
            +
                # Example 6: Compute Timestamp from current time in Python.
         | 
| 74 83 | 
             
                #
         | 
| 75 84 | 
             
                #     timestamp = Timestamp()
         | 
| 76 85 | 
             
                #     timestamp.GetCurrentTime()
         | 
    
        metadata
    CHANGED
    
    | @@ -1,29 +1,35 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-os_config-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1 | 
| 4 | 
            +
              version: 0.4.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2021-06-17 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: gapic-common
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - " | 
| 17 | 
            +
                - - ">="
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: '0.5'
         | 
| 20 | 
            +
                - - "<"
         | 
| 18 21 | 
             
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version:  | 
| 22 | 
            +
                    version: 2.a
         | 
| 20 23 | 
             
              type: :runtime
         | 
| 21 24 | 
             
              prerelease: false
         | 
| 22 25 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 26 | 
             
                requirements:
         | 
| 24 | 
            -
                - - " | 
| 27 | 
            +
                - - ">="
         | 
| 28 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            +
                    version: '0.5'
         | 
| 30 | 
            +
                - - "<"
         | 
| 25 31 | 
             
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            -
                    version:  | 
| 32 | 
            +
                    version: 2.a
         | 
| 27 33 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 28 34 | 
             
              name: google-cloud-errors
         | 
| 29 35 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -44,14 +50,14 @@ dependencies: | |
| 44 50 | 
             
                requirements:
         | 
| 45 51 | 
             
                - - "~>"
         | 
| 46 52 | 
             
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            -
                    version: 1. | 
| 53 | 
            +
                    version: 1.25.1
         | 
| 48 54 | 
             
              type: :development
         | 
| 49 55 | 
             
              prerelease: false
         | 
| 50 56 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 57 | 
             
                requirements:
         | 
| 52 58 | 
             
                - - "~>"
         | 
| 53 59 | 
             
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            -
                    version: 1. | 
| 60 | 
            +
                    version: 1.25.1
         | 
| 55 61 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 56 62 | 
             
              name: minitest
         | 
| 57 63 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -151,7 +157,10 @@ dependencies: | |
| 151 157 | 
             
                  - !ruby/object:Gem::Version
         | 
| 152 158 | 
             
                    version: '0.9'
         | 
| 153 159 | 
             
            description: Cloud OS Config provides OS management tools that can be used for patch
         | 
| 154 | 
            -
              management, patch compliance, and configuration management on VM instances.
         | 
| 160 | 
            +
              management, patch compliance, and configuration management on VM instances. Note
         | 
| 161 | 
            +
              that google-cloud-os_config-v1 is a version-specific client library. For most uses,
         | 
| 162 | 
            +
              we recommend installing the main client library google-cloud-os_config instead.
         | 
| 163 | 
            +
              See the readme for more details.
         | 
| 155 164 | 
             
            email: googleapis-packages@google.com
         | 
| 156 165 | 
             
            executables: []
         | 
| 157 166 | 
             
            extensions: []
         | 
| @@ -168,6 +177,8 @@ files: | |
| 168 177 | 
             
            - lib/google/cloud/os_config/v1/os_config_service/credentials.rb
         | 
| 169 178 | 
             
            - lib/google/cloud/os_config/v1/os_config_service/paths.rb
         | 
| 170 179 | 
             
            - lib/google/cloud/os_config/v1/version.rb
         | 
| 180 | 
            +
            - lib/google/cloud/osconfig/v1/inventory_pb.rb
         | 
| 181 | 
            +
            - lib/google/cloud/osconfig/v1/osconfig_common_pb.rb
         | 
| 171 182 | 
             
            - lib/google/cloud/osconfig/v1/osconfig_service_pb.rb
         | 
| 172 183 | 
             
            - lib/google/cloud/osconfig/v1/osconfig_service_services_pb.rb
         | 
| 173 184 | 
             
            - lib/google/cloud/osconfig/v1/patch_deployments_pb.rb
         | 
| @@ -175,6 +186,8 @@ files: | |
| 175 186 | 
             
            - proto_docs/README.md
         | 
| 176 187 | 
             
            - proto_docs/google/api/field_behavior.rb
         | 
| 177 188 | 
             
            - proto_docs/google/api/resource.rb
         | 
| 189 | 
            +
            - proto_docs/google/cloud/osconfig/v1/inventory.rb
         | 
| 190 | 
            +
            - proto_docs/google/cloud/osconfig/v1/osconfig_common.rb
         | 
| 178 191 | 
             
            - proto_docs/google/cloud/osconfig/v1/patch_deployments.rb
         | 
| 179 192 | 
             
            - proto_docs/google/cloud/osconfig/v1/patch_jobs.rb
         | 
| 180 193 | 
             
            - proto_docs/google/protobuf/duration.rb
         | 
| @@ -195,14 +208,14 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 195 208 | 
             
              requirements:
         | 
| 196 209 | 
             
              - - ">="
         | 
| 197 210 | 
             
                - !ruby/object:Gem::Version
         | 
| 198 | 
            -
                  version: '2. | 
| 211 | 
            +
                  version: '2.5'
         | 
| 199 212 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 200 213 | 
             
              requirements:
         | 
| 201 214 | 
             
              - - ">="
         | 
| 202 215 | 
             
                - !ruby/object:Gem::Version
         | 
| 203 216 | 
             
                  version: '0'
         | 
| 204 217 | 
             
            requirements: []
         | 
| 205 | 
            -
            rubygems_version: 3. | 
| 218 | 
            +
            rubygems_version: 3.2.17
         | 
| 206 219 | 
             
            signing_key: 
         | 
| 207 220 | 
             
            specification_version: 4
         | 
| 208 221 | 
             
            summary: API Client library for the Cloud OS Config V1 API
         |