Class: Google::Apis::DatabasecenterV1beta::ResourceDetails
- Inherits:
-
Object
- Object
- Google::Apis::DatabasecenterV1beta::ResourceDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb
Overview
Capture the resource details for resources that are included in the delta counts.
Instance Attribute Summary collapse
-
#container ⇒ String
Specifies where the resource is created.
-
#full_resource_name ⇒ String
Full resource name of the resource.
-
#location ⇒ String
Location of the resource.
-
#product ⇒ Google::Apis::DatabasecenterV1beta::Product
Product specification for databasecenter resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceDetails
constructor
A new instance of ResourceDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceDetails
Returns a new instance of ResourceDetails.
1980 1981 1982 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1980 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container ⇒ String
Specifies where the resource is created. For Google Cloud resources, it is the
full name of the project.
Corresponds to the JSON property container
1963 1964 1965 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1963 def container @container end |
#full_resource_name ⇒ String
Full resource name of the resource.
Corresponds to the JSON property fullResourceName
1968 1969 1970 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1968 def full_resource_name @full_resource_name end |
#location ⇒ String
Location of the resource.
Corresponds to the JSON property location
1973 1974 1975 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1973 def location @location end |
#product ⇒ Google::Apis::DatabasecenterV1beta::Product
Product specification for databasecenter resources.
Corresponds to the JSON property product
1978 1979 1980 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1978 def product @product end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1985 1986 1987 1988 1989 1990 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 1985 def update!(**args) @container = args[:container] if args.key?(:container) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) @location = args[:location] if args.key?(:location) @product = args[:product] if args.key?(:product) end |