Class: Google::Apis::CloudsearchV1::EnterpriseTopazFrontendTeamsLink

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazFrontendTeamsLink

Returns a new instance of EnterpriseTopazFrontendTeamsLink.



1148
1149
1150
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1148

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

The identifying link type Corresponds to the JSON property type

Returns:

  • (String)


1139
1140
1141
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1139

def type
  @type
end

#urlGoogle::Apis::CloudsearchV1::SafeUrlProto

Message containing a string that is safe to use in URL contexts in DOM APIs and HTML documents, where the URL context does not refer to a resource that loads code. Corresponds to the JSON property url



1146
1147
1148
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1146

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1153
1154
1155
1156
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1153

def update!(**args)
  @type = args[:type] if args.key?(:type)
  @url = args[:url] if args.key?(:url)
end