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.



833
834
835
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 833

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)


826
827
828
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 826

def name
  @name
end

#notesString

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

Returns:

  • (String)


831
832
833
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 831

def notes
  @notes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



838
839
840
841
# File 'lib/google/apis/tagmanager_v2/classes.rb', line 838

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