Skip to main content
Google Cloud Documentation
技术领域
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
跨产品工具
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
/
Console
  • English
  • 中文 – 简体
  • Eventarc
免费开始使用吧
概览
  • 网站选择器
  • Eventarc Advanced 文档
    了解和使用 Eventarc Advanced
  • Eventarc Standard 文档
    了解和使用 Eventarc Standard
指南 参考文档 示例 资源
Google Cloud Documentation
  • 技术领域
    • More
    • 概览
    • Eventarc 通用
      • More
    • 指南
    • 参考文档
    • 示例
    • 资源
  • 跨产品工具
    • More
  • Console
  • Eventarc
  • 所有 API 与参考文档
  • 向 Eventarc 进行身份验证
  • 事件类型
  • CloudEvents 格式
    • 事件格式
    • CloudEvents - HTTP 协议绑定
    • CloudEvents - JSON 事件格式
  • Eventarc REST API
    • 概览
    • Shared.Types
      • 类型
      • AuditConfig
      • 绑定
      • CancelOperationRequest
      • 代码
      • DeleteOperationRequest
      • GetIamPolicyRequest
      • GetLocationRequest
      • GetOperationRequest
      • ListLocationsRequest
      • ListLocationsResponse
      • ListOperationsRequest
      • ListOperationsResponse
      • LogType
      • OperationMetadata
      • 政策
      • SetIamPolicyRequest
      • StateCondition
      • TestIamPermissionsRequest
      • TestIamPermissionsResponse
      • WaitOperationRequest
    • v1
      • REST 资源
      • projects.locations
        • 概览
        • get
        • getGoogleChannelConfig
        • list
        • updateGoogleChannelConfig
      • projects.locations.channelConnections
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • setIamPolicy
        • testIamPermissions
      • projects.locations.channels
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.enrollments
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.googleApiSources
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.messageBuses
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • listEnrollments
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.operations
        • 概览
        • 取消
        • delete
        • get
        • list
      • projects.locations.pipelines
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • projects.locations.providers
        • 概览
        • get
        • list
      • projects.locations.triggers
        • 概览
        • create
        • delete
        • get
        • getIamPolicy
        • list
        • patch
        • setIamPolicy
        • testIamPermissions
      • 类型
      • GetPolicyOptions
      • GoogleChannelConfig
      • LoggingConfig
      • 政策
      • TestIamPermissionsResponse
  • Eventarc Publishing REST API
    • 概览
    • v1
      • REST 资源
      • projects.locations.channelConnections
        • 概览
        • publishEvents
      • projects.locations.channels
        • 概览
        • publishEvents
      • projects.locations.messageBuses
        • 概览
        • publish
  • Eventarc RPC 参考文档
    • 概览
    • google.cloud.common
    • google.cloud.eventarc.v1
    • google.cloud.location
    • google.iam.v1
    • google.longrunning
    • google.rpc
    • google.type
  • Eventarc Publishing RPC 参考文档
    • 概览
    • google.cloud.eventarc.publishing.v1
    • io.cloudevents.v1
  • 客户端库参考
    • 概览
    • C++ 参考文档
    • C# 参考文档
    • Go 参考文档
    • Java 参考文档
    • Node.js 参考文档
    • PHP 参考文档
    • Python 参考文档
    • Ruby 参考文档
  • gcloud CLI 参考文档
  • AI 和机器学习
  • 应用开发
  • 应用托管
  • 计算
  • 数据分析和流水线
  • 数据库
  • 分布式云、混合云和多云
  • 行业解决方案
  • 迁移
  • 网络
  • 可观测性和监控
  • 安全
  • Storage
  • 访问权限和资源管理
  • 费用和用量管理
  • 基础设施即代码
  • SDK、语言、框架和工具
  • 网站选择器
  • Eventarc Advanced 文档
  • Eventarc Standard 文档
  • Home
  • Documentation
  • Application development
  • Eventarc
  • 参考文档

StateCondition Stay organized with collections Save and categorize content based on your preferences.

  • JSON representation

A condition that is part of the trigger state computation.

JSON representation
{
  "code": enum (Code),
  "message": string
}
Fields
code

enum (Code)

The canonical code of the condition.

message

string

Human-readable message.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-13 UTC.

  • Support

    • Release Notes
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Code samples
    • Cloud Architecture Center
  • Terms
  • Privacy
  • Manage cookies
  • English
  • 中文 – 简体