Documentation
¶
Index ¶
- type CreateBrowserToolRequest
- func NewCreateBrowserToolRequest(regionId string, name string, networkConfiguration string) *CreateBrowserToolRequest
- func NewCreateBrowserToolRequestWithAllParams(regionId string, name string, description *string, authenticationType *string, ...) *CreateBrowserToolRequest
- func NewCreateBrowserToolRequestWithoutParam() *CreateBrowserToolRequest
- func (r CreateBrowserToolRequest) GetRegionId() string
- func (r *CreateBrowserToolRequest) SetAuthenticationType(authenticationType string)
- func (r *CreateBrowserToolRequest) SetClientToken(clientToken string)
- func (r *CreateBrowserToolRequest) SetDescription(description string)
- func (r *CreateBrowserToolRequest) SetName(name string)
- func (r *CreateBrowserToolRequest) SetNetworkConfiguration(networkConfiguration string)
- func (r *CreateBrowserToolRequest) SetRegionId(regionId string)
- type CreateBrowserToolResponse
- type CreateBrowserToolResult
- type CreateBrowserToolSessionRequest
- func NewCreateBrowserToolSessionRequest(regionId string, browserToolId string) *CreateBrowserToolSessionRequest
- func NewCreateBrowserToolSessionRequestWithAllParams(regionId string, browserToolId string, name *string, maxLifeTime *int, ...) *CreateBrowserToolSessionRequest
- func NewCreateBrowserToolSessionRequestWithoutParam() *CreateBrowserToolSessionRequest
- func (r CreateBrowserToolSessionRequest) GetRegionId() string
- func (r *CreateBrowserToolSessionRequest) SetBrowserToolId(browserToolId string)
- func (r *CreateBrowserToolSessionRequest) SetClientToken(clientToken string)
- func (r *CreateBrowserToolSessionRequest) SetMaxLifeTime(maxLifeTime int)
- func (r *CreateBrowserToolSessionRequest) SetName(name string)
- func (r *CreateBrowserToolSessionRequest) SetRegionId(regionId string)
- type CreateBrowserToolSessionResponse
- type CreateBrowserToolSessionResult
- type CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequest(regionId string, name string, networkConfiguration string) *CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequestWithAllParams(regionId string, name string, description *string, authenticationType *string, ...) *CreateCodeInterpreterRequest
- func NewCreateCodeInterpreterRequestWithoutParam() *CreateCodeInterpreterRequest
- func (r CreateCodeInterpreterRequest) GetRegionId() string
- func (r *CreateCodeInterpreterRequest) SetAuthenticationType(authenticationType string)
- func (r *CreateCodeInterpreterRequest) SetClientToken(clientToken string)
- func (r *CreateCodeInterpreterRequest) SetDescription(description string)
- func (r *CreateCodeInterpreterRequest) SetName(name string)
- func (r *CreateCodeInterpreterRequest) SetNetworkConfiguration(networkConfiguration string)
- func (r *CreateCodeInterpreterRequest) SetRegionId(regionId string)
- type CreateCodeInterpreterResponse
- type CreateCodeInterpreterResult
- type CreateCodeInterpreterSessionRequest
- func NewCreateCodeInterpreterSessionRequest(regionId string, codeInterpreterId string) *CreateCodeInterpreterSessionRequest
- func NewCreateCodeInterpreterSessionRequestWithAllParams(regionId string, codeInterpreterId string, name *string, maxLifeTime *int, ...) *CreateCodeInterpreterSessionRequest
- func NewCreateCodeInterpreterSessionRequestWithoutParam() *CreateCodeInterpreterSessionRequest
- func (r CreateCodeInterpreterSessionRequest) GetRegionId() string
- func (r *CreateCodeInterpreterSessionRequest) SetClientToken(clientToken string)
- func (r *CreateCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *CreateCodeInterpreterSessionRequest) SetMaxLifeTime(maxLifeTime int)
- func (r *CreateCodeInterpreterSessionRequest) SetName(name string)
- func (r *CreateCodeInterpreterSessionRequest) SetRegionId(regionId string)
- type CreateCodeInterpreterSessionResponse
- type CreateCodeInterpreterSessionResult
- type CreateRuntimeEndpointRequest
- type CreateRuntimeEndpointResponse
- type CreateRuntimeEndpointResult
- type CreateRuntimeRequest
- func (r CreateRuntimeRequest) GetRegionId() string
- func (r *CreateRuntimeRequest) SetArtifactConfiguration(artifactConfiguration *agentgrid.ArtifactConfiguration)
- func (r *CreateRuntimeRequest) SetAuthorizerConfiguration(authorizerConfiguration *agentgrid.AuthorizerConfiguration)
- func (r *CreateRuntimeRequest) SetClientToken(clientToken string)
- func (r *CreateRuntimeRequest) SetDescription(description string)
- func (r *CreateRuntimeRequest) SetEnvs(envs []agentgrid.EnvConfiguration)
- func (r *CreateRuntimeRequest) SetLifecycleConfiguration(lifecycleConfiguration *agentgrid.LifecycleConfiguration)
- func (r *CreateRuntimeRequest) SetMaxSession(maxSession int)
- func (r *CreateRuntimeRequest) SetName(name string)
- func (r *CreateRuntimeRequest) SetNetworkConfiguration(networkConfiguration *agentgrid.NetworkConfiguration)
- func (r *CreateRuntimeRequest) SetProtocol(protocol string)
- func (r *CreateRuntimeRequest) SetRegionId(regionId string)
- func (r *CreateRuntimeRequest) SetWarmSession(warmSession int)
- type CreateRuntimeResponse
- type CreateRuntimeResult
- type DeleteBrowserToolRequest
- type DeleteBrowserToolResponse
- type DeleteBrowserToolResult
- type DeleteBrowserToolSessionRequest
- func NewDeleteBrowserToolSessionRequest(regionId string, browserToolId string, sessionId string) *DeleteBrowserToolSessionRequest
- func NewDeleteBrowserToolSessionRequestWithAllParams(regionId string, browserToolId string, sessionId string) *DeleteBrowserToolSessionRequest
- func NewDeleteBrowserToolSessionRequestWithoutParam() *DeleteBrowserToolSessionRequest
- type DeleteBrowserToolSessionResponse
- type DeleteBrowserToolSessionResult
- type DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequest(regionId string, codeInterpreterId string) *DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequestWithAllParams(regionId string, codeInterpreterId string) *DeleteCodeInterpreterRequest
- func NewDeleteCodeInterpreterRequestWithoutParam() *DeleteCodeInterpreterRequest
- type DeleteCodeInterpreterResponse
- type DeleteCodeInterpreterResult
- type DeleteCodeInterpreterSessionRequest
- func NewDeleteCodeInterpreterSessionRequest(regionId string, codeInterpreterId string, sessionId string) *DeleteCodeInterpreterSessionRequest
- func NewDeleteCodeInterpreterSessionRequestWithAllParams(regionId string, codeInterpreterId string, sessionId string) *DeleteCodeInterpreterSessionRequest
- func NewDeleteCodeInterpreterSessionRequestWithoutParam() *DeleteCodeInterpreterSessionRequest
- func (r DeleteCodeInterpreterSessionRequest) GetRegionId() string
- func (r *DeleteCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *DeleteCodeInterpreterSessionRequest) SetRegionId(regionId string)
- func (r *DeleteCodeInterpreterSessionRequest) SetSessionId(sessionId string)
- type DeleteCodeInterpreterSessionResponse
- type DeleteCodeInterpreterSessionResult
- type DeleteRuntimeEndpointRequest
- type DeleteRuntimeEndpointResponse
- type DeleteRuntimeEndpointResult
- type DeleteRuntimeRequest
- type DeleteRuntimeResponse
- type DeleteRuntimeResult
- type DeleteRuntimeVersionRequest
- func NewDeleteRuntimeVersionRequest(regionId string, runtimeId string, version string) *DeleteRuntimeVersionRequest
- func NewDeleteRuntimeVersionRequestWithAllParams(regionId string, runtimeId string, version string) *DeleteRuntimeVersionRequest
- func NewDeleteRuntimeVersionRequestWithoutParam() *DeleteRuntimeVersionRequest
- type DeleteRuntimeVersionResponse
- type DeleteRuntimeVersionResult
- type DescribeBrowserToolRequest
- type DescribeBrowserToolResponse
- type DescribeBrowserToolResult
- type DescribeBrowserToolSessionRequest
- func NewDescribeBrowserToolSessionRequest(regionId string, browserToolId string, sessionId string) *DescribeBrowserToolSessionRequest
- func NewDescribeBrowserToolSessionRequestWithAllParams(regionId string, browserToolId string, sessionId string) *DescribeBrowserToolSessionRequest
- func NewDescribeBrowserToolSessionRequestWithoutParam() *DescribeBrowserToolSessionRequest
- type DescribeBrowserToolSessionResponse
- type DescribeBrowserToolSessionResult
- type DescribeBrowserToolSessionsRequest
- func NewDescribeBrowserToolSessionsRequest(regionId string, browserToolId string) *DescribeBrowserToolSessionsRequest
- func NewDescribeBrowserToolSessionsRequestWithAllParams(regionId string, browserToolId string, pageSize *int, pageNumber *int, ...) *DescribeBrowserToolSessionsRequest
- func NewDescribeBrowserToolSessionsRequestWithoutParam() *DescribeBrowserToolSessionsRequest
- func (r DescribeBrowserToolSessionsRequest) GetRegionId() string
- func (r *DescribeBrowserToolSessionsRequest) SetBrowserToolId(browserToolId string)
- func (r *DescribeBrowserToolSessionsRequest) SetFilters(filters []agentgrid.Filter)
- func (r *DescribeBrowserToolSessionsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBrowserToolSessionsRequest) SetPageSize(pageSize int)
- func (r *DescribeBrowserToolSessionsRequest) SetRegionId(regionId string)
- type DescribeBrowserToolSessionsResponse
- type DescribeBrowserToolSessionsResult
- type DescribeBrowserToolsRequest
- func NewDescribeBrowserToolsRequest(regionId string) *DescribeBrowserToolsRequest
- func NewDescribeBrowserToolsRequestWithAllParams(regionId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter) *DescribeBrowserToolsRequest
- func NewDescribeBrowserToolsRequestWithoutParam() *DescribeBrowserToolsRequest
- func (r DescribeBrowserToolsRequest) GetRegionId() string
- func (r *DescribeBrowserToolsRequest) SetFilters(filters []agentgrid.Filter)
- func (r *DescribeBrowserToolsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeBrowserToolsRequest) SetPageSize(pageSize int)
- func (r *DescribeBrowserToolsRequest) SetRegionId(regionId string)
- type DescribeBrowserToolsResponse
- type DescribeBrowserToolsResult
- type DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequest(regionId string, codeInterpreterId string) *DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequestWithAllParams(regionId string, codeInterpreterId string) *DescribeCodeInterpreterRequest
- func NewDescribeCodeInterpreterRequestWithoutParam() *DescribeCodeInterpreterRequest
- type DescribeCodeInterpreterResponse
- type DescribeCodeInterpreterResult
- type DescribeCodeInterpreterSessionRequest
- func NewDescribeCodeInterpreterSessionRequest(regionId string, codeInterpreterId string, sessionId string) *DescribeCodeInterpreterSessionRequest
- func NewDescribeCodeInterpreterSessionRequestWithAllParams(regionId string, codeInterpreterId string, sessionId string) *DescribeCodeInterpreterSessionRequest
- func NewDescribeCodeInterpreterSessionRequestWithoutParam() *DescribeCodeInterpreterSessionRequest
- func (r DescribeCodeInterpreterSessionRequest) GetRegionId() string
- func (r *DescribeCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *DescribeCodeInterpreterSessionRequest) SetRegionId(regionId string)
- func (r *DescribeCodeInterpreterSessionRequest) SetSessionId(sessionId string)
- type DescribeCodeInterpreterSessionResponse
- type DescribeCodeInterpreterSessionResult
- type DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequest(regionId string, codeInterpreterId string) *DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequestWithAllParams(regionId string, codeInterpreterId string, pageSize *int, pageNumber *int, ...) *DescribeCodeInterpreterSessionsRequest
- func NewDescribeCodeInterpreterSessionsRequestWithoutParam() *DescribeCodeInterpreterSessionsRequest
- func (r DescribeCodeInterpreterSessionsRequest) GetRegionId() string
- func (r *DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId(codeInterpreterId string)
- func (r *DescribeCodeInterpreterSessionsRequest) SetFilters(filters []agentgrid.Filter)
- func (r *DescribeCodeInterpreterSessionsRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCodeInterpreterSessionsRequest) SetPageSize(pageSize int)
- func (r *DescribeCodeInterpreterSessionsRequest) SetRegionId(regionId string)
- type DescribeCodeInterpreterSessionsResponse
- type DescribeCodeInterpreterSessionsResult
- type DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequest(regionId string) *DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequestWithAllParams(regionId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter) *DescribeCodeInterpretersRequest
- func NewDescribeCodeInterpretersRequestWithoutParam() *DescribeCodeInterpretersRequest
- func (r DescribeCodeInterpretersRequest) GetRegionId() string
- func (r *DescribeCodeInterpretersRequest) SetFilters(filters []agentgrid.Filter)
- func (r *DescribeCodeInterpretersRequest) SetPageNumber(pageNumber int)
- func (r *DescribeCodeInterpretersRequest) SetPageSize(pageSize int)
- func (r *DescribeCodeInterpretersRequest) SetRegionId(regionId string)
- type DescribeCodeInterpretersResponse
- type DescribeCodeInterpretersResult
- type DescribeRuntimeEndpointRequest
- func NewDescribeRuntimeEndpointRequest(regionId string, runtimeId string) *DescribeRuntimeEndpointRequest
- func NewDescribeRuntimeEndpointRequestWithAllParams(regionId string, runtimeId string) *DescribeRuntimeEndpointRequest
- func NewDescribeRuntimeEndpointRequestWithoutParam() *DescribeRuntimeEndpointRequest
- type DescribeRuntimeEndpointResponse
- type DescribeRuntimeEndpointResult
- type DescribeRuntimeEndpointsRequest
- func NewDescribeRuntimeEndpointsRequest(regionId string, runtimeIds []string) *DescribeRuntimeEndpointsRequest
- func NewDescribeRuntimeEndpointsRequestWithAllParams(regionId string, runtimeIds []string) *DescribeRuntimeEndpointsRequest
- func NewDescribeRuntimeEndpointsRequestWithoutParam() *DescribeRuntimeEndpointsRequest
- type DescribeRuntimeEndpointsResponse
- type DescribeRuntimeEndpointsResult
- type DescribeRuntimeRequest
- type DescribeRuntimeResponse
- type DescribeRuntimeResult
- type DescribeRuntimeVersionsRequest
- func NewDescribeRuntimeVersionsRequest(regionId string, runtimeId string) *DescribeRuntimeVersionsRequest
- func NewDescribeRuntimeVersionsRequestWithAllParams(regionId string, runtimeId string) *DescribeRuntimeVersionsRequest
- func NewDescribeRuntimeVersionsRequestWithoutParam() *DescribeRuntimeVersionsRequest
- type DescribeRuntimeVersionsResponse
- type DescribeRuntimeVersionsResult
- type DescribeRuntimesRequest
- func (r DescribeRuntimesRequest) GetRegionId() string
- func (r *DescribeRuntimesRequest) SetFilters(filters []agentgrid.Filter)
- func (r *DescribeRuntimesRequest) SetPageNumber(pageNumber int)
- func (r *DescribeRuntimesRequest) SetPageSize(pageSize int)
- func (r *DescribeRuntimesRequest) SetRegionId(regionId string)
- type DescribeRuntimesResponse
- type DescribeRuntimesResult
- type GetRuntimeSessionsRequest
- type GetRuntimeSessionsResponse
- type GetRuntimeSessionsResult
- type ModifyRuntimeVersionRequest
- func NewModifyRuntimeVersionRequest(regionId string, runtimeId string, version string) *ModifyRuntimeVersionRequest
- func NewModifyRuntimeVersionRequestWithAllParams(regionId string, runtimeId string, version string) *ModifyRuntimeVersionRequest
- func NewModifyRuntimeVersionRequestWithoutParam() *ModifyRuntimeVersionRequest
- type ModifyRuntimeVersionResponse
- type ModifyRuntimeVersionResult
- type UpdateRuntimeAttributesRequest
- func NewUpdateRuntimeAttributesRequest(regionId string, runtimeId string) *UpdateRuntimeAttributesRequest
- func NewUpdateRuntimeAttributesRequestWithAllParams(regionId string, runtimeId string, description *string) *UpdateRuntimeAttributesRequest
- func NewUpdateRuntimeAttributesRequestWithoutParam() *UpdateRuntimeAttributesRequest
- type UpdateRuntimeAttributesResponse
- type UpdateRuntimeAttributesResult
- type UpdateRuntimeRequest
- func (r UpdateRuntimeRequest) GetRegionId() string
- func (r *UpdateRuntimeRequest) SetArtifactConfiguration(artifactConfiguration *agentgrid.ArtifactConfiguration)
- func (r *UpdateRuntimeRequest) SetAuthorizerConfiguration(authorizerConfiguration *agentgrid.AuthorizerConfiguration)
- func (r *UpdateRuntimeRequest) SetDescription(description string)
- func (r *UpdateRuntimeRequest) SetEnvs(envs []agentgrid.EnvConfiguration)
- func (r *UpdateRuntimeRequest) SetLifecycleConfiguration(lifecycleConfiguration *agentgrid.LifecycleConfiguration)
- func (r *UpdateRuntimeRequest) SetMaxSession(maxSession int)
- func (r *UpdateRuntimeRequest) SetNetworkConfiguration(networkConfiguration *agentgrid.NetworkConfiguration)
- func (r *UpdateRuntimeRequest) SetProtocol(protocol string)
- func (r *UpdateRuntimeRequest) SetRegionId(regionId string)
- func (r *UpdateRuntimeRequest) SetRuntimeId(runtimeId string)
- func (r *UpdateRuntimeRequest) SetWarmSession(warmSession int)
- type UpdateRuntimeResponse
- type UpdateRuntimeResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBrowserToolRequest ¶
type CreateBrowserToolRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。 */
Name string `json:"name"`
/* Browser Tool 描述信息,长度不超过 256 个字符。 (Optional) */
Description *string `json:"description"`
/* Browser Tool 鉴权方式,当前仅支持 `APIKey` (Optional) */
AuthenticationType *string `json:"authenticationType"`
/* Code Interpreter 网络配置。支持 public|sandbox 两种。默认为sandbox。 */
NetworkConfiguration string `json:"networkConfiguration"`
/* 用于保证请求幂等性。 (Optional) */
ClientToken *string `json:"clientToken"`
}
func NewCreateBrowserToolRequest ¶
func NewCreateBrowserToolRequest( regionId string, name string, networkConfiguration string, ) *CreateBrowserToolRequest
* param regionId: Region ID (Required) * param name: Browser Tool 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。 (Required) * param networkConfiguration: Code Interpreter 网络配置。支持 public|sandbox 两种。默认为sandbox。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBrowserToolRequestWithAllParams ¶
func NewCreateBrowserToolRequestWithAllParams( regionId string, name string, description *string, authenticationType *string, networkConfiguration string, clientToken *string, ) *CreateBrowserToolRequest
* param regionId: Region ID (Required) * param name: Browser Tool 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。 (Required) * param description: Browser Tool 描述信息,长度不超过 256 个字符。 (Optional) * param authenticationType: Browser Tool 鉴权方式,当前仅支持 `APIKey` (Optional) * param networkConfiguration: Code Interpreter 网络配置。支持 public|sandbox 两种。默认为sandbox。 (Required) * param clientToken: 用于保证请求幂等性。 (Optional)
func NewCreateBrowserToolRequestWithoutParam ¶
func NewCreateBrowserToolRequestWithoutParam() *CreateBrowserToolRequest
This constructor has better compatible ability when API parameters changed
func (CreateBrowserToolRequest) GetRegionId ¶
func (r CreateBrowserToolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBrowserToolRequest) SetAuthenticationType ¶
func (r *CreateBrowserToolRequest) SetAuthenticationType(authenticationType string)
param authenticationType: Browser Tool 鉴权方式,当前仅支持 `APIKey`(Optional)
func (*CreateBrowserToolRequest) SetClientToken ¶
func (r *CreateBrowserToolRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求幂等性。(Optional)
func (*CreateBrowserToolRequest) SetDescription ¶
func (r *CreateBrowserToolRequest) SetDescription(description string)
param description: Browser Tool 描述信息,长度不超过 256 个字符。(Optional)
func (*CreateBrowserToolRequest) SetName ¶
func (r *CreateBrowserToolRequest) SetName(name string)
param name: Browser Tool 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。(Required)
func (*CreateBrowserToolRequest) SetNetworkConfiguration ¶
func (r *CreateBrowserToolRequest) SetNetworkConfiguration(networkConfiguration string)
param networkConfiguration: Code Interpreter 网络配置。支持 public|sandbox 两种。默认为sandbox。(Required)
func (*CreateBrowserToolRequest) SetRegionId ¶
func (r *CreateBrowserToolRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateBrowserToolResponse ¶
type CreateBrowserToolResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateBrowserToolResult `json:"result"`
}
type CreateBrowserToolResult ¶
type CreateBrowserToolResult struct {
BrowserToolId string `json:"browserToolId"`
}
type CreateBrowserToolSessionRequest ¶
type CreateBrowserToolSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
/* Session 名称。 (Optional) */
Name *string `json:"name"`
/* Session 最大存活时长(秒)。取值范围 60~28800,默认值为 28800。 (Optional) */
MaxLifeTime *int `json:"maxLifeTime"`
/* 用于保证请求幂等性。 (Optional) */
ClientToken *string `json:"clientToken"`
}
func NewCreateBrowserToolSessionRequest ¶
func NewCreateBrowserToolSessionRequest( regionId string, browserToolId string, ) *CreateBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateBrowserToolSessionRequestWithAllParams ¶
func NewCreateBrowserToolSessionRequestWithAllParams( regionId string, browserToolId string, name *string, maxLifeTime *int, clientToken *string, ) *CreateBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * param name: Session 名称。 (Optional) * param maxLifeTime: Session 最大存活时长(秒)。取值范围 60~28800,默认值为 28800。 (Optional) * param clientToken: 用于保证请求幂等性。 (Optional)
func NewCreateBrowserToolSessionRequestWithoutParam ¶
func NewCreateBrowserToolSessionRequestWithoutParam() *CreateBrowserToolSessionRequest
This constructor has better compatible ability when API parameters changed
func (CreateBrowserToolSessionRequest) GetRegionId ¶
func (r CreateBrowserToolSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateBrowserToolSessionRequest) SetBrowserToolId ¶
func (r *CreateBrowserToolSessionRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*CreateBrowserToolSessionRequest) SetClientToken ¶
func (r *CreateBrowserToolSessionRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求幂等性。(Optional)
func (*CreateBrowserToolSessionRequest) SetMaxLifeTime ¶
func (r *CreateBrowserToolSessionRequest) SetMaxLifeTime(maxLifeTime int)
param maxLifeTime: Session 最大存活时长(秒)。取值范围 60~28800,默认值为 28800。(Optional)
func (*CreateBrowserToolSessionRequest) SetName ¶
func (r *CreateBrowserToolSessionRequest) SetName(name string)
param name: Session 名称。(Optional)
func (*CreateBrowserToolSessionRequest) SetRegionId ¶
func (r *CreateBrowserToolSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateBrowserToolSessionResponse ¶
type CreateBrowserToolSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateBrowserToolSessionResult `json:"result"`
}
type CreateBrowserToolSessionResult ¶
type CreateBrowserToolSessionResult struct {
SessionId string `json:"sessionId"`
}
type CreateCodeInterpreterRequest ¶
type CreateCodeInterpreterRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter 名称,全局唯一。 */
Name string `json:"name"`
/* Code Interpreter 描述信息。 (Optional) */
Description *string `json:"description"`
/* Code Interpreter 鉴权方式,当前仅支持 `APIKey` (Optional) */
AuthenticationType *string `json:"authenticationType"`
/* 用于保证请求幂等性。 (Optional) */
ClientToken *string `json:"clientToken"`
/* Code Interpreter 网络配置类型。当前支持 `Public` 和 `SandBox`,建议显式传值。 */
NetworkConfiguration string `json:"networkConfiguration"`
}
func NewCreateCodeInterpreterRequest ¶
func NewCreateCodeInterpreterRequest( regionId string, name string, networkConfiguration string, ) *CreateCodeInterpreterRequest
* param regionId: Region ID (Required) * param name: Code Interpreter 名称,全局唯一。 (Required) * param networkConfiguration: Code Interpreter 网络配置类型。当前支持 `Public` 和 `SandBox`,建议显式传值。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCodeInterpreterRequestWithAllParams ¶
func NewCreateCodeInterpreterRequestWithAllParams( regionId string, name string, description *string, authenticationType *string, clientToken *string, networkConfiguration string, ) *CreateCodeInterpreterRequest
* param regionId: Region ID (Required) * param name: Code Interpreter 名称,全局唯一。 (Required) * param description: Code Interpreter 描述信息。 (Optional) * param authenticationType: Code Interpreter 鉴权方式,当前仅支持 `APIKey` (Optional) * param clientToken: 用于保证请求幂等性。 (Optional) * param networkConfiguration: Code Interpreter 网络配置类型。当前支持 `Public` 和 `SandBox`,建议显式传值。 (Required)
func NewCreateCodeInterpreterRequestWithoutParam ¶
func NewCreateCodeInterpreterRequestWithoutParam() *CreateCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (CreateCodeInterpreterRequest) GetRegionId ¶
func (r CreateCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCodeInterpreterRequest) SetAuthenticationType ¶
func (r *CreateCodeInterpreterRequest) SetAuthenticationType(authenticationType string)
param authenticationType: Code Interpreter 鉴权方式,当前仅支持 `APIKey`(Optional)
func (*CreateCodeInterpreterRequest) SetClientToken ¶
func (r *CreateCodeInterpreterRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求幂等性。(Optional)
func (*CreateCodeInterpreterRequest) SetDescription ¶
func (r *CreateCodeInterpreterRequest) SetDescription(description string)
param description: Code Interpreter 描述信息。(Optional)
func (*CreateCodeInterpreterRequest) SetName ¶
func (r *CreateCodeInterpreterRequest) SetName(name string)
param name: Code Interpreter 名称,全局唯一。(Required)
func (*CreateCodeInterpreterRequest) SetNetworkConfiguration ¶
func (r *CreateCodeInterpreterRequest) SetNetworkConfiguration(networkConfiguration string)
param networkConfiguration: Code Interpreter 网络配置类型。当前支持 `Public` 和 `SandBox`,建议显式传值。(Required)
func (*CreateCodeInterpreterRequest) SetRegionId ¶
func (r *CreateCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateCodeInterpreterResponse ¶
type CreateCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCodeInterpreterResult `json:"result"`
}
type CreateCodeInterpreterResult ¶
type CreateCodeInterpreterResult struct {
CodeInterpreterId string `json:"codeInterpreterId"`
}
type CreateCodeInterpreterSessionRequest ¶
type CreateCodeInterpreterSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
/* Session 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。 (Optional) */
Name *string `json:"name"`
/* Session 存活时间(秒)。取值范围为60~28800,默认为900秒(15分钟)。 (Optional) */
MaxLifeTime *int `json:"maxLifeTime"`
/* 用于保证请求幂等性。 (Optional) */
ClientToken *string `json:"clientToken"`
}
func NewCreateCodeInterpreterSessionRequest ¶
func NewCreateCodeInterpreterSessionRequest( regionId string, codeInterpreterId string, ) *CreateCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCodeInterpreterSessionRequestWithAllParams ¶
func NewCreateCodeInterpreterSessionRequestWithAllParams( regionId string, codeInterpreterId string, name *string, maxLifeTime *int, clientToken *string, ) *CreateCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * param name: Session 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。 (Optional) * param maxLifeTime: Session 存活时间(秒)。取值范围为60~28800,默认为900秒(15分钟)。 (Optional) * param clientToken: 用于保证请求幂等性。 (Optional)
func NewCreateCodeInterpreterSessionRequestWithoutParam ¶
func NewCreateCodeInterpreterSessionRequestWithoutParam() *CreateCodeInterpreterSessionRequest
This constructor has better compatible ability when API parameters changed
func (CreateCodeInterpreterSessionRequest) GetRegionId ¶
func (r CreateCodeInterpreterSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCodeInterpreterSessionRequest) SetClientToken ¶
func (r *CreateCodeInterpreterSessionRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求幂等性。(Optional)
func (*CreateCodeInterpreterSessionRequest) SetCodeInterpreterId ¶
func (r *CreateCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*CreateCodeInterpreterSessionRequest) SetMaxLifeTime ¶
func (r *CreateCodeInterpreterSessionRequest) SetMaxLifeTime(maxLifeTime int)
param maxLifeTime: Session 存活时间(秒)。取值范围为60~28800,默认为900秒(15分钟)。(Optional)
func (*CreateCodeInterpreterSessionRequest) SetName ¶
func (r *CreateCodeInterpreterSessionRequest) SetName(name string)
param name: Session 名称。长度为 1~32 个字符,可包含中文、数字、大小写字母、下划线、中划线或点。(Optional)
func (*CreateCodeInterpreterSessionRequest) SetRegionId ¶
func (r *CreateCodeInterpreterSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type CreateCodeInterpreterSessionResponse ¶
type CreateCodeInterpreterSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCodeInterpreterSessionResult `json:"result"`
}
type CreateCodeInterpreterSessionResult ¶
type CreateCodeInterpreterSessionResult struct {
SessionId string `json:"sessionId"`
}
type CreateRuntimeEndpointRequest ¶
type CreateRuntimeEndpointRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewCreateRuntimeEndpointRequest ¶
func NewCreateRuntimeEndpointRequest( regionId string, runtimeId string, ) *CreateRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRuntimeEndpointRequestWithAllParams ¶
func NewCreateRuntimeEndpointRequestWithAllParams( regionId string, runtimeId string, ) *CreateRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewCreateRuntimeEndpointRequestWithoutParam ¶
func NewCreateRuntimeEndpointRequestWithoutParam() *CreateRuntimeEndpointRequest
This constructor has better compatible ability when API parameters changed
func (CreateRuntimeEndpointRequest) GetRegionId ¶
func (r CreateRuntimeEndpointRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRuntimeEndpointRequest) SetRegionId ¶
func (r *CreateRuntimeEndpointRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateRuntimeEndpointRequest) SetRuntimeId ¶
func (r *CreateRuntimeEndpointRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type CreateRuntimeEndpointResponse ¶
type CreateRuntimeEndpointResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRuntimeEndpointResult `json:"result"`
}
type CreateRuntimeRequest ¶
type CreateRuntimeRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime 名称。长度为 1~32 个字符,只允许中文、数字、大小写字母、英文下划线(\_)、连字符(-)及点(.)。 */
Name string `json:"name"`
/* Runtime 制品配置,当前支持通过镜像导入 */
ArtifactConfiguration *agentgrid.ArtifactConfiguration `json:"artifactConfiguration"`
/* Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。 (Optional) */
WarmSession *int `json:"warmSession"`
/* Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。 (Optional) */
MaxSession *int `json:"maxSession"`
/* Runtime 描述信息。 (Optional) */
Description *string `json:"description"`
/* Runtime 鉴权配置。 */
AuthorizerConfiguration *agentgrid.AuthorizerConfiguration `json:"authorizerConfiguration"`
/* Runtime 生命周期配置。 (Optional) */
LifecycleConfiguration *agentgrid.LifecycleConfiguration `json:"lifecycleConfiguration"`
/* Runtime 网络配置。 */
NetworkConfiguration *agentgrid.NetworkConfiguration `json:"networkConfiguration"`
/* Runtime 环境变量配置,最多 50 组。 (Optional) */
Envs []agentgrid.EnvConfiguration `json:"envs"`
/* Runtime 支持的协议类型。当前支持 HTTP 。 (Optional) */
Protocol *string `json:"protocol"`
/* 用于保证请求幂等性。 (Optional) */
ClientToken *string `json:"clientToken"`
}
func NewCreateRuntimeRequest ¶
func NewCreateRuntimeRequest( regionId string, name string, artifactConfiguration *agentgrid.ArtifactConfiguration, authorizerConfiguration *agentgrid.AuthorizerConfiguration, networkConfiguration *agentgrid.NetworkConfiguration, ) *CreateRuntimeRequest
* param regionId: Region ID (Required) * param name: Runtime 名称。长度为 1~32 个字符,只允许中文、数字、大小写字母、英文下划线(\_)、连字符(-)及点(.)。 (Required) * param artifactConfiguration: Runtime 制品配置,当前支持通过镜像导入 (Required) * param authorizerConfiguration: Runtime 鉴权配置。 (Required) * param networkConfiguration: Runtime 网络配置。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRuntimeRequestWithAllParams ¶
func NewCreateRuntimeRequestWithAllParams( regionId string, name string, artifactConfiguration *agentgrid.ArtifactConfiguration, warmSession *int, maxSession *int, description *string, authorizerConfiguration *agentgrid.AuthorizerConfiguration, lifecycleConfiguration *agentgrid.LifecycleConfiguration, networkConfiguration *agentgrid.NetworkConfiguration, envs []agentgrid.EnvConfiguration, protocol *string, clientToken *string, ) *CreateRuntimeRequest
* param regionId: Region ID (Required) * param name: Runtime 名称。长度为 1~32 个字符,只允许中文、数字、大小写字母、英文下划线(\_)、连字符(-)及点(.)。 (Required) * param artifactConfiguration: Runtime 制品配置,当前支持通过镜像导入 (Required) * param warmSession: Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。 (Optional) * param maxSession: Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。 (Optional) * param description: Runtime 描述信息。 (Optional) * param authorizerConfiguration: Runtime 鉴权配置。 (Required) * param lifecycleConfiguration: Runtime 生命周期配置。 (Optional) * param networkConfiguration: Runtime 网络配置。 (Required) * param envs: Runtime 环境变量配置,最多 50 组。 (Optional) * param protocol: Runtime 支持的协议类型。当前支持 HTTP 。 (Optional) * param clientToken: 用于保证请求幂等性。 (Optional)
func NewCreateRuntimeRequestWithoutParam ¶
func NewCreateRuntimeRequestWithoutParam() *CreateRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (CreateRuntimeRequest) GetRegionId ¶
func (r CreateRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRuntimeRequest) SetArtifactConfiguration ¶
func (r *CreateRuntimeRequest) SetArtifactConfiguration(artifactConfiguration *agentgrid.ArtifactConfiguration)
param artifactConfiguration: Runtime 制品配置,当前支持通过镜像导入(Required)
func (*CreateRuntimeRequest) SetAuthorizerConfiguration ¶
func (r *CreateRuntimeRequest) SetAuthorizerConfiguration(authorizerConfiguration *agentgrid.AuthorizerConfiguration)
param authorizerConfiguration: Runtime 鉴权配置。(Required)
func (*CreateRuntimeRequest) SetClientToken ¶
func (r *CreateRuntimeRequest) SetClientToken(clientToken string)
param clientToken: 用于保证请求幂等性。(Optional)
func (*CreateRuntimeRequest) SetDescription ¶
func (r *CreateRuntimeRequest) SetDescription(description string)
param description: Runtime 描述信息。(Optional)
func (*CreateRuntimeRequest) SetEnvs ¶
func (r *CreateRuntimeRequest) SetEnvs(envs []agentgrid.EnvConfiguration)
param envs: Runtime 环境变量配置,最多 50 组。(Optional)
func (*CreateRuntimeRequest) SetLifecycleConfiguration ¶
func (r *CreateRuntimeRequest) SetLifecycleConfiguration(lifecycleConfiguration *agentgrid.LifecycleConfiguration)
param lifecycleConfiguration: Runtime 生命周期配置。(Optional)
func (*CreateRuntimeRequest) SetMaxSession ¶
func (r *CreateRuntimeRequest) SetMaxSession(maxSession int)
param maxSession: Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。(Optional)
func (*CreateRuntimeRequest) SetName ¶
func (r *CreateRuntimeRequest) SetName(name string)
param name: Runtime 名称。长度为 1~32 个字符,只允许中文、数字、大小写字母、英文下划线(\_)、连字符(-)及点(.)。(Required)
func (*CreateRuntimeRequest) SetNetworkConfiguration ¶
func (r *CreateRuntimeRequest) SetNetworkConfiguration(networkConfiguration *agentgrid.NetworkConfiguration)
param networkConfiguration: Runtime 网络配置。(Required)
func (*CreateRuntimeRequest) SetProtocol ¶
func (r *CreateRuntimeRequest) SetProtocol(protocol string)
param protocol: Runtime 支持的协议类型。当前支持 HTTP 。(Optional)
func (*CreateRuntimeRequest) SetRegionId ¶
func (r *CreateRuntimeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*CreateRuntimeRequest) SetWarmSession ¶
func (r *CreateRuntimeRequest) SetWarmSession(warmSession int)
param warmSession: Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。(Optional)
type CreateRuntimeResponse ¶
type CreateRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRuntimeResult `json:"result"`
}
type CreateRuntimeResult ¶
type DeleteBrowserToolRequest ¶
type DeleteBrowserToolRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
}
func NewDeleteBrowserToolRequest ¶
func NewDeleteBrowserToolRequest( regionId string, browserToolId string, ) *DeleteBrowserToolRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBrowserToolRequestWithAllParams ¶
func NewDeleteBrowserToolRequestWithAllParams( regionId string, browserToolId string, ) *DeleteBrowserToolRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required)
func NewDeleteBrowserToolRequestWithoutParam ¶
func NewDeleteBrowserToolRequestWithoutParam() *DeleteBrowserToolRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBrowserToolRequest) GetRegionId ¶
func (r DeleteBrowserToolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBrowserToolRequest) SetBrowserToolId ¶
func (r *DeleteBrowserToolRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*DeleteBrowserToolRequest) SetRegionId ¶
func (r *DeleteBrowserToolRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteBrowserToolResponse ¶
type DeleteBrowserToolResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteBrowserToolResult `json:"result"`
}
type DeleteBrowserToolResult ¶
type DeleteBrowserToolResult struct {
}
type DeleteBrowserToolSessionRequest ¶
type DeleteBrowserToolSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
/* Session ID */
SessionId string `json:"sessionId"`
}
func NewDeleteBrowserToolSessionRequest ¶
func NewDeleteBrowserToolSessionRequest( regionId string, browserToolId string, sessionId string, ) *DeleteBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * param sessionId: Session ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteBrowserToolSessionRequestWithAllParams ¶
func NewDeleteBrowserToolSessionRequestWithAllParams( regionId string, browserToolId string, sessionId string, ) *DeleteBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * param sessionId: Session ID (Required)
func NewDeleteBrowserToolSessionRequestWithoutParam ¶
func NewDeleteBrowserToolSessionRequestWithoutParam() *DeleteBrowserToolSessionRequest
This constructor has better compatible ability when API parameters changed
func (DeleteBrowserToolSessionRequest) GetRegionId ¶
func (r DeleteBrowserToolSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteBrowserToolSessionRequest) SetBrowserToolId ¶
func (r *DeleteBrowserToolSessionRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*DeleteBrowserToolSessionRequest) SetRegionId ¶
func (r *DeleteBrowserToolSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteBrowserToolSessionRequest) SetSessionId ¶
func (r *DeleteBrowserToolSessionRequest) SetSessionId(sessionId string)
param sessionId: Session ID(Required)
type DeleteBrowserToolSessionResponse ¶
type DeleteBrowserToolSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteBrowserToolSessionResult `json:"result"`
}
type DeleteBrowserToolSessionResult ¶
type DeleteBrowserToolSessionResult struct {
}
type DeleteCodeInterpreterRequest ¶
type DeleteCodeInterpreterRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewDeleteCodeInterpreterRequest ¶
func NewDeleteCodeInterpreterRequest( regionId string, codeInterpreterId string, ) *DeleteCodeInterpreterRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCodeInterpreterRequestWithAllParams ¶
func NewDeleteCodeInterpreterRequestWithAllParams( regionId string, codeInterpreterId string, ) *DeleteCodeInterpreterRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required)
func NewDeleteCodeInterpreterRequestWithoutParam ¶
func NewDeleteCodeInterpreterRequestWithoutParam() *DeleteCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCodeInterpreterRequest) GetRegionId ¶
func (r DeleteCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *DeleteCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*DeleteCodeInterpreterRequest) SetRegionId ¶
func (r *DeleteCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DeleteCodeInterpreterResponse ¶
type DeleteCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCodeInterpreterResult `json:"result"`
}
type DeleteCodeInterpreterResult ¶
type DeleteCodeInterpreterResult struct {
}
type DeleteCodeInterpreterSessionRequest ¶
type DeleteCodeInterpreterSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
/* Session ID */
SessionId string `json:"sessionId"`
}
func NewDeleteCodeInterpreterSessionRequest ¶
func NewDeleteCodeInterpreterSessionRequest( regionId string, codeInterpreterId string, sessionId string, ) *DeleteCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * param sessionId: Session ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCodeInterpreterSessionRequestWithAllParams ¶
func NewDeleteCodeInterpreterSessionRequestWithAllParams( regionId string, codeInterpreterId string, sessionId string, ) *DeleteCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * param sessionId: Session ID (Required)
func NewDeleteCodeInterpreterSessionRequestWithoutParam ¶
func NewDeleteCodeInterpreterSessionRequestWithoutParam() *DeleteCodeInterpreterSessionRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCodeInterpreterSessionRequest) GetRegionId ¶
func (r DeleteCodeInterpreterSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCodeInterpreterSessionRequest) SetCodeInterpreterId ¶
func (r *DeleteCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*DeleteCodeInterpreterSessionRequest) SetRegionId ¶
func (r *DeleteCodeInterpreterSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteCodeInterpreterSessionRequest) SetSessionId ¶
func (r *DeleteCodeInterpreterSessionRequest) SetSessionId(sessionId string)
param sessionId: Session ID(Required)
type DeleteCodeInterpreterSessionResponse ¶
type DeleteCodeInterpreterSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCodeInterpreterSessionResult `json:"result"`
}
type DeleteCodeInterpreterSessionResult ¶
type DeleteCodeInterpreterSessionResult struct {
}
type DeleteRuntimeEndpointRequest ¶
type DeleteRuntimeEndpointRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewDeleteRuntimeEndpointRequest ¶
func NewDeleteRuntimeEndpointRequest( regionId string, runtimeId string, ) *DeleteRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRuntimeEndpointRequestWithAllParams ¶
func NewDeleteRuntimeEndpointRequestWithAllParams( regionId string, runtimeId string, ) *DeleteRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewDeleteRuntimeEndpointRequestWithoutParam ¶
func NewDeleteRuntimeEndpointRequestWithoutParam() *DeleteRuntimeEndpointRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRuntimeEndpointRequest) GetRegionId ¶
func (r DeleteRuntimeEndpointRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRuntimeEndpointRequest) SetRegionId ¶
func (r *DeleteRuntimeEndpointRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRuntimeEndpointRequest) SetRuntimeId ¶
func (r *DeleteRuntimeEndpointRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type DeleteRuntimeEndpointResponse ¶
type DeleteRuntimeEndpointResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteRuntimeEndpointResult `json:"result"`
}
type DeleteRuntimeEndpointResult ¶
type DeleteRuntimeEndpointResult struct {
}
type DeleteRuntimeRequest ¶
type DeleteRuntimeRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewDeleteRuntimeRequest ¶
func NewDeleteRuntimeRequest( regionId string, runtimeId string, ) *DeleteRuntimeRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRuntimeRequestWithAllParams ¶
func NewDeleteRuntimeRequestWithAllParams( regionId string, runtimeId string, ) *DeleteRuntimeRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewDeleteRuntimeRequestWithoutParam ¶
func NewDeleteRuntimeRequestWithoutParam() *DeleteRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRuntimeRequest) GetRegionId ¶
func (r DeleteRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRuntimeRequest) SetRegionId ¶
func (r *DeleteRuntimeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRuntimeRequest) SetRuntimeId ¶
func (r *DeleteRuntimeRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type DeleteRuntimeResponse ¶
type DeleteRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteRuntimeResult `json:"result"`
}
type DeleteRuntimeResult ¶
type DeleteRuntimeResult struct {
}
type DeleteRuntimeVersionRequest ¶
type DeleteRuntimeVersionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
/* Runtime 版本号 */
Version string `json:"version"`
}
func NewDeleteRuntimeVersionRequest ¶
func NewDeleteRuntimeVersionRequest( regionId string, runtimeId string, version string, ) *DeleteRuntimeVersionRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param version: Runtime 版本号 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteRuntimeVersionRequestWithAllParams ¶
func NewDeleteRuntimeVersionRequestWithAllParams( regionId string, runtimeId string, version string, ) *DeleteRuntimeVersionRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param version: Runtime 版本号 (Required)
func NewDeleteRuntimeVersionRequestWithoutParam ¶
func NewDeleteRuntimeVersionRequestWithoutParam() *DeleteRuntimeVersionRequest
This constructor has better compatible ability when API parameters changed
func (DeleteRuntimeVersionRequest) GetRegionId ¶
func (r DeleteRuntimeVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteRuntimeVersionRequest) SetRegionId ¶
func (r *DeleteRuntimeVersionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DeleteRuntimeVersionRequest) SetRuntimeId ¶
func (r *DeleteRuntimeVersionRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
func (*DeleteRuntimeVersionRequest) SetVersion ¶
func (r *DeleteRuntimeVersionRequest) SetVersion(version string)
param version: Runtime 版本号(Required)
type DeleteRuntimeVersionResponse ¶
type DeleteRuntimeVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteRuntimeVersionResult `json:"result"`
}
type DeleteRuntimeVersionResult ¶
type DeleteRuntimeVersionResult struct {
}
type DescribeBrowserToolRequest ¶
type DescribeBrowserToolRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
}
func NewDescribeBrowserToolRequest ¶
func NewDescribeBrowserToolRequest( regionId string, browserToolId string, ) *DescribeBrowserToolRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBrowserToolRequestWithAllParams ¶
func NewDescribeBrowserToolRequestWithAllParams( regionId string, browserToolId string, ) *DescribeBrowserToolRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required)
func NewDescribeBrowserToolRequestWithoutParam ¶
func NewDescribeBrowserToolRequestWithoutParam() *DescribeBrowserToolRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBrowserToolRequest) GetRegionId ¶
func (r DescribeBrowserToolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBrowserToolRequest) SetBrowserToolId ¶
func (r *DescribeBrowserToolRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*DescribeBrowserToolRequest) SetRegionId ¶
func (r *DescribeBrowserToolRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBrowserToolResponse ¶
type DescribeBrowserToolResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeBrowserToolResult `json:"result"`
}
type DescribeBrowserToolResult ¶
type DescribeBrowserToolResult struct {
BrowserTool agentgrid.BrowserTool `json:"browserTool"`
}
type DescribeBrowserToolSessionRequest ¶
type DescribeBrowserToolSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
/* Session ID */
SessionId string `json:"sessionId"`
}
func NewDescribeBrowserToolSessionRequest ¶
func NewDescribeBrowserToolSessionRequest( regionId string, browserToolId string, sessionId string, ) *DescribeBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * param sessionId: Session ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBrowserToolSessionRequestWithAllParams ¶
func NewDescribeBrowserToolSessionRequestWithAllParams( regionId string, browserToolId string, sessionId string, ) *DescribeBrowserToolSessionRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * param sessionId: Session ID (Required)
func NewDescribeBrowserToolSessionRequestWithoutParam ¶
func NewDescribeBrowserToolSessionRequestWithoutParam() *DescribeBrowserToolSessionRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBrowserToolSessionRequest) GetRegionId ¶
func (r DescribeBrowserToolSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBrowserToolSessionRequest) SetBrowserToolId ¶
func (r *DescribeBrowserToolSessionRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*DescribeBrowserToolSessionRequest) SetRegionId ¶
func (r *DescribeBrowserToolSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeBrowserToolSessionRequest) SetSessionId ¶
func (r *DescribeBrowserToolSessionRequest) SetSessionId(sessionId string)
param sessionId: Session ID(Required)
type DescribeBrowserToolSessionResponse ¶
type DescribeBrowserToolSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeBrowserToolSessionResult `json:"result"`
}
type DescribeBrowserToolSessionResult ¶
type DescribeBrowserToolSessionResult struct {
BrowserToolSession agentgrid.BrowserToolSession `json:"browserToolSession"`
}
type DescribeBrowserToolSessionsRequest ¶
type DescribeBrowserToolSessionsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Browser Tool ID */
BrowserToolId string `json:"browserToolId"`
/* 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional) */
PageSize *int `json:"pageSize"`
/* 页码。默认值为 1。 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 过滤条件。支持的键如下:
- sessionId:按 session ID 精确匹配,支持多个值。
- state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed`
(Optional) */
Filters []agentgrid.Filter `json:"filters"`
}
func NewDescribeBrowserToolSessionsRequest ¶
func NewDescribeBrowserToolSessionsRequest( regionId string, browserToolId string, ) *DescribeBrowserToolSessionsRequest
* param regionId: Region ID (Required) * param browserToolId: Browser Tool ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBrowserToolSessionsRequestWithAllParams ¶
func NewDescribeBrowserToolSessionsRequestWithAllParams( regionId string, browserToolId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter, ) *DescribeBrowserToolSessionsRequest
- param regionId: Region ID (Required)
- param browserToolId: Browser Tool ID (Required)
- param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional)
- param pageNumber: 页码。默认值为 1。 (Optional)
- param filters: 过滤条件。支持的键如下:
- sessionId:按 session ID 精确匹配,支持多个值。
- state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed` (Optional)
func NewDescribeBrowserToolSessionsRequestWithoutParam ¶
func NewDescribeBrowserToolSessionsRequestWithoutParam() *DescribeBrowserToolSessionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBrowserToolSessionsRequest) GetRegionId ¶
func (r DescribeBrowserToolSessionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBrowserToolSessionsRequest) SetBrowserToolId ¶
func (r *DescribeBrowserToolSessionsRequest) SetBrowserToolId(browserToolId string)
param browserToolId: Browser Tool ID(Required)
func (*DescribeBrowserToolSessionsRequest) SetFilters ¶
func (r *DescribeBrowserToolSessionsRequest) SetFilters(filters []agentgrid.Filter)
param filters: 过滤条件。支持的键如下:
- sessionId:按 session ID 精确匹配,支持多个值。 - state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed` (Optional)
func (*DescribeBrowserToolSessionsRequest) SetPageNumber ¶
func (r *DescribeBrowserToolSessionsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码。默认值为 1。(Optional)
func (*DescribeBrowserToolSessionsRequest) SetPageSize ¶
func (r *DescribeBrowserToolSessionsRequest) SetPageSize(pageSize int)
param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。(Optional)
func (*DescribeBrowserToolSessionsRequest) SetRegionId ¶
func (r *DescribeBrowserToolSessionsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBrowserToolSessionsResponse ¶
type DescribeBrowserToolSessionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeBrowserToolSessionsResult `json:"result"`
}
type DescribeBrowserToolSessionsResult ¶
type DescribeBrowserToolSessionsResult struct {
BrowserToolSessions []agentgrid.BrowserToolSession `json:"browserToolSessions"`
Total int `json:"total"`
}
type DescribeBrowserToolsRequest ¶
type DescribeBrowserToolsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional) */
PageSize *int `json:"pageSize"`
/* 页码。默认值为 1。 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 过滤条件。支持的键如下:
- browserToolId:按 Browser Tool ID 精确匹配,支持多个值。
- name:按 Browser Tool 名称模糊匹配,仅支持单个值。
(Optional) */
Filters []agentgrid.Filter `json:"filters"`
}
func NewDescribeBrowserToolsRequest ¶
func NewDescribeBrowserToolsRequest( regionId string, ) *DescribeBrowserToolsRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeBrowserToolsRequestWithAllParams ¶
func NewDescribeBrowserToolsRequestWithAllParams( regionId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter, ) *DescribeBrowserToolsRequest
- param regionId: Region ID (Required)
- param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional)
- param pageNumber: 页码。默认值为 1。 (Optional)
- param filters: 过滤条件。支持的键如下:
- browserToolId:按 Browser Tool ID 精确匹配,支持多个值。
- name:按 Browser Tool 名称模糊匹配,仅支持单个值。 (Optional)
func NewDescribeBrowserToolsRequestWithoutParam ¶
func NewDescribeBrowserToolsRequestWithoutParam() *DescribeBrowserToolsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeBrowserToolsRequest) GetRegionId ¶
func (r DescribeBrowserToolsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeBrowserToolsRequest) SetFilters ¶
func (r *DescribeBrowserToolsRequest) SetFilters(filters []agentgrid.Filter)
param filters: 过滤条件。支持的键如下:
- browserToolId:按 Browser Tool ID 精确匹配,支持多个值。 - name:按 Browser Tool 名称模糊匹配,仅支持单个值。 (Optional)
func (*DescribeBrowserToolsRequest) SetPageNumber ¶
func (r *DescribeBrowserToolsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码。默认值为 1。(Optional)
func (*DescribeBrowserToolsRequest) SetPageSize ¶
func (r *DescribeBrowserToolsRequest) SetPageSize(pageSize int)
param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。(Optional)
func (*DescribeBrowserToolsRequest) SetRegionId ¶
func (r *DescribeBrowserToolsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeBrowserToolsResponse ¶
type DescribeBrowserToolsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeBrowserToolsResult `json:"result"`
}
type DescribeBrowserToolsResult ¶
type DescribeBrowserToolsResult struct {
BrowserTools []agentgrid.BrowserTool `json:"browserTools"`
Total int `json:"total"`
}
type DescribeCodeInterpreterRequest ¶
type DescribeCodeInterpreterRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
}
func NewDescribeCodeInterpreterRequest ¶
func NewDescribeCodeInterpreterRequest( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpreterRequestWithAllParams ¶
func NewDescribeCodeInterpreterRequestWithAllParams( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required)
func NewDescribeCodeInterpreterRequestWithoutParam ¶
func NewDescribeCodeInterpreterRequestWithoutParam() *DescribeCodeInterpreterRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpreterRequest) GetRegionId ¶
func (r DescribeCodeInterpreterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpreterRequest) SetCodeInterpreterId ¶
func (r *DescribeCodeInterpreterRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*DescribeCodeInterpreterRequest) SetRegionId ¶
func (r *DescribeCodeInterpreterRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeCodeInterpreterResponse ¶
type DescribeCodeInterpreterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpreterResult `json:"result"`
}
type DescribeCodeInterpreterResult ¶
type DescribeCodeInterpreterResult struct {
CodeInterpreter agentgrid.CodeInterpreter `json:"codeInterpreter"`
}
type DescribeCodeInterpreterSessionRequest ¶
type DescribeCodeInterpreterSessionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
/* Session ID */
SessionId string `json:"sessionId"`
}
func NewDescribeCodeInterpreterSessionRequest ¶
func NewDescribeCodeInterpreterSessionRequest( regionId string, codeInterpreterId string, sessionId string, ) *DescribeCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * param sessionId: Session ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpreterSessionRequestWithAllParams ¶
func NewDescribeCodeInterpreterSessionRequestWithAllParams( regionId string, codeInterpreterId string, sessionId string, ) *DescribeCodeInterpreterSessionRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * param sessionId: Session ID (Required)
func NewDescribeCodeInterpreterSessionRequestWithoutParam ¶
func NewDescribeCodeInterpreterSessionRequestWithoutParam() *DescribeCodeInterpreterSessionRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpreterSessionRequest) GetRegionId ¶
func (r DescribeCodeInterpreterSessionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpreterSessionRequest) SetCodeInterpreterId ¶
func (r *DescribeCodeInterpreterSessionRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*DescribeCodeInterpreterSessionRequest) SetRegionId ¶
func (r *DescribeCodeInterpreterSessionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeCodeInterpreterSessionRequest) SetSessionId ¶
func (r *DescribeCodeInterpreterSessionRequest) SetSessionId(sessionId string)
param sessionId: Session ID(Required)
type DescribeCodeInterpreterSessionResponse ¶
type DescribeCodeInterpreterSessionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpreterSessionResult `json:"result"`
}
type DescribeCodeInterpreterSessionResult ¶
type DescribeCodeInterpreterSessionResult struct {
CodeInterpreterSession agentgrid.CodeInterpreterSession `json:"codeInterpreterSession"`
}
type DescribeCodeInterpreterSessionsRequest ¶
type DescribeCodeInterpreterSessionsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Code Interpreter ID */
CodeInterpreterId string `json:"codeInterpreterId"`
/* 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional) */
PageSize *int `json:"pageSize"`
/* 页码。默认值为 1。 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 过滤条件。支持的键如下:
- state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed`
- sessionId:按 session ID 精确匹配,支持多个值。
(Optional) */
Filters []agentgrid.Filter `json:"filters"`
}
func NewDescribeCodeInterpreterSessionsRequest ¶
func NewDescribeCodeInterpreterSessionsRequest( regionId string, codeInterpreterId string, ) *DescribeCodeInterpreterSessionsRequest
* param regionId: Region ID (Required) * param codeInterpreterId: Code Interpreter ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpreterSessionsRequestWithAllParams ¶
func NewDescribeCodeInterpreterSessionsRequestWithAllParams( regionId string, codeInterpreterId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter, ) *DescribeCodeInterpreterSessionsRequest
- param regionId: Region ID (Required)
- param codeInterpreterId: Code Interpreter ID (Required)
- param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional)
- param pageNumber: 页码。默认值为 1。 (Optional)
- param filters: 过滤条件。支持的键如下:
- state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed`
- sessionId:按 session ID 精确匹配,支持多个值。 (Optional)
func NewDescribeCodeInterpreterSessionsRequestWithoutParam ¶
func NewDescribeCodeInterpreterSessionsRequestWithoutParam() *DescribeCodeInterpreterSessionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpreterSessionsRequest) GetRegionId ¶
func (r DescribeCodeInterpreterSessionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetCodeInterpreterId(codeInterpreterId string)
param codeInterpreterId: Code Interpreter ID(Required)
func (*DescribeCodeInterpreterSessionsRequest) SetFilters ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetFilters(filters []agentgrid.Filter)
param filters: 过滤条件。支持的键如下:
- state:按 Session 状态精确匹配,支持单个值。可选值:`pending`、`creating`、`ready`、`deleting`、`deleted`、`failed` - sessionId:按 session ID 精确匹配,支持多个值。 (Optional)
func (*DescribeCodeInterpreterSessionsRequest) SetPageNumber ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码。默认值为 1。(Optional)
func (*DescribeCodeInterpreterSessionsRequest) SetPageSize ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetPageSize(pageSize int)
param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。(Optional)
func (*DescribeCodeInterpreterSessionsRequest) SetRegionId ¶
func (r *DescribeCodeInterpreterSessionsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeCodeInterpreterSessionsResponse ¶
type DescribeCodeInterpreterSessionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpreterSessionsResult `json:"result"`
}
type DescribeCodeInterpreterSessionsResult ¶
type DescribeCodeInterpreterSessionsResult struct {
Total int `json:"total"`
CodeInterpreterSessions []agentgrid.CodeInterpreterSession `json:"codeInterpreterSessions"`
}
type DescribeCodeInterpretersRequest ¶
type DescribeCodeInterpretersRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional) */
PageSize *int `json:"pageSize"`
/* 页码。默认值为 1。 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 过滤条件。支持的键如下:
- codeInterpreterId:按 Code Interpreter ID 精确匹配,支持多个值。
- name:按 Code Interpreter 名称模糊匹配,仅支持单个值。
(Optional) */
Filters []agentgrid.Filter `json:"filters"`
}
func NewDescribeCodeInterpretersRequest ¶
func NewDescribeCodeInterpretersRequest( regionId string, ) *DescribeCodeInterpretersRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCodeInterpretersRequestWithAllParams ¶
func NewDescribeCodeInterpretersRequestWithAllParams( regionId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter, ) *DescribeCodeInterpretersRequest
- param regionId: Region ID (Required)
- param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional)
- param pageNumber: 页码。默认值为 1。 (Optional)
- param filters: 过滤条件。支持的键如下:
- codeInterpreterId:按 Code Interpreter ID 精确匹配,支持多个值。
- name:按 Code Interpreter 名称模糊匹配,仅支持单个值。 (Optional)
func NewDescribeCodeInterpretersRequestWithoutParam ¶
func NewDescribeCodeInterpretersRequestWithoutParam() *DescribeCodeInterpretersRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCodeInterpretersRequest) GetRegionId ¶
func (r DescribeCodeInterpretersRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCodeInterpretersRequest) SetFilters ¶
func (r *DescribeCodeInterpretersRequest) SetFilters(filters []agentgrid.Filter)
param filters: 过滤条件。支持的键如下:
- codeInterpreterId:按 Code Interpreter ID 精确匹配,支持多个值。 - name:按 Code Interpreter 名称模糊匹配,仅支持单个值。 (Optional)
func (*DescribeCodeInterpretersRequest) SetPageNumber ¶
func (r *DescribeCodeInterpretersRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码。默认值为 1。(Optional)
func (*DescribeCodeInterpretersRequest) SetPageSize ¶
func (r *DescribeCodeInterpretersRequest) SetPageSize(pageSize int)
param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。(Optional)
func (*DescribeCodeInterpretersRequest) SetRegionId ¶
func (r *DescribeCodeInterpretersRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeCodeInterpretersResponse ¶
type DescribeCodeInterpretersResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeCodeInterpretersResult `json:"result"`
}
type DescribeCodeInterpretersResult ¶
type DescribeCodeInterpretersResult struct {
Total int `json:"total"`
CodeInterpreters []agentgrid.CodeInterpreter `json:"codeInterpreters"`
}
type DescribeRuntimeEndpointRequest ¶
type DescribeRuntimeEndpointRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewDescribeRuntimeEndpointRequest ¶
func NewDescribeRuntimeEndpointRequest( regionId string, runtimeId string, ) *DescribeRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimeEndpointRequestWithAllParams ¶
func NewDescribeRuntimeEndpointRequestWithAllParams( regionId string, runtimeId string, ) *DescribeRuntimeEndpointRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewDescribeRuntimeEndpointRequestWithoutParam ¶
func NewDescribeRuntimeEndpointRequestWithoutParam() *DescribeRuntimeEndpointRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimeEndpointRequest) GetRegionId ¶
func (r DescribeRuntimeEndpointRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimeEndpointRequest) SetRegionId ¶
func (r *DescribeRuntimeEndpointRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRuntimeEndpointRequest) SetRuntimeId ¶
func (r *DescribeRuntimeEndpointRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type DescribeRuntimeEndpointResponse ¶
type DescribeRuntimeEndpointResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimeEndpointResult `json:"result"`
}
type DescribeRuntimeEndpointResult ¶
type DescribeRuntimeEndpointResult struct {
RuntimeEndpoint agentgrid.RuntimeEndpointInfo `json:"runtimeEndpoint"`
}
type DescribeRuntimeEndpointsRequest ¶
type DescribeRuntimeEndpointsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID 列表。 */
RuntimeIds []string `json:"runtimeIds"`
}
func NewDescribeRuntimeEndpointsRequest ¶
func NewDescribeRuntimeEndpointsRequest( regionId string, runtimeIds []string, ) *DescribeRuntimeEndpointsRequest
* param regionId: Region ID (Required) * param runtimeIds: Runtime ID 列表。 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimeEndpointsRequestWithAllParams ¶
func NewDescribeRuntimeEndpointsRequestWithAllParams( regionId string, runtimeIds []string, ) *DescribeRuntimeEndpointsRequest
* param regionId: Region ID (Required) * param runtimeIds: Runtime ID 列表。 (Required)
func NewDescribeRuntimeEndpointsRequestWithoutParam ¶
func NewDescribeRuntimeEndpointsRequestWithoutParam() *DescribeRuntimeEndpointsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimeEndpointsRequest) GetRegionId ¶
func (r DescribeRuntimeEndpointsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimeEndpointsRequest) SetRegionId ¶
func (r *DescribeRuntimeEndpointsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRuntimeEndpointsRequest) SetRuntimeIds ¶
func (r *DescribeRuntimeEndpointsRequest) SetRuntimeIds(runtimeIds []string)
param runtimeIds: Runtime ID 列表。(Required)
type DescribeRuntimeEndpointsResponse ¶
type DescribeRuntimeEndpointsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimeEndpointsResult `json:"result"`
}
type DescribeRuntimeEndpointsResult ¶
type DescribeRuntimeEndpointsResult struct {
RuntimeEndpoints []agentgrid.RuntimeEndpointInfo `json:"runtimeEndpoints"`
}
type DescribeRuntimeRequest ¶
type DescribeRuntimeRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
/* Runtime 版本号。 (Optional) */
Version *string `json:"version"`
}
func NewDescribeRuntimeRequest ¶
func NewDescribeRuntimeRequest( regionId string, runtimeId string, ) *DescribeRuntimeRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimeRequestWithAllParams ¶
func NewDescribeRuntimeRequestWithAllParams( regionId string, runtimeId string, version *string, ) *DescribeRuntimeRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param version: Runtime 版本号。 (Optional)
func NewDescribeRuntimeRequestWithoutParam ¶
func NewDescribeRuntimeRequestWithoutParam() *DescribeRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimeRequest) GetRegionId ¶
func (r DescribeRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimeRequest) SetRegionId ¶
func (r *DescribeRuntimeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRuntimeRequest) SetRuntimeId ¶
func (r *DescribeRuntimeRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
func (*DescribeRuntimeRequest) SetVersion ¶
func (r *DescribeRuntimeRequest) SetVersion(version string)
param version: Runtime 版本号。(Optional)
type DescribeRuntimeResponse ¶
type DescribeRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimeResult `json:"result"`
}
type DescribeRuntimeResult ¶
type DescribeRuntimeResult struct {
RuntimeView agentgrid.RuntimeView `json:"runtimeView"`
}
type DescribeRuntimeVersionsRequest ¶
type DescribeRuntimeVersionsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewDescribeRuntimeVersionsRequest ¶
func NewDescribeRuntimeVersionsRequest( regionId string, runtimeId string, ) *DescribeRuntimeVersionsRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimeVersionsRequestWithAllParams ¶
func NewDescribeRuntimeVersionsRequestWithAllParams( regionId string, runtimeId string, ) *DescribeRuntimeVersionsRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewDescribeRuntimeVersionsRequestWithoutParam ¶
func NewDescribeRuntimeVersionsRequestWithoutParam() *DescribeRuntimeVersionsRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimeVersionsRequest) GetRegionId ¶
func (r DescribeRuntimeVersionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimeVersionsRequest) SetRegionId ¶
func (r *DescribeRuntimeVersionsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*DescribeRuntimeVersionsRequest) SetRuntimeId ¶
func (r *DescribeRuntimeVersionsRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type DescribeRuntimeVersionsResponse ¶
type DescribeRuntimeVersionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimeVersionsResult `json:"result"`
}
type DescribeRuntimeVersionsResult ¶
type DescribeRuntimeVersionsResult struct {
RuntimeId string `json:"runtimeId"`
Name string `json:"name"`
RuntimeVersionViews []agentgrid.RuntimeVersionView `json:"runtimeVersionViews"`
}
type DescribeRuntimesRequest ¶
type DescribeRuntimesRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional) */
PageSize *int `json:"pageSize"`
/* 页码。默认值为 1。 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 过滤条件。支持的键如下:
- runtimeId:按 Runtime ID 精确匹配,支持多个值。
- runtimeName:按 Runtime 名称模糊匹配,仅支持单个值。
- state:按 Runtime 状态过滤,支持多个值。可选值:`pending`、`creating`、`running`、`updating`、`failed`、`deleted`
(Optional) */
Filters []agentgrid.Filter `json:"filters"`
}
func NewDescribeRuntimesRequest ¶
func NewDescribeRuntimesRequest( regionId string, ) *DescribeRuntimesRequest
* param regionId: Region ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeRuntimesRequestWithAllParams ¶
func NewDescribeRuntimesRequestWithAllParams( regionId string, pageSize *int, pageNumber *int, filters []agentgrid.Filter, ) *DescribeRuntimesRequest
- param regionId: Region ID (Required)
- param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。 (Optional)
- param pageNumber: 页码。默认值为 1。 (Optional)
- param filters: 过滤条件。支持的键如下:
- runtimeId:按 Runtime ID 精确匹配,支持多个值。
- runtimeName:按 Runtime 名称模糊匹配,仅支持单个值。
- state:按 Runtime 状态过滤,支持多个值。可选值:`pending`、`creating`、`running`、`updating`、`failed`、`deleted` (Optional)
func NewDescribeRuntimesRequestWithoutParam ¶
func NewDescribeRuntimesRequestWithoutParam() *DescribeRuntimesRequest
This constructor has better compatible ability when API parameters changed
func (DescribeRuntimesRequest) GetRegionId ¶
func (r DescribeRuntimesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeRuntimesRequest) SetFilters ¶
func (r *DescribeRuntimesRequest) SetFilters(filters []agentgrid.Filter)
param filters: 过滤条件。支持的键如下:
- runtimeId:按 Runtime ID 精确匹配,支持多个值。 - runtimeName:按 Runtime 名称模糊匹配,仅支持单个值。 - state:按 Runtime 状态过滤,支持多个值。可选值:`pending`、`creating`、`running`、`updating`、`failed`、`deleted` (Optional)
func (*DescribeRuntimesRequest) SetPageNumber ¶
func (r *DescribeRuntimesRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码。默认值为 1。(Optional)
func (*DescribeRuntimesRequest) SetPageSize ¶
func (r *DescribeRuntimesRequest) SetPageSize(pageSize int)
param pageSize: 每页返回的数据条数。取值范围 10~100,默认值为 10。(Optional)
func (*DescribeRuntimesRequest) SetRegionId ¶
func (r *DescribeRuntimesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
type DescribeRuntimesResponse ¶
type DescribeRuntimesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DescribeRuntimesResult `json:"result"`
}
type DescribeRuntimesResult ¶
type DescribeRuntimesResult struct {
Total int `json:"total"`
Runtimes []agentgrid.RuntimeView `json:"runtimes"`
}
type GetRuntimeSessionsRequest ¶
type GetRuntimeSessionsRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
}
func NewGetRuntimeSessionsRequest ¶
func NewGetRuntimeSessionsRequest( regionId string, runtimeId string, ) *GetRuntimeSessionsRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetRuntimeSessionsRequestWithAllParams ¶
func NewGetRuntimeSessionsRequestWithAllParams( regionId string, runtimeId string, ) *GetRuntimeSessionsRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required)
func NewGetRuntimeSessionsRequestWithoutParam ¶
func NewGetRuntimeSessionsRequestWithoutParam() *GetRuntimeSessionsRequest
This constructor has better compatible ability when API parameters changed
func (GetRuntimeSessionsRequest) GetRegionId ¶
func (r GetRuntimeSessionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetRuntimeSessionsRequest) SetRegionId ¶
func (r *GetRuntimeSessionsRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*GetRuntimeSessionsRequest) SetRuntimeId ¶
func (r *GetRuntimeSessionsRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type GetRuntimeSessionsResponse ¶
type GetRuntimeSessionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetRuntimeSessionsResult `json:"result"`
}
type GetRuntimeSessionsResult ¶
type GetRuntimeSessionsResult struct {
RuntimeId string `json:"runtimeId"`
TotalSession int `json:"totalSession"`
VersionSessions []agentgrid.VersionSessionView `json:"versionSessions"`
}
type ModifyRuntimeVersionRequest ¶
type ModifyRuntimeVersionRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
/* Runtime 版本号 */
Version string `json:"version"`
}
func NewModifyRuntimeVersionRequest ¶
func NewModifyRuntimeVersionRequest( regionId string, runtimeId string, version string, ) *ModifyRuntimeVersionRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param version: Runtime 版本号 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewModifyRuntimeVersionRequestWithAllParams ¶
func NewModifyRuntimeVersionRequestWithAllParams( regionId string, runtimeId string, version string, ) *ModifyRuntimeVersionRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param version: Runtime 版本号 (Required)
func NewModifyRuntimeVersionRequestWithoutParam ¶
func NewModifyRuntimeVersionRequestWithoutParam() *ModifyRuntimeVersionRequest
This constructor has better compatible ability when API parameters changed
func (ModifyRuntimeVersionRequest) GetRegionId ¶
func (r ModifyRuntimeVersionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyRuntimeVersionRequest) SetRegionId ¶
func (r *ModifyRuntimeVersionRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*ModifyRuntimeVersionRequest) SetRuntimeId ¶
func (r *ModifyRuntimeVersionRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
func (*ModifyRuntimeVersionRequest) SetVersion ¶
func (r *ModifyRuntimeVersionRequest) SetVersion(version string)
param version: Runtime 版本号(Required)
type ModifyRuntimeVersionResponse ¶
type ModifyRuntimeVersionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifyRuntimeVersionResult `json:"result"`
}
type ModifyRuntimeVersionResult ¶
type ModifyRuntimeVersionResult struct {
}
type UpdateRuntimeAttributesRequest ¶
type UpdateRuntimeAttributesRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
/* Runtime 描述信息。 (Optional) */
Description *string `json:"description"`
}
func NewUpdateRuntimeAttributesRequest ¶
func NewUpdateRuntimeAttributesRequest( regionId string, runtimeId string, ) *UpdateRuntimeAttributesRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateRuntimeAttributesRequestWithAllParams ¶
func NewUpdateRuntimeAttributesRequestWithAllParams( regionId string, runtimeId string, description *string, ) *UpdateRuntimeAttributesRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * param description: Runtime 描述信息。 (Optional)
func NewUpdateRuntimeAttributesRequestWithoutParam ¶
func NewUpdateRuntimeAttributesRequestWithoutParam() *UpdateRuntimeAttributesRequest
This constructor has better compatible ability when API parameters changed
func (UpdateRuntimeAttributesRequest) GetRegionId ¶
func (r UpdateRuntimeAttributesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateRuntimeAttributesRequest) SetDescription ¶
func (r *UpdateRuntimeAttributesRequest) SetDescription(description string)
param description: Runtime 描述信息。(Optional)
func (*UpdateRuntimeAttributesRequest) SetRegionId ¶
func (r *UpdateRuntimeAttributesRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*UpdateRuntimeAttributesRequest) SetRuntimeId ¶
func (r *UpdateRuntimeAttributesRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
type UpdateRuntimeAttributesResponse ¶
type UpdateRuntimeAttributesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateRuntimeAttributesResult `json:"result"`
}
type UpdateRuntimeAttributesResult ¶
type UpdateRuntimeAttributesResult struct {
}
type UpdateRuntimeRequest ¶
type UpdateRuntimeRequest struct {
core.JDCloudRequest
/* Region ID */
RegionId string `json:"regionId"`
/* Runtime ID */
RuntimeId string `json:"runtimeId"`
/* Runtime 新版本的描述信息。 (Optional) */
Description *string `json:"description"`
/* Runtime 鉴权配置。 (Optional) */
AuthorizerConfiguration *agentgrid.AuthorizerConfiguration `json:"authorizerConfiguration"`
/* Runtime 制品配置,支持更换镜像 (Optional) */
ArtifactConfiguration *agentgrid.ArtifactConfiguration `json:"artifactConfiguration"`
/* Runtime 网络配置。 (Optional) */
NetworkConfiguration *agentgrid.NetworkConfiguration `json:"networkConfiguration"`
/* Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。 (Optional) */
WarmSession *int `json:"warmSession"`
/* Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。 (Optional) */
MaxSession *int `json:"maxSession"`
/* Runtime 环境变量配置,以 `key-value` 键值对形式指定,单次请求最多支持 50 组。
## 参数说明
- 不传该参数时,保留当前生效版本中的环境变量配置。
- 当 `key` 以连字符 `-` 结尾时,表示删除旧版本中对应 `key` 的环境变量。
- 当 `key` 不以连字符 `-` 结尾时,表示新增或更新该环境变量。
- 本次调用后,环境变量不能超过50组
- `key` 长度上限为 256 个字符。
(Optional) */
Envs []agentgrid.EnvConfiguration `json:"envs"`
/* Runtime 支持的协议类型,当前仅支持 HTTP。 (Optional) */
Protocol *string `json:"protocol"`
/* Runtime 生命周期配置。 (Optional) */
LifecycleConfiguration *agentgrid.LifecycleConfiguration `json:"lifecycleConfiguration"`
}
func NewUpdateRuntimeRequest ¶
func NewUpdateRuntimeRequest( regionId string, runtimeId string, ) *UpdateRuntimeRequest
* param regionId: Region ID (Required) * param runtimeId: Runtime ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateRuntimeRequestWithAllParams ¶
func NewUpdateRuntimeRequestWithAllParams( regionId string, runtimeId string, description *string, authorizerConfiguration *agentgrid.AuthorizerConfiguration, artifactConfiguration *agentgrid.ArtifactConfiguration, networkConfiguration *agentgrid.NetworkConfiguration, warmSession *int, maxSession *int, envs []agentgrid.EnvConfiguration, protocol *string, lifecycleConfiguration *agentgrid.LifecycleConfiguration, ) *UpdateRuntimeRequest
- param regionId: Region ID (Required)
- param runtimeId: Runtime ID (Required)
- param description: Runtime 新版本的描述信息。 (Optional)
- param authorizerConfiguration: Runtime 鉴权配置。 (Optional)
- param artifactConfiguration: Runtime 制品配置,支持更换镜像 (Optional)
- param networkConfiguration: Runtime 网络配置。 (Optional)
- param warmSession: Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。 (Optional)
- param maxSession: Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。 (Optional)
- param envs: Runtime 环境变量配置,以 `key-value` 键值对形式指定,单次请求最多支持 50 组。
## 参数说明
- 不传该参数时,保留当前生效版本中的环境变量配置。
- 当 `key` 以连字符 `-` 结尾时,表示删除旧版本中对应 `key` 的环境变量。
- 当 `key` 不以连字符 `-` 结尾时,表示新增或更新该环境变量。
- 本次调用后,环境变量不能超过50组
- `key` 长度上限为 256 个字符。 (Optional)
- param protocol: Runtime 支持的协议类型,当前仅支持 HTTP。 (Optional)
- param lifecycleConfiguration: Runtime 生命周期配置。 (Optional)
func NewUpdateRuntimeRequestWithoutParam ¶
func NewUpdateRuntimeRequestWithoutParam() *UpdateRuntimeRequest
This constructor has better compatible ability when API parameters changed
func (UpdateRuntimeRequest) GetRegionId ¶
func (r UpdateRuntimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateRuntimeRequest) SetArtifactConfiguration ¶
func (r *UpdateRuntimeRequest) SetArtifactConfiguration(artifactConfiguration *agentgrid.ArtifactConfiguration)
param artifactConfiguration: Runtime 制品配置,支持更换镜像(Optional)
func (*UpdateRuntimeRequest) SetAuthorizerConfiguration ¶
func (r *UpdateRuntimeRequest) SetAuthorizerConfiguration(authorizerConfiguration *agentgrid.AuthorizerConfiguration)
param authorizerConfiguration: Runtime 鉴权配置。(Optional)
func (*UpdateRuntimeRequest) SetDescription ¶
func (r *UpdateRuntimeRequest) SetDescription(description string)
param description: Runtime 新版本的描述信息。(Optional)
func (*UpdateRuntimeRequest) SetEnvs ¶
func (r *UpdateRuntimeRequest) SetEnvs(envs []agentgrid.EnvConfiguration)
param envs: Runtime 环境变量配置,以 `key-value` 键值对形式指定,单次请求最多支持 50 组。
## 参数说明 - 不传该参数时,保留当前生效版本中的环境变量配置。 - 当 `key` 以连字符 `-` 结尾时,表示删除旧版本中对应 `key` 的环境变量。 - 当 `key` 不以连字符 `-` 结尾时,表示新增或更新该环境变量。 - 本次调用后,环境变量不能超过50组 - `key` 长度上限为 256 个字符。 (Optional)
func (*UpdateRuntimeRequest) SetLifecycleConfiguration ¶
func (r *UpdateRuntimeRequest) SetLifecycleConfiguration(lifecycleConfiguration *agentgrid.LifecycleConfiguration)
param lifecycleConfiguration: Runtime 生命周期配置。(Optional)
func (*UpdateRuntimeRequest) SetMaxSession ¶
func (r *UpdateRuntimeRequest) SetMaxSession(maxSession int)
param maxSession: Runtime 可承载的最大 Session 数量,取值范围1~10,默认值为 10。(Optional)
func (*UpdateRuntimeRequest) SetNetworkConfiguration ¶
func (r *UpdateRuntimeRequest) SetNetworkConfiguration(networkConfiguration *agentgrid.NetworkConfiguration)
param networkConfiguration: Runtime 网络配置。(Optional)
func (*UpdateRuntimeRequest) SetProtocol ¶
func (r *UpdateRuntimeRequest) SetProtocol(protocol string)
param protocol: Runtime 支持的协议类型,当前仅支持 HTTP。(Optional)
func (*UpdateRuntimeRequest) SetRegionId ¶
func (r *UpdateRuntimeRequest) SetRegionId(regionId string)
param regionId: Region ID(Required)
func (*UpdateRuntimeRequest) SetRuntimeId ¶
func (r *UpdateRuntimeRequest) SetRuntimeId(runtimeId string)
param runtimeId: Runtime ID(Required)
func (*UpdateRuntimeRequest) SetWarmSession ¶
func (r *UpdateRuntimeRequest) SetWarmSession(warmSession int)
param warmSession: Runtime 预热 Session 数量,进行预热后,将会提前生成对应数量的 Session 实例,可以大幅减少会话初次启动时间。取值范围1~10,默认值为 1,且应小于等于 `maxSession`。(Optional)
type UpdateRuntimeResponse ¶
type UpdateRuntimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateRuntimeResult `json:"result"`
}
type UpdateRuntimeResult ¶
type UpdateRuntimeResult struct {
}
Source Files
¶
- CreateBrowserTool.go
- CreateBrowserToolSession.go
- CreateCodeInterpreter.go
- CreateCodeInterpreterSession.go
- CreateRuntime.go
- CreateRuntimeEndpoint.go
- DeleteBrowserTool.go
- DeleteBrowserToolSession.go
- DeleteCodeInterpreter.go
- DeleteCodeInterpreterSession.go
- DeleteRuntime.go
- DeleteRuntimeEndpoint.go
- DeleteRuntimeVersion.go
- DescribeBrowserTool.go
- DescribeBrowserToolSession.go
- DescribeBrowserToolSessions.go
- DescribeBrowserTools.go
- DescribeCodeInterpreter.go
- DescribeCodeInterpreterSession.go
- DescribeCodeInterpreterSessions.go
- DescribeCodeInterpreters.go
- DescribeRuntime.go
- DescribeRuntimeEndpoint.go
- DescribeRuntimeEndpoints.go
- DescribeRuntimeVersions.go
- DescribeRuntimes.go
- GetRuntimeSessions.go
- ModifyRuntimeVersion.go
- UpdateRuntime.go
- UpdateRuntimeAttributes.go