Class: Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_7::DirectorySiteContactAssignment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/representations.rb
Overview
Directory Site Contact Assignment
Instance Attribute Summary collapse
-
#contact_id ⇒ Fixnum
ID of this directory site contact.
-
#visibility ⇒ String
Visibility of this directory site contact assignment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectorySiteContactAssignment
constructor
A new instance of DirectorySiteContactAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySiteContactAssignment
Returns a new instance of DirectorySiteContactAssignment
5017 5018 5019 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5017 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_id ⇒ Fixnum
ID of this directory site contact. This is a read-only, auto-generated field.
Corresponds to the JSON property contactId
5008 5009 5010 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5008 def contact_id @contact_id end |
#visibility ⇒ String
Visibility of this directory site contact assignment. When set to PUBLIC this
contact assignment is visible to all account and agency users; when set to
PRIVATE it is visible only to the site.
Corresponds to the JSON property visibility
5015 5016 5017 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5015 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5022 5023 5024 5025 |
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 5022 def update!(**args) @contact_id = args[:contact_id] if args.key?(:contact_id) @visibility = args[:visibility] if args.key?(:visibility) end |