proto_docs/google/cloud/asset/v1beta1/assets.rb in google-cloud-asset-v1beta1-0.1.3 vs proto_docs/google/cloud/asset/v1beta1/assets.rb in google-cloud-asset-v1beta1-0.1.4
- old
+ new
@@ -22,85 +22,85 @@
module Asset
module V1beta1
# Temporal asset. In addition to the asset, the temporal asset includes the
# status of the asset and valid from and to time of it.
# @!attribute [rw] window
- # @return [Google::Cloud::Asset::V1beta1::TimeWindow]
+ # @return [::Google::Cloud::Asset::V1beta1::TimeWindow]
# The time window when the asset data and state was observed.
# @!attribute [rw] deleted
- # @return [Boolean]
+ # @return [::Boolean]
# If the asset is deleted or not.
# @!attribute [rw] asset
- # @return [Google::Cloud::Asset::V1beta1::Asset]
+ # @return [::Google::Cloud::Asset::V1beta1::Asset]
# Asset.
class TemporalAsset
- include Google::Protobuf::MessageExts
- extend Google::Protobuf::MessageExts::ClassMethods
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
end
# A time window of (start_time, end_time].
# @!attribute [rw] start_time
- # @return [Google::Protobuf::Timestamp]
+ # @return [::Google::Protobuf::Timestamp]
# Start time of the time window (exclusive).
# @!attribute [rw] end_time
- # @return [Google::Protobuf::Timestamp]
+ # @return [::Google::Protobuf::Timestamp]
# End time of the time window (inclusive).
# Current timestamp if not specified.
class TimeWindow
- include Google::Protobuf::MessageExts
- extend Google::Protobuf::MessageExts::ClassMethods
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Cloud asset. This includes all Google Cloud Platform resources,
# Cloud IAM policies, and other non-GCP assets.
# @!attribute [rw] name
- # @return [String]
+ # @return [::String]
# The full name of the asset. For example:
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`.
# See [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more information.
# @!attribute [rw] asset_type
- # @return [String]
+ # @return [::String]
# Type of the asset. Example: "google.compute.Disk".
# @!attribute [rw] resource
- # @return [Google::Cloud::Asset::V1beta1::Resource]
+ # @return [::Google::Cloud::Asset::V1beta1::Resource]
# Representation of the resource.
# @!attribute [rw] iam_policy
- # @return [Google::Iam::V1::Policy]
+ # @return [::Google::Iam::V1::Policy]
# Representation of the actual Cloud IAM policy set on a cloud resource. For
# each resource, there must be at most one Cloud IAM policy set on it.
class Asset
- include Google::Protobuf::MessageExts
- extend Google::Protobuf::MessageExts::ClassMethods
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
end
# Representation of a cloud resource.
# @!attribute [rw] version
- # @return [String]
+ # @return [::String]
# The API version. Example: "v1".
# @!attribute [rw] discovery_document_uri
- # @return [String]
+ # @return [::String]
# The URL of the discovery document containing the resource's JSON schema.
# For example:
# `"https://www.googleapis.com/discovery/v1/apis/compute/v1/rest"`.
# It will be left unspecified for resources without a discovery-based API,
# such as Cloud Bigtable.
# @!attribute [rw] discovery_name
- # @return [String]
+ # @return [::String]
# The JSON schema name listed in the discovery document.
# Example: "Project". It will be left unspecified for resources (such as
# Cloud Bigtable) without a discovery-based API.
# @!attribute [rw] resource_url
- # @return [String]
+ # @return [::String]
# The REST URL for accessing the resource. An HTTP GET operation using this
# URL returns the resource itself.
# Example:
# `https://cloudresourcemanager.googleapis.com/v1/projects/my-project-123`.
# It will be left unspecified for resources without a REST API.
# @!attribute [rw] parent
- # @return [String]
+ # @return [::String]
# The full name of the immediate parent of this resource. See
# [Resource
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
# for more information.
#
@@ -109,15 +109,15 @@
# For example:
# `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`.
#
# For third-party assets, it is up to the users to define.
# @!attribute [rw] data
- # @return [Google::Protobuf::Struct]
+ # @return [::Google::Protobuf::Struct]
# The content of the resource, in which some sensitive fields are scrubbed
# away and may not be present.
class Resource
- include Google::Protobuf::MessageExts
- extend Google::Protobuf::MessageExts::ClassMethods
+ include ::Google::Protobuf::MessageExts
+ extend ::Google::Protobuf::MessageExts::ClassMethods
end
end
end
end
end