Class: Google::Apis::DriveactivityV2::Domain
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Domain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/driveactivity_v2/classes.rb,
lib/google/apis/driveactivity_v2/representations.rb,
lib/google/apis/driveactivity_v2/representations.rb
Overview
Information about a domain.
Instance Attribute Summary collapse
-
#legacy_id ⇒ String
An opaque string used to identify this domain.
-
#name ⇒ String
The name of the domain, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Domain
constructor
A new instance of Domain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Domain
Returns a new instance of Domain.
546 547 548 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 546 def initialize(**args) update!(**args) end |
Instance Attribute Details
#legacy_id ⇒ String
An opaque string used to identify this domain.
Corresponds to the JSON property legacyId
539 540 541 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 539 def legacy_id @legacy_id end |
#name ⇒ String
The name of the domain, e.g. google.com
.
Corresponds to the JSON property name
544 545 546 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 544 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
551 552 553 554 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 551 def update!(**args) @legacy_id = args[:legacy_id] if args.key?(:legacy_id) @name = args[:name] if args.key?(:name) end |