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.



21685
21686
21687
21688
21689
21690
21691
21692
# File 'lib/v20210820/models.rb', line 21685

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:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def BucketName
  @BucketName
end

#CrossFlagObject

Parameters:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def CrossFlag
  @CrossFlag
end

#OriginDomainObject

Parameters:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def OriginDomain
  @OriginDomain
end

#ProjectIdObject

Parameters:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def ProjectId
  @ProjectId
end

#RemotePathObject

Parameters:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def RemotePath
  @RemotePath
end

#RemoteRegionObject

Parameters:

  • 项目id

  • 请求域名

  • 是否需要跨域

  • 桶名

  • 远程地址

  • 地域



21683
21684
21685
# File 'lib/v20210820/models.rb', line 21683

def RemoteRegion
  @RemoteRegion
end

Instance Method Details

#deserialize(params) ⇒ Object



21694
21695
21696
21697
21698
21699
21700
21701
# File 'lib/v20210820/models.rb', line 21694

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