google-apis-cloudasset_v1 0.15.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/cloudasset_v1/classes.rb +209 -33
- data/lib/google/apis/cloudasset_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudasset_v1/representations.rb +78 -0
- data/lib/google/apis/cloudasset_v1/service.rb +5 -5
- data/lib/google/apis/cloudasset_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db6d83d5064ce69d26baedc8dbd8447b93f3f3d5f626d31e70b3a53f2b3e4d76
|
4
|
+
data.tar.gz: 4eaaa1f19a51647e37e41a5cc858dda2b4c92d2cf0b321ee76243a7314d3b576
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 577cb59a108fe1cd1799fa1bf91c30282e43e2d1f0e86f56d64163f64fad008d3e48ebe4734c81e385341d77d8002212dc2b3f7c62dcfd11e396a673d610f22f
|
7
|
+
data.tar.gz: 4bad8d6d2ff06b4aa82d0ac5597cec20c58328d204d94cf07cfc5c020d8aa3bb737f62660f203db9cb1cbc8158193f38f2f3780565a3dbf77218e393e822a402
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1
|
2
2
|
|
3
|
+
### v0.19.0 (2021-09-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210924
|
6
|
+
|
7
|
+
### v0.18.0 (2021-09-15)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210910
|
10
|
+
|
11
|
+
### v0.17.0 (2021-09-08)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210903
|
14
|
+
|
15
|
+
### v0.16.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210827
|
18
|
+
|
3
19
|
### v0.15.0 (2021-08-04)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210802
|
@@ -50,6 +50,26 @@ module Google
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
# Represents the metadata of the longrunning operation for the
|
54
|
+
# AnalyzeIamPolicyLongrunning rpc.
|
55
|
+
class AnalyzeIamPolicyLongrunningMetadata
|
56
|
+
include Google::Apis::Core::Hashable
|
57
|
+
|
58
|
+
# Output only. The time the operation was created.
|
59
|
+
# Corresponds to the JSON property `createTime`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :create_time
|
62
|
+
|
63
|
+
def initialize(**args)
|
64
|
+
update!(**args)
|
65
|
+
end
|
66
|
+
|
67
|
+
# Update properties of this object
|
68
|
+
def update!(**args)
|
69
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
53
73
|
# A request message for AssetService.AnalyzeIamPolicyLongrunning.
|
54
74
|
class AnalyzeIamPolicyLongrunningRequest
|
55
75
|
include Google::Apis::Core::Hashable
|
@@ -210,7 +230,7 @@ module Google
|
|
210
230
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
211
231
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
212
232
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
213
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
233
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
214
234
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
215
235
|
# google.com/iam/docs/).
|
216
236
|
# Corresponds to the JSON property `iamPolicy`
|
@@ -624,6 +644,47 @@ module Google
|
|
624
644
|
end
|
625
645
|
end
|
626
646
|
|
647
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
648
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
649
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
650
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
651
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
652
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
653
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
654
|
+
# google.protobuf.Timestamp`.
|
655
|
+
class Date
|
656
|
+
include Google::Apis::Core::Hashable
|
657
|
+
|
658
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
659
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
660
|
+
# Corresponds to the JSON property `day`
|
661
|
+
# @return [Fixnum]
|
662
|
+
attr_accessor :day
|
663
|
+
|
664
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
665
|
+
# and day.
|
666
|
+
# Corresponds to the JSON property `month`
|
667
|
+
# @return [Fixnum]
|
668
|
+
attr_accessor :month
|
669
|
+
|
670
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
671
|
+
# year.
|
672
|
+
# Corresponds to the JSON property `year`
|
673
|
+
# @return [Fixnum]
|
674
|
+
attr_accessor :year
|
675
|
+
|
676
|
+
def initialize(**args)
|
677
|
+
update!(**args)
|
678
|
+
end
|
679
|
+
|
680
|
+
# Update properties of this object
|
681
|
+
def update!(**args)
|
682
|
+
@day = args[:day] if args.key?(:day)
|
683
|
+
@month = args[:month] if args.key?(:month)
|
684
|
+
@year = args[:year] if args.key?(:year)
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
627
688
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
628
689
|
# messages in your APIs. A typical example is to use it as the request or the
|
629
690
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -1283,7 +1344,7 @@ module Google
|
|
1283
1344
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1284
1345
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1285
1346
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
1286
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
1347
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
1287
1348
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1288
1349
|
# google.com/iam/docs/).
|
1289
1350
|
# Corresponds to the JSON property `iamPolicy`
|
@@ -2905,7 +2966,7 @@ module Google
|
|
2905
2966
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
2906
2967
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
2907
2968
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
2908
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
2969
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
2909
2970
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
2910
2971
|
# google.com/iam/docs/).
|
2911
2972
|
# Corresponds to the JSON property `policy`
|
@@ -3512,7 +3573,7 @@ module Google
|
|
3512
3573
|
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
3513
3574
|
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
3514
3575
|
# description: Does not grant access after Sep 2020 expression: request.time <
|
3515
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
3576
|
+
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
|
3516
3577
|
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
3517
3578
|
# google.com/iam/docs/).
|
3518
3579
|
class Policy
|
@@ -3598,13 +3659,13 @@ module Google
|
|
3598
3659
|
end
|
3599
3660
|
end
|
3600
3661
|
|
3601
|
-
# An asset
|
3602
|
-
# An asset can be any resource in the Google Cloud [resource
|
3603
|
-
# cloud.google.com/resource-manager/docs/cloud-platform-
|
3604
|
-
# resource outside the Google Cloud resource hierarchy (
|
3605
|
-
# Kubernetes Engine clusters and objects), or a policy (e.g.
|
3606
|
-
# See [Supported asset types](https://cloud.google.com/asset-
|
3607
|
-
# supported-asset-types) for more information.
|
3662
|
+
# An asset identifier in Google Cloud which contains its name, type and
|
3663
|
+
# ancestors. An asset can be any resource in the Google Cloud [resource
|
3664
|
+
# hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
|
3665
|
+
# resource-hierarchy), a resource outside the Google Cloud resource hierarchy (
|
3666
|
+
# such as Google Kubernetes Engine clusters and objects), or a policy (e.g.
|
3667
|
+
# Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-
|
3668
|
+
# inventory/docs/supported-asset-types) for more information.
|
3608
3669
|
class RelatedAsset
|
3609
3670
|
include Google::Apis::Core::Hashable
|
3610
3671
|
|
@@ -3670,6 +3731,51 @@ module Google
|
|
3670
3731
|
end
|
3671
3732
|
end
|
3672
3733
|
|
3734
|
+
# The detailed related resource.
|
3735
|
+
class RelatedResource
|
3736
|
+
include Google::Apis::Core::Hashable
|
3737
|
+
|
3738
|
+
# The type of the asset. Example: `compute.googleapis.com/Instance`
|
3739
|
+
# Corresponds to the JSON property `assetType`
|
3740
|
+
# @return [String]
|
3741
|
+
attr_accessor :asset_type
|
3742
|
+
|
3743
|
+
# The full resource name of the related resource. Example: `//compute.googleapis.
|
3744
|
+
# com/projects/my_proj_123/zones/instance/instance123`
|
3745
|
+
# Corresponds to the JSON property `fullResourceName`
|
3746
|
+
# @return [String]
|
3747
|
+
attr_accessor :full_resource_name
|
3748
|
+
|
3749
|
+
def initialize(**args)
|
3750
|
+
update!(**args)
|
3751
|
+
end
|
3752
|
+
|
3753
|
+
# Update properties of this object
|
3754
|
+
def update!(**args)
|
3755
|
+
@asset_type = args[:asset_type] if args.key?(:asset_type)
|
3756
|
+
@full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
|
3757
|
+
end
|
3758
|
+
end
|
3759
|
+
|
3760
|
+
# The related resources of the primary resource.
|
3761
|
+
class RelatedResources
|
3762
|
+
include Google::Apis::Core::Hashable
|
3763
|
+
|
3764
|
+
# The detailed related resources of the primary resource.
|
3765
|
+
# Corresponds to the JSON property `relatedResources`
|
3766
|
+
# @return [Array<Google::Apis::CloudassetV1::RelatedResource>]
|
3767
|
+
attr_accessor :related_resources
|
3768
|
+
|
3769
|
+
def initialize(**args)
|
3770
|
+
update!(**args)
|
3771
|
+
end
|
3772
|
+
|
3773
|
+
# Update properties of this object
|
3774
|
+
def update!(**args)
|
3775
|
+
@related_resources = args[:related_resources] if args.key?(:related_resources)
|
3776
|
+
end
|
3777
|
+
end
|
3778
|
+
|
3673
3779
|
# The relationship attributes which include `type`, `source_resource_type`, `
|
3674
3780
|
# target_resource_type` and `action`.
|
3675
3781
|
class RelationshipAttributes
|
@@ -3819,7 +3925,7 @@ module Google
|
|
3819
3925
|
|
3820
3926
|
# The create timestamp of this resource, at which the resource was created. The
|
3821
3927
|
# granularity is in seconds. Timestamp.nanos will always be 0. This field is
|
3822
|
-
# available only when the resource's
|
3928
|
+
# available only when the resource's Protobuf contains it. To search against `
|
3823
3929
|
# create_time`: * use a field query. - value in seconds since unix epoch.
|
3824
3930
|
# Example: `createTime > 1609459200` - value in date string. Example: `
|
3825
3931
|
# createTime > 2021-01-01` - value in date-time string (must be quoted). Example:
|
@@ -3830,15 +3936,15 @@ module Google
|
|
3830
3936
|
|
3831
3937
|
# One or more paragraphs of text description of this resource. Maximum length
|
3832
3938
|
# could be up to 1M bytes. This field is available only when the resource's
|
3833
|
-
#
|
3834
|
-
# Example: `description:"important instance"` * use a free text query. Example:
|
3835
|
-
# "important instance"`
|
3939
|
+
# Protobuf contains it. To search against the `description`: * use a field query.
|
3940
|
+
# Example: `description:"important instance"` * use a free text query. Example:
|
3941
|
+
# `"important instance"`
|
3836
3942
|
# Corresponds to the JSON property `description`
|
3837
3943
|
# @return [String]
|
3838
3944
|
attr_accessor :description
|
3839
3945
|
|
3840
3946
|
# The display name of this resource. This field is available only when the
|
3841
|
-
# resource's
|
3947
|
+
# resource's Protobuf contains it. To search against the `display_name`: * use a
|
3842
3948
|
# field query. Example: `displayName:"My Instance"` * use a free text query.
|
3843
3949
|
# Example: `"My Instance"`
|
3844
3950
|
# Corresponds to the JSON property `displayName`
|
@@ -3855,10 +3961,10 @@ module Google
|
|
3855
3961
|
attr_accessor :folders
|
3856
3962
|
|
3857
3963
|
# The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/
|
3858
|
-
# projects.locations.keyRings.cryptoKeys
|
3859
|
-
#
|
3860
|
-
# cryptoKeys.cryptoKeyVersions
|
3861
|
-
#
|
3964
|
+
# projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://
|
3965
|
+
# cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.
|
3966
|
+
# cryptoKeys.cryptoKeyVersions) name. This field is available only when the
|
3967
|
+
# resource's Protobuf contains it. To search against the `kms_key`: * use a
|
3862
3968
|
# field query. Example: `kmsKey:key` * use a free text query. Example: `key`
|
3863
3969
|
# Corresponds to the JSON property `kmsKey`
|
3864
3970
|
# @return [String]
|
@@ -3867,8 +3973,8 @@ module Google
|
|
3867
3973
|
# Labels associated with this resource. See [Labelling and grouping GCP
|
3868
3974
|
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
|
3869
3975
|
# your-google-cloud-platform-resources) for more information. This field is
|
3870
|
-
# available only when the resource's
|
3871
|
-
# labels`: * use a field query: - query on any label's key or value. Example: `
|
3976
|
+
# available only when the resource's Protobuf contains it. To search against the
|
3977
|
+
# `labels`: * use a field query: - query on any label's key or value. Example: `
|
3872
3978
|
# labels:prod` - query by a given label. Example: `labels.env:prod` - query by a
|
3873
3979
|
# given label's existence. Example: `labels.env:*` * use a free text query.
|
3874
3980
|
# Example: `prod`
|
@@ -3877,9 +3983,9 @@ module Google
|
|
3877
3983
|
attr_accessor :labels
|
3878
3984
|
|
3879
3985
|
# Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
|
3880
|
-
# This field is available only when the resource's
|
3881
|
-
# against the `location`: * use a field query. Example: `location:us-west
|
3882
|
-
# use a free text query. Example: `us-west*`
|
3986
|
+
# This field is available only when the resource's Protobuf contains it. To
|
3987
|
+
# search against the `location`: * use a field query. Example: `location:us-west*
|
3988
|
+
# ` * use a free text query. Example: `us-west*`
|
3883
3989
|
# Corresponds to the JSON property `location`
|
3884
3990
|
# @return [String]
|
3885
3991
|
attr_accessor :location
|
@@ -3898,8 +4004,8 @@ module Google
|
|
3898
4004
|
# type of annotations used to group GCP resources. See [Labelling GCP resources](
|
3899
4005
|
# https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
|
3900
4006
|
# cloud-platform-resources) for more information. This field is available only
|
3901
|
-
# when the resource's
|
3902
|
-
# use a field query. Example: `networkTags:internal` * use a free text query.
|
4007
|
+
# when the resource's Protobuf contains it. To search against the `network_tags`:
|
4008
|
+
# * use a field query. Example: `networkTags:internal` * use a free text query.
|
3903
4009
|
# Example: `internal`
|
3904
4010
|
# Corresponds to the JSON property `networkTags`
|
3905
4011
|
# @return [Array<String>]
|
@@ -3939,9 +4045,18 @@ module Google
|
|
3939
4045
|
# @return [String]
|
3940
4046
|
attr_accessor :project
|
3941
4047
|
|
4048
|
+
# A map of related resources of this resource, keyed by the relationship type. A
|
4049
|
+
# relationship type is in the format of `SourceType`_`ACTION`_`DestType`.
|
4050
|
+
# Example: `DISK_TO_INSTANCE`, `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`.
|
4051
|
+
# See [supported relationship types](https://cloud.google.com/asset-inventory/
|
4052
|
+
# docs/supported-asset-types#supported_relationship_types).
|
4053
|
+
# Corresponds to the JSON property `relationships`
|
4054
|
+
# @return [Hash<String,Google::Apis::CloudassetV1::RelatedResources>]
|
4055
|
+
attr_accessor :relationships
|
4056
|
+
|
3942
4057
|
# The state of this resource. Different resources types have different state
|
3943
4058
|
# definitions that are mapped from various fields of different resource types.
|
3944
|
-
# This field is available only when the resource's
|
4059
|
+
# This field is available only when the resource's Protobuf contains it. Example:
|
3945
4060
|
# If the resource is an instance provided by Compute Engine, its state will
|
3946
4061
|
# include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
|
3947
4062
|
# REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://
|
@@ -3958,11 +4073,11 @@ module Google
|
|
3958
4073
|
|
3959
4074
|
# The last update timestamp of this resource, at which the resource was last
|
3960
4075
|
# modified or deleted. The granularity is in seconds. Timestamp.nanos will
|
3961
|
-
# always be 0. This field is available only when the resource's
|
3962
|
-
# it. To search against `update_time`: * use a field query. - value in
|
3963
|
-
# since unix epoch. Example: `updateTime < 1609459200` - value in date
|
3964
|
-
# Example: `updateTime < 2021-01-01` - value in date-time string (must
|
3965
|
-
# . Example: `updateTime < "2021-01-01T00:00:00"`
|
4076
|
+
# always be 0. This field is available only when the resource's Protobuf
|
4077
|
+
# contains it. To search against `update_time`: * use a field query. - value in
|
4078
|
+
# seconds since unix epoch. Example: `updateTime < 1609459200` - value in date
|
4079
|
+
# string. Example: `updateTime < 2021-01-01` - value in date-time string (must
|
4080
|
+
# be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
|
3966
4081
|
# Corresponds to the JSON property `updateTime`
|
3967
4082
|
# @return [String]
|
3968
4083
|
attr_accessor :update_time
|
@@ -3998,6 +4113,7 @@ module Google
|
|
3998
4113
|
@parent_asset_type = args[:parent_asset_type] if args.key?(:parent_asset_type)
|
3999
4114
|
@parent_full_resource_name = args[:parent_full_resource_name] if args.key?(:parent_full_resource_name)
|
4000
4115
|
@project = args[:project] if args.key?(:project)
|
4116
|
+
@relationships = args[:relationships] if args.key?(:relationships)
|
4001
4117
|
@state = args[:state] if args.key?(:state)
|
4002
4118
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4003
4119
|
@versioned_resources = args[:versioned_resources] if args.key?(:versioned_resources)
|
@@ -4113,6 +4229,13 @@ module Google
|
|
4113
4229
|
# @return [Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage]
|
4114
4230
|
attr_accessor :qfe_package
|
4115
4231
|
|
4232
|
+
# Contains information about a Windows application that is retrieved from the
|
4233
|
+
# Windows Registry. For more information about these fields, see Windows
|
4234
|
+
# Installer Properties for the Uninstall Registry.
|
4235
|
+
# Corresponds to the JSON property `windowsApplication`
|
4236
|
+
# @return [Google::Apis::CloudassetV1::WindowsApplication]
|
4237
|
+
attr_accessor :windows_application
|
4238
|
+
|
4116
4239
|
# Details related to a Windows Update package. Field data and names are taken
|
4117
4240
|
# from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
|
4118
4241
|
# windows/win32/api/_wua/ Descriptive fields like title, and description are
|
@@ -4148,6 +4271,7 @@ module Google
|
|
4148
4271
|
@cos_package = args[:cos_package] if args.key?(:cos_package)
|
4149
4272
|
@googet_package = args[:googet_package] if args.key?(:googet_package)
|
4150
4273
|
@qfe_package = args[:qfe_package] if args.key?(:qfe_package)
|
4274
|
+
@windows_application = args[:windows_application] if args.key?(:windows_application)
|
4151
4275
|
@wua_package = args[:wua_package] if args.key?(:wua_package)
|
4152
4276
|
@yum_package = args[:yum_package] if args.key?(:yum_package)
|
4153
4277
|
@zypper_package = args[:zypper_package] if args.key?(:zypper_package)
|
@@ -4373,6 +4497,58 @@ module Google
|
|
4373
4497
|
end
|
4374
4498
|
end
|
4375
4499
|
|
4500
|
+
# Contains information about a Windows application that is retrieved from the
|
4501
|
+
# Windows Registry. For more information about these fields, see Windows
|
4502
|
+
# Installer Properties for the Uninstall Registry.
|
4503
|
+
class WindowsApplication
|
4504
|
+
include Google::Apis::Core::Hashable
|
4505
|
+
|
4506
|
+
# The name of the application or product.
|
4507
|
+
# Corresponds to the JSON property `displayName`
|
4508
|
+
# @return [String]
|
4509
|
+
attr_accessor :display_name
|
4510
|
+
|
4511
|
+
# The version of the product or application in string format.
|
4512
|
+
# Corresponds to the JSON property `displayVersion`
|
4513
|
+
# @return [String]
|
4514
|
+
attr_accessor :display_version
|
4515
|
+
|
4516
|
+
# The internet address for technical support.
|
4517
|
+
# Corresponds to the JSON property `helpLink`
|
4518
|
+
# @return [String]
|
4519
|
+
attr_accessor :help_link
|
4520
|
+
|
4521
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
4522
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
4523
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
4524
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
4525
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
4526
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
4527
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
4528
|
+
# google.protobuf.Timestamp`.
|
4529
|
+
# Corresponds to the JSON property `installDate`
|
4530
|
+
# @return [Google::Apis::CloudassetV1::Date]
|
4531
|
+
attr_accessor :install_date
|
4532
|
+
|
4533
|
+
# The name of the manufacturer for the product or application.
|
4534
|
+
# Corresponds to the JSON property `publisher`
|
4535
|
+
# @return [String]
|
4536
|
+
attr_accessor :publisher
|
4537
|
+
|
4538
|
+
def initialize(**args)
|
4539
|
+
update!(**args)
|
4540
|
+
end
|
4541
|
+
|
4542
|
+
# Update properties of this object
|
4543
|
+
def update!(**args)
|
4544
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
4545
|
+
@display_version = args[:display_version] if args.key?(:display_version)
|
4546
|
+
@help_link = args[:help_link] if args.key?(:help_link)
|
4547
|
+
@install_date = args[:install_date] if args.key?(:install_date)
|
4548
|
+
@publisher = args[:publisher] if args.key?(:publisher)
|
4549
|
+
end
|
4550
|
+
end
|
4551
|
+
|
4376
4552
|
# Information related to a Quick Fix Engineering package. Fields are taken from
|
4377
4553
|
# Windows QuickFixEngineering Interface and match the source names: https://docs.
|
4378
4554
|
# microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
|
@@ -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.19.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210924"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AnalyzeIamPolicyLongrunningMetadata
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class AnalyzeIamPolicyLongrunningRequest
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -112,6 +118,12 @@ module Google
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
113
119
|
end
|
114
120
|
|
121
|
+
class Date
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
115
127
|
class Empty
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
129
|
|
@@ -514,6 +526,18 @@ module Google
|
|
514
526
|
include Google::Apis::Core::JsonObjectSupport
|
515
527
|
end
|
516
528
|
|
529
|
+
class RelatedResource
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class RelatedResources
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
517
541
|
class RelationshipAttributes
|
518
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
543
|
|
@@ -592,6 +616,12 @@ module Google
|
|
592
616
|
include Google::Apis::Core::JsonObjectSupport
|
593
617
|
end
|
594
618
|
|
619
|
+
class WindowsApplication
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
595
625
|
class WindowsQuickFixEngineeringPackage
|
596
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
627
|
|
@@ -624,6 +654,13 @@ module Google
|
|
624
654
|
end
|
625
655
|
end
|
626
656
|
|
657
|
+
class AnalyzeIamPolicyLongrunningMetadata
|
658
|
+
# @private
|
659
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
660
|
+
property :create_time, as: 'createTime'
|
661
|
+
end
|
662
|
+
end
|
663
|
+
|
627
664
|
class AnalyzeIamPolicyLongrunningRequest
|
628
665
|
# @private
|
629
666
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -764,6 +801,15 @@ module Google
|
|
764
801
|
end
|
765
802
|
end
|
766
803
|
|
804
|
+
class Date
|
805
|
+
# @private
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
807
|
+
property :day, as: 'day'
|
808
|
+
property :month, as: 'month'
|
809
|
+
property :year, as: 'year'
|
810
|
+
end
|
811
|
+
end
|
812
|
+
|
767
813
|
class Empty
|
768
814
|
# @private
|
769
815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1465,6 +1511,22 @@ module Google
|
|
1465
1511
|
end
|
1466
1512
|
end
|
1467
1513
|
|
1514
|
+
class RelatedResource
|
1515
|
+
# @private
|
1516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1517
|
+
property :asset_type, as: 'assetType'
|
1518
|
+
property :full_resource_name, as: 'fullResourceName'
|
1519
|
+
end
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
class RelatedResources
|
1523
|
+
# @private
|
1524
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1525
|
+
collection :related_resources, as: 'relatedResources', class: Google::Apis::CloudassetV1::RelatedResource, decorator: Google::Apis::CloudassetV1::RelatedResource::Representation
|
1526
|
+
|
1527
|
+
end
|
1528
|
+
end
|
1529
|
+
|
1468
1530
|
class RelationshipAttributes
|
1469
1531
|
# @private
|
1470
1532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1508,6 +1570,8 @@ module Google
|
|
1508
1570
|
property :parent_asset_type, as: 'parentAssetType'
|
1509
1571
|
property :parent_full_resource_name, as: 'parentFullResourceName'
|
1510
1572
|
property :project, as: 'project'
|
1573
|
+
hash :relationships, as: 'relationships', class: Google::Apis::CloudassetV1::RelatedResources, decorator: Google::Apis::CloudassetV1::RelatedResources::Representation
|
1574
|
+
|
1511
1575
|
property :state, as: 'state'
|
1512
1576
|
property :update_time, as: 'updateTime'
|
1513
1577
|
collection :versioned_resources, as: 'versionedResources', class: Google::Apis::CloudassetV1::VersionedResource, decorator: Google::Apis::CloudassetV1::VersionedResource::Representation
|
@@ -1551,6 +1615,8 @@ module Google
|
|
1551
1615
|
|
1552
1616
|
property :qfe_package, as: 'qfePackage', class: Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage, decorator: Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage::Representation
|
1553
1617
|
|
1618
|
+
property :windows_application, as: 'windowsApplication', class: Google::Apis::CloudassetV1::WindowsApplication, decorator: Google::Apis::CloudassetV1::WindowsApplication::Representation
|
1619
|
+
|
1554
1620
|
property :wua_package, as: 'wuaPackage', class: Google::Apis::CloudassetV1::WindowsUpdatePackage, decorator: Google::Apis::CloudassetV1::WindowsUpdatePackage::Representation
|
1555
1621
|
|
1556
1622
|
property :yum_package, as: 'yumPackage', class: Google::Apis::CloudassetV1::VersionedPackage, decorator: Google::Apis::CloudassetV1::VersionedPackage::Representation
|
@@ -1619,6 +1685,18 @@ module Google
|
|
1619
1685
|
end
|
1620
1686
|
end
|
1621
1687
|
|
1688
|
+
class WindowsApplication
|
1689
|
+
# @private
|
1690
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1691
|
+
property :display_name, as: 'displayName'
|
1692
|
+
property :display_version, as: 'displayVersion'
|
1693
|
+
property :help_link, as: 'helpLink'
|
1694
|
+
property :install_date, as: 'installDate', class: Google::Apis::CloudassetV1::Date, decorator: Google::Apis::CloudassetV1::Date::Representation
|
1695
|
+
|
1696
|
+
property :publisher, as: 'publisher'
|
1697
|
+
end
|
1698
|
+
end
|
1699
|
+
|
1622
1700
|
class WindowsQuickFixEngineeringPackage
|
1623
1701
|
# @private
|
1624
1702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -624,11 +624,11 @@ module Google
|
|
624
624
|
# BigQuery table. For Cloud Storage location destinations, the output format is
|
625
625
|
# newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in
|
626
626
|
# the JSON format; for BigQuery table destinations, the output table stores the
|
627
|
-
# fields in asset
|
628
|
-
# Operation API
|
629
|
-
# intervals of at least 2 seconds with exponential retry to poll the
|
630
|
-
# operation result. For regular-size resource parent, the export
|
631
|
-
# usually finishes within 5 minutes.
|
627
|
+
# fields in asset Protobuf as columns. This API implements the google.
|
628
|
+
# longrunning.Operation API, which allows you to keep track of the export. We
|
629
|
+
# recommend intervals of at least 2 seconds with exponential retry to poll the
|
630
|
+
# export operation result. For regular-size resource parent, the export
|
631
|
+
# operation usually finishes within 5 minutes.
|
632
632
|
# @param [String] parent
|
633
633
|
# Required. The relative name of the root asset. This can only be an
|
634
634
|
# organization number (such as "organizations/123"), a project ID (such as "
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
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.19.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: 2021-
|
11
|
+
date: 2021-10-04 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/master/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.19.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|