google-cloud-asset-v1 1.8.0 → 1.9.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/README.md +1 -5
- data/lib/google/cloud/asset/v1/asset_service/client.rb +3 -1
- data/lib/google/cloud/asset/v1/asset_service/credentials.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service/operations.rb +3 -1
- data/lib/google/cloud/asset/v1/asset_service/paths.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service/rest/client.rb +3 -1
- data/lib/google/cloud/asset/v1/asset_service/rest/operations.rb +6 -4
- data/lib/google/cloud/asset/v1/asset_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service/rest.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service.rb +1 -1
- data/lib/google/cloud/asset/v1/asset_service_services_pb.rb +1 -1
- data/lib/google/cloud/asset/v1/rest.rb +1 -1
- data/lib/google/cloud/asset/v1/version.rb +1 -1
- data/lib/google/cloud/asset/v1.rb +1 -1
- data/lib/google-cloud-asset-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +5 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/asset_enrichment_resourceowners.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/asset_service.rb +1 -1
- data/proto_docs/google/cloud/asset/v1/assets.rb +1 -1
- data/proto_docs/google/cloud/orgpolicy/v1/orgpolicy.rb +1 -1
- data/proto_docs/google/cloud/osconfig/v1/inventory.rb +1 -1
- data/proto_docs/google/iam/v1/policy.rb +1 -1
- data/proto_docs/google/identity/accesscontextmanager/type/device_resources.rb +1 -1
- data/proto_docs/google/identity/accesscontextmanager/v1/access_level.rb +1 -1
- data/proto_docs/google/identity/accesscontextmanager/v1/access_policy.rb +1 -1
- data/proto_docs/google/identity/accesscontextmanager/v1/service_perimeter.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/code.rb +1 -1
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/date.rb +11 -8
- data/proto_docs/google/type/expr.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2079b66c03076db4587b39d1d274f06251dd076f9d39d7115484398590390634
|
|
4
|
+
data.tar.gz: 54c0a1488e9f6370704b432bd90a4bc10a7f4968a5d86974990eea6dadc1f4ec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e32824679d5d0b6feb13f7eaa9296a7d8eddcbeb261cbe87923393ee6799fd3727581dceace6a1d1bdd1485dfea22956d2c6ae64ceff9197283588d8ebb90577
|
|
7
|
+
data.tar.gz: 20b36dd6d4e3e790b3317294b34eaa3f48d72194fcbed301e281b9f8fbb905b86c5a4530b2211272de7e3e1676f01b26cfc102cd94d5c76b8597d2ee299be593
|
data/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
The Cloud Asset API manages the history and inventory of Google Cloud resources.
|
|
4
4
|
|
|
5
|
-
A metadata inventory service that allows you to view, monitor, and analyze all your GCP and Anthos assets across projects and services.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
@@ -40,9 +39,6 @@ response = client.export_assets request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-asset-v1/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/asset-inventory/)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -86,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
86
82
|
|
|
87
83
|
## Supported Ruby Versions
|
|
88
84
|
|
|
89
|
-
This library is supported on Ruby 3.
|
|
85
|
+
This library is supported on Ruby 3.2+.
|
|
90
86
|
|
|
91
87
|
Google provides official support for Ruby versions that are actively supported
|
|
92
88
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -3220,6 +3220,7 @@ module Google
|
|
|
3220
3220
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3221
3221
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3222
3222
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3223
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3223
3224
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3224
3225
|
# trigger a retry.
|
|
3225
3226
|
# @return [::Hash]
|
|
@@ -3303,6 +3304,7 @@ module Google
|
|
|
3303
3304
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3304
3305
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3305
3306
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3307
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3306
3308
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3307
3309
|
# trigger a retry.
|
|
3308
3310
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -3026,6 +3026,7 @@ module Google
|
|
|
3026
3026
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3027
3027
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3028
3028
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3029
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3029
3030
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3030
3031
|
# trigger a retry.
|
|
3031
3032
|
# @return [::Hash]
|
|
@@ -3098,6 +3099,7 @@ module Google
|
|
|
3098
3099
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
3099
3100
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
3100
3101
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
3102
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
3101
3103
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
3102
3104
|
# trigger a retry.
|
|
3103
3105
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -541,6 +541,7 @@ module Google
|
|
|
541
541
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
542
542
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
543
543
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
544
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
544
545
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
545
546
|
# trigger a retry.
|
|
546
547
|
# @return [::Hash]
|
|
@@ -613,6 +614,7 @@ module Google
|
|
|
613
614
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
614
615
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
615
616
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
617
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
616
618
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
617
619
|
# trigger a retry.
|
|
618
620
|
#
|
|
@@ -868,7 +870,7 @@ module Google
|
|
|
868
870
|
uri_method: :get,
|
|
869
871
|
uri_template: "/v1/{name}",
|
|
870
872
|
matches: [
|
|
871
|
-
["name", %r{^[^/]+/[^/]+/operations/[^/]+(
|
|
873
|
+
["name", %r{^[^/]+/[^/]+/operations/[^/]+(?:/(?<__wildcard__>.*))?$}, true]
|
|
872
874
|
]
|
|
873
875
|
)
|
|
874
876
|
transcoder.transcode request_pb
|
|
@@ -889,7 +891,7 @@ module Google
|
|
|
889
891
|
uri_method: :delete,
|
|
890
892
|
uri_template: "/v1/{name}",
|
|
891
893
|
matches: [
|
|
892
|
-
["name", %r{^operations(
|
|
894
|
+
["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
|
|
893
895
|
]
|
|
894
896
|
)
|
|
895
897
|
transcoder.transcode request_pb
|
|
@@ -911,7 +913,7 @@ module Google
|
|
|
911
913
|
uri_template: "/v1/{name}:cancel",
|
|
912
914
|
body: "*",
|
|
913
915
|
matches: [
|
|
914
|
-
["name", %r{^operations(
|
|
916
|
+
["name", %r{^operations(?:/(?<__wildcard__>.*))?$}, true]
|
|
915
917
|
]
|
|
916
918
|
)
|
|
917
919
|
transcoder.transcode request_pb
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/asset/v1/asset_service.proto for package 'google.cloud.asset.v1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2025 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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
# @!attribute [rw] selective_gapic_generation
|
|
32
32
|
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
33
|
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
34
36
|
class CommonLanguageSettings
|
|
35
37
|
include ::Google::Protobuf::MessageExts
|
|
36
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -441,6 +443,8 @@ module Google
|
|
|
441
443
|
|
|
442
444
|
# This message is used to configure the generation of a subset of the RPCs in
|
|
443
445
|
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
444
448
|
# @!attribute [rw] methods
|
|
445
449
|
# @return [::Array<::String>]
|
|
446
450
|
# An allowlist of the fully qualified names of RPCs that should be included
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -24,14 +24,17 @@ module Google
|
|
|
24
24
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
25
25
|
# following:
|
|
26
26
|
#
|
|
27
|
-
# * A full date, with non-zero year, month, and day values
|
|
28
|
-
# * A month and day
|
|
29
|
-
# * A year on its own, with zero month and day
|
|
30
|
-
# * A year and month
|
|
31
|
-
#
|
|
27
|
+
# * A full date, with non-zero year, month, and day values.
|
|
28
|
+
# * A month and day, with a zero year (for example, an anniversary).
|
|
29
|
+
# * A year on its own, with a zero month and a zero day.
|
|
30
|
+
# * A year and month, with a zero day (for example, a credit card expiration
|
|
31
|
+
# date).
|
|
32
32
|
#
|
|
33
|
-
# Related types
|
|
34
|
-
#
|
|
33
|
+
# Related types:
|
|
34
|
+
#
|
|
35
|
+
# * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
36
|
+
# * [google.type.DateTime][google.type.DateTime]
|
|
37
|
+
# * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
|
|
35
38
|
# @!attribute [rw] year
|
|
36
39
|
# @return [::Integer]
|
|
37
40
|
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-asset-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.3'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.3'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -91,10 +91,10 @@ dependencies:
|
|
|
91
91
|
- - "~>"
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '1.11'
|
|
94
|
-
description:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
description: The Cloud Asset API manages the history and inventory of Google Cloud
|
|
95
|
+
resources. Note that google-cloud-asset-v1 is a version-specific client library.
|
|
96
|
+
For most uses, we recommend installing the main client library google-cloud-asset
|
|
97
|
+
instead. See the readme for more details.
|
|
98
98
|
email: googleapis-packages@google.com
|
|
99
99
|
executables: []
|
|
100
100
|
extensions: []
|