Class: TencentCloud::Tia::V20180226::Log

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180226/models.rb

Overview

日志

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(containername = nil, log = nil, namespace = nil, podid = nil, podname = nil, time = nil) ⇒ Log

Returns a new instance of Log.



619
620
621
622
623
624
625
626
# File 'lib/v20180226/models.rb', line 619

def initialize(containername=nil, log=nil, namespace=nil, podid=nil, podname=nil, time=nil)
  @ContainerName = containername
  @Log = log
  @Namespace = namespace
  @PodId = podid
  @PodName = podname
  @Time = time
end

Instance Attribute Details

#ContainerNameObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def ContainerName
  @ContainerName
end

#LogObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def Log
  @Log
end

#NamespaceObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def Namespace
  @Namespace
end

#PodIdObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def PodId
  @PodId
end

#PodNameObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def PodName
  @PodName
end

#TimeObject

Parameters:

  • ContainerName:

    容器名

  • Log:

    日志内容

  • Namespace:

    空间名

  • PodId:

    Pod Id

  • PodName:

    Pod名

  • Time:

    日志日期,格式为“2018-07-02T09:10:04.916553368Z”



617
618
619
# File 'lib/v20180226/models.rb', line 617

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



628
629
630
631
632
633
634
635
# File 'lib/v20180226/models.rb', line 628

def deserialize(params)
  @ContainerName = params['ContainerName']
  @Log = params['Log']
  @Namespace = params['Namespace']
  @PodId = params['PodId']
  @PodName = params['PodName']
  @Time = params['Time']
end