google-apis-cloudasset_v1 0.63.0 → 0.65.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 771017a407eca823b837bbd1b8a952cd2eb1c2fcadbfc6e94acdbdfe9650c21d
|
4
|
+
data.tar.gz: f0a59156a0f5e7d471bcd55d42df9335631d9f65844cff18cc6428fde5c3a202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24088cafbf81bc36c3fff1093901622f9845ffb457fb549ed2b29ee1315ed245d2c917b267546fe7a6740d996de453b471dfb403528ad0c1cfa1ec80295a0ea6
|
7
|
+
data.tar.gz: 8bc454be14de7477593b4fcf670c7d80a8489df05d7af01cc99a578f10bfca7d782bf80a3dd0cb4965a682583e635fd3ac46236dfed21d6d89b187e0c5d3f0b6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1
|
2
2
|
|
3
|
+
### v0.65.0 (2023-10-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230922
|
6
|
+
|
7
|
+
### v0.64.0 (2023-09-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230908
|
10
|
+
|
3
11
|
### v0.63.0 (2023-09-10)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230902
|
@@ -962,6 +962,40 @@ module Google
|
|
962
962
|
end
|
963
963
|
end
|
964
964
|
|
965
|
+
# The effective tags and the ancestor resources from which they were inherited.
|
966
|
+
class EffectiveTagDetails
|
967
|
+
include Google::Apis::Core::Hashable
|
968
|
+
|
969
|
+
# The [full resource name](https://cloud.google.com/asset-inventory/docs/
|
970
|
+
# resource-name-format) of the ancestor from which an effective_tag is inherited,
|
971
|
+
# according to [tag inheritance](https://cloud.google.com/resource-manager/docs/
|
972
|
+
# tags/tags-overview#inheritance).
|
973
|
+
# Corresponds to the JSON property `attachedResource`
|
974
|
+
# @return [String]
|
975
|
+
attr_accessor :attached_resource
|
976
|
+
|
977
|
+
# The effective tags inherited from the attached_resource. Note that tags with
|
978
|
+
# the same key but different values may attach to resources at a different
|
979
|
+
# hierarchy levels. The lower hierarchy tag value will overwrite the higher
|
980
|
+
# hierarchy tag value of the same tag key. In this case, the tag value at the
|
981
|
+
# higher hierarchy level will be removed. For more information, see [tag
|
982
|
+
# inheritance](https://cloud.google.com/resource-manager/docs/tags/tags-overview#
|
983
|
+
# inheritance).
|
984
|
+
# Corresponds to the JSON property `effectiveTags`
|
985
|
+
# @return [Array<Google::Apis::CloudassetV1::Tag>]
|
986
|
+
attr_accessor :effective_tags
|
987
|
+
|
988
|
+
def initialize(**args)
|
989
|
+
update!(**args)
|
990
|
+
end
|
991
|
+
|
992
|
+
# Update properties of this object
|
993
|
+
def update!(**args)
|
994
|
+
@attached_resource = args[:attached_resource] if args.key?(:attached_resource)
|
995
|
+
@effective_tags = args[:effective_tags] if args.key?(:effective_tags)
|
996
|
+
end
|
997
|
+
end
|
998
|
+
|
965
999
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
966
1000
|
# messages in your APIs. A typical example is to use it as the request or the
|
967
1001
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -2901,6 +2935,12 @@ module Google
|
|
2901
2935
|
# @return [Array<String>]
|
2902
2936
|
attr_accessor :required_access_levels
|
2903
2937
|
|
2938
|
+
# The request must originate from one of the provided VPC networks in Google
|
2939
|
+
# Cloud. Cannot specify this field together with `ip_subnetworks`.
|
2940
|
+
# Corresponds to the JSON property `vpcNetworkSources`
|
2941
|
+
# @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource>]
|
2942
|
+
attr_accessor :vpc_network_sources
|
2943
|
+
|
2904
2944
|
def initialize(**args)
|
2905
2945
|
update!(**args)
|
2906
2946
|
end
|
@@ -2913,6 +2953,7 @@ module Google
|
|
2913
2953
|
@negate = args[:negate] if args.key?(:negate)
|
2914
2954
|
@regions = args[:regions] if args.key?(:regions)
|
2915
2955
|
@required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
|
2956
|
+
@vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
|
2916
2957
|
end
|
2917
2958
|
end
|
2918
2959
|
|
@@ -3033,6 +3074,19 @@ module Google
|
|
3033
3074
|
# @return [String]
|
3034
3075
|
attr_accessor :identity_type
|
3035
3076
|
|
3077
|
+
# Whether to enforce traffic restrictions based on `sources` field. If the `
|
3078
|
+
# sources` fields is non-empty, then this field must be set to `
|
3079
|
+
# SOURCE_RESTRICTION_ENABLED`.
|
3080
|
+
# Corresponds to the JSON property `sourceRestriction`
|
3081
|
+
# @return [String]
|
3082
|
+
attr_accessor :source_restriction
|
3083
|
+
|
3084
|
+
# Sources that this EgressPolicy authorizes access from. If this field is not
|
3085
|
+
# empty, then `source_restriction` must be set to `SOURCE_RESTRICTION_ENABLED`.
|
3086
|
+
# Corresponds to the JSON property `sources`
|
3087
|
+
# @return [Array<Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource>]
|
3088
|
+
attr_accessor :sources
|
3089
|
+
|
3036
3090
|
def initialize(**args)
|
3037
3091
|
update!(**args)
|
3038
3092
|
end
|
@@ -3041,6 +3095,8 @@ module Google
|
|
3041
3095
|
def update!(**args)
|
3042
3096
|
@identities = args[:identities] if args.key?(:identities)
|
3043
3097
|
@identity_type = args[:identity_type] if args.key?(:identity_type)
|
3098
|
+
@source_restriction = args[:source_restriction] if args.key?(:source_restriction)
|
3099
|
+
@sources = args[:sources] if args.key?(:sources)
|
3044
3100
|
end
|
3045
3101
|
end
|
3046
3102
|
|
@@ -3090,6 +3146,33 @@ module Google
|
|
3090
3146
|
end
|
3091
3147
|
end
|
3092
3148
|
|
3149
|
+
# The source that EgressPolicy authorizes access from inside the
|
3150
|
+
# ServicePerimeter to somewhere outside the ServicePerimeter boundaries.
|
3151
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
3152
|
+
include Google::Apis::Core::Hashable
|
3153
|
+
|
3154
|
+
# An AccessLevel resource name that allows protected resources inside the
|
3155
|
+
# ServicePerimeters to access outside the ServicePerimeter boundaries.
|
3156
|
+
# AccessLevels listed must be in the same policy as this ServicePerimeter.
|
3157
|
+
# Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel
|
3158
|
+
# name is not specified, only resources within the perimeter can be accessed
|
3159
|
+
# through Google Cloud calls with request origins within the perimeter. Example:
|
3160
|
+
# `accessPolicies/MY_POLICY/accessLevels/MY_LEVEL`. If a single `*` is specified
|
3161
|
+
# for `access_level`, then all EgressSources will be allowed.
|
3162
|
+
# Corresponds to the JSON property `accessLevel`
|
3163
|
+
# @return [String]
|
3164
|
+
attr_accessor :access_level
|
3165
|
+
|
3166
|
+
def initialize(**args)
|
3167
|
+
update!(**args)
|
3168
|
+
end
|
3169
|
+
|
3170
|
+
# Update properties of this object
|
3171
|
+
def update!(**args)
|
3172
|
+
@access_level = args[:access_level] if args.key?(:access_level)
|
3173
|
+
end
|
3174
|
+
end
|
3175
|
+
|
3093
3176
|
# Defines the conditions under which an EgressPolicy matches a request.
|
3094
3177
|
# Conditions are based on information about the ApiOperation intended to be
|
3095
3178
|
# performed on the `resources` specified. Note that if the destination of the
|
@@ -3528,6 +3611,59 @@ module Google
|
|
3528
3611
|
end
|
3529
3612
|
end
|
3530
3613
|
|
3614
|
+
# The originating network source in Google Cloud.
|
3615
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
3616
|
+
include Google::Apis::Core::Hashable
|
3617
|
+
|
3618
|
+
# Sub-segment ranges inside of a VPC Network.
|
3619
|
+
# Corresponds to the JSON property `vpcSubnetwork`
|
3620
|
+
# @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork]
|
3621
|
+
attr_accessor :vpc_subnetwork
|
3622
|
+
|
3623
|
+
def initialize(**args)
|
3624
|
+
update!(**args)
|
3625
|
+
end
|
3626
|
+
|
3627
|
+
# Update properties of this object
|
3628
|
+
def update!(**args)
|
3629
|
+
@vpc_subnetwork = args[:vpc_subnetwork] if args.key?(:vpc_subnetwork)
|
3630
|
+
end
|
3631
|
+
end
|
3632
|
+
|
3633
|
+
# Sub-segment ranges inside of a VPC Network.
|
3634
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
3635
|
+
include Google::Apis::Core::Hashable
|
3636
|
+
|
3637
|
+
# Required. Network name. If the network is not part of the organization, the `
|
3638
|
+
# compute.network.get` permission must be granted to the caller. Format: `//
|
3639
|
+
# compute.googleapis.com/projects/`PROJECT_ID`/global/networks/`NETWORK_NAME``
|
3640
|
+
# Example: `//compute.googleapis.com/projects/my-project/global/networks/network-
|
3641
|
+
# 1`
|
3642
|
+
# Corresponds to the JSON property `network`
|
3643
|
+
# @return [String]
|
3644
|
+
attr_accessor :network
|
3645
|
+
|
3646
|
+
# CIDR block IP subnetwork specification. The IP address must be an IPv4 address
|
3647
|
+
# and can be a public or private IP address. Note that for a CIDR IP address
|
3648
|
+
# block, the specified IP address portion must be properly truncated (i.e. all
|
3649
|
+
# the host bits must be zero) or the input is considered malformed. For example,
|
3650
|
+
# "192.0.2.0/24" is accepted but "192.0.2.1/24" is not. If empty, all IP
|
3651
|
+
# addresses are allowed.
|
3652
|
+
# Corresponds to the JSON property `vpcIpSubnetworks`
|
3653
|
+
# @return [Array<String>]
|
3654
|
+
attr_accessor :vpc_ip_subnetworks
|
3655
|
+
|
3656
|
+
def initialize(**args)
|
3657
|
+
update!(**args)
|
3658
|
+
end
|
3659
|
+
|
3660
|
+
# Update properties of this object
|
3661
|
+
def update!(**args)
|
3662
|
+
@network = args[:network] if args.key?(:network)
|
3663
|
+
@vpc_ip_subnetworks = args[:vpc_ip_subnetworks] if args.key?(:vpc_ip_subnetworks)
|
3664
|
+
end
|
3665
|
+
end
|
3666
|
+
|
3531
3667
|
# An analysis message to group the query and results.
|
3532
3668
|
class IamPolicyAnalysis
|
3533
3669
|
include Google::Apis::Core::Hashable
|
@@ -5119,6 +5255,19 @@ module Google
|
|
5119
5255
|
# @return [String]
|
5120
5256
|
attr_accessor :display_name
|
5121
5257
|
|
5258
|
+
# The effective tags on this resource. All of the tags that are both attached to
|
5259
|
+
# and inherited by a resource are collectively called the effective tags. For
|
5260
|
+
# more information, see [tag inheritance](https://cloud.google.com/resource-
|
5261
|
+
# manager/docs/tags/tags-overview#inheritance). To search against the `
|
5262
|
+
# effective_tags`: * Use a field query. Example: - `effectiveTagKeys:"123456789/
|
5263
|
+
# env*"` - `effectiveTagKeys="123456789/env"` - `effectiveTagKeys:"env"` - `
|
5264
|
+
# effectiveTagValues:"env"` - `effectiveTagValues:"env/prod"` - `
|
5265
|
+
# effectiveTagValues:"123456789/env/prod*"` - `effectiveTagValues="123456789/env/
|
5266
|
+
# prod"` - `effectiveTagValueIds="tagValues/456"`
|
5267
|
+
# Corresponds to the JSON property `effectiveTags`
|
5268
|
+
# @return [Array<Google::Apis::CloudassetV1::EffectiveTagDetails>]
|
5269
|
+
attr_accessor :effective_tags
|
5270
|
+
|
5122
5271
|
# The folder(s) that this resource belongs to, in the form of folders/`
|
5123
5272
|
# FOLDER_NUMBER`. This field is available when the resource belongs to one or
|
5124
5273
|
# more folders. To search against `folders`: * Use a field query. Example: `
|
@@ -5266,29 +5415,43 @@ module Google
|
|
5266
5415
|
# @return [String]
|
5267
5416
|
attr_accessor :state
|
5268
5417
|
|
5269
|
-
#
|
5270
|
-
#
|
5271
|
-
#
|
5272
|
-
#
|
5418
|
+
# This field is only present for the purpose of backward compatibility. Please
|
5419
|
+
# use the `tags` field instead. TagKey namespaced names, in the format of `
|
5420
|
+
# ORG_ID`/`TAG_KEY_SHORT_NAME`. To search against the `tagKeys`: * Use a field
|
5421
|
+
# query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/env"` - `
|
5422
|
+
# tagKeys:"env"` * Use a free text query. Example: - `env`
|
5273
5423
|
# Corresponds to the JSON property `tagKeys`
|
5274
5424
|
# @return [Array<String>]
|
5275
5425
|
attr_accessor :tag_keys
|
5276
5426
|
|
5277
|
-
#
|
5278
|
-
#
|
5427
|
+
# This field is only present for the purpose of backward compatibility. Please
|
5428
|
+
# use the `tags` field instead. TagValue IDs, in the format of tagValues/`
|
5429
|
+
# TAG_VALUE_ID`. To search against the `tagValueIds`: * Use a field query.
|
5430
|
+
# Example: - `tagValueIds="tagValues/456"` * Use a free text query. Example: - `
|
5431
|
+
# 456`
|
5279
5432
|
# Corresponds to the JSON property `tagValueIds`
|
5280
5433
|
# @return [Array<String>]
|
5281
5434
|
attr_accessor :tag_value_ids
|
5282
5435
|
|
5283
|
-
#
|
5284
|
-
#
|
5285
|
-
#
|
5286
|
-
#
|
5287
|
-
#
|
5436
|
+
# This field is only present for the purpose of backward compatibility. Please
|
5437
|
+
# use the `tags` field instead. TagValue namespaced names, in the format of `
|
5438
|
+
# ORG_ID`/`TAG_KEY_SHORT_NAME`/`TAG_VALUE_SHORT_NAME`. To search against the `
|
5439
|
+
# tagValues`: * Use a field query. Example: - `tagValues:"env"` - `tagValues:"
|
5440
|
+
# env/prod"` - `tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/
|
5441
|
+
# prod"` * Use a free text query. Example: - `prod`
|
5288
5442
|
# Corresponds to the JSON property `tagValues`
|
5289
5443
|
# @return [Array<String>]
|
5290
5444
|
attr_accessor :tag_values
|
5291
5445
|
|
5446
|
+
# The tags directly attached to this resource. To search against the `tags`: *
|
5447
|
+
# Use a field query. Example: - `tagKeys:"123456789/env*"` - `tagKeys="123456789/
|
5448
|
+
# env"` - `tagKeys:"env"` - `tagValues:"env"` - `tagValues:"env/prod"` - `
|
5449
|
+
# tagValues:"123456789/env/prod*"` - `tagValues="123456789/env/prod"` - `
|
5450
|
+
# tagValueIds="tagValues/456"` * Use a free text query. Example: - `env/prod`
|
5451
|
+
# Corresponds to the JSON property `tags`
|
5452
|
+
# @return [Array<Google::Apis::CloudassetV1::Tag>]
|
5453
|
+
attr_accessor :tags
|
5454
|
+
|
5292
5455
|
# The last update timestamp of this resource, at which the resource was last
|
5293
5456
|
# modified or deleted. The granularity is in seconds. Timestamp.nanos will
|
5294
5457
|
# always be 0. This field is available only when the resource's Protobuf
|
@@ -5321,6 +5484,7 @@ module Google
|
|
5321
5484
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5322
5485
|
@description = args[:description] if args.key?(:description)
|
5323
5486
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5487
|
+
@effective_tags = args[:effective_tags] if args.key?(:effective_tags)
|
5324
5488
|
@folders = args[:folders] if args.key?(:folders)
|
5325
5489
|
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
5326
5490
|
@kms_keys = args[:kms_keys] if args.key?(:kms_keys)
|
@@ -5338,6 +5502,7 @@ module Google
|
|
5338
5502
|
@tag_keys = args[:tag_keys] if args.key?(:tag_keys)
|
5339
5503
|
@tag_value_ids = args[:tag_value_ids] if args.key?(:tag_value_ids)
|
5340
5504
|
@tag_values = args[:tag_values] if args.key?(:tag_values)
|
5505
|
+
@tags = args[:tags] if args.key?(:tags)
|
5341
5506
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5342
5507
|
@versioned_resources = args[:versioned_resources] if args.key?(:versioned_resources)
|
5343
5508
|
end
|
@@ -5671,6 +5836,39 @@ module Google
|
|
5671
5836
|
end
|
5672
5837
|
end
|
5673
5838
|
|
5839
|
+
# The key and value for a [tag](https://cloud.google.com/resource-manager/docs/
|
5840
|
+
# tags/tags-overview),
|
5841
|
+
class Tag
|
5842
|
+
include Google::Apis::Core::Hashable
|
5843
|
+
|
5844
|
+
# TagKey namespaced name, in the format of `ORG_ID`/`TAG_KEY_SHORT_NAME`.
|
5845
|
+
# Corresponds to the JSON property `tagKey`
|
5846
|
+
# @return [String]
|
5847
|
+
attr_accessor :tag_key
|
5848
|
+
|
5849
|
+
# TagValue namespaced name, in the format of `ORG_ID`/`TAG_KEY_SHORT_NAME`/`
|
5850
|
+
# TAG_VALUE_SHORT_NAME`.
|
5851
|
+
# Corresponds to the JSON property `tagValue`
|
5852
|
+
# @return [String]
|
5853
|
+
attr_accessor :tag_value
|
5854
|
+
|
5855
|
+
# TagValue ID, in the format of tagValues/`TAG_VALUE_ID`.
|
5856
|
+
# Corresponds to the JSON property `tagValueId`
|
5857
|
+
# @return [String]
|
5858
|
+
attr_accessor :tag_value_id
|
5859
|
+
|
5860
|
+
def initialize(**args)
|
5861
|
+
update!(**args)
|
5862
|
+
end
|
5863
|
+
|
5864
|
+
# Update properties of this object
|
5865
|
+
def update!(**args)
|
5866
|
+
@tag_key = args[:tag_key] if args.key?(:tag_key)
|
5867
|
+
@tag_value = args[:tag_value] if args.key?(:tag_value)
|
5868
|
+
@tag_value_id = args[:tag_value_id] if args.key?(:tag_value_id)
|
5869
|
+
end
|
5870
|
+
end
|
5871
|
+
|
5674
5872
|
# An asset in Google Cloud and its temporal metadata, including the time window
|
5675
5873
|
# when it was observed and its status during that window.
|
5676
5874
|
class TemporalAsset
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1
|
18
18
|
# Version of the google-apis-cloudasset_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.65.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230922"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -166,6 +166,12 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class EffectiveTagDetails
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
169
175
|
class Empty
|
170
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
177
|
|
@@ -430,6 +436,12 @@ module Google
|
|
430
436
|
include Google::Apis::Core::JsonObjectSupport
|
431
437
|
end
|
432
438
|
|
439
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
433
445
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
434
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
447
|
|
@@ -490,6 +502,18 @@ module Google
|
|
490
502
|
include Google::Apis::Core::JsonObjectSupport
|
491
503
|
end
|
492
504
|
|
505
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
493
517
|
class IamPolicyAnalysis
|
494
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
519
|
|
@@ -760,6 +784,12 @@ module Google
|
|
760
784
|
include Google::Apis::Core::JsonObjectSupport
|
761
785
|
end
|
762
786
|
|
787
|
+
class Tag
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
|
+
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
791
|
+
end
|
792
|
+
|
763
793
|
class TemporalAsset
|
764
794
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
795
|
|
@@ -1059,6 +1089,15 @@ module Google
|
|
1059
1089
|
end
|
1060
1090
|
end
|
1061
1091
|
|
1092
|
+
class EffectiveTagDetails
|
1093
|
+
# @private
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1095
|
+
property :attached_resource, as: 'attachedResource'
|
1096
|
+
collection :effective_tags, as: 'effectiveTags', class: Google::Apis::CloudassetV1::Tag, decorator: Google::Apis::CloudassetV1::Tag::Representation
|
1097
|
+
|
1098
|
+
end
|
1099
|
+
end
|
1100
|
+
|
1062
1101
|
class Empty
|
1063
1102
|
# @private
|
1064
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1481,6 +1520,8 @@ module Google
|
|
1481
1520
|
property :negate, as: 'negate'
|
1482
1521
|
collection :regions, as: 'regions'
|
1483
1522
|
collection :required_access_levels, as: 'requiredAccessLevels'
|
1523
|
+
collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcNetworkSource::Representation
|
1524
|
+
|
1484
1525
|
end
|
1485
1526
|
end
|
1486
1527
|
|
@@ -1510,6 +1551,9 @@ module Google
|
|
1510
1551
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1511
1552
|
collection :identities, as: 'identities'
|
1512
1553
|
property :identity_type, as: 'identityType'
|
1554
|
+
property :source_restriction, as: 'sourceRestriction'
|
1555
|
+
collection :sources, as: 'sources', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1EgressSource::Representation
|
1556
|
+
|
1513
1557
|
end
|
1514
1558
|
end
|
1515
1559
|
|
@@ -1523,6 +1567,13 @@ module Google
|
|
1523
1567
|
end
|
1524
1568
|
end
|
1525
1569
|
|
1570
|
+
class GoogleIdentityAccesscontextmanagerV1EgressSource
|
1571
|
+
# @private
|
1572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1573
|
+
property :access_level, as: 'accessLevel'
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1526
1577
|
class GoogleIdentityAccesscontextmanagerV1EgressTo
|
1527
1578
|
# @private
|
1528
1579
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1625,6 +1676,22 @@ module Google
|
|
1625
1676
|
end
|
1626
1677
|
end
|
1627
1678
|
|
1679
|
+
class GoogleIdentityAccesscontextmanagerV1VpcNetworkSource
|
1680
|
+
# @private
|
1681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1682
|
+
property :vpc_subnetwork, as: 'vpcSubnetwork', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1VpcSubNetwork::Representation
|
1683
|
+
|
1684
|
+
end
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
class GoogleIdentityAccesscontextmanagerV1VpcSubNetwork
|
1688
|
+
# @private
|
1689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1690
|
+
property :network, as: 'network'
|
1691
|
+
collection :vpc_ip_subnetworks, as: 'vpcIpSubnetworks'
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1628
1695
|
class IamPolicyAnalysis
|
1629
1696
|
# @private
|
1630
1697
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2017,6 +2084,8 @@ module Google
|
|
2017
2084
|
property :create_time, as: 'createTime'
|
2018
2085
|
property :description, as: 'description'
|
2019
2086
|
property :display_name, as: 'displayName'
|
2087
|
+
collection :effective_tags, as: 'effectiveTags', class: Google::Apis::CloudassetV1::EffectiveTagDetails, decorator: Google::Apis::CloudassetV1::EffectiveTagDetails::Representation
|
2088
|
+
|
2020
2089
|
collection :folders, as: 'folders'
|
2021
2090
|
property :kms_key, as: 'kmsKey'
|
2022
2091
|
collection :kms_keys, as: 'kmsKeys'
|
@@ -2035,6 +2104,8 @@ module Google
|
|
2035
2104
|
collection :tag_keys, as: 'tagKeys'
|
2036
2105
|
collection :tag_value_ids, as: 'tagValueIds'
|
2037
2106
|
collection :tag_values, as: 'tagValues'
|
2107
|
+
collection :tags, as: 'tags', class: Google::Apis::CloudassetV1::Tag, decorator: Google::Apis::CloudassetV1::Tag::Representation
|
2108
|
+
|
2038
2109
|
property :update_time, as: 'updateTime'
|
2039
2110
|
collection :versioned_resources, as: 'versionedResources', class: Google::Apis::CloudassetV1::VersionedResource, decorator: Google::Apis::CloudassetV1::VersionedResource::Representation
|
2040
2111
|
|
@@ -2133,6 +2204,15 @@ module Google
|
|
2133
2204
|
end
|
2134
2205
|
end
|
2135
2206
|
|
2207
|
+
class Tag
|
2208
|
+
# @private
|
2209
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2210
|
+
property :tag_key, as: 'tagKey'
|
2211
|
+
property :tag_value, as: 'tagValue'
|
2212
|
+
property :tag_value_id, as: 'tagValueId'
|
2213
|
+
end
|
2214
|
+
end
|
2215
|
+
|
2136
2216
|
class TemporalAsset
|
2137
2217
|
# @private
|
2138
2218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1285,12 +1285,9 @@ module Google
|
|
1285
1285
|
# Optional. A comma-separated list of fields specifying the sorting order of the
|
1286
1286
|
# results. The default order is ascending. Add " DESC" after the field name to
|
1287
1287
|
# indicate descending order. Redundant space characters are ignored. Example: "
|
1288
|
-
# location DESC, name". Only
|
1289
|
-
#
|
1288
|
+
# location DESC, name". Only the following fields in the response are sortable: *
|
1289
|
+
# name * assetType * project * displayName * description * location *
|
1290
1290
|
# createTime * updateTime * state * parentFullResourceName * parentAssetType
|
1291
|
-
# All the other fields such as repeated fields (e.g., `networkTags`, `kmsKeys`),
|
1292
|
-
# map fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`)
|
1293
|
-
# are not supported.
|
1294
1291
|
# @param [Fixnum] page_size
|
1295
1292
|
# Optional. The page size for search result pagination. Page size is capped at
|
1296
1293
|
# 500 even if a larger value is given. If set to zero or a negative value,
|
@@ -1307,54 +1304,74 @@ module Google
|
|
1307
1304
|
# google.com/asset-inventory/docs/searching-resources#how_to_construct_a_query)
|
1308
1305
|
# for more information. If not specified or empty, it will search all the
|
1309
1306
|
# resources within the specified `scope`. Examples: * `name:Important` to find
|
1310
|
-
# Google Cloud resources whose name contains
|
1311
|
-
# Important` to find the Google Cloud resource whose name is exactly
|
1307
|
+
# Google Cloud resources whose name contains `Important` as a word. * `name=
|
1308
|
+
# Important` to find the Google Cloud resource whose name is exactly `Important`.
|
1312
1309
|
# * `displayName:Impor*` to find Google Cloud resources whose display name
|
1313
|
-
# contains
|
1314
|
-
# to find Google Cloud resources whose location contains both
|
1315
|
-
# prefixes. * `labels:prod` to find Google Cloud resources whose labels contain
|
1316
|
-
# prod
|
1317
|
-
# that have a label
|
1318
|
-
# Google Cloud resources that have a label
|
1319
|
-
# Cloud resources
|
1320
|
-
#
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
#
|
1310
|
+
# contains `Impor` as a prefix of any word in the field. * `location:us-west*`
|
1311
|
+
# to find Google Cloud resources whose location contains both `us` and `west` as
|
1312
|
+
# prefixes. * `labels:prod` to find Google Cloud resources whose labels contain `
|
1313
|
+
# prod` as a key or value. * `labels.env:prod` to find Google Cloud resources
|
1314
|
+
# that have a label `env` and its value is `prod`. * `labels.env:*` to find
|
1315
|
+
# Google Cloud resources that have a label `env`. * `tagKeys:env` to find Google
|
1316
|
+
# Cloud resources that have directly attached tags where the [`TagKey`](https://
|
1317
|
+
# cloud.google.com/resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .
|
1318
|
+
# `namespacedName` contains `env`. * `tagValues:prod*` to find Google Cloud
|
1319
|
+
# resources that have directly attached tags where the [`TagValue`](https://
|
1320
|
+
# cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-
|
1321
|
+
# tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `tagValueIds=
|
1322
|
+
# tagValues/123` to find Google Cloud resources that have directly attached tags
|
1323
|
+
# where the [`TagValue`](https://cloud.google.com/resource-manager/reference/
|
1324
|
+
# rest/v3/tagValues#resource:-tagvalue) .`name` is exactly `tagValues/123`. * `
|
1325
|
+
# effectiveTagKeys:env` to find Google Cloud resources that have directly
|
1326
|
+
# attached or inherited tags where the [`TagKey`](https://cloud.google.com/
|
1327
|
+
# resource-manager/reference/rest/v3/tagKeys#resource:-tagkey) .`namespacedName`
|
1328
|
+
# contains `env`. * `effectiveTagValues:prod*` to find Google Cloud resources
|
1329
|
+
# that have directly attached or inherited tags where the [`TagValue`](https://
|
1330
|
+
# cloud.google.com/resource-manager/reference/rest/v3/tagValues#resource:-
|
1331
|
+
# tagvalue) .`namespacedName` contains a word prefixed by `prod`. * `
|
1332
|
+
# effectiveTagValueIds=tagValues/123` to find Google Cloud resources that have
|
1333
|
+
# directly attached or inherited tags where the [`TagValue`](https://cloud.
|
1334
|
+
# google.com/resource-manager/reference/rest/v3/tagValues#resource:-tagvalue) .`
|
1335
|
+
# name` is exactly `tagValues/123`. * `kmsKey:key` to find Google Cloud
|
1336
|
+
# resources encrypted with a customer-managed encryption key whose name contains
|
1337
|
+
# `key` as a word. This field is deprecated. Please use the `kmsKeys` field to
|
1338
|
+
# retrieve Cloud KMS key information. * `kmsKeys:key` to find Google Cloud
|
1339
|
+
# resources encrypted with customer-managed encryption keys whose name contains
|
1340
|
+
# the word `key`. * `relationships:instance-group-1` to find Google Cloud
|
1341
|
+
# resources that have relationships with `instance-group-1` in the related
|
1325
1342
|
# resource name. * `relationships:INSTANCE_TO_INSTANCEGROUP` to find Compute
|
1326
|
-
# Engine instances that have relationships of type
|
1343
|
+
# Engine instances that have relationships of type `INSTANCE_TO_INSTANCEGROUP`. *
|
1327
1344
|
# `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find Compute
|
1328
|
-
# Engine instances that have relationships with
|
1329
|
-
# Compute Engine instance group resource name, for relationship type
|
1330
|
-
# INSTANCE_TO_INSTANCEGROUP
|
1331
|
-
# whose state contains
|
1332
|
-
# Cloud resources whose state doesn't contain
|
1333
|
-
# 1609459200` to find Google Cloud resources that were created before
|
1334
|
-
# 01 00:00:00 UTC
|
1335
|
-
# UTC
|
1336
|
-
# were updated after
|
1337
|
-
# timestamp of
|
1338
|
-
# Google Cloud resources that contain
|
1339
|
-
# searchable fields. * `Impor*` to find Google Cloud resources that contain
|
1340
|
-
# Impor
|
1341
|
-
# location:(us-west1 OR global)` to find Google Cloud resources that contain
|
1342
|
-
# Important
|
1343
|
-
# the
|
1345
|
+
# Engine instances that have relationships with `instance-group-1` in the
|
1346
|
+
# Compute Engine instance group resource name, for relationship type `
|
1347
|
+
# INSTANCE_TO_INSTANCEGROUP`. * `state:ACTIVE` to find Google Cloud resources
|
1348
|
+
# whose state contains `ACTIVE` as a word. * `NOT state:ACTIVE` to find Google
|
1349
|
+
# Cloud resources whose state doesn't contain `ACTIVE` as a word. * `createTime<
|
1350
|
+
# 1609459200` to find Google Cloud resources that were created before `2021-01-
|
1351
|
+
# 01 00:00:00 UTC`. `1609459200` is the epoch timestamp of `2021-01-01 00:00:00
|
1352
|
+
# UTC` in seconds. * `updateTime>1609459200` to find Google Cloud resources that
|
1353
|
+
# were updated after `2021-01-01 00:00:00 UTC`. `1609459200` is the epoch
|
1354
|
+
# timestamp of `2021-01-01 00:00:00 UTC` in seconds. * `Important` to find
|
1355
|
+
# Google Cloud resources that contain `Important` as a word in any of the
|
1356
|
+
# searchable fields. * `Impor*` to find Google Cloud resources that contain `
|
1357
|
+
# Impor` as a prefix of any word in any of the searchable fields. * `Important
|
1358
|
+
# location:(us-west1 OR global)` to find Google Cloud resources that contain `
|
1359
|
+
# Important` as a word in any of the searchable fields and are also located in
|
1360
|
+
# the `us-west1` region or the `global` location.
|
1344
1361
|
# @param [String] read_mask
|
1345
1362
|
# Optional. A comma-separated list of fields that you want returned in the
|
1346
1363
|
# results. The following fields are returned by default if not specified: * `
|
1347
1364
|
# name` * `assetType` * `project` * `folders` * `organization` * `displayName` *
|
1348
|
-
# `description` * `location` * `labels` * `
|
1349
|
-
#
|
1350
|
-
# parentFullResourceName` * `parentAssetType` Some
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
# If `"*"` is specified,
|
1354
|
-
# inventory/docs/reference/
|
1355
|
-
# resourcesearchresult) are returned.
|
1356
|
-
# versionedResources"`, `"*"`. Any invalid
|
1357
|
-
# INVALID_ARGUMENT error.
|
1365
|
+
# `description` * `location` * `labels` * `tags` * `effectiveTags` * `
|
1366
|
+
# networkTags` * `kmsKeys` * `createTime` * `updateTime` * `state` * `
|
1367
|
+
# additionalAttributes` * `parentFullResourceName` * `parentAssetType` Some
|
1368
|
+
# fields of large size, such as `versionedResources`, `attachedResources`, `
|
1369
|
+
# effectiveTags` etc., are not returned by default, but you can specify them in
|
1370
|
+
# the `read_mask` parameter if you want to include them. If `"*"` is specified,
|
1371
|
+
# all [available fields](https://cloud.google.com/asset-inventory/docs/reference/
|
1372
|
+
# rest/v1/TopLevel/searchAllResources#resourcesearchresult) are returned.
|
1373
|
+
# Examples: `"name,location"`, `"name,versionedResources"`, `"*"`. Any invalid
|
1374
|
+
# field path will trigger INVALID_ARGUMENT error.
|
1358
1375
|
# @param [String] fields
|
1359
1376
|
# Selector specifying which fields to include in a partial response.
|
1360
1377
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.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: 2023-
|
11
|
+
date: 2023-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.65.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|