📂 File Browser

AgentAI/vendor/google/apiclient-services/src/WorkspaceEvents
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 APIKeySecurityScheme.php
▶ Open 📄 View Source
🐘 AgentCapabilities.php
▶ Open 📄 View Source
🐘 AgentCard.php
▶ Open 📄 View Source
🐘 AgentCardSignature.php
▶ Open 📄 View Source
🐘 AgentExtension.php
▶ Open 📄 View Source
🐘 AgentInterface.php
▶ Open 📄 View Source
🐘 AgentProvider.php
▶ Open 📄 View Source
🐘 AgentSkill.php
▶ Open 📄 View Source
🐘 Artifact.php
▶ Open 📄 View Source
🐘 AuthenticationInfo.php
▶ Open 📄 View Source
🐘 AuthorizationCodeOAuthFlow.php
▶ Open 📄 View Source
🐘 CancelTaskRequest.php
▶ Open 📄 View Source
🐘 ClientCredentialsOAuthFlow.php
▶ Open 📄 View Source
🐘 DataPart.php
▶ Open 📄 View Source
🐘 FilePart.php
▶ Open 📄 View Source
🐘 HTTPAuthSecurityScheme.php
▶ Open 📄 View Source
🐘 ImplicitOAuthFlow.php
▶ Open 📄 View Source
🐘 ListSubscriptionsResponse.php
▶ Open 📄 View Source
🐘 ListTaskPushNotificationConfigResponse.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 MutualTlsSecurityScheme.php
▶ Open 📄 View Source
🐘 NotificationEndpoint.php
▶ Open 📄 View Source
🐘 OAuth2SecurityScheme.php
▶ Open 📄 View Source
🐘 OAuthFlows.php
▶ Open 📄 View Source
🐘 OpenIdConnectSecurityScheme.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 Part.php
▶ Open 📄 View Source
🐘 PasswordOAuthFlow.php
▶ Open 📄 View Source
🐘 PayloadOptions.php
▶ Open 📄 View Source
🐘 PushNotificationConfig.php
▶ Open 📄 View Source
🐘 ReactivateSubscriptionRequest.php
▶ Open 📄 View Source
🐘 Security.php
▶ Open 📄 View Source
🐘 SecurityScheme.php
▶ Open 📄 View Source
🐘 SendMessageConfiguration.php
▶ Open 📄 View Source
🐘 SendMessageRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StreamResponse.php
▶ Open 📄 View Source
🐘 StringList.php
▶ Open 📄 View Source
🐘 Subscription.php
▶ Open 📄 View Source
🐘 Task.php
▶ Open 📄 View Source
🐘 TaskArtifactUpdateEvent.php
▶ Open 📄 View Source
🐘 TaskPushNotificationConfig.php
▶ Open 📄 View Source
🐘 TaskStatus.php
▶ Open 📄 View Source
🐘 TaskStatusUpdateEvent.php
▶ Open 📄 View Source
🐘 WorkspaceeventsEmpty.php
▶ Open 📄 View Source

📄 Source: AgentSkill.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\WorkspaceEvents;

class AgentSkill extends \Google\Collection
{
  protected $collection_key = 'tags';
  /**
   * A human (or llm) readable description of the skill details and behaviors.
   *
   * @var string
   */
  public $description;
  /**
   * A set of example queries that this skill is designed to address. These
   * examples should help the caller to understand how to craft requests to the
   * agent to achieve specific goals. Example: ["I need a recipe for bread"]
   *
   * @var string[]
   */
  public $examples;
  /**
   * Unique identifier of the skill within this agent.
   *
   * @var string
   */
  public $id;
  /**
   * Possible input modalities supported.
   *
   * @var string[]
   */
  public $inputModes;
  /**
   * A human readable name for the skill.
   *
   * @var string
   */
  public $name;
  /**
   * Possible output modalities produced
   *
   * @var string[]
   */
  public $outputModes;
  protected $securityType = Security::class;
  protected $securityDataType = 'array';
  /**
   * A set of tags for the skill to enhance categorization/utilization. Example:
   * ["cooking", "customer support", "billing"]
   *
   * @var string[]
   */
  public $tags;

  /**
   * A human (or llm) readable description of the skill details and behaviors.
   *
   * @param string $description
   */
  public function setDescription($description)
  {
    $this->description = $description;
  }
  /**
   * @return string
   */
  public function getDescription()
  {
    return $this->description;
  }
  /**
   * A set of example queries that this skill is designed to address. These
   * examples should help the caller to understand how to craft requests to the
   * agent to achieve specific goals. Example: ["I need a recipe for bread"]
   *
   * @param string[] $examples
   */
  public function setExamples($examples)
  {
    $this->examples = $examples;
  }
  /**
   * @return string[]
   */
  public function getExamples()
  {
    return $this->examples;
  }
  /**
   * Unique identifier of the skill within this agent.
   *
   * @param string $id
   */
  public function setId($id)
  {
    $this->id = $id;
  }
  /**
   * @return string
   */
  public function getId()
  {
    return $this->id;
  }
  /**
   * Possible input modalities supported.
   *
   * @param string[] $inputModes
   */
  public function setInputModes($inputModes)
  {
    $this->inputModes = $inputModes;
  }
  /**
   * @return string[]
   */
  public function getInputModes()
  {
    return $this->inputModes;
  }
  /**
   * A human readable name for the skill.
   *
   * @param string $name
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * Possible output modalities produced
   *
   * @param string[] $outputModes
   */
  public function setOutputModes($outputModes)
  {
    $this->outputModes = $outputModes;
  }
  /**
   * @return string[]
   */
  public function getOutputModes()
  {
    return $this->outputModes;
  }
  /**
   * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED Security schemes
   * necessary for the agent to leverage this skill. As in the overall
   * AgentCard.security, this list represents a logical OR of security
   * requirement objects. Each object is a set of security schemes that must be
   * used together (a logical AND). protolint:enable
   * REPEATED_FIELD_NAMES_PLURALIZED
   *
   * @param Security[] $security
   */
  public function setSecurity($security)
  {
    $this->security = $security;
  }
  /**
   * @return Security[]
   */
  public function getSecurity()
  {
    return $this->security;
  }
  /**
   * A set of tags for the skill to enhance categorization/utilization. Example:
   * ["cooking", "customer support", "billing"]
   *
   * @param string[] $tags
   */
  public function setTags($tags)
  {
    $this->tags = $tags;
  }
  /**
   * @return string[]
   */
  public function getTags()
  {
    return $this->tags;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AgentSkill::class, 'Google_Service_WorkspaceEvents_AgentSkill');
← Back