Class: Google::Apis::TagmanagerV2::WorkspaceProposalUser

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/tagmanager_v2/classes.rb,
generated/google/apis/tagmanager_v2/representations.rb,
generated/google/apis/tagmanager_v2/representations.rb

Overview

Represents an external user or internal Google Tag Manager system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WorkspaceProposalUser

Returns a new instance of WorkspaceProposalUser



2448
2449
2450
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2448

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

Instance Attribute Details

#gaia_idFixnum

Gaia id associated with a user, absent for the Google Tag Manager system. Corresponds to the JSON property gaiaId

Returns:

  • (Fixnum)


2441
2442
2443
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2441

def gaia_id
  @gaia_id
end

#typeString

User type distinguishes between a user and the Google Tag Manager system. Corresponds to the JSON property type

Returns:

  • (String)


2446
2447
2448
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2446

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2453
2454
2455
2456
# File 'generated/google/apis/tagmanager_v2/classes.rb', line 2453

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