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.



1115
1116
1117
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1115

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

Instance Attribute Details

#typeString

The identifying link type Corresponds to the JSON property type

Returns:

  • (String)


1106
1107
1108
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1106

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



1113
1114
1115
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1113

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1120
1121
1122
1123
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1120

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