Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Resource.
Information related to the Google Cloud resource.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#display_name
def display_name() -> ::String
Returns
- (::String) — The human readable name of the resource.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The human readable name of the resource.
Returns
- (::String) — The human readable name of the resource.
#name
def name() -> ::String
Returns
- (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
Returns
- (::String) — The full resource name of the resource. See: https://cloud.google.com/apis/design/resource_names#full_resource_name
#type
def type() -> ::String
Returns
- (::String) — The full resource type of the resource.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — The full resource type of the resource.
Returns
- (::String) — The full resource type of the resource.