google-cloud-asset-v1 1.1.0 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0c9bced7c9bebc177c50b4d59fbcf0d3c45cce1a7321ed963399ae06197a437
4
- data.tar.gz: 212556b2b46be05963ce1ad072e7febad3d149f91e069cb15bbdd3fc53f94095
3
+ metadata.gz: f22d12309db48172f94945af0ebc3e243b7e37bfff88eee361670d37714ec227
4
+ data.tar.gz: f6c8cf6aa8a8e671a79797e365f47cc200f0ad06f7d3a0394d18d1f727e22bb1
5
5
  SHA512:
6
- metadata.gz: 5f9eed54a6fcc397d2f52da9736fecbdf502673ba1dc1b33326e2ed270dd4c0b8eabb2f4b622f87e3440424d60dab1cc6a1d939058e0dc95e0fcc4dbf2dfef2d
7
- data.tar.gz: 29b8d47f357c08c2393c6d5b9b7c92903bc0d6b7c7b278395144b5c2315176b4fc88a87efe5e6e1c1e2e932b7c3c1f3b19d7c7edf210f4578a72cfee2c6ffdd1
6
+ metadata.gz: ab84b5e06eeb22c9145840b8f3731a45ec6602fdc79d8ddf640df497c79f21896d4e9b8af58fdb38791ec11eb9def11f502a01d43d95aab2d546c9190ef5882a
7
+ data.tar.gz: 464c9ce7dc75ea2aae949bb5f419a57b95ad0fb498e402ccbf67df07632d9a823d3e0b2800e6e78d659498f060dbef18df962c89d0595210b28a925151bb4cf7
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -2000,9 +2000,13 @@ module Google
2000
2000
  # @param statement [::String]
2001
2001
  # Optional. A SQL statement that's compatible with [BigQuery
2002
2002
  # SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
2003
+ #
2004
+ # Note: The following fields are mutually exclusive: `statement`, `job_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2003
2005
  # @param job_reference [::String]
2004
2006
  # Optional. Reference to the query job, which is from the
2005
2007
  # `QueryAssetsResponse` of previous `QueryAssets` call.
2008
+ #
2009
+ # Note: The following fields are mutually exclusive: `job_reference`, `statement`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2006
2010
  # @param page_size [::Integer]
2007
2011
  # Optional. The maximum number of rows to return in the results. Responses
2008
2012
  # are limited to 10 MB and 1000 rows.
@@ -2033,9 +2037,13 @@ module Google
2033
2037
  # Optional. [start_time] is required. [start_time] must be less than
2034
2038
  # [end_time] Defaults [end_time] to now if [start_time] is set and
2035
2039
  # [end_time] isn't. Maximum permitted time range is 7 days.
2040
+ #
2041
+ # Note: The following fields are mutually exclusive: `read_time_window`, `read_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2036
2042
  # @param read_time [::Google::Protobuf::Timestamp, ::Hash]
2037
2043
  # Optional. Queries cloud assets as they appeared at the specified point in
2038
2044
  # time.
2045
+ #
2046
+ # Note: The following fields are mutually exclusive: `read_time`, `read_time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2039
2047
  # @param output_config [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig, ::Hash]
2040
2048
  # Optional. Destination where the query results will be saved.
2041
2049
  #
@@ -3160,6 +3168,13 @@ module Google
3160
3168
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3161
3169
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3162
3170
  # * (`nil`) indicating no credentials
3171
+ #
3172
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3173
+ # external source for authentication to Google Cloud, you must validate it before
3174
+ # providing it to a Google API client library. Providing an unvalidated credential
3175
+ # configuration to Google APIs can compromise the security of your systems and data.
3176
+ # For more information, refer to [Validate credential configurations from external
3177
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3163
3178
  # @return [::Object]
3164
3179
  # @!attribute [rw] scope
3165
3180
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -1902,9 +1902,13 @@ module Google
1902
1902
  # @param statement [::String]
1903
1903
  # Optional. A SQL statement that's compatible with [BigQuery
1904
1904
  # SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
1905
+ #
1906
+ # Note: The following fields are mutually exclusive: `statement`, `job_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1905
1907
  # @param job_reference [::String]
1906
1908
  # Optional. Reference to the query job, which is from the
1907
1909
  # `QueryAssetsResponse` of previous `QueryAssets` call.
1910
+ #
1911
+ # Note: The following fields are mutually exclusive: `job_reference`, `statement`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1908
1912
  # @param page_size [::Integer]
1909
1913
  # Optional. The maximum number of rows to return in the results. Responses
1910
1914
  # are limited to 10 MB and 1000 rows.
@@ -1935,9 +1939,13 @@ module Google
1935
1939
  # Optional. [start_time] is required. [start_time] must be less than
1936
1940
  # [end_time] Defaults [end_time] to now if [start_time] is set and
1937
1941
  # [end_time] isn't. Maximum permitted time range is 7 days.
1942
+ #
1943
+ # Note: The following fields are mutually exclusive: `read_time_window`, `read_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1938
1944
  # @param read_time [::Google::Protobuf::Timestamp, ::Hash]
1939
1945
  # Optional. Queries cloud assets as they appeared at the specified point in
1940
1946
  # time.
1947
+ #
1948
+ # Note: The following fields are mutually exclusive: `read_time`, `read_time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1941
1949
  # @param output_config [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig, ::Hash]
1942
1950
  # Optional. Destination where the query results will be saved.
1943
1951
  #
@@ -2990,6 +2998,13 @@ module Google
2990
2998
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2991
2999
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2992
3000
  # * (`nil`) indicating no credentials
3001
+ #
3002
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3003
+ # external source for authentication to Google Cloud, you must validate it before
3004
+ # providing it to a Google API client library. Providing an unvalidated credential
3005
+ # configuration to Google APIs can compromise the security of your systems and data.
3006
+ # For more information, refer to [Validate credential configurations from external
3007
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2993
3008
  # @return [::Object]
2994
3009
  # @!attribute [rw] scope
2995
3010
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Asset
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -351,10 +351,14 @@ module Google
351
351
  # @!attribute [rw] gcs_destination
352
352
  # @return [::Google::Cloud::Asset::V1::GcsDestination]
353
353
  # Destination on Cloud Storage.
354
+ #
355
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
354
356
  # @!attribute [rw] bigquery_destination
355
357
  # @return [::Google::Cloud::Asset::V1::BigQueryDestination]
356
358
  # Destination on BigQuery. The output table stores the fields in asset
357
359
  # Protobuf as columns in BigQuery.
360
+ #
361
+ # Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
358
362
  class OutputConfig
359
363
  include ::Google::Protobuf::MessageExts
360
364
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -391,6 +395,8 @@ module Google
391
395
  # If the specified Cloud Storage object already exists and there is no
392
396
  # [hold](https://cloud.google.com/storage/docs/object-holds), it will be
393
397
  # overwritten with the exported result.
398
+ #
399
+ # Note: The following fields are mutually exclusive: `uri`, `uri_prefix`. If a field in that set is populated, all other fields in the set will automatically be cleared.
394
400
  # @!attribute [rw] uri_prefix
395
401
  # @return [::String]
396
402
  # The URI prefix of all generated Cloud Storage objects. Example:
@@ -402,6 +408,8 @@ module Google
402
408
  # compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
403
409
  # returned if file with the same name "gs://bucket_name/object_name_prefix"
404
410
  # already exists.
411
+ #
412
+ # Note: The following fields are mutually exclusive: `uri_prefix`, `uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
405
413
  class GcsDestination
406
414
  include ::Google::Protobuf::MessageExts
407
415
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1224,9 +1232,13 @@ module Google
1224
1232
  # @!attribute [rw] gcs_destination
1225
1233
  # @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::GcsDestination]
1226
1234
  # Destination on Cloud Storage.
1235
+ #
1236
+ # Note: The following fields are mutually exclusive: `gcs_destination`, `bigquery_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1227
1237
  # @!attribute [rw] bigquery_destination
1228
1238
  # @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisOutputConfig::BigQueryDestination]
1229
1239
  # Destination on BigQuery.
1240
+ #
1241
+ # Note: The following fields are mutually exclusive: `bigquery_destination`, `gcs_destination`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1230
1242
  class IamPolicyAnalysisOutputConfig
1231
1243
  include ::Google::Protobuf::MessageExts
1232
1244
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1580,9 +1592,13 @@ module Google
1580
1592
  # @!attribute [rw] analysis
1581
1593
  # @return [::Google::Cloud::Asset::V1::MoveAnalysisResult]
1582
1594
  # Analysis result of moving the target resource.
1595
+ #
1596
+ # Note: The following fields are mutually exclusive: `analysis`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1583
1597
  # @!attribute [rw] error
1584
1598
  # @return [::Google::Rpc::Status]
1585
1599
  # Description of error encountered when performing the analysis.
1600
+ #
1601
+ # Note: The following fields are mutually exclusive: `error`, `analysis`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1586
1602
  class MoveAnalysis
1587
1603
  include ::Google::Protobuf::MessageExts
1588
1604
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1662,10 +1678,14 @@ module Google
1662
1678
  # @return [::String]
1663
1679
  # Optional. A SQL statement that's compatible with [BigQuery
1664
1680
  # SQL](https://cloud.google.com/bigquery/docs/introduction-sql).
1681
+ #
1682
+ # Note: The following fields are mutually exclusive: `statement`, `job_reference`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1665
1683
  # @!attribute [rw] job_reference
1666
1684
  # @return [::String]
1667
1685
  # Optional. Reference to the query job, which is from the
1668
1686
  # `QueryAssetsResponse` of previous `QueryAssets` call.
1687
+ #
1688
+ # Note: The following fields are mutually exclusive: `job_reference`, `statement`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1669
1689
  # @!attribute [rw] page_size
1670
1690
  # @return [::Integer]
1671
1691
  # Optional. The maximum number of rows to return in the results. Responses
@@ -1700,10 +1720,14 @@ module Google
1700
1720
  # Optional. [start_time] is required. [start_time] must be less than
1701
1721
  # [end_time] Defaults [end_time] to now if [start_time] is set and
1702
1722
  # [end_time] isn't. Maximum permitted time range is 7 days.
1723
+ #
1724
+ # Note: The following fields are mutually exclusive: `read_time_window`, `read_time`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1703
1725
  # @!attribute [rw] read_time
1704
1726
  # @return [::Google::Protobuf::Timestamp]
1705
1727
  # Optional. Queries cloud assets as they appeared at the specified point in
1706
1728
  # time.
1729
+ #
1730
+ # Note: The following fields are mutually exclusive: `read_time`, `read_time_window`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1707
1731
  # @!attribute [rw] output_config
1708
1732
  # @return [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig]
1709
1733
  # Optional. Destination where the query results will be saved.
@@ -1737,14 +1761,20 @@ module Google
1737
1761
  # @!attribute [rw] error
1738
1762
  # @return [::Google::Rpc::Status]
1739
1763
  # Error status.
1764
+ #
1765
+ # Note: The following fields are mutually exclusive: `error`, `query_result`, `output_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1740
1766
  # @!attribute [rw] query_result
1741
1767
  # @return [::Google::Cloud::Asset::V1::QueryResult]
1742
1768
  # Result of the query.
1769
+ #
1770
+ # Note: The following fields are mutually exclusive: `query_result`, `error`, `output_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1743
1771
  # @!attribute [rw] output_config
1744
1772
  # @return [::Google::Cloud::Asset::V1::QueryAssetsOutputConfig]
1745
1773
  # Output configuration, which indicates that instead of being returned in
1746
1774
  # an API response on the fly, the query result will be saved in a specific
1747
1775
  # output.
1776
+ #
1777
+ # Note: The following fields are mutually exclusive: `output_config`, `error`, `query_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1748
1778
  class QueryAssetsResponse
1749
1779
  include ::Google::Protobuf::MessageExts
1750
1780
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1962,19 +1992,27 @@ module Google
1962
1992
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicy::Rule::StringValues]
1963
1993
  # List of values to be used for this policy rule. This field can be set
1964
1994
  # only in policies for list constraints.
1995
+ #
1996
+ # Note: The following fields are mutually exclusive: `values`, `allow_all`, `deny_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1965
1997
  # @!attribute [rw] allow_all
1966
1998
  # @return [::Boolean]
1967
1999
  # Setting this to true means that all values are allowed. This field can
1968
2000
  # be set only in Policies for list constraints.
2001
+ #
2002
+ # Note: The following fields are mutually exclusive: `allow_all`, `values`, `deny_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1969
2003
  # @!attribute [rw] deny_all
1970
2004
  # @return [::Boolean]
1971
2005
  # Setting this to true means that all values are denied. This field can
1972
2006
  # be set only in Policies for list constraints.
2007
+ #
2008
+ # Note: The following fields are mutually exclusive: `deny_all`, `values`, `allow_all`, `enforce`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1973
2009
  # @!attribute [rw] enforce
1974
2010
  # @return [::Boolean]
1975
2011
  # If `true`, then the `Policy` is enforced. If `false`, then any
1976
2012
  # configuration is acceptable.
1977
2013
  # This field can be set only in Policies for boolean constraints.
2014
+ #
2015
+ # Note: The following fields are mutually exclusive: `enforce`, `values`, `allow_all`, `deny_all`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1978
2016
  # @!attribute [rw] condition
1979
2017
  # @return [::Google::Type::Expr]
1980
2018
  # The evaluating condition for this rule.
@@ -2016,9 +2054,13 @@ module Google
2016
2054
  # @!attribute [rw] google_defined_constraint
2017
2055
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint]
2018
2056
  # The definition of the canned constraint defined by Google.
2057
+ #
2058
+ # Note: The following fields are mutually exclusive: `google_defined_constraint`, `custom_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2019
2059
  # @!attribute [rw] custom_constraint
2020
2060
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::CustomConstraint]
2021
2061
  # The definition of the custom constraint.
2062
+ #
2063
+ # Note: The following fields are mutually exclusive: `custom_constraint`, `google_defined_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2022
2064
  class AnalyzerOrgPolicyConstraint
2023
2065
  include ::Google::Protobuf::MessageExts
2024
2066
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2043,9 +2085,13 @@ module Google
2043
2085
  # @!attribute [rw] list_constraint
2044
2086
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint::ListConstraint]
2045
2087
  # Defines this constraint as being a ListConstraint.
2088
+ #
2089
+ # Note: The following fields are mutually exclusive: `list_constraint`, `boolean_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2046
2090
  # @!attribute [rw] boolean_constraint
2047
2091
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicyConstraint::Constraint::BooleanConstraint]
2048
2092
  # Defines this constraint as being a BooleanConstraint.
2093
+ #
2094
+ # Note: The following fields are mutually exclusive: `boolean_constraint`, `list_constraint`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2049
2095
  class Constraint
2050
2096
  include ::Google::Protobuf::MessageExts
2051
2097
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2535,11 +2581,15 @@ module Google
2535
2581
  # A Google Cloud resource governed by the organization
2536
2582
  # policies of the
2537
2583
  # {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsRequest#constraint AnalyzeOrgPolicyGovernedAssetsRequest.constraint}.
2584
+ #
2585
+ # Note: The following fields are mutually exclusive: `governed_resource`, `governed_iam_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2538
2586
  # @!attribute [rw] governed_iam_policy
2539
2587
  # @return [::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedIamPolicy]
2540
2588
  # An IAM policy governed by the organization
2541
2589
  # policies of the
2542
2590
  # {::Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsRequest#constraint AnalyzeOrgPolicyGovernedAssetsRequest.constraint}.
2591
+ #
2592
+ # Note: The following fields are mutually exclusive: `governed_iam_policy`, `governed_resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
2543
2593
  # @!attribute [rw] consolidated_policy
2544
2594
  # @return [::Google::Cloud::Asset::V1::AnalyzerOrgPolicy]
2545
2595
  # The consolidated policy for the analyzed asset. The consolidated
@@ -127,14 +127,20 @@ module Google
127
127
  # @return [::Google::Identity::AccessContextManager::V1::AccessPolicy]
128
128
  # Also refer to the [access policy user
129
129
  # guide](https://cloud.google.com/access-context-manager/docs/overview#access-policies).
130
+ #
131
+ # Note: The following fields are mutually exclusive: `access_policy`, `access_level`, `service_perimeter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
130
132
  # @!attribute [rw] access_level
131
133
  # @return [::Google::Identity::AccessContextManager::V1::AccessLevel]
132
134
  # Also refer to the [access level user
133
135
  # guide](https://cloud.google.com/access-context-manager/docs/overview#access-levels).
136
+ #
137
+ # Note: The following fields are mutually exclusive: `access_level`, `access_policy`, `service_perimeter`. If a field in that set is populated, all other fields in the set will automatically be cleared.
134
138
  # @!attribute [rw] service_perimeter
135
139
  # @return [::Google::Identity::AccessContextManager::V1::ServicePerimeter]
136
140
  # Also refer to the [service perimeter user
137
141
  # guide](https://cloud.google.com/vpc-service-controls/docs/overview).
142
+ #
143
+ # Note: The following fields are mutually exclusive: `service_perimeter`, `access_policy`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.
138
144
  # @!attribute [rw] os_inventory
139
145
  # @return [::Google::Cloud::OsConfig::V1::Inventory]
140
146
  # A representation of runtime OS Inventory information. See [this
@@ -1004,9 +1010,13 @@ module Google
1004
1010
  # @!attribute [rw] role
1005
1011
  # @return [::String]
1006
1012
  # The role.
1013
+ #
1014
+ # Note: The following fields are mutually exclusive: `role`, `permission`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1007
1015
  # @!attribute [rw] permission
1008
1016
  # @return [::String]
1009
1017
  # The permission.
1018
+ #
1019
+ # Note: The following fields are mutually exclusive: `permission`, `role`. If a field in that set is populated, all other fields in the set will automatically be cleared.
1010
1020
  # @!attribute [rw] analysis_state
1011
1021
  # @return [::Google::Cloud::Asset::V1::IamPolicyAnalysisState]
1012
1022
  # The analysis state of this access.
@@ -58,13 +58,19 @@ module Google
58
58
  # @!attribute [rw] list_policy
59
59
  # @return [::Google::Cloud::OrgPolicy::V1::Policy::ListPolicy]
60
60
  # List of values either allowed or disallowed.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `list_policy`, `boolean_policy`, `restore_default`. If a field in that set is populated, all other fields in the set will automatically be cleared.
61
63
  # @!attribute [rw] boolean_policy
62
64
  # @return [::Google::Cloud::OrgPolicy::V1::Policy::BooleanPolicy]
63
65
  # For boolean `Constraints`, whether to enforce the `Constraint` or not.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `boolean_policy`, `list_policy`, `restore_default`. If a field in that set is populated, all other fields in the set will automatically be cleared.
64
68
  # @!attribute [rw] restore_default
65
69
  # @return [::Google::Cloud::OrgPolicy::V1::Policy::RestoreDefault]
66
70
  # Restores the default behavior of the constraint; independent of
67
71
  # `Constraint` type.
72
+ #
73
+ # Note: The following fields are mutually exclusive: `restore_default`, `list_policy`, `boolean_policy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
74
  class Policy
69
75
  include ::Google::Protobuf::MessageExts
70
76
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -102,9 +102,13 @@ module Google
102
102
  # @!attribute [rw] installed_package
103
103
  # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage]
104
104
  # Software package present on the VM instance.
105
+ #
106
+ # Note: The following fields are mutually exclusive: `installed_package`, `available_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
105
107
  # @!attribute [rw] available_package
106
108
  # @return [::Google::Cloud::OsConfig::V1::Inventory::SoftwarePackage]
107
109
  # Software package available to be installed on the VM instance.
110
+ #
111
+ # Note: The following fields are mutually exclusive: `available_package`, `installed_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
108
112
  class Item
109
113
  include ::Google::Protobuf::MessageExts
110
114
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -138,43 +142,61 @@ module Google
138
142
  # Yum package info.
139
143
  # For details about the yum package manager, see
140
144
  # https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/ch-yum.
145
+ #
146
+ # Note: The following fields are mutually exclusive: `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
141
147
  # @!attribute [rw] apt_package
142
148
  # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
143
149
  # Details of an APT package.
144
150
  # For details about the apt package manager, see
145
151
  # https://wiki.debian.org/Apt.
152
+ #
153
+ # Note: The following fields are mutually exclusive: `apt_package`, `yum_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
146
154
  # @!attribute [rw] zypper_package
147
155
  # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
148
156
  # Details of a Zypper package.
149
157
  # For details about the Zypper package manager, see
150
158
  # https://en.opensuse.org/SDB:Zypper_manual.
159
+ #
160
+ # Note: The following fields are mutually exclusive: `zypper_package`, `yum_package`, `apt_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
151
161
  # @!attribute [rw] googet_package
152
162
  # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
153
163
  # Details of a Googet package.
154
164
  # For details about the googet package manager, see
155
165
  # https://github.com/google/googet.
166
+ #
167
+ # Note: The following fields are mutually exclusive: `googet_package`, `yum_package`, `apt_package`, `zypper_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
156
168
  # @!attribute [rw] zypper_patch
157
169
  # @return [::Google::Cloud::OsConfig::V1::Inventory::ZypperPatch]
158
170
  # Details of a Zypper patch.
159
171
  # For details about the Zypper package manager, see
160
172
  # https://en.opensuse.org/SDB:Zypper_manual.
173
+ #
174
+ # Note: The following fields are mutually exclusive: `zypper_patch`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `wua_package`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
161
175
  # @!attribute [rw] wua_package
162
176
  # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsUpdatePackage]
163
177
  # Details of a Windows Update package.
164
178
  # See https://docs.microsoft.com/en-us/windows/win32/api/_wua/ for
165
179
  # information about Windows Update.
180
+ #
181
+ # Note: The following fields are mutually exclusive: `wua_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `qfe_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
166
182
  # @!attribute [rw] qfe_package
167
183
  # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsQuickFixEngineeringPackage]
168
184
  # Details of a Windows Quick Fix engineering package.
169
185
  # See
170
186
  # https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
171
187
  # for info in Windows Quick Fix Engineering.
188
+ #
189
+ # Note: The following fields are mutually exclusive: `qfe_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `cos_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
172
190
  # @!attribute [rw] cos_package
173
191
  # @return [::Google::Cloud::OsConfig::V1::Inventory::VersionedPackage]
174
192
  # Details of a COS package.
193
+ #
194
+ # Note: The following fields are mutually exclusive: `cos_package`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `windows_application`. If a field in that set is populated, all other fields in the set will automatically be cleared.
175
195
  # @!attribute [rw] windows_application
176
196
  # @return [::Google::Cloud::OsConfig::V1::Inventory::WindowsApplication]
177
197
  # Details of Windows Application.
198
+ #
199
+ # Note: The following fields are mutually exclusive: `windows_application`, `yum_package`, `apt_package`, `zypper_package`, `googet_package`, `zypper_patch`, `wua_package`, `qfe_package`, `cos_package`. If a field in that set is populated, all other fields in the set will automatically be cleared.
178
200
  class SoftwarePackage
179
201
  include ::Google::Protobuf::MessageExts
180
202
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -39,9 +39,13 @@ module Google
39
39
  # @!attribute [rw] basic
40
40
  # @return [::Google::Identity::AccessContextManager::V1::BasicLevel]
41
41
  # A `BasicLevel` composed of `Conditions`.
42
+ #
43
+ # Note: The following fields are mutually exclusive: `basic`, `custom`. If a field in that set is populated, all other fields in the set will automatically be cleared.
42
44
  # @!attribute [rw] custom
43
45
  # @return [::Google::Identity::AccessContextManager::V1::CustomLevel]
44
46
  # A `CustomLevel` written in the Common Expression Language.
47
+ #
48
+ # Note: The following fields are mutually exclusive: `custom`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
45
49
  # @!attribute [rw] create_time
46
50
  # @return [::Google::Protobuf::Timestamp]
47
51
  # Output only. Time the `AccessLevel` was created in UTC.
@@ -184,11 +184,15 @@ module Google
184
184
  # [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
185
185
  # If `*` used as value for `method`, then ALL methods and permissions are
186
186
  # allowed.
187
+ #
188
+ # Note: The following fields are mutually exclusive: `method`, `permission`. If a field in that set is populated, all other fields in the set will automatically be cleared.
187
189
  # @!attribute [rw] permission
188
190
  # @return [::String]
189
191
  # Value for `permission` should be a valid Cloud IAM permission for the
190
192
  # corresponding `service_name` in [ApiOperation]
191
193
  # [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation].
194
+ #
195
+ # Note: The following fields are mutually exclusive: `permission`, `method`. If a field in that set is populated, all other fields in the set will automatically be cleared.
192
196
  class MethodSelector
193
197
  include ::Google::Protobuf::MessageExts
194
198
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -240,6 +244,8 @@ module Google
240
244
  # specified for `access_level`, then all [IngressSources]
241
245
  # [google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressSource]
242
246
  # will be allowed.
247
+ #
248
+ # Note: The following fields are mutually exclusive: `access_level`, `resource`. If a field in that set is populated, all other fields in the set will automatically be cleared.
243
249
  # @!attribute [rw] resource
244
250
  # @return [::String]
245
251
  # A Google Cloud resource that is allowed to ingress the perimeter.
@@ -249,6 +255,8 @@ module Google
249
255
  # The project may be in any Google Cloud organization, not just the
250
256
  # organization that the perimeter is defined in. `*` is not allowed, the
251
257
  # case of allowing all Google Cloud resources only is not supported.
258
+ #
259
+ # Note: The following fields are mutually exclusive: `resource`, `access_level`. If a field in that set is populated, all other fields in the set will automatically be cleared.
252
260
  class IngressSource
253
261
  include ::Google::Protobuf::MessageExts
254
262
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-asset-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -158,7 +157,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
158
157
  licenses:
159
158
  - Apache-2.0
160
159
  metadata: {}
161
- post_install_message:
162
160
  rdoc_options: []
163
161
  require_paths:
164
162
  - lib
@@ -166,15 +164,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
164
  requirements:
167
165
  - - ">="
168
166
  - !ruby/object:Gem::Version
169
- version: '2.7'
167
+ version: '3.0'
170
168
  required_rubygems_version: !ruby/object:Gem::Requirement
171
169
  requirements:
172
170
  - - ">="
173
171
  - !ruby/object:Gem::Version
174
172
  version: '0'
175
173
  requirements: []
176
- rubygems_version: 3.5.23
177
- signing_key:
174
+ rubygems_version: 3.6.2
178
175
  specification_version: 4
179
176
  summary: The Cloud Asset API manages the history and inventory of Google Cloud resources.
180
177
  test_files: []