Class: Google::Cloud::Asset::V1::AnalyzeOrgPolicyGovernedAssetsResponse::GovernedResource

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

Overview

The Google Cloud resources governed by the organization policies of the AnalyzeOrgPolicyGovernedAssetsRequest.constraint.

Instance Attribute Summary collapse

Instance Attribute Details

#asset_type::String

Returns The asset type of the AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.full_resource_name Example: cloudresourcemanager.googleapis.com/Project See Cloud Asset Inventory Supported Asset Types for all supported asset types.

Returns:



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#effective_tags::Array<::Google::Cloud::Asset::V1::EffectiveTagDetails>

Returns The effective tags on this resource.

Returns:



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#folders::Array<::String>

Returns The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.

Returns:

  • (::Array<::String>)

    The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#full_resource_name::String

Returns The full resource name of the Google Cloud resource.

Returns:



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#organization::String

Returns The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.

Returns:

  • (::String)

    The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project::String

Returns The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.

Returns:

  • (::String)

    The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.



2480
2481
2482
2483
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 2480

class GovernedResource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end