Class: Google::Apis::AdsensehostV4_1::UrlChannel
- Inherits:
-
Object
- Object
- Google::Apis::AdsensehostV4_1::UrlChannel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adsensehost_v4_1/classes.rb,
generated/google/apis/adsensehost_v4_1/representations.rb,
generated/google/apis/adsensehost_v4_1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier of this URL channel.
-
#kind ⇒ String
Kind of resource this is, in this case adsensehost#urlChannel.
-
#url_pattern ⇒ String
URL Pattern of this URL channel.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlChannel
constructor
A new instance of UrlChannel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UrlChannel
Returns a new instance of UrlChannel.
785 786 787 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 785 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Unique identifier of this URL channel. This should be considered an opaque
identifier; it is not safe to rely on it being in any particular format.
Corresponds to the JSON property id
772 773 774 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 772 def id @id end |
#kind ⇒ String
Kind of resource this is, in this case adsensehost#urlChannel.
Corresponds to the JSON property kind
777 778 779 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 777 def kind @kind end |
#url_pattern ⇒ String
URL Pattern of this URL channel. Does not include "http://" or "https://".
Example: www.example.com/home
Corresponds to the JSON property urlPattern
783 784 785 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 783 def url_pattern @url_pattern end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
790 791 792 793 794 |
# File 'generated/google/apis/adsensehost_v4_1/classes.rb', line 790 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @url_pattern = args[:url_pattern] if args.key?(:url_pattern) end |