Class RepositoryPubsubConfigArgs.Builder

  • Enclosing class:
    RepositoryPubsubConfigArgs

    public static final class RepositoryPubsubConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • messageFormat

        public RepositoryPubsubConfigArgs.Builder messageFormat​(com.pulumi.core.Output<java.lang.String> messageFormat)
        Parameters:
        messageFormat - The format of the Cloud Pub/Sub messages. - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values are: `PROTOBUF`, `JSON`.
        Returns:
        builder
      • messageFormat

        public RepositoryPubsubConfigArgs.Builder messageFormat​(java.lang.String messageFormat)
        Parameters:
        messageFormat - The format of the Cloud Pub/Sub messages. - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values are: `PROTOBUF`, `JSON`.
        Returns:
        builder
      • serviceAccountEmail

        public RepositoryPubsubConfigArgs.Builder serviceAccountEmail​(@Nullable
                                                                      com.pulumi.core.Output<java.lang.String> serviceAccountEmail)
        Parameters:
        serviceAccountEmail - Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
        Returns:
        builder
      • serviceAccountEmail

        public RepositoryPubsubConfigArgs.Builder serviceAccountEmail​(java.lang.String serviceAccountEmail)
        Parameters:
        serviceAccountEmail - Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
        Returns:
        builder
      • topic

        public RepositoryPubsubConfigArgs.Builder topic​(com.pulumi.core.Output<java.lang.String> topic)
        Parameters:
        topic - The identifier for this object. Format specified above.
        Returns:
        builder
      • topic

        public RepositoryPubsubConfigArgs.Builder topic​(java.lang.String topic)
        Parameters:
        topic - The identifier for this object. Format specified above.
        Returns:
        builder