Class: Google::Apis::DfareportingV2_1::DirectorySiteContactAssignment
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::DirectorySiteContactAssignment
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Directory Site Contact Assignment
Instance Attribute Summary collapse
-
#contact_id ⇒ String
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::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySiteContactAssignment
Returns a new instance of DirectorySiteContactAssignment
4529 4530 4531 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4529 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contact_id ⇒ String
ID of this directory site contact. This is a read-only, auto-generated field.
Corresponds to the JSON property contactId
4520 4521 4522 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4520 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
4527 4528 4529 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4527 def visibility @visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4534 4535 4536 4537 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4534 def update!(**args) @contact_id = args[:contact_id] unless args[:contact_id].nil? @visibility = args[:visibility] unless args[:visibility].nil? end |