google-cloud-asset 0.6.1 → 0.7.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/lib/google/cloud/asset/v1beta1/asset_service_client.rb +3 -1
 - data/lib/google/cloud/asset/v1beta1/asset_service_pb.rb +4 -0
 - data/lib/google/cloud/asset/v1beta1/asset_service_services_pb.rb +3 -1
 - data/lib/google/cloud/asset/v1beta1/assets_pb.rb +1 -0
 - data/lib/google/cloud/asset/v1beta1/doc/google/cloud/asset/v1beta1/asset_service.rb +11 -1
 - data/lib/google/cloud/asset/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 85bf9fec621a2113b5c5df75d0cce311594a13514ffa358e0ce2b6b8474c1283
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 2b627356f3e36455e3091c91424268467ed2758f10510f67f506eb6e1d10b9c4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 11ddf21997c0f08ff71e8bf35c4a394d63253606fd750ac375ef610ac4d228ff0881a877280bd07b378ddf5c03f32453a92e1a4545eb84359c6eb1202b608326
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a99b9c9c0373b7834883d9a5290880c2053ba5802942c7dc1883c6b9bf8cb4875a3bc86306b27d8bf4e1669eb2819f761afa0756d0623dfa2326ac78be879901
         
     | 
| 
         @@ -326,13 +326,15 @@ module Google 
     | 
|
| 
       326 
326 
     | 
    
         
             
                      # non-delete or deleted status.
         
     | 
| 
       327 
327 
     | 
    
         
             
                      # For IAM_POLICY content, this API outputs history when the asset and its
         
     | 
| 
       328 
328 
     | 
    
         
             
                      # attached IAM POLICY both exist. This can create gaps in the output history.
         
     | 
| 
      
 329 
     | 
    
         
            +
                      # If a specified asset does not exist, this API returns an INVALID_ARGUMENT
         
     | 
| 
      
 330 
     | 
    
         
            +
                      # error.
         
     | 
| 
       329 
331 
     | 
    
         
             
                      #
         
     | 
| 
       330 
332 
     | 
    
         
             
                      # @param parent [String]
         
     | 
| 
       331 
333 
     | 
    
         
             
                      #   Required. The relative name of the root asset. It can only be an
         
     | 
| 
       332 
334 
     | 
    
         
             
                      #   organization number (such as "organizations/123"), a project ID (such as
         
     | 
| 
       333 
335 
     | 
    
         
             
                      #   "projects/my-project-id")", or a project number (such as "projects/12345").
         
     | 
| 
       334 
336 
     | 
    
         
             
                      # @param content_type [Google::Cloud::Asset::V1beta1::ContentType]
         
     | 
| 
       335 
     | 
    
         
            -
                      #    
     | 
| 
      
 337 
     | 
    
         
            +
                      #   Optional. The content type.
         
     | 
| 
       336 
338 
     | 
    
         
             
                      # @param read_time_window [Google::Cloud::Asset::V1beta1::TimeWindow | Hash]
         
     | 
| 
       337 
339 
     | 
    
         
             
                      #   Optional. The time window for the asset history. Both start_time and
         
     | 
| 
       338 
340 
     | 
    
         
             
                      #   end_time are optional and if set, it must be after 2018-10-02 UTC. If
         
     | 
| 
         @@ -5,6 +5,9 @@ 
     | 
|
| 
       5 
5 
     | 
    
         
             
            require 'google/protobuf'
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            require 'google/api/annotations_pb'
         
     | 
| 
      
 8 
     | 
    
         
            +
            require 'google/api/client_pb'
         
     | 
| 
      
 9 
     | 
    
         
            +
            require 'google/api/field_behavior_pb'
         
     | 
| 
      
 10 
     | 
    
         
            +
            require 'google/api/resource_pb'
         
     | 
| 
       8 
11 
     | 
    
         
             
            require 'google/cloud/asset/v1beta1/assets_pb'
         
     | 
| 
       9 
12 
     | 
    
         
             
            require 'google/longrunning/operations_pb'
         
     | 
| 
       10 
13 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
         @@ -37,6 +40,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do 
     | 
|
| 
       37 
40 
     | 
    
         
             
              add_message "google.cloud.asset.v1beta1.GcsDestination" do
         
     | 
| 
       38 
41 
     | 
    
         
             
                oneof :object_uri do
         
     | 
| 
       39 
42 
     | 
    
         
             
                  optional :uri, :string, 1
         
     | 
| 
      
 43 
     | 
    
         
            +
                  optional :uri_prefix, :string, 2
         
     | 
| 
       40 
44 
     | 
    
         
             
                end
         
     | 
| 
       41 
45 
     | 
    
         
             
              end
         
     | 
| 
       42 
46 
     | 
    
         
             
              add_enum "google.cloud.asset.v1beta1.ContentType" do
         
     | 
| 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
2 
     | 
    
         
             
            # Source: google/cloud/asset/v1beta1/asset_service.proto for package 'google.cloud.asset.v1beta1'
         
     | 
| 
       3 
3 
     | 
    
         
             
            # Original file comments:
         
     | 
| 
       4 
     | 
    
         
            -
            # Copyright  
     | 
| 
      
 4 
     | 
    
         
            +
            # Copyright 2019 Google LLC.
         
     | 
| 
       5 
5 
     | 
    
         
             
            #
         
     | 
| 
       6 
6 
     | 
    
         
             
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
       7 
7 
     | 
    
         
             
            # you may not use this file except in compliance with the License.
         
     | 
| 
         @@ -46,6 +46,8 @@ module Google 
     | 
|
| 
       46 
46 
     | 
    
         
             
                        # non-delete or deleted status.
         
     | 
| 
       47 
47 
     | 
    
         
             
                        # For IAM_POLICY content, this API outputs history when the asset and its
         
     | 
| 
       48 
48 
     | 
    
         
             
                        # attached IAM POLICY both exist. This can create gaps in the output history.
         
     | 
| 
      
 49 
     | 
    
         
            +
                        # If a specified asset does not exist, this API returns an INVALID_ARGUMENT
         
     | 
| 
      
 50 
     | 
    
         
            +
                        # error.
         
     | 
| 
       49 
51 
     | 
    
         
             
                        rpc :BatchGetAssetsHistory, BatchGetAssetsHistoryRequest, BatchGetAssetsHistoryResponse
         
     | 
| 
       50 
52 
     | 
    
         
             
                      end
         
     | 
| 
       51 
53 
     | 
    
         | 
| 
         @@ -80,7 +80,7 @@ module Google 
     | 
|
| 
       80 
80 
     | 
    
         
             
                    #     size of the asset name list is 100 in one request.
         
     | 
| 
       81 
81 
     | 
    
         
             
                    # @!attribute [rw] content_type
         
     | 
| 
       82 
82 
     | 
    
         
             
                    #   @return [Google::Cloud::Asset::V1beta1::ContentType]
         
     | 
| 
       83 
     | 
    
         
            -
                    #      
     | 
| 
      
 83 
     | 
    
         
            +
                    #     Optional. The content type.
         
     | 
| 
       84 
84 
     | 
    
         
             
                    # @!attribute [rw] read_time_window
         
     | 
| 
       85 
85 
     | 
    
         
             
                    #   @return [Google::Cloud::Asset::V1beta1::TimeWindow]
         
     | 
| 
       86 
86 
     | 
    
         
             
                    #     Optional. The time window for the asset history. Both start_time and
         
     | 
| 
         @@ -111,6 +111,16 @@ module Google 
     | 
|
| 
       111 
111 
     | 
    
         
             
                    #     Editing Object
         
     | 
| 
       112 
112 
     | 
    
         
             
                    #     Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
         
     | 
| 
       113 
113 
     | 
    
         
             
                    #     for more information.
         
     | 
| 
      
 114 
     | 
    
         
            +
                    # @!attribute [rw] uri_prefix
         
     | 
| 
      
 115 
     | 
    
         
            +
                    #   @return [String]
         
     | 
| 
      
 116 
     | 
    
         
            +
                    #     The uri prefix of all generated Cloud Storage objects. For example:
         
     | 
| 
      
 117 
     | 
    
         
            +
                    #     "gs://bucket_name/object_name_prefix". Each object uri is in format:
         
     | 
| 
      
 118 
     | 
    
         
            +
                    #     "gs://bucket_name/object_name_prefix/<asset type>/<shard number> and only
         
     | 
| 
      
 119 
     | 
    
         
            +
                    #     contains assets for that type. <shard number> starts from 0. For example:
         
     | 
| 
      
 120 
     | 
    
         
            +
                    #     "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first
         
     | 
| 
      
 121 
     | 
    
         
            +
                    #     shard of output objects containing all google.compute.disk assets.
         
     | 
| 
      
 122 
     | 
    
         
            +
                    #     An INVALID_ARGUMENT error will be returned if file with the same name
         
     | 
| 
      
 123 
     | 
    
         
            +
                    #     "gs://bucket_name/object_name_prefix" already exists.
         
     | 
| 
       114 
124 
     | 
    
         
             
                    class GcsDestination; end
         
     | 
| 
       115 
125 
     | 
    
         | 
| 
       116 
126 
     | 
    
         
             
                    # Asset content type.
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: google-cloud-asset
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2020- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2020-02-04 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-gax
         
     |