Class: TencentCloud::Wedata::V20210820::GetCosTokenRequest

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

Overview

GetCosToken请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, origindomain = nil, crossflag = nil, bucketname = nil, remotepath = nil, remoteregion = nil) ⇒ GetCosTokenRequest

Returns a new instance of GetCosTokenRequest.



20995
20996
20997
20998
20999
21000
21001
21002
# File 'lib/v20210820/models.rb', line 20995

def initialize(projectid=nil, origindomain=nil, crossflag=nil, bucketname=nil, remotepath=nil, remoteregion=nil)
  @ProjectId = projectid
  @OriginDomain = origindomain
  @CrossFlag = crossflag
  @BucketName = bucketname
  @RemotePath = remotepath
  @RemoteRegion = remoteregion
end

Instance Attribute Details

#BucketNameObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def BucketName
  @BucketName
end

#CrossFlagObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def CrossFlag
  @CrossFlag
end

#OriginDomainObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def OriginDomain
  @OriginDomain
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def ProjectId
  @ProjectId
end

#RemotePathObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def RemotePath
  @RemotePath
end

#RemoteRegionObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20993
20994
20995
# File 'lib/v20210820/models.rb', line 20993

def RemoteRegion
  @RemoteRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



21004
21005
21006
21007
21008
21009
21010
21011
# File 'lib/v20210820/models.rb', line 21004

def deserialize(params)
  @ProjectId = params['ProjectId']
  @OriginDomain = params['OriginDomain']
  @CrossFlag = params['CrossFlag']
  @BucketName = params['BucketName']
  @RemotePath = params['RemotePath']
  @RemoteRegion = params['RemoteRegion']
end