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.



20861
20862
20863
20864
20865
20866
20867
20868
# File 'lib/v20210820/models.rb', line 20861

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:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def BucketName
  @BucketName
end

#CrossFlagObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def CrossFlag
  @CrossFlag
end

#OriginDomainObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def OriginDomain
  @OriginDomain
end

#ProjectIdObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def ProjectId
  @ProjectId
end

#RemotePathObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def RemotePath
  @RemotePath
end

#RemoteRegionObject

Parameters:

  • ProjectId:

    项目id

  • OriginDomain:

    请求域名

  • CrossFlag:

    是否需要跨域

  • BucketName:

    桶名

  • RemotePath:

    远程地址

  • RemoteRegion:

    地域



20859
20860
20861
# File 'lib/v20210820/models.rb', line 20859

def RemoteRegion
  @RemoteRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



20870
20871
20872
20873
20874
20875
20876
20877
# File 'lib/v20210820/models.rb', line 20870

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