Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::Deployment.
A deployment represents an immutable, queryable version of the app. It is used to deploy an app version with a specific channel profile.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app_version
def app_version() -> ::String
Returns
-
(::String) — Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}Useprojects/{project}/locations/{location}/apps/{app}/versions/-to use the draft app.
#app_version=
def app_version=(value) -> ::String
Parameter
-
value (::String) — Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}Useprojects/{project}/locations/{location}/apps/{app}/versions/-to use the draft app.
Returns
-
(::String) — Optional. The resource name of the app version to deploy.
Format:
projects/{project}/locations/{location}/apps/{app}/versions/{version}Useprojects/{project}/locations/{location}/apps/{app}/versions/-to use the draft app.
#channel_profile
def channel_profile() -> ::Google::Cloud::Ces::V1::ChannelProfile
Returns
- (::Google::Cloud::Ces::V1::ChannelProfile) — Required. The channel profile used in the deployment.
#channel_profile=
def channel_profile=(value) -> ::Google::Cloud::Ces::V1::ChannelProfile
Parameter
- value (::Google::Cloud::Ces::V1::ChannelProfile) — Required. The channel profile used in the deployment.
Returns
- (::Google::Cloud::Ces::V1::ChannelProfile) — Required. The channel profile used in the deployment.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this deployment was created.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. Display name of the deployment.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. Display name of the deployment.
Returns
- (::String) — Required. Display name of the deployment.
#etag
def etag() -> ::String
Returns
- (::String) — Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.
#experiment_config
def experiment_config() -> ::Google::Cloud::Ces::V1::ExperimentConfig
Returns
- (::Google::Cloud::Ces::V1::ExperimentConfig) — Optional. Experiment configuration for the deployment.
#experiment_config=
def experiment_config=(value) -> ::Google::Cloud::Ces::V1::ExperimentConfig
Parameter
- value (::Google::Cloud::Ces::V1::ExperimentConfig) — Optional. Experiment configuration for the deployment.
Returns
- (::Google::Cloud::Ces::V1::ExperimentConfig) — Optional. Experiment configuration for the deployment.
#instagram_credentials
def instagram_credentials() -> ::Google::Cloud::Ces::V1::InstagramCredentials
Returns
- (::Google::Cloud::Ces::V1::InstagramCredentials) — Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
#instagram_credentials=
def instagram_credentials=(value) -> ::Google::Cloud::Ces::V1::InstagramCredentials
Parameter
- value (::Google::Cloud::Ces::V1::InstagramCredentials) — Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
Returns
- (::Google::Cloud::Ces::V1::InstagramCredentials) — Optional. Input only. Ephemeral Instagram credentials required when configuring a Instagram channel profile.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
Returns
-
(::String) — Identifier. The resource name of the deployment.
Format:
projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this deployment was last updated.
#whatsapp_credentials
def whatsapp_credentials() -> ::Google::Cloud::Ces::V1::WhatsAppCredentials
Returns
- (::Google::Cloud::Ces::V1::WhatsAppCredentials) — Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
#whatsapp_credentials=
def whatsapp_credentials=(value) -> ::Google::Cloud::Ces::V1::WhatsAppCredentials
Parameter
- value (::Google::Cloud::Ces::V1::WhatsAppCredentials) — Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.
Returns
- (::Google::Cloud::Ces::V1::WhatsAppCredentials) — Optional. Input only. Ephemeral WhatsApp credentials required when configuring a WhatsApp channel profile.