Class: Google::Cloud::SecurityCenter::V1p1beta1::Asset

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb

Overview

Security Command Center representation of a Google Cloud resource.

The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.

Defined Under Namespace

Classes: IamPolicy, ResourcePropertiesEntry, SecurityCenterProperties

Instance Attribute Summary collapse

Instance Attribute Details

#canonical_name::String

Returns The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.

Returns:

  • (::String)

    The canonical name of the resource. It's either "organizations/{organization_id}/assets/{asset_id}", "folders/{folder_id}/assets/{asset_id}" or "projects/{project_number}/assets/{asset_id}", depending on the closest CRM ancestor of the resource.



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#create_time::Google::Protobuf::Timestamp

Returns The time at which the asset was created in Security Command Center.

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#iam_policy::Google::Cloud::SecurityCenter::V1p1beta1::Asset::IamPolicy

Returns Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#name::String

Returns The relative resource name of this asset. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: "organizations/{organization_id}/assets/{asset_id}".

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#resource_properties::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}

Returns Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.

Returns:

  • (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value})

    Resource managed properties. These properties are managed and defined by the Google Cloud resource and cannot be modified by the user.



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#security_center_properties::Google::Cloud::SecurityCenter::V1p1beta1::Asset::SecurityCenterProperties

Returns Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#security_marks::Google::Cloud::SecurityCenter::V1p1beta1::SecurityMarks

Returns User specified security marks. These marks are entirely managed by the user and come from the SecurityMarks resource that belongs to the asset.

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#update_time::Google::Protobuf::Timestamp

Returns The time at which the asset was last updated or added in Cloud SCC.

Returns:



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# File 'proto_docs/google/cloud/securitycenter/v1p1beta1/asset.rb', line 68

class Asset
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Security Command Center managed properties. These properties are managed by
  # Security Command Center and cannot be modified by the user.
  # @!attribute [rw] resource_name
  #   @return [::String]
  #     The full resource name of the Google Cloud resource this asset
  #     represents. This field is immutable after create time. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_type
  #   @return [::String]
  #     The type of the Google Cloud resource. Examples include: APPLICATION,
  #     PROJECT, and ORGANIZATION. This is a case insensitive field defined by
  #     Security Command Center and/or the producer of the resource and is
  #     immutable after create time.
  # @!attribute [rw] resource_parent
  #   @return [::String]
  #     The full resource name of the immediate parent of the resource. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_project
  #   @return [::String]
  #     The full resource name of the project the resource belongs to. See:
  #     https://cloud.google.com/apis/design/resource_names#full_resource_name
  # @!attribute [rw] resource_owners
  #   @return [::Array<::String>]
  #     Owners of the Google Cloud resource.
  # @!attribute [rw] resource_display_name
  #   @return [::String]
  #     The user defined display name for this resource.
  # @!attribute [rw] resource_parent_display_name
  #   @return [::String]
  #     The user defined display name for the parent of this resource.
  # @!attribute [rw] resource_project_display_name
  #   @return [::String]
  #     The user defined display name for the project of this resource.
  # @!attribute [rw] folders
  #   @return [::Array<::Google::Cloud::SecurityCenter::V1p1Beta1::Folder>]
  #     Contains a Folder message for each folder in the assets ancestry.
  #     The first folder is the deepest nested folder, and the last folder is the
  #     folder directly under the Organization.
  class SecurityCenterProperties
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Cloud IAM Policy information associated with the Google Cloud resource
  # described by the Security Command Center asset. This information is managed
  # and defined by the Google Cloud resource and cannot be modified by the
  # user.
  # @!attribute [rw] policy_blob
  #   @return [::String]
  #     The JSON representation of the Policy associated with the asset.
  #     See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
  #     format details.
  class IamPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  class ResourcePropertiesEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end