Class: Google::Apis::TagmanagerV2::CreateContainerVersionRequestVersionOptions

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

Overview

Options for new container versions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateContainerVersionRequestVersionOptions

Returns a new instance of CreateContainerVersionRequestVersionOptions.



658
659
660
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 658

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

Instance Attribute Details

#nameString

The name of the container version to be created. Corresponds to the JSON property name

Returns:

  • (String)


651
652
653
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 651

def name
  @name
end

#notesString

The notes of the container version to be created. Corresponds to the JSON property notes

Returns:

  • (String)


656
657
658
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 656

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



663
664
665
666
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 663

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