Service Client: Google::Actions::Sdk::V2::ActionsSdk::ActionsSdkClient

Client stub representing the remote ActionsSdk gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to actions.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Actions::Sdk::V2::ActionsSdk - Compiled Protocol Buffers messages for google/actions/sdk/v2/actions_sdk.proto

SYNOPSIS

use Google::Actions::Sdk::V2::ActionsSdk;

my $msg = Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest->new({
    parent => $parent,
    files => $files,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/actions_sdk.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Actions::Sdk::V2::ActionsSdk::WriteDraftRequest

Streaming RPC request for WriteDraft.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name in the format `projects/{project}`. The `{project}` is the cloud project ID associated with the project.

  • $msg->files() / $msg->files($value)

    Type: Message (Google::Actions::Sdk::V2::Files::Files)

    Required. List of files sent to the server at a time. This is a list of config files or data files. 1. The first request must be a ConfigFiles. 2. The first request must have a ConfigFile with 'settings'. 3. The first request must have a ConfigFile with 'manifest'. 4. The webhook ConfigFile corresponding to inline cloud function must be streamed before the DataFile corresponding to its source code.

Google::Actions::Sdk::V2::ActionsSdk::Draft

Definition of draft resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique identifier of the draft in the following format. `projects/{project}/draft`

  • $msg->validation_results() / $msg->validation_results($value)

    Type: Message (Google::Actions::Sdk::V2::ValidationResults::ValidationResults)

    Validation results associated with the project draft content. Note that WriteDraft updates the draft despite the warnings as warnings are not draft blocking.

Google::Actions::Sdk::V2::ActionsSdk::WritePreviewRequest

Streaming RPC request for WritePreview.

Inherits from Protobuf::Message.

Accessors

Google::Actions::Sdk::V2::ActionsSdk::Preview

Definition of preview resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The unique identifier of the preview. Format: `projects/{project}/preview`

  • $msg->validation_results() / $msg->validation_results($value)

    Type: Message (Google::Actions::Sdk::V2::ValidationResults::ValidationResults)

    Validation results associated with the user project preview content.

  • $msg->simulator_url() / $msg->simulator_url($value)

    Type: String

    The simulator URL to test the user preview.

Google::Actions::Sdk::V2::ActionsSdk::CreateVersionRequest

Streaming RPC request for CreateVersion.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name in the format `projects/{project}`. The `{project}` is the cloud project ID associated with the project.

  • $msg->files() / $msg->files($value)

    Type: Message (Google::Actions::Sdk::V2::Files::Files)

    Required. List of files sent to the server at a time. This is a list of config files or data files. 1. The first request must be a ConfigFiles. 2. The first request must have a ConfigFile with 'settings'. 3. The first request must have a ConfigFile with 'manifest'. 4. The webhook ConfigFile corresponding to inline cloud function must be streamed before the DataFile corresponding to its source code.

  • $msg->release_channel() / $msg->release_channel($value)

    Type: String

    Optional. The release channel to deploy the version, if specified. The supported built in release channels are actions.channels.Production, actions.channels.ClosedBeta, actions.channels.Alpha. .

Google::Actions::Sdk::V2::ActionsSdk::ReadDraftRequest

RPC request for ReadDraft.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the resource in the format `projects/{project}/draft`. The `{project}` is the cloud project ID associated with the project.

  • $msg->client_secret_encryption_key_version() / $msg->client_secret_encryption_key_version($value)

    Type: String

    Optional. The version of the crypto key used to encrypt the account linking OAuth client secret. If not specified, the primary key version is used for encryption. Only relevant for projects with account linking with client secret.

Google::Actions::Sdk::V2::ActionsSdk::ReadDraftResponse

Streaming RPC response for ReadDraft.

Inherits from Protobuf::Message.

Accessors

Google::Actions::Sdk::V2::ActionsSdk::ReadVersionRequest

RPC request for ReadVersion.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the version resource in the format `projects/{project}/versions/{version}`. `{project}` is the cloud project ID associated with the project, `{version}` is the identifier of the version being read.

  • $msg->client_secret_encryption_key_version() / $msg->client_secret_encryption_key_version($value)

    Type: String

    Optional. The version of the crypto key used to encrypt the account linking OAuth client secret. If not specified, the primary key version is used for encryption. Only relevant for projects with account linking with client secret.

Google::Actions::Sdk::V2::ActionsSdk::ReadVersionResponse

Streaming RPC response for ReadVersion.

Inherits from Protobuf::Message.

Accessors

Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretRequest

RPC request for EncryptSecret.

Inherits from Protobuf::Message.

Accessors

  • $msg->client_secret() / $msg->client_secret($value)

    Type: String

    Required. The account linking client secret plaintext.

Google::Actions::Sdk::V2::ActionsSdk::EncryptSecretResponse

RPC response for EncryptSecret.

Inherits from Protobuf::Message.

Accessors

Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretRequest

RPC request for DecryptSecret.

Inherits from Protobuf::Message.

Accessors

  • $msg->encrypted_client_secret() / $msg->encrypted_client_secret($value)

    Type: Bytes

    Required. The account linking client secret ciphertext.

Google::Actions::Sdk::V2::ActionsSdk::DecryptSecretResponse

RPC response for DecryptSecret.

Inherits from Protobuf::Message.

Accessors

  • $msg->client_secret() / $msg->client_secret($value)

    Type: String

    The account linking client secret plaintext.

Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsRequest

RPC request for ListSampleProjects.

Inherits from Protobuf::Message.

Accessors

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of sample projects to return. The service may return fewer than this value. If unspecified, at most 1000 sample projects will be returned. Values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A page token, received from a previous 'ListSampleProjects' call. Provide this to retrieve the subsequent page.

Google::Actions::Sdk::V2::ActionsSdk::ListSampleProjectsResponse

RPC response for ListSampleProjects.

Inherits from Protobuf::Message.

Accessors

  • $msg->sample_projects() / $msg->sample_projects($value)

    Type: Message (Google::Actions::Sdk::V2::ActionsSdk::SampleProject)

    The list of sample projects supported.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Actions::Sdk::V2::ActionsSdk::SampleProject

Definition of sample project resource.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    The name of the sample project. Format: `sampleProjects/{sample_project}`

  • $msg->hosted_url() / $msg->hosted_url($value)

    Type: String

    The URL to the zip file where the sample is hosted.

  • $msg->description() / $msg->description($value)

    Type: String

    The description of the sample project.

Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsRequest

RPC request for listing release channels

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the resource in the format `projects/{project}`. The `{project}` is the cloud project ID associated with the project.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of release channels to return. The service may return fewer than this value. If unspecified, at most 50 release channels will be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListReleaseChannels` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListReleaseChannels` must match the call that provided the page token.

Google::Actions::Sdk::V2::ActionsSdk::ListReleaseChannelsResponse

RPC response for listing release channels

Inherits from Protobuf::Message.

Accessors

  • $msg->release_channels() / $msg->release_channels($value)

    Type: Message (Google::Actions::Sdk::V2::ReleaseChannel::ReleaseChannel)

    List of the release channels for the given project id.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Actions::Sdk::V2::ActionsSdk::ListVersionsRequest

RPC request for listing versions

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The name of the resource in the format `projects/{project}`. The `{project}` is the cloud project ID associated with the project.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A page token, received from a previous `ListVersions` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListVersions` must match the call that provided the page token.

Google::Actions::Sdk::V2::ActionsSdk::ListVersionsResponse

RPC response for listing versions

Inherits from Protobuf::Message.

Accessors

  • $msg->versions() / $msg->versions($value)

    Type: Message (Google::Actions::Sdk::V2::Version::Version)

    List of the versions for the given project id.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

SEE ALSO

Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::ActionsSdk::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.