Class: Google::Apis::CloudsearchV1::IntegrationConfigMutation

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) ⇒ IntegrationConfigMutation

Returns a new instance of IntegrationConfigMutation.



11999
12000
12001
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11999

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

Instance Attribute Details

#add_appGoogle::Apis::CloudsearchV1::AppId

Identifier of an App. Corresponds to the JSON property addApp



11982
11983
11984
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11982

def add_app
  @add_app
end

#add_pinned_itemGoogle::Apis::CloudsearchV1::PinnedItemId

Add a pinned tab using its identifier. Corresponds to the JSON property addPinnedItem



11987
11988
11989
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11987

def add_pinned_item
  @add_pinned_item
end

#remove_appGoogle::Apis::CloudsearchV1::AppId

Identifier of an App. Corresponds to the JSON property removeApp



11992
11993
11994
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11992

def remove_app
  @remove_app
end

#remove_pinned_itemGoogle::Apis::CloudsearchV1::PinnedItemId

Remove an active pinned tab using its identifier. Corresponds to the JSON property removePinnedItem



11997
11998
11999
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 11997

def remove_pinned_item
  @remove_pinned_item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12004
12005
12006
12007
12008
12009
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12004

def update!(**args)
  @add_app = args[:add_app] if args.key?(:add_app)
  @add_pinned_item = args[:add_pinned_item] if args.key?(:add_pinned_item)
  @remove_app = args[:remove_app] if args.key?(:remove_app)
  @remove_pinned_item = args[:remove_pinned_item] if args.key?(:remove_pinned_item)
end