repository_name stringlengths 5 67 | func_path_in_repository stringlengths 4 234 | func_name stringlengths 0 314 | whole_func_string stringlengths 52 3.87M | language stringclasses 6
values | func_code_string stringlengths 52 3.87M | func_code_tokens listlengths 15 672k | func_documentation_string stringlengths 1 47.2k | func_documentation_tokens listlengths 1 3.92k | split_name stringclasses 1
value | func_code_url stringlengths 85 339 |
|---|---|---|---|---|---|---|---|---|---|---|
googleapis/google-api-php-client-services | src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php | Google_Service_AdExchangeBuyerII_Resource_AccountsClientsInvitations.listAccountsClientsInvitations | public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_L... | php | public function listAccountsClientsInvitations($accountId, $clientAccountId, $optParams = array())
{
$params = array('accountId' => $accountId, 'clientAccountId' => $clientAccountId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_L... | [
"public",
"function",
"listAccountsClientsInvitations",
"(",
"$",
"accountId",
",",
"$",
"clientAccountId",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'accountId'",
"=>",
"$",
"accountId",
",",
"'clientAccountId... | Lists all the client users invitations for a client with a given account ID.
(invitations.listAccountsClientsInvitations)
@param string $accountId Numerical account ID of the client's sponsor buyer.
(required)
@param string $clientAccountId Numerical account ID of the client buyer to
list invitations for. (required) Y... | [
"Lists",
"all",
"the",
"client",
"users",
"invitations",
"for",
"a",
"client",
"with",
"a",
"given",
"account",
"ID",
".",
"(",
"invitations",
".",
"listAccountsClientsInvitations",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AdExchangeBuyerII/Resource/AccountsClientsInvitations.php#L84-L89 |
googleapis/google-api-php-client-services | src/Google/Service/CloudTalentSolution/Resource/ProjectsCompanies.php | Google_Service_CloudTalentSolution_Resource_ProjectsCompanies.listProjectsCompanies | public function listProjectsCompanies($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudTalentSolution_ListCompaniesResponse");
} | php | public function listProjectsCompanies($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudTalentSolution_ListCompaniesResponse");
} | [
"public",
"function",
"listProjectsCompanies",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"param... | Lists all companies associated with the service account.
(companies.listProjectsCompanies)
@param string $parent Required.
Resource name of the project under which the company is created.
The format is "projects/{project_id}", for example, "projects/api-test-
project".
@param array $optParams Optional parameters.
@... | [
"Lists",
"all",
"companies",
"associated",
"with",
"the",
"service",
"account",
".",
"(",
"companies",
".",
"listProjectsCompanies",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudTalentSolution/Resource/ProjectsCompanies.php#L113-L118 |
googleapis/google-api-php-client-services | src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php | Google_Service_FirebaseDynamicLinksAPI_Resource_ShortDynamicLinks.create | public function create(Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinksAPI_CreateSh... | php | public function create(Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinksAPI_CreateSh... | [
"public",
"function",
"create",
"(",
"Google_Service_FirebaseDynamicLinksAPI_CreateShortDynamicLinkRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
... | Creates a short Dynamic Link given either a valid long Dynamic Link or
details such as Dynamic Link domain, Android and iOS app information. The
created short Dynamic Link will not expire.
Repeated calls with the same long Dynamic Link or Dynamic Link information
will produce the same short Dynamic Link.
The Dynamic ... | [
"Creates",
"a",
"short",
"Dynamic",
"Link",
"given",
"either",
"a",
"valid",
"long",
"Dynamic",
"Link",
"or",
"details",
"such",
"as",
"Dynamic",
"Link",
"domain",
"Android",
"and",
"iOS",
"app",
"information",
".",
"The",
"created",
"short",
"Dynamic",
"Lin... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/FirebaseDynamicLinksAPI/Resource/ShortDynamicLinks.php#L43-L48 |
googleapis/google-api-php-client-services | src/Google/Service/Gmail/Resource/UsersSettingsDelegates.php | Google_Service_Gmail_Resource_UsersSettingsDelegates.delete | public function delete($userId, $delegateEmail, $optParams = array())
{
$params = array('userId' => $userId, 'delegateEmail' => $delegateEmail);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
} | php | public function delete($userId, $delegateEmail, $optParams = array())
{
$params = array('userId' => $userId, 'delegateEmail' => $delegateEmail);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
} | [
"public",
"function",
"delete",
"(",
"$",
"userId",
",",
"$",
"delegateEmail",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'userId'",
"=>",
"$",
"userId",
",",
"'delegateEmail'",
"=>",
"$",
"delegateEmail",... | Removes the specified delegate (which can be of any verification status), and
revokes any verification that may have been required for using it.
Note that a delegate user must be referred to by their primary email address,
and not an email alias.
This method is only available to service account clients that have been... | [
"Removes",
"the",
"specified",
"delegate",
"(",
"which",
"can",
"be",
"of",
"any",
"verification",
"status",
")",
"and",
"revokes",
"any",
"verification",
"that",
"may",
"have",
"been",
"required",
"for",
"using",
"it",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Gmail/Resource/UsersSettingsDelegates.php#L74-L79 |
googleapis/google-api-php-client-services | src/Google/Service/Gmail/Resource/UsersSettingsDelegates.php | Google_Service_Gmail_Resource_UsersSettingsDelegates.listUsersSettingsDelegates | public function listUsersSettingsDelegates($userId, $optParams = array())
{
$params = array('userId' => $userId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Gmail_ListDelegatesResponse");
} | php | public function listUsersSettingsDelegates($userId, $optParams = array())
{
$params = array('userId' => $userId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Gmail_ListDelegatesResponse");
} | [
"public",
"function",
"listUsersSettingsDelegates",
"(",
"$",
"userId",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'userId'",
"=>",
"$",
"userId",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"... | Lists the delegates for the specified account.
This method is only available to service account clients that have been
delegated domain-wide authority. (delegates.listUsersSettingsDelegates)
@param string $userId User's email address. The special value "me" can be
used to indicate the authenticated user.
@param array... | [
"Lists",
"the",
"delegates",
"for",
"the",
"specified",
"account",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Gmail/Resource/UsersSettingsDelegates.php#L113-L118 |
googleapis/google-api-php-client-services | src/Google/Service/DLP/Resource/ProjectsInspectTemplates.php | Google_Service_DLP_Resource_ProjectsInspectTemplates.listProjectsInspectTemplates | public function listProjectsInspectTemplates($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_DLP_GooglePrivacyDlpV2ListInspectTemplatesResponse");
} | php | public function listProjectsInspectTemplates($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_DLP_GooglePrivacyDlpV2ListInspectTemplatesResponse");
} | [
"public",
"function",
"listProjectsInspectTemplates",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
... | Lists InspectTemplates. See https://cloud.google.com/dlp/docs/creating-
templates to learn more. (inspectTemplates.listProjectsInspectTemplates)
@param string $parent The parent resource name, for example projects/my-
project-id or organizations/my-org-id.
@param array $optParams Optional parameters.
@opt_param strin... | [
"Lists",
"InspectTemplates",
".",
"See",
"https",
":",
"//",
"cloud",
".",
"google",
".",
"com",
"/",
"dlp",
"/",
"docs",
"/",
"creating",
"-",
"templates",
"to",
"learn",
"more",
".",
"(",
"inspectTemplates",
".",
"listProjectsInspectTemplates",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/DLP/Resource/ProjectsInspectTemplates.php#L105-L110 |
googleapis/google-api-php-client-services | src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsNonBillableWinningBids.php | Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsNonBillableWinningBids.listBiddersAccountsFilterSetsNonBillableWinningBids | public function listBiddersAccountsFilterSetsNonBillableWinningBids($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListNonBillableWinningBid... | php | public function listBiddersAccountsFilterSetsNonBillableWinningBids($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListNonBillableWinningBid... | [
"public",
"function",
"listBiddersAccountsFilterSetsNonBillableWinningBids",
"(",
"$",
"filterSetName",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'filterSetName'",
"=>",
"$",
"filterSetName",
")",
";",
"$",
"para... | List all reasons for which winning bids were not billable, with the number of
bids not billed for each reason.
(nonBillableWinningBids.listBiddersAccountsFilterSetsNonBillableWinningBids)
@param string $filterSetName Name of the filter set that should be applied to
the requested metrics. For example:
- For a bidder-l... | [
"List",
"all",
"reasons",
"for",
"which",
"winning",
"bids",
"were",
"not",
"billable",
"with",
"the",
"number",
"of",
"bids",
"not",
"billed",
"for",
"each",
"reason",
".",
"(",
"nonBillableWinningBids",
".",
"listBiddersAccountsFilterSetsNonBillableWinningBids",
"... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsNonBillableWinningBids.php#L55-L60 |
googleapis/google-api-php-client-services | src/Google/Service/Dns/Resource/DnsKeys.php | Google_Service_Dns_Resource_DnsKeys.listDnsKeys | public function listDnsKeys($project, $managedZone, $optParams = array())
{
$params = array('project' => $project, 'managedZone' => $managedZone);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Dns_DnsKeysListResponse");
} | php | public function listDnsKeys($project, $managedZone, $optParams = array())
{
$params = array('project' => $project, 'managedZone' => $managedZone);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Dns_DnsKeysListResponse");
} | [
"public",
"function",
"listDnsKeys",
"(",
"$",
"project",
",",
"$",
"managedZone",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'project'",
"=>",
"$",
"project",
",",
"'managedZone'",
"=>",
"$",
"managedZone... | Enumerate DnsKeys to a ResourceRecordSet collection. (dnsKeys.listDnsKeys)
@param string $project Identifies the project addressed by this request.
@param string $managedZone Identifies the managed zone addressed by this
request. Can be the managed zone name or id.
@param array $optParams Optional parameters.
@opt_pa... | [
"Enumerate",
"DnsKeys",
"to",
"a",
"ResourceRecordSet",
"collection",
".",
"(",
"dnsKeys",
".",
"listDnsKeys",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Dns/Resource/DnsKeys.php#L69-L74 |
googleapis/google-api-php-client-services | src/Google/Service/Container/Resource/ProjectsLocationsOperations.php | Google_Service_Container_Resource_ProjectsLocationsOperations.cancel | public function cancel($name, Google_Service_Container_CancelOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_Container_ContainerEmpty");
... | php | public function cancel($name, Google_Service_Container_CancelOperationRequest $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('cancel', array($params), "Google_Service_Container_ContainerEmpty");
... | [
"public",
"function",
"cancel",
"(",
"$",
"name",
",",
"Google_Service_Container_CancelOperationRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'name'",
"=>",
"$",
"name",
",",
"'postBody... | Cancels the specified operation. (operations.cancel)
@param string $name The name (project, location, operation id) of the
operation to cancel. Specified in the format 'projects/locations/operations'.
@param Google_Service_Container_CancelOperationRequest $postBody
@param array $optParams Optional parameters.
@return ... | [
"Cancels",
"the",
"specified",
"operation",
".",
"(",
"operations",
".",
"cancel",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Container/Resource/ProjectsLocationsOperations.php#L37-L42 |
googleapis/google-api-php-client-services | src/Google/Service/Container/Resource/ProjectsLocationsOperations.php | Google_Service_Container_Resource_ProjectsLocationsOperations.listProjectsLocationsOperations | public function listProjectsLocationsOperations($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
} | php | public function listProjectsLocationsOperations($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Container_ListOperationsResponse");
} | [
"public",
"function",
"listProjectsLocationsOperations",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$"... | Lists all operations in a project in a specific zone or all zones.
(operations.listProjectsLocationsOperations)
@param string $parent The parent (project and location) where the operations
will be listed. Specified in the format 'projects/locations'. Location "-"
matches all zones and all regions.
@param array $optPar... | [
"Lists",
"all",
"operations",
"in",
"a",
"project",
"in",
"a",
"specific",
"zone",
"or",
"all",
"zones",
".",
"(",
"operations",
".",
"listProjectsLocationsOperations",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Container/Resource/ProjectsLocationsOperations.php#L85-L90 |
googleapis/google-api-php-client-services | src/Google/Service/RemoteBuildExecution/Resource/Blobs.php | Google_Service_RemoteBuildExecution_Resource_Blobs.batchRead | public function batchRead($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchR... | php | public function batchRead($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('batchR... | [
"public",
"function",
"batchRead",
"(",
"$",
"instanceName",
",",
"Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchReadBlobsRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'inst... | Download many blobs at once.
The server may enforce a limit of the combined total size of blobs to be
downloaded using this API. This limit may be obtained using the Capabilities
API. Requests exceeding the limit should either be split into smaller chunks
or downloaded using the ByteStream API, as appropriate.
This r... | [
"Download",
"many",
"blobs",
"at",
"once",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/RemoteBuildExecution/Resource/Blobs.php#L56-L61 |
googleapis/google-api-php-client-services | src/Google/Service/RemoteBuildExecution/Resource/Blobs.php | Google_Service_RemoteBuildExecution_Resource_Blobs.batchUpdate | public function batchUpdate($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('ba... | php | public function batchUpdate($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('ba... | [
"public",
"function",
"batchUpdate",
"(",
"$",
"instanceName",
",",
"Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2BatchUpdateBlobsRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'... | Upload many blobs at once.
The server may enforce a limit of the combined total size of blobs to be
uploaded using this API. This limit may be obtained using the Capabilities
API. Requests exceeding the limit should either be split into smaller chunks
or uploaded using the ByteStream API, as appropriate.
This request... | [
"Upload",
"many",
"blobs",
"at",
"once",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/RemoteBuildExecution/Resource/Blobs.php#L93-L98 |
googleapis/google-api-php-client-services | src/Google/Service/RemoteBuildExecution/Resource/Blobs.php | Google_Service_RemoteBuildExecution_Resource_Blobs.findMissing | public function findMissing($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FindMissingBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('fi... | php | public function findMissing($instanceName, Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FindMissingBlobsRequest $postBody, $optParams = array())
{
$params = array('instanceName' => $instanceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('fi... | [
"public",
"function",
"findMissing",
"(",
"$",
"instanceName",
",",
"Google_Service_RemoteBuildExecution_BuildBazelRemoteExecutionV2FindMissingBlobsRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'... | Determine if blobs are present in the CAS.
Clients can use this API before uploading blobs to determine which ones are
already present in the CAS and do not need to be uploaded again.
There are no method-specific errors. (blobs.findMissing)
@param string $instanceName The instance of the execution system to operate
... | [
"Determine",
"if",
"blobs",
"are",
"present",
"in",
"the",
"CAS",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/RemoteBuildExecution/Resource/Blobs.php#L116-L121 |
googleapis/google-api-php-client-services | src/Google/Service/CloudPrivateCatalogProducer/Resource/CatalogsAssociations.php | Google_Service_CloudPrivateCatalogProducer_Resource_CatalogsAssociations.listCatalogsAssociations | public function listCatalogsAssociations($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudPrivateCatalogProducer_GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsRespons... | php | public function listCatalogsAssociations($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudPrivateCatalogProducer_GoogleCloudPrivatecatalogproducerV1beta1ListAssociationsRespons... | [
"public",
"function",
"listCatalogsAssociations",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"pa... | Lists all Association resources under a catalog.
(associations.listCatalogsAssociations)
@param string $parent The resource name of the `Catalog` whose `Associations`
are being retrieved. In the format `catalogs/`.
@param array $optParams Optional parameters.
@opt_param string pageToken A pagination token returned fr... | [
"Lists",
"all",
"Association",
"resources",
"under",
"a",
"catalog",
".",
"(",
"associations",
".",
"listCatalogsAssociations",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudPrivateCatalogProducer/Resource/CatalogsAssociations.php#L81-L86 |
googleapis/google-api-php-client-services | src/Google/Service/BigtableAdmin/Resource/ProjectsInstancesAppProfiles.php | Google_Service_BigtableAdmin_Resource_ProjectsInstancesAppProfiles.listProjectsInstancesAppProfiles | public function listProjectsInstancesAppProfiles($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_BigtableAdmin_ListAppProfilesResponse");
} | php | public function listProjectsInstancesAppProfiles($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_BigtableAdmin_ListAppProfilesResponse");
} | [
"public",
"function",
"listProjectsInstancesAppProfiles",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$... | Lists information about app profiles in an instance.
(appProfiles.listProjectsInstancesAppProfiles)
@param string $parent The unique name of the instance for which a list of app
profiles is requested. Values are of the form `projects//instances/`. Use ` =
'-'` to list AppProfiles for all Instances in a project, e.g.,
... | [
"Lists",
"information",
"about",
"app",
"profiles",
"in",
"an",
"instance",
".",
"(",
"appProfiles",
".",
"listProjectsInstancesAppProfiles",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/BigtableAdmin/Resource/ProjectsInstancesAppProfiles.php#L96-L101 |
googleapis/google-api-php-client-services | src/Google/Service/Customsearch/Resource/CseSiterestrict.php | Google_Service_Customsearch_Resource_CseSiterestrict.listCseSiterestrict | public function listCseSiterestrict($q, $optParams = array())
{
$params = array('q' => $q);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Customsearch_Search");
} | php | public function listCseSiterestrict($q, $optParams = array())
{
$params = array('q' => $q);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Customsearch_Search");
} | [
"public",
"function",
"listCseSiterestrict",
"(",
"$",
"q",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'q'",
"=>",
"$",
"q",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
",",
"$",... | Returns metadata about the search performed, metadata about the custom search
engine used for the search, and the search results. Uses a small set of url
patterns. (siterestrict.listCseSiterestrict)
@param string $q Query
@param array $optParams Optional parameters.
@opt_param string c2coff Turns off the translation ... | [
"Returns",
"metadata",
"about",
"the",
"search",
"performed",
"metadata",
"about",
"the",
"custom",
"search",
"engine",
"used",
"for",
"the",
"search",
"and",
"the",
"search",
"results",
".",
"Uses",
"a",
"small",
"set",
"of",
"url",
"patterns",
".",
"(",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Customsearch/Resource/CseSiterestrict.php#L89-L94 |
googleapis/google-api-php-client-services | src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsBidMetrics.php | Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsBidMetrics.listBiddersAccountsFilterSetsBidMetrics | public function listBiddersAccountsFilterSetsBidMetrics($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListBidMetricsResponse");
} | php | public function listBiddersAccountsFilterSetsBidMetrics($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListBidMetricsResponse");
} | [
"public",
"function",
"listBiddersAccountsFilterSetsBidMetrics",
"(",
"$",
"filterSetName",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'filterSetName'",
"=>",
"$",
"filterSetName",
")",
";",
"$",
"params",
"=",
... | Lists all metrics that are measured in terms of number of bids.
(bidMetrics.listBiddersAccountsFilterSetsBidMetrics)
@param string $filterSetName Name of the filter set that should be applied to
the requested metrics. For example:
- For a bidder-level filter set for bidder 123:
`bidders/123/filterSets/abc`
- For an ... | [
"Lists",
"all",
"metrics",
"that",
"are",
"measured",
"in",
"terms",
"of",
"number",
"of",
"bids",
".",
"(",
"bidMetrics",
".",
"listBiddersAccountsFilterSetsBidMetrics",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsBidMetrics.php#L54-L59 |
googleapis/google-api-php-client-services | src/Google/Service/Directory/Resource/Members.php | Google_Service_Directory_Resource_Members.hasMember | public function hasMember($groupKey, $memberKey, $optParams = array())
{
$params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
$params = array_merge($params, $optParams);
return $this->call('hasMember', array($params), "Google_Service_Directory_MembersHasMember");
} | php | public function hasMember($groupKey, $memberKey, $optParams = array())
{
$params = array('groupKey' => $groupKey, 'memberKey' => $memberKey);
$params = array_merge($params, $optParams);
return $this->call('hasMember', array($params), "Google_Service_Directory_MembersHasMember");
} | [
"public",
"function",
"hasMember",
"(",
"$",
"groupKey",
",",
"$",
"memberKey",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'groupKey'",
"=>",
"$",
"groupKey",
",",
"'memberKey'",
"=>",
"$",
"memberKey",
... | Checks whether the given user is a member of the group. Membership can be
direct or nested. (members.hasMember)
@param string $groupKey Identifies the group in the API request. The value
can be the group's email address, group alias, or the unique group ID.
@param string $memberKey Identifies the user member in the AP... | [
"Checks",
"whether",
"the",
"given",
"user",
"is",
"a",
"member",
"of",
"the",
"group",
".",
"Membership",
"can",
"be",
"direct",
"or",
"nested",
".",
"(",
"members",
".",
"hasMember",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Directory/Resource/Members.php#L66-L71 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.claim | public function claim($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claim', array($params), "Google_Service_And... | php | public function claim($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claim', array($params), "Google_Service_And... | [
"public",
"function",
"claim",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partnerId'",
"=>",
"$",
"part... | Claims a device for a customer and adds it to zero-touch enrollment. If the
device is already claimed by another customer, the call returns an error.
(devices.claim)
@param string $partnerId Required. The ID of the reseller partner.
@param Google_Service_AndroidProvisioningPartner_ClaimDeviceRequest $postBody
@param a... | [
"Claims",
"a",
"device",
"for",
"a",
"customer",
"and",
"adds",
"it",
"to",
"zero",
"-",
"touch",
"enrollment",
".",
"If",
"the",
"device",
"is",
"already",
"claimed",
"by",
"another",
"customer",
"the",
"call",
"returns",
"an",
"error",
".",
"(",
"devic... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L38-L43 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.claimAsync | public function claimAsync($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claimAsync', array($params), "Google_... | php | public function claimAsync($partnerId, Google_Service_AndroidProvisioningPartner_ClaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('claimAsync', array($params), "Google_... | [
"public",
"function",
"claimAsync",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_ClaimDevicesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partnerId'",
"=>",
"$",
... | Claims a batch of devices for a customer asynchronously. Adds the devices to
zero-touch enrollment. To learn more, read [Long‑running batch operations
](/zero-touch/guides/how-it-works#operations). (devices.claimAsync)
@param string $partnerId Required. The ID of the reseller partner.
@param Google_Service_AndroidProv... | [
"Claims",
"a",
"batch",
"of",
"devices",
"for",
"a",
"customer",
"asynchronously",
".",
"Adds",
"the",
"devices",
"to",
"zero",
"-",
"touch",
"enrollment",
".",
"To",
"learn",
"more",
"read",
"[",
"Long‑running",
"batch",
"operations",
"]",
"(",
"/",
"zero... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L54-L59 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.findByIdentifier | public function findByIdentifier($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByIdentifi... | php | public function findByIdentifier($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByIdentifi... | [
"public",
"function",
"findByIdentifier",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partne... | Finds devices by hardware identifiers, such as IMEI.
(devices.findByIdentifier)
@param string $partnerId Required. The ID of the reseller partner.
@param Google_Service_AndroidProvisioningPartner_FindDevicesByDeviceIdentifierRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_AndroidP... | [
"Finds",
"devices",
"by",
"hardware",
"identifiers",
"such",
"as",
"IMEI",
".",
"(",
"devices",
".",
"findByIdentifier",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L69-L74 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.findByOwner | public function findByOwner($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByOwner', array($params), ... | php | public function findByOwner($partnerId, Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('findByOwner', array($params), ... | [
"public",
"function",
"findByOwner",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_FindDevicesByOwnerRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partnerId'",
"=>",
... | Finds devices claimed for customers. The results only contain devices
registered to the reseller that's identified by the `partnerId` argument. The
customer's devices purchased from other resellers don't appear in the
results. (devices.findByOwner)
@param string $partnerId Required. The ID of the reseller partner.
@pa... | [
"Finds",
"devices",
"claimed",
"for",
"customers",
".",
"The",
"results",
"only",
"contain",
"devices",
"registered",
"to",
"the",
"reseller",
"that",
"s",
"identified",
"by",
"the",
"partnerId",
"argument",
".",
"The",
"customer",
"s",
"devices",
"purchased",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L86-L91 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.metadata | public function metadata($metadataOwnerId, $deviceId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBody, $optParams = array())
{
$params = array('metadataOwnerId' => $metadataOwnerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
... | php | public function metadata($metadataOwnerId, $deviceId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBody, $optParams = array())
{
$params = array('metadataOwnerId' => $metadataOwnerId, 'deviceId' => $deviceId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
... | [
"public",
"function",
"metadata",
"(",
"$",
"metadataOwnerId",
",",
"$",
"deviceId",
",",
"Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
... | Updates reseller metadata associated with the device. (devices.metadata)
@param string $metadataOwnerId Required. The owner of the newly set metadata.
Set this to the partner ID.
@param string $deviceId Required. The ID of the device.
@param Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataRequest $postBo... | [
"Updates",
"reseller",
"metadata",
"associated",
"with",
"the",
"device",
".",
"(",
"devices",
".",
"metadata",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L116-L121 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.unclaim | public function unclaim($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaim', array($params), "Google_Servi... | php | public function unclaim($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaim', array($params), "Google_Servi... | [
"public",
"function",
"unclaim",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partnerId'",
"=>",
"$",
"... | Unclaims a device from a customer and removes it from zero-touch enrollment.
(devices.unclaim)
@param string $partnerId Required. The ID of the reseller partner.
@param Google_Service_AndroidProvisioningPartner_UnclaimDeviceRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_AndroidPr... | [
"Unclaims",
"a",
"device",
"from",
"a",
"customer",
"and",
"removes",
"it",
"from",
"zero",
"-",
"touch",
"enrollment",
".",
"(",
"devices",
".",
"unclaim",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L131-L136 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.unclaimAsync | public function unclaimAsync($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaimAsync', array($params), "G... | php | public function unclaimAsync($partnerId, Google_Service_AndroidProvisioningPartner_UnclaimDevicesRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('unclaimAsync', array($params), "G... | [
"public",
"function",
"unclaimAsync",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_UnclaimDevicesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partnerId'",
"=>",
"$... | Unclaims a batch of devices for a customer asynchronously. Removes the
devices from zero-touch enrollment. To learn more, read [Long‑running batch
operations](/zero-touch/guides/how-it-works#operations).
(devices.unclaimAsync)
@param string $partnerId Required. The reseller partner ID.
@param Google_Service_AndroidPro... | [
"Unclaims",
"a",
"batch",
"of",
"devices",
"for",
"a",
"customer",
"asynchronously",
".",
"Removes",
"the",
"devices",
"from",
"zero",
"-",
"touch",
"enrollment",
".",
"To",
"learn",
"more",
"read",
"[",
"Long‑running",
"batch",
"operations",
"]",
"(",
"/",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L148-L153 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php | Google_Service_AndroidProvisioningPartner_Resource_PartnersDevices.updateMetadataAsync | public function updateMetadataAsync($partnerId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateMetadat... | php | public function updateMetadataAsync($partnerId, Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest $postBody, $optParams = array())
{
$params = array('partnerId' => $partnerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateMetadat... | [
"public",
"function",
"updateMetadataAsync",
"(",
"$",
"partnerId",
",",
"Google_Service_AndroidProvisioningPartner_UpdateDeviceMetadataInBatchRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'partn... | Updates the reseller metadata attached to a batch of devices. This method
updates devices asynchronously and returns an `Operation` that can be used to
track progress. Read [Long‑running batch operations](/zero-touch/guides/how-
it-works#operations). (devices.updateMetadataAsync)
@param string $partnerId Required. The... | [
"Updates",
"the",
"reseller",
"metadata",
"attached",
"to",
"a",
"batch",
"of",
"devices",
".",
"This",
"method",
"updates",
"devices",
"asynchronously",
"and",
"returns",
"an",
"Operation",
"that",
"can",
"be",
"used",
"to",
"track",
"progress",
".",
"Read",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/PartnersDevices.php#L165-L170 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.create | public function create(Google_Service_ServiceManagement_ManagedService $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation");
} | php | public function create(Google_Service_ServiceManagement_ManagedService $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_ServiceManagement_Operation");
} | [
"public",
"function",
"create",
"(",
"Google_Service_ServiceManagement_ManagedService",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$",
"params",
... | Creates a new managed service. Please note one producer project can own no
more than 20 services.
Operation (services.create)
@param Google_Service_ServiceManagement_ManagedService $postBody
@param array $optParams Optional parameters.
@return Google_Service_ServiceManagement_Operation | [
"Creates",
"a",
"new",
"managed",
"service",
".",
"Please",
"note",
"one",
"producer",
"project",
"can",
"own",
"no",
"more",
"than",
"20",
"services",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L38-L43 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.disable | public function disable($serviceName, Google_Service_ServiceManagement_DisableServiceRequest $postBody, $optParams = array())
{
$params = array('serviceName' => $serviceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('disable', array($params), "Google_Service... | php | public function disable($serviceName, Google_Service_ServiceManagement_DisableServiceRequest $postBody, $optParams = array())
{
$params = array('serviceName' => $serviceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('disable', array($params), "Google_Service... | [
"public",
"function",
"disable",
"(",
"$",
"serviceName",
",",
"Google_Service_ServiceManagement_DisableServiceRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'serviceName'",
"=>",
"$",
"serv... | Disables a service for a project, so it can no longer be be used for the
project. It prevents accidental usage that may cause unexpected billing
charges or security leaks.
Operation (services.disable)
@param string $serviceName Name of the service to disable. Specifying an
unknown service name will cause the request ... | [
"Disables",
"a",
"service",
"for",
"a",
"project",
"so",
"it",
"can",
"no",
"longer",
"be",
"be",
"used",
"for",
"the",
"project",
".",
"It",
"prevents",
"accidental",
"usage",
"that",
"may",
"cause",
"unexpected",
"billing",
"charges",
"or",
"security",
"... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L77-L82 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.enable | public function enable($serviceName, Google_Service_ServiceManagement_EnableServiceRequest $postBody, $optParams = array())
{
$params = array('serviceName' => $serviceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('enable', array($params), "Google_Service_Se... | php | public function enable($serviceName, Google_Service_ServiceManagement_EnableServiceRequest $postBody, $optParams = array())
{
$params = array('serviceName' => $serviceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('enable', array($params), "Google_Service_Se... | [
"public",
"function",
"enable",
"(",
"$",
"serviceName",
",",
"Google_Service_ServiceManagement_EnableServiceRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'serviceName'",
"=>",
"$",
"servic... | Enables a service for a project, so it can be used for the project. See
[Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more
information.
Operation (services.enable)
@param string $serviceName Name of the service to enable. Specifying an
unknown service name will cause the request to fail.
@param... | [
"Enables",
"a",
"service",
"for",
"a",
"project",
"so",
"it",
"can",
"be",
"used",
"for",
"the",
"project",
".",
"See",
"[",
"Cloud",
"Auth",
"Guide",
"]",
"(",
"https",
":",
"//",
"cloud",
".",
"google",
".",
"com",
"/",
"docs",
"/",
"authentication... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L96-L101 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.generateConfigReport | public function generateConfigReport(Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('generateConfigReport', array($params), "Google_Service_ServiceManag... | php | public function generateConfigReport(Google_Service_ServiceManagement_GenerateConfigReportRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('generateConfigReport', array($params), "Google_Service_ServiceManag... | [
"public",
"function",
"generateConfigReport",
"(",
"Google_Service_ServiceManagement_GenerateConfigReportRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
... | Generates and returns a report (errors, warnings and changes from existing
configurations) associated with GenerateConfigReportRequest.new_value
If GenerateConfigReportRequest.old_value is specified,
GenerateConfigReportRequest will contain a single ChangeReport based on the
comparison between GenerateConfigReportRequ... | [
"Generates",
"and",
"returns",
"a",
"report",
"(",
"errors",
"warnings",
"and",
"changes",
"from",
"existing",
"configurations",
")",
"associated",
"with",
"GenerateConfigReportRequest",
".",
"new_value"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L118-L123 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.getConfig | public function getConfig($serviceName, $optParams = array())
{
$params = array('serviceName' => $serviceName);
$params = array_merge($params, $optParams);
return $this->call('getConfig', array($params), "Google_Service_ServiceManagement_Service");
} | php | public function getConfig($serviceName, $optParams = array())
{
$params = array('serviceName' => $serviceName);
$params = array_merge($params, $optParams);
return $this->call('getConfig', array($params), "Google_Service_ServiceManagement_Service");
} | [
"public",
"function",
"getConfig",
"(",
"$",
"serviceName",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'serviceName'",
"=>",
"$",
"serviceName",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"pa... | Gets a service configuration (version) for a managed service.
(services.getConfig)
@param string $serviceName The name of the service. See the [overview
](/service-management/overview) for naming requirements. For example:
`example.googleapis.com`.
@param array $optParams Optional parameters.
@opt_param string conf... | [
"Gets",
"a",
"service",
"configuration",
"(",
"version",
")",
"for",
"a",
"managed",
"service",
".",
"(",
"services",
".",
"getConfig",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L156-L161 |
googleapis/google-api-php-client-services | src/Google/Service/ServiceManagement/Resource/Services.php | Google_Service_ServiceManagement_Resource_Services.undelete | public function undelete($serviceName, $optParams = array())
{
$params = array('serviceName' => $serviceName);
$params = array_merge($params, $optParams);
return $this->call('undelete', array($params), "Google_Service_ServiceManagement_Operation");
} | php | public function undelete($serviceName, $optParams = array())
{
$params = array('serviceName' => $serviceName);
$params = array_merge($params, $optParams);
return $this->call('undelete', array($params), "Google_Service_ServiceManagement_Operation");
} | [
"public",
"function",
"undelete",
"(",
"$",
"serviceName",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'serviceName'",
"=>",
"$",
"serviceName",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"par... | Revives a previously deleted managed service. The method restores the service
using the configuration at the time the service was deleted. The target
service must exist and must have been deleted within the last 30 days.
Operation (services.undelete)
@param string $serviceName The name of the service. See the [overvi... | [
"Revives",
"a",
"previously",
"deleted",
"managed",
"service",
".",
"The",
"method",
"restores",
"the",
"service",
"using",
"the",
"configuration",
"at",
"the",
"time",
"the",
"service",
"was",
"deleted",
".",
"The",
"target",
"service",
"must",
"exist",
"and"... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ServiceManagement/Resource/Services.php#L263-L268 |
googleapis/google-api-php-client-services | src/Google/Service/Cih/Resource/AssociatedEmails.php | Google_Service_Cih_Resource_AssociatedEmails.create | public function create($customerId, Google_Service_Cih_AssociatedEmail $postBody, $optParams = array())
{
$params = array('customerId' => $customerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Cih_AssociatedEmail");
... | php | public function create($customerId, Google_Service_Cih_AssociatedEmail $postBody, $optParams = array())
{
$params = array('customerId' => $customerId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Cih_AssociatedEmail");
... | [
"public",
"function",
"create",
"(",
"$",
"customerId",
",",
"Google_Service_Cih_AssociatedEmail",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'customerId'",
"=>",
"$",
"customerId",
",",
"'pos... | Associates an AdWords customer id to an email address.
(associatedEmails.create)
@param string $customerId The AdWords customer Id the email will be
associated to.
@param Google_Service_Cih_AssociatedEmail $postBody
@param array $optParams Optional parameters.
@return Google_Service_Cih_AssociatedEmail | [
"Associates",
"an",
"AdWords",
"customer",
"id",
"to",
"an",
"email",
"address",
".",
"(",
"associatedEmails",
".",
"create",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Cih/Resource/AssociatedEmails.php#L38-L43 |
googleapis/google-api-php-client-services | src/Google/Service/Cih/Resource/AssociatedEmails.php | Google_Service_Cih_Resource_AssociatedEmails.delete | public function delete($customerId, $emailAddress, $operator, $optParams = array())
{
$params = array('customerId' => $customerId, 'emailAddress' => $emailAddress, 'operator' => $operator);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
} | php | public function delete($customerId, $emailAddress, $operator, $optParams = array())
{
$params = array('customerId' => $customerId, 'emailAddress' => $emailAddress, 'operator' => $operator);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params));
} | [
"public",
"function",
"delete",
"(",
"$",
"customerId",
",",
"$",
"emailAddress",
",",
"$",
"operator",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'customerId'",
"=>",
"$",
"customerId",
",",
"'emailAddres... | Dissociates an AdWords customer id from an email address.
(associatedEmails.delete)
@param string $customerId The AdWords customer Id the email will be
dissociated from.
@param string $emailAddress The email address.
@param string $operator The program or person who initiated the operation.
@param array $optParams Opt... | [
"Dissociates",
"an",
"AdWords",
"customer",
"id",
"from",
"an",
"email",
"address",
".",
"(",
"associatedEmails",
".",
"delete",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Cih/Resource/AssociatedEmails.php#L54-L59 |
googleapis/google-api-php-client-services | src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsFilteredBidRequests.php | Google_Service_AdExchangeBuyerII_Resource_BiddersAccountsFilterSetsFilteredBidRequests.listBiddersAccountsFilterSetsFilteredBidRequests | public function listBiddersAccountsFilterSetsFilteredBidRequests($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListFilteredBidRequestsRespo... | php | public function listBiddersAccountsFilterSetsFilteredBidRequests($filterSetName, $optParams = array())
{
$params = array('filterSetName' => $filterSetName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AdExchangeBuyerII_ListFilteredBidRequestsRespo... | [
"public",
"function",
"listBiddersAccountsFilterSetsFilteredBidRequests",
"(",
"$",
"filterSetName",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'filterSetName'",
"=>",
"$",
"filterSetName",
")",
";",
"$",
"params"... | List all reasons that caused a bid request not to be sent for an impression,
with the number of bid requests not sent for each reason.
(filteredBidRequests.listBiddersAccountsFilterSetsFilteredBidRequests)
@param string $filterSetName Name of the filter set that should be applied to
the requested metrics. For example:... | [
"List",
"all",
"reasons",
"that",
"caused",
"a",
"bid",
"request",
"not",
"to",
"be",
"sent",
"for",
"an",
"impression",
"with",
"the",
"number",
"of",
"bid",
"requests",
"not",
"sent",
"for",
"each",
"reason",
".",
"(",
"filteredBidRequests",
".",
"listBi... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AdExchangeBuyerII/Resource/BiddersAccountsFilterSetsFilteredBidRequests.php#L55-L60 |
googleapis/google-api-php-client-services | src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php | Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps.create | public function create($projectId, $historyId, $executionId, Google_Service_ToolResults_Step $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return ... | php | public function create($projectId, $historyId, $executionId, Google_Service_ToolResults_Step $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return ... | [
"public",
"function",
"create",
"(",
"$",
"projectId",
",",
"$",
"historyId",
",",
"$",
"executionId",
",",
"Google_Service_ToolResults_Step",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'pro... | Creates a Step.
The returned Step will have the id set.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project -
INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
step is too large (more than 10Mib) - NOT_FOUND - if t... | [
"Creates",
"a",
"Step",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php#L58-L63 |
googleapis/google-api-php-client-services | src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php | Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps.patch | public function patch($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_Step $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
$params = array_merge($par... | php | public function patch($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_Step $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $postBody);
$params = array_merge($par... | [
"public",
"function",
"patch",
"(",
"$",
"projectId",
",",
"$",
"historyId",
",",
"$",
"executionId",
",",
"$",
"stepId",
",",
"Google_Service_ToolResults_Step",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
... | Updates an existing Step with the supplied partial entity.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write project -
INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
requested state transition is illegal (e.g try to uploa... | [
"Updates",
"an",
"existing",
"Step",
"with",
"the",
"supplied",
"partial",
"entity",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php#L188-L193 |
googleapis/google-api-php-client-services | src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php | Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsSteps.publishXunitXmlFiles | public function publishXunitXmlFiles($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $pos... | php | public function publishXunitXmlFiles($projectId, $historyId, $executionId, $stepId, Google_Service_ToolResults_PublishXunitXmlFilesRequest $postBody, $optParams = array())
{
$params = array('projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId, 'postBody' => $pos... | [
"public",
"function",
"publishXunitXmlFiles",
"(",
"$",
"projectId",
",",
"$",
"historyId",
",",
"$",
"executionId",
",",
"$",
"stepId",
",",
"Google_Service_ToolResults_PublishXunitXmlFilesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
... | Publish xml files to an existing Step.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write project -
INVALID_ARGUMENT - if the request is malformed - FAILED_PRECONDITION - if the
requested state transition is illegal, e.g try to upload a duplicate xml fi... | [
"Publish",
"xml",
"files",
"to",
"an",
"existing",
"Step",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/ToolResults/Resource/ProjectsHistoriesExecutionsSteps.php#L222-L227 |
googleapis/google-api-php-client-services | src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php | Google_Service_CloudNaturalLanguageAPI_Resource_Documents.analyzeEntities | public function analyzeEntities(Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguageA... | php | public function analyzeEntities(Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('analyzeEntities', array($params), "Google_Service_CloudNaturalLanguageA... | [
"public",
"function",
"analyzeEntities",
"(",
"Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";"... | Finds named entities (currently finds proper names) in the text, entity
types, salience, mentions for each entity, and other properties.
(documents.analyzeEntities)
@param Google_Service_CloudNaturalLanguageAPI_AnalyzeEntitiesRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudNa... | [
"Finds",
"named",
"entities",
"(",
"currently",
"finds",
"proper",
"names",
")",
"in",
"the",
"text",
"entity",
"types",
"salience",
"mentions",
"for",
"each",
"entity",
"and",
"other",
"properties",
".",
"(",
"documents",
".",
"analyzeEntities",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php#L37-L42 |
googleapis/google-api-php-client-services | src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php | Google_Service_CloudNaturalLanguageAPI_Resource_Documents.analyzeSentiment | public function analyzeSentiment(Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLangua... | php | public function analyzeSentiment(Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('analyzeSentiment', array($params), "Google_Service_CloudNaturalLangua... | [
"public",
"function",
"analyzeSentiment",
"(",
"Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
"... | Analyzes the sentiment of the provided text. (documents.analyzeSentiment)
@param Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudNaturalLanguageAPI_AnalyzeSentimentResponse | [
"Analyzes",
"the",
"sentiment",
"of",
"the",
"provided",
"text",
".",
"(",
"documents",
".",
"analyzeSentiment",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php#L50-L55 |
googleapis/google-api-php-client-services | src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php | Google_Service_CloudNaturalLanguageAPI_Resource_Documents.annotateText | public function annotateText(Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguageAPI_Annota... | php | public function annotateText(Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('annotateText', array($params), "Google_Service_CloudNaturalLanguageAPI_Annota... | [
"public",
"function",
"annotateText",
"(",
"Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$... | A convenience method that provides all the features that analyzeSentiment,
analyzeEntities, and analyzeSyntax provide in one call.
(documents.annotateText)
@param Google_Service_CloudNaturalLanguageAPI_AnnotateTextRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_CloudNaturalLanguag... | [
"A",
"convenience",
"method",
"that",
"provides",
"all",
"the",
"features",
"that",
"analyzeSentiment",
"analyzeEntities",
"and",
"analyzeSyntax",
"provide",
"in",
"one",
"call",
".",
"(",
"documents",
".",
"annotateText",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudNaturalLanguageAPI/Resource/Documents.php#L65-L70 |
googleapis/google-api-php-client-services | src/Google/Service/Translate/Resource/Detections.php | Google_Service_Translate_Resource_Detections.detect | public function detect(Google_Service_Translate_DetectLanguageRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('detect', array($params), "Google_Service_Translate_DetectionsListResponse");
} | php | public function detect(Google_Service_Translate_DetectLanguageRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('detect', array($params), "Google_Service_Translate_DetectionsListResponse");
} | [
"public",
"function",
"detect",
"(",
"Google_Service_Translate_DetectLanguageRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$",
"params",
"... | Detects the language of text within a request. (detections.detect)
@param Google_Service_Translate_DetectLanguageRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_Translate_DetectionsListResponse | [
"Detects",
"the",
"language",
"of",
"text",
"within",
"a",
"request",
".",
"(",
"detections",
".",
"detect",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Translate/Resource/Detections.php#L35-L40 |
googleapis/google-api-php-client-services | src/Google/Service/Safebrowsing/Resource/ThreatLists.php | Google_Service_Safebrowsing_Resource_ThreatLists.listThreatLists | public function listThreatLists($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Safebrowsing_ListThreatListsResponse");
} | php | public function listThreatLists($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Safebrowsing_ListThreatListsResponse");
} | [
"public",
"function",
"listThreatLists",
"(",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
",",
"$",
"optParams",
")",
";",
"return",
"$",
"this... | Lists the Safe Browsing threat lists available for download.
(threatLists.listThreatLists)
@param array $optParams Optional parameters.
@return Google_Service_Safebrowsing_ListThreatListsResponse | [
"Lists",
"the",
"Safe",
"Browsing",
"threat",
"lists",
"available",
"for",
"download",
".",
"(",
"threatLists",
".",
"listThreatLists",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Safebrowsing/Resource/ThreatLists.php#L35-L40 |
googleapis/google-api-php-client-services | src/Google/Service/Monitoring/Resource/ProjectsUptimeCheckConfigs.php | Google_Service_Monitoring_Resource_ProjectsUptimeCheckConfigs.listProjectsUptimeCheckConfigs | public function listProjectsUptimeCheckConfigs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListUptimeCheckConfigsResponse");
} | php | public function listProjectsUptimeCheckConfigs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Monitoring_ListUptimeCheckConfigsResponse");
} | [
"public",
"function",
"listProjectsUptimeCheckConfigs",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",... | Lists the existing valid uptime check configurations for the project, leaving
out any invalid configurations.
(uptimeCheckConfigs.listProjectsUptimeCheckConfigs)
@param string $parent The project whose uptime check configurations are
listed. The format is projects/[PROJECT_ID].
@param array $optParams Optional parame... | [
"Lists",
"the",
"existing",
"valid",
"uptime",
"check",
"configurations",
"for",
"the",
"project",
"leaving",
"out",
"any",
"invalid",
"configurations",
".",
"(",
"uptimeCheckConfigs",
".",
"listProjectsUptimeCheckConfigs",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Monitoring/Resource/ProjectsUptimeCheckConfigs.php#L93-L98 |
googleapis/google-api-php-client-services | src/Google/Service/FirebaseDynamicLinks/Resource/ManagedShortLinks.php | Google_Service_FirebaseDynamicLinks_Resource_ManagedShortLinks.create | public function create(Google_Service_FirebaseDynamicLinks_CreateManagedShortLinkRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinks_CreateManagedS... | php | public function create(Google_Service_FirebaseDynamicLinks_CreateManagedShortLinkRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_FirebaseDynamicLinks_CreateManagedS... | [
"public",
"function",
"create",
"(",
"Google_Service_FirebaseDynamicLinks_CreateManagedShortLinkRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"... | Creates a managed short Dynamic Link given either a valid long Dynamic Link
or details such as Dynamic Link domain, Android and iOS app information. The
created short Dynamic Link will not expire.
This differs from CreateShortDynamicLink in the following ways: - The
request will also contain a name for the link (non... | [
"Creates",
"a",
"managed",
"short",
"Dynamic",
"Link",
"given",
"either",
"a",
"valid",
"long",
"Dynamic",
"Link",
"or",
"details",
"such",
"as",
"Dynamic",
"Link",
"domain",
"Android",
"and",
"iOS",
"app",
"information",
".",
"The",
"created",
"short",
"Dyn... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/FirebaseDynamicLinks/Resource/ManagedShortLinks.php#L46-L51 |
googleapis/google-api-php-client-services | src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php | Google_Service_Spanner_Resource_ProjectsInstancesDatabasesOperations.listProjectsInstancesDatabasesOperations | public function listProjectsInstancesDatabasesOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse");
} | php | public function listProjectsInstancesDatabasesOperations($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Spanner_ListOperationsResponse");
} | [
"public",
"function",
"listProjectsInstancesDatabasesOperations",
"(",
"$",
"name",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'name'",
"=>",
"$",
"name",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
... | Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns `UNIMPLEMENTED`.
NOTE: the `name` binding allows API services to override the binding to use
different resource name schemes, such as `users/operations`. To override the
binding, API services can add ... | [
"Lists",
"operations",
"that",
"match",
"the",
"specified",
"filter",
"in",
"the",
"request",
".",
"If",
"the",
"server",
"doesn",
"t",
"support",
"this",
"method",
"it",
"returns",
"UNIMPLEMENTED",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Spanner/Resource/ProjectsInstancesDatabasesOperations.php#L101-L106 |
googleapis/google-api-php-client-services | src/Google/Service/Devprojects/Resource/Apiconsumers.php | Google_Service_Devprojects_Resource_Apiconsumers.insert | public function insert(Google_Service_Devprojects_ApiConsumer $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Devprojects_ApiConsumer");
} | php | public function insert(Google_Service_Devprojects_ApiConsumer $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('insert', array($params), "Google_Service_Devprojects_ApiConsumer");
} | [
"public",
"function",
"insert",
"(",
"Google_Service_Devprojects_ApiConsumer",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$",
"params",
"=",
"a... | Makes an API available for consumption to a given consumer project by the the
API producer (apiconsumers.insert)
@param Google_Service_Devprojects_ApiConsumer $postBody
@param array $optParams Optional parameters.
@opt_param string whitelistId The whitelist project ID. See
Projects.Insert.whitelist_id documentation f... | [
"Makes",
"an",
"API",
"available",
"for",
"consumption",
"to",
"a",
"given",
"consumer",
"project",
"by",
"the",
"the",
"API",
"producer",
"(",
"apiconsumers",
".",
"insert",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Devprojects/Resource/Apiconsumers.php#L61-L66 |
googleapis/google-api-php-client-services | src/Google/Service/Devprojects/Resource/Apiconsumers.php | Google_Service_Devprojects_Resource_Apiconsumers.listApiconsumers | public function listApiconsumers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Devprojects_ApiconsumersListResponse");
} | php | public function listApiconsumers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Devprojects_ApiconsumersListResponse");
} | [
"public",
"function",
"listApiconsumers",
"(",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
",",
"$",
"optParams",
")",
";",
"return",
"$",
"thi... | Lists the API consumers for a given producer and API
(apiconsumers.listApiconsumers)
@param array $optParams Optional parameters.
@opt_param string apiIdToken The ApiId token for which consumers are listed
@opt_param string locale The language code, country code and locale variant
encoded as a single string. This is ... | [
"Lists",
"the",
"API",
"consumers",
"for",
"a",
"given",
"producer",
"and",
"API",
"(",
"apiconsumers",
".",
"listApiconsumers",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Devprojects/Resource/Apiconsumers.php#L85-L90 |
googleapis/google-api-php-client-services | src/Google/Service/Devprojects/Resource/Apiconsumers.php | Google_Service_Devprojects_Resource_Apiconsumers.update | public function update(Google_Service_Devprojects_ApiConsumer $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Devprojects_ApiConsumer");
} | php | public function update(Google_Service_Devprojects_ApiConsumer $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_Devprojects_ApiConsumer");
} | [
"public",
"function",
"update",
"(",
"Google_Service_Devprojects_ApiConsumer",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$",
"params",
"=",
"a... | Updates the configuration of consumption of an API. The update can change
producer-specific configuration like the API consumption status or quota
constraints. By switching the consumption status the producer can
pause/resume the consumption of the API. Through quota constraints the
producer can set or clear an explici... | [
"Updates",
"the",
"configuration",
"of",
"consumption",
"of",
"an",
"API",
".",
"The",
"update",
"can",
"change",
"producer",
"-",
"specific",
"configuration",
"like",
"the",
"API",
"consumption",
"status",
"or",
"quota",
"constraints",
".",
"By",
"switching",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Devprojects/Resource/Apiconsumers.php#L106-L111 |
googleapis/google-api-php-client-services | src/Google/Service/Vault/Resource/MattersHoldsAccounts.php | Google_Service_Vault_Resource_MattersHoldsAccounts.create | public function create($matterId, $holdId, Google_Service_Vault_HeldAccount $postBody, $optParams = array())
{
$params = array('matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Va... | php | public function create($matterId, $holdId, Google_Service_Vault_HeldAccount $postBody, $optParams = array())
{
$params = array('matterId' => $matterId, 'holdId' => $holdId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Va... | [
"public",
"function",
"create",
"(",
"$",
"matterId",
",",
"$",
"holdId",
",",
"Google_Service_Vault_HeldAccount",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'matterId'",
"=>",
"$",
"matterI... | Adds a HeldAccount to a hold. Accounts can only be added to a hold that has
no held_org_unit set. Attempting to add an account to an OU-based hold will
result in an error. (accounts.create)
@param string $matterId The matter ID.
@param string $holdId The hold ID.
@param Google_Service_Vault_HeldAccount $postBody
@para... | [
"Adds",
"a",
"HeldAccount",
"to",
"a",
"hold",
".",
"Accounts",
"can",
"only",
"be",
"added",
"to",
"a",
"hold",
"that",
"has",
"no",
"held_org_unit",
"set",
".",
"Attempting",
"to",
"add",
"an",
"account",
"to",
"an",
"OU",
"-",
"based",
"hold",
"will... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Vault/Resource/MattersHoldsAccounts.php#L39-L44 |
googleapis/google-api-php-client-services | src/Google/Service/Vault/Resource/MattersHoldsAccounts.php | Google_Service_Vault_Resource_MattersHoldsAccounts.listMattersHoldsAccounts | public function listMattersHoldsAccounts($matterId, $holdId, $optParams = array())
{
$params = array('matterId' => $matterId, 'holdId' => $holdId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Vault_ListHeldAccountsResponse");
} | php | public function listMattersHoldsAccounts($matterId, $holdId, $optParams = array())
{
$params = array('matterId' => $matterId, 'holdId' => $holdId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Vault_ListHeldAccountsResponse");
} | [
"public",
"function",
"listMattersHoldsAccounts",
"(",
"$",
"matterId",
",",
"$",
"holdId",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'matterId'",
"=>",
"$",
"matterId",
",",
"'holdId'",
"=>",
"$",
"holdI... | Lists HeldAccounts for a hold. This will only list individually specified
held accounts. If the hold is on an OU, then use Admin SDK to enumerate its
members. (accounts.listMattersHoldsAccounts)
@param string $matterId The matter ID.
@param string $holdId The hold ID.
@param array $optParams Optional parameters.
@retu... | [
"Lists",
"HeldAccounts",
"for",
"a",
"hold",
".",
"This",
"will",
"only",
"list",
"individually",
"specified",
"held",
"accounts",
".",
"If",
"the",
"hold",
"is",
"on",
"an",
"OU",
"then",
"use",
"Admin",
"SDK",
"to",
"enumerate",
"its",
"members",
".",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Vault/Resource/MattersHoldsAccounts.php#L71-L76 |
googleapis/google-api-php-client-services | src/Google/Service/Drive/Resource/Replies.php | Google_Service_Drive_Resource_Replies.create | public function create($fileId, $commentId, Google_Service_Drive_Reply $postBody, $optParams = array())
{
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Drive... | php | public function create($fileId, $commentId, Google_Service_Drive_Reply $postBody, $optParams = array())
{
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_Drive... | [
"public",
"function",
"create",
"(",
"$",
"fileId",
",",
"$",
"commentId",
",",
"Google_Service_Drive_Reply",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'fileId'",
"=>",
"$",
"fileId",
","... | Creates a new reply to a comment. (replies.create)
@param string $fileId The ID of the file.
@param string $commentId The ID of the comment.
@param Google_Service_Drive_Reply $postBody
@param array $optParams Optional parameters.
@return Google_Service_Drive_Reply | [
"Creates",
"a",
"new",
"reply",
"to",
"a",
"comment",
".",
"(",
"replies",
".",
"create",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Drive/Resource/Replies.php#L37-L42 |
googleapis/google-api-php-client-services | src/Google/Service/Drive/Resource/Replies.php | Google_Service_Drive_Resource_Replies.update | public function update($fileId, $commentId, $replyId, Google_Service_Drive_Reply $postBody, $optParams = array())
{
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', arra... | php | public function update($fileId, $commentId, $replyId, Google_Service_Drive_Reply $postBody, $optParams = array())
{
$params = array('fileId' => $fileId, 'commentId' => $commentId, 'replyId' => $replyId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', arra... | [
"public",
"function",
"update",
"(",
"$",
"fileId",
",",
"$",
"commentId",
",",
"$",
"replyId",
",",
"Google_Service_Drive_Reply",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'fileId'",
"=>... | Updates a reply with patch semantics. (replies.update)
@param string $fileId The ID of the file.
@param string $commentId The ID of the comment.
@param string $replyId The ID of the reply.
@param Google_Service_Drive_Reply $postBody
@param array $optParams Optional parameters.
@return Google_Service_Drive_Reply | [
"Updates",
"a",
"reply",
"with",
"patch",
"semantics",
".",
"(",
"replies",
".",
"update",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Drive/Resource/Replies.php#L106-L111 |
googleapis/google-api-php-client-services | src/Google/Service/Sheets/Resource/SpreadsheetsDeveloperMetadata.php | Google_Service_Sheets_Resource_SpreadsheetsDeveloperMetadata.search | public function search($spreadsheetId, Google_Service_Sheets_SearchDeveloperMetadataRequest $postBody, $optParams = array())
{
$params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('search', array($params), "Google_Servi... | php | public function search($spreadsheetId, Google_Service_Sheets_SearchDeveloperMetadataRequest $postBody, $optParams = array())
{
$params = array('spreadsheetId' => $spreadsheetId, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('search', array($params), "Google_Servi... | [
"public",
"function",
"search",
"(",
"$",
"spreadsheetId",
",",
"Google_Service_Sheets_SearchDeveloperMetadataRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'spreadsheetId'",
"=>",
"$",
"spr... | Returns all developer metadata matching the specified DataFilter. If the
provided DataFilter represents a DeveloperMetadataLookup object, this will
return all DeveloperMetadata entries selected by it. If the DataFilter
represents a location in a spreadsheet, this will return all developer
metadata associated with locat... | [
"Returns",
"all",
"developer",
"metadata",
"matching",
"the",
"specified",
"DataFilter",
".",
"If",
"the",
"provided",
"DataFilter",
"represents",
"a",
"DeveloperMetadataLookup",
"object",
"this",
"will",
"return",
"all",
"DeveloperMetadata",
"entries",
"selected",
"b... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Sheets/Resource/SpreadsheetsDeveloperMetadata.php#L59-L64 |
googleapis/google-api-php-client-services | src/Google/Service/AndroidProvisioningPartner/Resource/CustomersDpcs.php | Google_Service_AndroidProvisioningPartner_Resource_CustomersDpcs.listCustomersDpcs | public function listCustomersDpcs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListDpcsResponse");
} | php | public function listCustomersDpcs($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_AndroidProvisioningPartner_CustomerListDpcsResponse");
} | [
"public",
"function",
"listCustomersDpcs",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
... | Lists the DPCs (device policy controllers) that support zero-touch
enrollment. (dpcs.listCustomersDpcs)
@param string $parent Required. The customer that can use the DPCs in
configurations. An API resource name in the format `customers/[CUSTOMER_ID]`.
@param array $optParams Optional parameters.
@return Google_Service... | [
"Lists",
"the",
"DPCs",
"(",
"device",
"policy",
"controllers",
")",
"that",
"support",
"zero",
"-",
"touch",
"enrollment",
".",
"(",
"dpcs",
".",
"listCustomersDpcs",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/AndroidProvisioningPartner/Resource/CustomersDpcs.php#L37-L42 |
googleapis/google-api-php-client-services | src/Google/Service/SecurityCommandCenter/Resource/Organizations.php | Google_Service_SecurityCommandCenter_Resource_Organizations.getOrganizationSettings | public function getOrganizationSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getOrganizationSettings', array($params), "Google_Service_SecurityCommandCenter_OrganizationSettings");
} | php | public function getOrganizationSettings($name, $optParams = array())
{
$params = array('name' => $name);
$params = array_merge($params, $optParams);
return $this->call('getOrganizationSettings', array($params), "Google_Service_SecurityCommandCenter_OrganizationSettings");
} | [
"public",
"function",
"getOrganizationSettings",
"(",
"$",
"name",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'name'",
"=>",
"$",
"name",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
... | Gets the settings for an organization.
(organizations.getOrganizationSettings)
@param string $name Name of the organization to get organization settings
for. Its format is "organizations/[organization_id]/organizationSettings".
@param array $optParams Optional parameters.
@return Google_Service_SecurityCommandCenter_O... | [
"Gets",
"the",
"settings",
"for",
"an",
"organization",
".",
"(",
"organizations",
".",
"getOrganizationSettings",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/SecurityCommandCenter/Resource/Organizations.php#L37-L42 |
googleapis/google-api-php-client-services | src/Google/Service/SecurityCommandCenter/Resource/Organizations.php | Google_Service_SecurityCommandCenter_Resource_Organizations.updateOrganizationSettings | public function updateOrganizationSettings($name, Google_Service_SecurityCommandCenter_OrganizationSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateOrganizationSettings', array($para... | php | public function updateOrganizationSettings($name, Google_Service_SecurityCommandCenter_OrganizationSettings $postBody, $optParams = array())
{
$params = array('name' => $name, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateOrganizationSettings', array($para... | [
"public",
"function",
"updateOrganizationSettings",
"(",
"$",
"name",
",",
"Google_Service_SecurityCommandCenter_OrganizationSettings",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'name'",
"=>",
"$",... | Updates an organization's settings.
(organizations.updateOrganizationSettings)
@param string $name The relative resource name of the settings. See:
https://cloud.google.com/apis/design/resource_names#relative_resource_name
Example: "organizations/123/organizationSettings".
@param Google_Service_SecurityCommandCenter_O... | [
"Updates",
"an",
"organization",
"s",
"settings",
".",
"(",
"organizations",
".",
"updateOrganizationSettings",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/SecurityCommandCenter/Resource/Organizations.php#L59-L64 |
googleapis/google-api-php-client-services | src/Google/Service/BigtableAdmin/Resource/ProjectsInstancesClusters.php | Google_Service_BigtableAdmin_Resource_ProjectsInstancesClusters.listProjectsInstancesClusters | public function listProjectsInstancesClusters($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_BigtableAdmin_ListClustersResponse");
} | php | public function listProjectsInstancesClusters($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_BigtableAdmin_ListClustersResponse");
} | [
"public",
"function",
"listProjectsInstancesClusters",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
... | Lists information about clusters in an instance.
(clusters.listProjectsInstancesClusters)
@param string $parent The unique name of the instance for which a list of
clusters is requested. Values are of the form `projects//instances/`. Use ` =
'-'` to list Clusters for all Instances in a project, e.g.,
`projects/myproje... | [
"Lists",
"information",
"about",
"clusters",
"in",
"an",
"instance",
".",
"(",
"clusters",
".",
"listProjectsInstancesClusters",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/BigtableAdmin/Resource/ProjectsInstancesClusters.php#L88-L93 |
googleapis/google-api-php-client-services | src/Google/Service/Logging/Resource/OrganizationsExclusions.php | Google_Service_Logging_Resource_OrganizationsExclusions.listOrganizationsExclusions | public function listOrganizationsExclusions($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
} | php | public function listOrganizationsExclusions($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Logging_ListExclusionsResponse");
} | [
"public",
"function",
"listOrganizationsExclusions",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
... | Lists all the exclusions in a parent resource.
(exclusions.listOrganizationsExclusions)
@param string $parent Required. The parent resource whose exclusions are to
be listed. "projects/[PROJECT_ID]" "organizations/[ORGANIZATION_ID]"
"billingAccounts/[BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
@param array $optParams O... | [
"Lists",
"all",
"the",
"exclusions",
"in",
"a",
"parent",
"resource",
".",
"(",
"exclusions",
".",
"listOrganizationsExclusions",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Logging/Resource/OrganizationsExclusions.php#L101-L106 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setLabels | public function setLabels($project, $zone, $instance, Google_Service_Compute_InstancesSetLabelsRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->cal... | php | public function setLabels($project, $zone, $instance, Google_Service_Compute_InstancesSetLabelsRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->cal... | [
"public",
"function",
"setLabels",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesSetLabelsRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(... | Sets labels on an instance. To learn more about labels, read the Labeling
Resources documentation. (instances.setLabels)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance Name of the instance scoping this request.
@param Google_Servic... | [
"Sets",
"labels",
"on",
"an",
"instance",
".",
"To",
"learn",
"more",
"about",
"labels",
"read",
"the",
"Labeling",
"Resources",
"documentation",
".",
"(",
"instances",
".",
"setLabels",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L590-L595 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setMachineResources | public function setMachineResources($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineResourcesRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
... | php | public function setMachineResources($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineResourcesRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
... | [
"public",
"function",
"setMachineResources",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesSetMachineResourcesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
... | Changes the number and/or type of accelerator for a stopped instance to the
values specified in the request. (instances.setMachineResources)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance Name of the instance scoping this request.
... | [
"Changes",
"the",
"number",
"and",
"/",
"or",
"type",
"of",
"accelerator",
"for",
"a",
"stopped",
"instance",
"to",
"the",
"values",
"specified",
"in",
"the",
"request",
".",
"(",
"instances",
".",
"setMachineResources",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L620-L625 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setMachineType | public function setMachineType($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineTypeRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return ... | php | public function setMachineType($project, $zone, $instance, Google_Service_Compute_InstancesSetMachineTypeRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return ... | [
"public",
"function",
"setMachineType",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesSetMachineTypeRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"ar... | Changes the machine type for a stopped instance to the machine type specified
in the request. (instances.setMachineType)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance Name of the instance scoping this request.
@param Google_Servic... | [
"Changes",
"the",
"machine",
"type",
"for",
"a",
"stopped",
"instance",
"to",
"the",
"machine",
"type",
"specified",
"in",
"the",
"request",
".",
"(",
"instances",
".",
"setMachineType",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L650-L655 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setMinCpuPlatform | public function setMinCpuPlatform($project, $zone, $instance, Google_Service_Compute_InstancesSetMinCpuPlatformRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | php | public function setMinCpuPlatform($project, $zone, $instance, Google_Service_Compute_InstancesSetMinCpuPlatformRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | [
"public",
"function",
"setMinCpuPlatform",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesSetMinCpuPlatformRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",... | Changes the minimum CPU platform that this instance should use. This method
can only be called on a stopped instance. For more information, read
Specifying a Minimum CPU Platform. (instances.setMinCpuPlatform)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request... | [
"Changes",
"the",
"minimum",
"CPU",
"platform",
"that",
"this",
"instance",
"should",
"use",
".",
"This",
"method",
"can",
"only",
"be",
"called",
"on",
"a",
"stopped",
"instance",
".",
"For",
"more",
"information",
"read",
"Specifying",
"a",
"Minimum",
"CPU... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L711-L716 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setServiceAccount | public function setServiceAccount($project, $zone, $instance, Google_Service_Compute_InstancesSetServiceAccountRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | php | public function setServiceAccount($project, $zone, $instance, Google_Service_Compute_InstancesSetServiceAccountRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | [
"public",
"function",
"setServiceAccount",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesSetServiceAccountRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",... | Sets the service account on the instance. For more information, read Changing
the service account and access scopes for an instance.
(instances.setServiceAccount)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance Name of the instance ... | [
"Sets",
"the",
"service",
"account",
"on",
"the",
"instance",
".",
"For",
"more",
"information",
"read",
"Changing",
"the",
"service",
"account",
"and",
"access",
"scopes",
"for",
"an",
"instance",
".",
"(",
"instances",
".",
"setServiceAccount",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L771-L776 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.setShieldedInstanceIntegrityPolicy | public function setShieldedInstanceIntegrityPolicy($project, $zone, $instance, Google_Service_Compute_ShieldedInstanceIntegrityPolicy $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $op... | php | public function setShieldedInstanceIntegrityPolicy($project, $zone, $instance, Google_Service_Compute_ShieldedInstanceIntegrityPolicy $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $op... | [
"public",
"function",
"setShieldedInstanceIntegrityPolicy",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_ShieldedInstanceIntegrityPolicy",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"... | Sets the Shielded Instance integrity policy for an instance. You can only use
this method on a running instance. This method supports PATCH semantics and
uses the JSON merge patch format and processing rules.
(instances.setShieldedInstanceIntegrityPolicy)
@param string $project Project ID for this request.
@param stri... | [
"Sets",
"the",
"Shielded",
"Instance",
"integrity",
"policy",
"for",
"an",
"instance",
".",
"You",
"can",
"only",
"use",
"this",
"method",
"on",
"a",
"running",
"instance",
".",
"This",
"method",
"supports",
"PATCH",
"semantics",
"and",
"uses",
"the",
"JSON"... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L803-L808 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.startWithEncryptionKey | public function startWithEncryptionKey($project, $zone, $instance, Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optPara... | php | public function startWithEncryptionKey($project, $zone, $instance, Google_Service_Compute_InstancesStartWithEncryptionKeyRequest $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optPara... | [
"public",
"function",
"startWithEncryptionKey",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_InstancesStartWithEncryptionKeyRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"param... | Starts an instance that was stopped using the instances().stop method. For
more information, see Restart an instance. (instances.startWithEncryptionKey)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance Name of the instance resource t... | [
"Starts",
"an",
"instance",
"that",
"was",
"stopped",
"using",
"the",
"instances",
"()",
".",
"stop",
"method",
".",
"For",
"more",
"information",
"see",
"Restart",
"an",
"instance",
".",
"(",
"instances",
".",
"startWithEncryptionKey",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L908-L913 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.updateNetworkInterface | public function updateNetworkInterface($project, $zone, $instance, $networkInterface, Google_Service_Compute_NetworkInterface $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody);
$... | php | public function updateNetworkInterface($project, $zone, $instance, $networkInterface, Google_Service_Compute_NetworkInterface $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'networkInterface' => $networkInterface, 'postBody' => $postBody);
$... | [
"public",
"function",
"updateNetworkInterface",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"$",
"networkInterface",
",",
"Google_Service_Compute_NetworkInterface",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
... | Updates an instance's network interface. This method follows PATCH semantics.
(instances.updateNetworkInterface)
@param string $project Project ID for this request.
@param string $zone The name of the zone for this request.
@param string $instance The instance name for this request.
@param string $networkInterface The... | [
"Updates",
"an",
"instance",
"s",
"network",
"interface",
".",
"This",
"method",
"follows",
"PATCH",
"semantics",
".",
"(",
"instances",
".",
"updateNetworkInterface",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L1023-L1028 |
googleapis/google-api-php-client-services | src/Google/Service/Compute/Resource/Instances.php | Google_Service_Compute_Resource_Instances.updateShieldedInstanceConfig | public function updateShieldedInstanceConfig($project, $zone, $instance, Google_Service_Compute_ShieldedInstanceConfig $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | php | public function updateShieldedInstanceConfig($project, $zone, $instance, Google_Service_Compute_ShieldedInstanceConfig $postBody, $optParams = array())
{
$params = array('project' => $project, 'zone' => $zone, 'instance' => $instance, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
r... | [
"public",
"function",
"updateShieldedInstanceConfig",
"(",
"$",
"project",
",",
"$",
"zone",
",",
"$",
"instance",
",",
"Google_Service_Compute_ShieldedInstanceConfig",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",... | Updates the Shielded Instance config for an instance. You can only use this
method on a stopped instance. This method supports PATCH semantics and uses
the JSON merge patch format and processing rules.
(instances.updateShieldedInstanceConfig)
@param string $project Project ID for this request.
@param string $zone The ... | [
"Updates",
"the",
"Shielded",
"Instance",
"config",
"for",
"an",
"instance",
".",
"You",
"can",
"only",
"use",
"this",
"method",
"on",
"a",
"stopped",
"instance",
".",
"This",
"method",
"supports",
"PATCH",
"semantics",
"and",
"uses",
"the",
"JSON",
"merge",... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Compute/Resource/Instances.php#L1055-L1060 |
googleapis/google-api-php-client-services | src/Google/Service/FirebaseHosting/Resource/SitesVersions.php | Google_Service_FirebaseHosting_Resource_SitesVersions.populateFiles | public function populateFiles($parent, Google_Service_FirebaseHosting_PopulateVersionFilesRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('populateFiles', array($params), "Google_Servic... | php | public function populateFiles($parent, Google_Service_FirebaseHosting_PopulateVersionFilesRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('populateFiles', array($params), "Google_Servic... | [
"public",
"function",
"populateFiles",
"(",
"$",
"parent",
",",
"Google_Service_FirebaseHosting_PopulateVersionFilesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"pare... | Adds content files to a version. (versions.populateFiles)
@param string $parent Required. The version to add files to, in the format:
sites/site-name/versions/versionID
@param Google_Service_FirebaseHosting_PopulateVersionFilesRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_Fireba... | [
"Adds",
"content",
"files",
"to",
"a",
"version",
".",
"(",
"versions",
".",
"populateFiles",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/FirebaseHosting/Resource/SitesVersions.php#L97-L102 |
googleapis/google-api-php-client-services | src/Google/Service/Partners/Resource/OffersHistory.php | Google_Service_Partners_Resource_OffersHistory.listOffersHistory | public function listOffersHistory($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Partners_ListOffersHistoryResponse");
} | php | public function listOffersHistory($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Partners_ListOffersHistoryResponse");
} | [
"public",
"function",
"listOffersHistory",
"(",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
",",
"$",
"optParams",
")",
";",
"return",
"$",
"th... | Lists the Historical Offers for the current user (or user's entire company)
(history.listOffersHistory)
@param array $optParams Optional parameters.
@opt_param string requestMetadata.partnersSessionId Google Partners session
ID.
@opt_param string requestMetadata.userOverrides.userId Logged-in user ID to
impersonate i... | [
"Lists",
"the",
"Historical",
"Offers",
"for",
"the",
"current",
"user",
"(",
"or",
"user",
"s",
"entire",
"company",
")",
"(",
"history",
".",
"listOffersHistory",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Partners/Resource/OffersHistory.php#L60-L65 |
googleapis/google-api-php-client-services | src/Google/Service/CloudSearch/Resource/Media.php | Google_Service_CloudSearch_Resource_Media.upload | public function upload($resourceName, Google_Service_CloudSearch_Media $postBody, $optParams = array())
{
$params = array('resourceName' => $resourceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('upload', array($params), "Google_Service_CloudSearch_Media");... | php | public function upload($resourceName, Google_Service_CloudSearch_Media $postBody, $optParams = array())
{
$params = array('resourceName' => $resourceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('upload', array($params), "Google_Service_CloudSearch_Media");... | [
"public",
"function",
"upload",
"(",
"$",
"resourceName",
",",
"Google_Service_CloudSearch_Media",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'resourceName'",
"=>",
"$",
"resourceName",
",",
"... | Uploads media for indexing.
The upload endpoint supports direct and resumable upload protocols and is
intended for large items that can not be inlined during index requests. To
index large content:
1. Call upload to begin a session and get the item reference. 1. Upload
the content using the item reference's resour... | [
"Uploads",
"media",
"for",
"indexing",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudSearch/Resource/Media.php#L49-L54 |
googleapis/google-api-php-client-services | src/Google/Service/CloudPrivateCatalogProducer/Resource/CatalogsProductsVersions.php | Google_Service_CloudPrivateCatalogProducer_Resource_CatalogsProductsVersions.listCatalogsProductsVersions | public function listCatalogsProductsVersions($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudPrivateCatalogProducer_GoogleCloudPrivatecatalogproducerV1beta1ListVersionsRespons... | php | public function listCatalogsProductsVersions($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_CloudPrivateCatalogProducer_GoogleCloudPrivatecatalogproducerV1beta1ListVersionsRespons... | [
"public",
"function",
"listCatalogsProductsVersions",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
... | Lists Version resources that the producer has access to, within the scope of
the parent Product. (versions.listCatalogsProductsVersions)
@param string $parent The resource name of the parent resource.
@param array $optParams Optional parameters.
@opt_param string pageToken A pagination token returned from a previous ... | [
"Lists",
"Version",
"resources",
"that",
"the",
"producer",
"has",
"access",
"to",
"within",
"the",
"scope",
"of",
"the",
"parent",
"Product",
".",
"(",
"versions",
".",
"listCatalogsProductsVersions",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/CloudPrivateCatalogProducer/Resource/CatalogsProductsVersions.php#L81-L86 |
googleapis/google-api-php-client-services | src/Google/Service/Vision/Resource/Images.php | Google_Service_Vision_Resource_Images.annotate | public function annotate(Google_Service_Vision_BatchAnnotateImagesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('annotate', array($params), "Google_Service_Vision_BatchAnnotateImagesResponse");
} | php | public function annotate(Google_Service_Vision_BatchAnnotateImagesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('annotate', array($params), "Google_Service_Vision_BatchAnnotateImagesResponse");
} | [
"public",
"function",
"annotate",
"(",
"Google_Service_Vision_BatchAnnotateImagesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$",
"params",... | Run image detection and annotation for a batch of images. (images.annotate)
@param Google_Service_Vision_BatchAnnotateImagesRequest $postBody
@param array $optParams Optional parameters.
@return Google_Service_Vision_BatchAnnotateImagesResponse | [
"Run",
"image",
"detection",
"and",
"annotation",
"for",
"a",
"batch",
"of",
"images",
".",
"(",
"images",
".",
"annotate",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Vision/Resource/Images.php#L35-L40 |
googleapis/google-api-php-client-services | src/Google/Service/TagManager/Resource/AccountsContainersWorkspacesTags.php | Google_Service_TagManager_Resource_AccountsContainersWorkspacesTags.listAccountsContainersWorkspacesTags | public function listAccountsContainersWorkspacesTags($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse");
} | php | public function listAccountsContainersWorkspacesTags($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_TagManager_ListTagsResponse");
} | [
"public",
"function",
"listAccountsContainersWorkspacesTags",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
... | Lists all GTM Tags of a Container.
(tags.listAccountsContainersWorkspacesTags)
@param string $parent GTM Workspace's API relative path. Example:
accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
@param array $optParams Optional parameters.
@opt_param string pageToken Continuation token for fet... | [
"Lists",
"all",
"GTM",
"Tags",
"of",
"a",
"Container",
".",
"(",
"tags",
".",
"listAccountsContainersWorkspacesTags",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/TagManager/Resource/AccountsContainersWorkspacesTags.php#L82-L87 |
googleapis/google-api-php-client-services | src/Google/Service/Appengine/Resource/AppsLocations.php | Google_Service_Appengine_Resource_AppsLocations.listAppsLocations | public function listAppsLocations($appsId, $optParams = array())
{
$params = array('appsId' => $appsId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Appengine_ListLocationsResponse");
} | php | public function listAppsLocations($appsId, $optParams = array())
{
$params = array('appsId' => $appsId);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Appengine_ListLocationsResponse");
} | [
"public",
"function",
"listAppsLocations",
"(",
"$",
"appsId",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'appsId'",
"=>",
"$",
"appsId",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
... | Lists information about the supported locations for this service.
(locations.listAppsLocations)
@param string $appsId Part of `name`. The resource that owns the locations
collection, if applicable.
@param array $optParams Optional parameters.
@opt_param string filter The standard list filter.
@opt_param string pageTo... | [
"Lists",
"information",
"about",
"the",
"supported",
"locations",
"for",
"this",
"service",
".",
"(",
"locations",
".",
"listAppsLocations",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Appengine/Resource/AppsLocations.php#L55-L60 |
googleapis/google-api-php-client-services | src/Google/Service/Vision/Resource/Files.php | Google_Service_Vision_Resource_Files.asyncBatchAnnotate | public function asyncBatchAnnotate(Google_Service_Vision_AsyncBatchAnnotateFilesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('asyncBatchAnnotate', array($params), "Google_Service_Vision_Operation");
} | php | public function asyncBatchAnnotate(Google_Service_Vision_AsyncBatchAnnotateFilesRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('asyncBatchAnnotate', array($params), "Google_Service_Vision_Operation");
} | [
"public",
"function",
"asyncBatchAnnotate",
"(",
"Google_Service_Vision_AsyncBatchAnnotateFilesRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'postBody'",
"=>",
"$",
"postBody",
")",
";",
"$... | Run asynchronous image detection and annotation for a list of generic files,
such as PDF files, which may contain multiple pages and multiple images per
page. Progress and results can be retrieved through the
`google.longrunning.Operations` interface. `Operation.metadata` contains
`OperationMetadata` (metadata). `Opera... | [
"Run",
"asynchronous",
"image",
"detection",
"and",
"annotation",
"for",
"a",
"list",
"of",
"generic",
"files",
"such",
"as",
"PDF",
"files",
"which",
"may",
"contain",
"multiple",
"pages",
"and",
"multiple",
"images",
"per",
"page",
".",
"Progress",
"and",
... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Vision/Resource/Files.php#L40-L45 |
googleapis/google-api-php-client-services | src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php | Google_Service_SecurityCommandCenter_Resource_OrganizationsAssets.group | public function group($parent, Google_Service_SecurityCommandCenter_GroupAssetsRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('group', array($params), "Google_Service_SecurityCommandCe... | php | public function group($parent, Google_Service_SecurityCommandCenter_GroupAssetsRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('group', array($params), "Google_Service_SecurityCommandCe... | [
"public",
"function",
"group",
"(",
"$",
"parent",
",",
"Google_Service_SecurityCommandCenter_GroupAssetsRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
",",... | Filters an organization's assets and groups them by their specified
properties. (assets.group)
@param string $parent Name of the organization to groupBy. Its format is
"organizations/[organization_id]".
@param Google_Service_SecurityCommandCenter_GroupAssetsRequest $postBody
@param array $optParams Optional parameter... | [
"Filters",
"an",
"organization",
"s",
"assets",
"and",
"groups",
"them",
"by",
"their",
"specified",
"properties",
".",
"(",
"assets",
".",
"group",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php#L38-L43 |
googleapis/google-api-php-client-services | src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php | Google_Service_SecurityCommandCenter_Resource_OrganizationsAssets.listOrganizationsAssets | public function listOrganizationsAssets($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_SecurityCommandCenter_ListAssetsResponse");
} | php | public function listOrganizationsAssets($parent, $optParams = array())
{
$params = array('parent' => $parent);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_SecurityCommandCenter_ListAssetsResponse");
} | [
"public",
"function",
"listOrganizationsAssets",
"(",
"$",
"parent",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"parent",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"par... | Lists an organization's assets. (assets.listOrganizationsAssets)
@param string $parent Name of the organization assets should belong to. Its
format is "organizations/[organization_id]".
@param array $optParams Optional parameters.
@opt_param string filter Expression that defines the filter to apply across
assets. The... | [
"Lists",
"an",
"organization",
"s",
"assets",
".",
"(",
"assets",
".",
"listOrganizationsAssets",
")"
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php#L136-L141 |
googleapis/google-api-php-client-services | src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php | Google_Service_SecurityCommandCenter_Resource_OrganizationsAssets.runDiscovery | public function runDiscovery($parent, Google_Service_SecurityCommandCenter_RunAssetDiscoveryRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('runDiscovery', array($params), "Google_Servi... | php | public function runDiscovery($parent, Google_Service_SecurityCommandCenter_RunAssetDiscoveryRequest $postBody, $optParams = array())
{
$params = array('parent' => $parent, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('runDiscovery', array($params), "Google_Servi... | [
"public",
"function",
"runDiscovery",
"(",
"$",
"parent",
",",
"Google_Service_SecurityCommandCenter_RunAssetDiscoveryRequest",
"$",
"postBody",
",",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
"'parent'",
"=>",
"$",
"pa... | Runs asset discovery. The discovery is tracked with a long-running operation.
This API can only be called with limited frequency for an organization. If it
is called too frequently the caller will receive a TOO_MANY_REQUESTS error.
(assets.runDiscovery)
@param string $parent Name of the organization to run asset disc... | [
"Runs",
"asset",
"discovery",
".",
"The",
"discovery",
"is",
"tracked",
"with",
"a",
"long",
"-",
"running",
"operation",
"."
] | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/SecurityCommandCenter/Resource/OrganizationsAssets.php#L155-L160 |
googleapis/google-api-php-client-services | src/Google/Service/Proximitybeacon/Resource/V1beta1.php | Google_Service_Proximitybeacon_Resource_V1beta1.getEidparams | public function getEidparams($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('getEidparams', array($params), "Google_Service_Proximitybeacon_EphemeralIdRegistrationParams");
} | php | public function getEidparams($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('getEidparams', array($params), "Google_Service_Proximitybeacon_EphemeralIdRegistrationParams");
} | [
"public",
"function",
"getEidparams",
"(",
"$",
"optParams",
"=",
"array",
"(",
")",
")",
"{",
"$",
"params",
"=",
"array",
"(",
")",
";",
"$",
"params",
"=",
"array_merge",
"(",
"$",
"params",
",",
"$",
"optParams",
")",
";",
"return",
"$",
"this",
... | Gets the Proximity Beacon API's current public key and associated parameters
used to initiate the Diffie-Hellman key exchange required to register a
beacon that broadcasts the Eddystone-EID format. This key changes
periodically; clients may cache it and re-use the same public key to
provision and register multiple beac... | [
"Gets",
"the",
"Proximity",
"Beacon",
"API",
"s",
"current",
"public",
"key",
"and",
"associated",
"parameters",
"used",
"to",
"initiate",
"the",
"Diffie",
"-",
"Hellman",
"key",
"exchange",
"required",
"to",
"register",
"a",
"beacon",
"that",
"broadcasts",
"t... | train | https://github.com/googleapis/google-api-php-client-services/blob/682f5ea10b63a4a008933afae5185c5239b653cb/src/Google/Service/Proximitybeacon/Resource/V1beta1.php#L40-L45 |
oscarotero/Embed | src/Providers/Provider.php | Provider.normalizeUrl | protected function normalizeUrl($url)
{
if (empty($url)) {
return;
}
return $this->adapter->getResponse()->getUrl()->getAbsolute($url);
} | php | protected function normalizeUrl($url)
{
if (empty($url)) {
return;
}
return $this->adapter->getResponse()->getUrl()->getAbsolute($url);
} | [
"protected",
"function",
"normalizeUrl",
"(",
"$",
"url",
")",
"{",
"if",
"(",
"empty",
"(",
"$",
"url",
")",
")",
"{",
"return",
";",
"}",
"return",
"$",
"this",
"->",
"adapter",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
"->",
"getA... | Returns the url as absolute.
@param string|null $url
@return string|null | [
"Returns",
"the",
"url",
"as",
"absolute",
"."
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/Provider.php#L191-L198 |
oscarotero/Embed | src/Adapters/Pastie.php | Pastie.getCode | public function getCode()
{
$this->width = null;
$this->height = null;
$path = '/'.$this->getResponse()->getUrl()->getDirectoryPosition(1).'.js';
return Utils::script($this->getResponse()->getUrl()->getAbsolute($path));
} | php | public function getCode()
{
$this->width = null;
$this->height = null;
$path = '/'.$this->getResponse()->getUrl()->getDirectoryPosition(1).'.js';
return Utils::script($this->getResponse()->getUrl()->getAbsolute($path));
} | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"this",
"->",
"width",
"=",
"null",
";",
"$",
"this",
"->",
"height",
"=",
"null",
";",
"$",
"path",
"=",
"'/'",
".",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
"->",... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Pastie.php#L26-L34 |
oscarotero/Embed | src/Adapters/Flickr.php | Flickr.getCode | public function getCode()
{
$code = parent::getCode();
if (empty($code)) {
$this->width = 640;
$this->height = 425;
$code = Utils::iframe($this->getResponse()->getUrl()->withAddedPath('player'), $this->width, $this->height);
}
return $code;
... | php | public function getCode()
{
$code = parent::getCode();
if (empty($code)) {
$this->width = 640;
$this->height = 425;
$code = Utils::iframe($this->getResponse()->getUrl()->withAddedPath('player'), $this->width, $this->height);
}
return $code;
... | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"code",
"=",
"parent",
"::",
"getCode",
"(",
")",
";",
"if",
"(",
"empty",
"(",
"$",
"code",
")",
")",
"{",
"$",
"this",
"->",
"width",
"=",
"640",
";",
"$",
"this",
"->",
"height",
"=",
"425... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Flickr.php#L26-L38 |
oscarotero/Embed | src/Adapters/Facebook.php | Facebook.init | protected function init()
{
parent::init();
$this->providers = ['facebook' => new Api\Facebook($this)] + $this->providers;
} | php | protected function init()
{
parent::init();
$this->providers = ['facebook' => new Api\Facebook($this)] + $this->providers;
} | [
"protected",
"function",
"init",
"(",
")",
"{",
"parent",
"::",
"init",
"(",
")",
";",
"$",
"this",
"->",
"providers",
"=",
"[",
"'facebook'",
"=>",
"new",
"Api",
"\\",
"Facebook",
"(",
"$",
"this",
")",
"]",
"+",
"$",
"this",
"->",
"providers",
";... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Facebook.php#L27-L32 |
oscarotero/Embed | src/Adapters/Sassmeister.php | Sassmeister.getCode | public function getCode()
{
$this->width = null;
$this->height = 480;
$id = $this->getResponse()->getUrl()->getDirectoryPosition(1);
return "<p class=\"sassmeister\" data-gist-id=\"{$id}\" data-height=\"480\" data-theme=\"tomorrow\">".
"<a href=\"http://sassmeister.co... | php | public function getCode()
{
$this->width = null;
$this->height = 480;
$id = $this->getResponse()->getUrl()->getDirectoryPosition(1);
return "<p class=\"sassmeister\" data-gist-id=\"{$id}\" data-height=\"480\" data-theme=\"tomorrow\">".
"<a href=\"http://sassmeister.co... | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"this",
"->",
"width",
"=",
"null",
";",
"$",
"this",
"->",
"height",
"=",
"480",
";",
"$",
"id",
"=",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
"->",
"getDirectoryPos... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Sassmeister.php#L26-L36 |
oscarotero/Embed | src/Providers/OEmbed/EndPoint.php | EndPoint.create | public static function create(Adapter $adapter)
{
$response = $adapter->getResponse();
if ($response->getUrl()->match(static::$pattern)) {
return new static($response);
}
} | php | public static function create(Adapter $adapter)
{
$response = $adapter->getResponse();
if ($response->getUrl()->match(static::$pattern)) {
return new static($response);
}
} | [
"public",
"static",
"function",
"create",
"(",
"Adapter",
"$",
"adapter",
")",
"{",
"$",
"response",
"=",
"$",
"adapter",
"->",
"getResponse",
"(",
")",
";",
"if",
"(",
"$",
"response",
"->",
"getUrl",
"(",
")",
"->",
"match",
"(",
"static",
"::",
"$... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/OEmbed/EndPoint.php#L21-L28 |
oscarotero/Embed | src/Adapters/Github.php | Github.init | protected function init()
{
parent::init();
if ($this->getResponse()->getUrl()->getHost() === 'gist.github.com') {
$this->providers = ['gist' => new Api\Gist($this)] + $this->providers;
}
} | php | protected function init()
{
parent::init();
if ($this->getResponse()->getUrl()->getHost() === 'gist.github.com') {
$this->providers = ['gist' => new Api\Gist($this)] + $this->providers;
}
} | [
"protected",
"function",
"init",
"(",
")",
"{",
"parent",
"::",
"init",
"(",
")",
";",
"if",
"(",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
"->",
"getHost",
"(",
")",
"===",
"'gist.github.com'",
")",
"{",
"$",
"this",
"-... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Github.php#L27-L34 |
oscarotero/Embed | src/Adapters/Github.php | Github.getCode | public function getCode()
{
$this->width = null;
$this->height = null;
$url = $this->getResponse()->getUrl();
if ($url->match('github.com/*/*/blob/*')) {
$username = $url->getDirectoryPosition(0);
$repo = $url->getDirectoryPosition(1);
$ref = $ur... | php | public function getCode()
{
$this->width = null;
$this->height = null;
$url = $this->getResponse()->getUrl();
if ($url->match('github.com/*/*/blob/*')) {
$username = $url->getDirectoryPosition(0);
$repo = $url->getDirectoryPosition(1);
$ref = $ur... | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"this",
"->",
"width",
"=",
"null",
";",
"$",
"this",
"->",
"height",
"=",
"null",
";",
"$",
"url",
"=",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
";",
"if",
"(",
... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Github.php#L48-L73 |
oscarotero/Embed | src/Adapters/Pastebin.php | Pastebin.getCode | public function getCode()
{
$this->width = null;
$this->height = null;
$url = $this->getResponse()->getUrl();
$path = '/embed_js' . $url->getPath();
return Utils::script($this->getResponse()->getUrl()->getAbsolute($path));
} | php | public function getCode()
{
$this->width = null;
$this->height = null;
$url = $this->getResponse()->getUrl();
$path = '/embed_js' . $url->getPath();
return Utils::script($this->getResponse()->getUrl()->getAbsolute($path));
} | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"this",
"->",
"width",
"=",
"null",
";",
"$",
"this",
"->",
"height",
"=",
"null",
";",
"$",
"url",
"=",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
";",
"$",
"path",
... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Pastebin.php#L26-L35 |
oscarotero/Embed | src/Adapters/File.php | File.check | public static function check(Response $response)
{
return $response->isValid() && isset(self::$contentTypes[$response->getContentType()]);
} | php | public static function check(Response $response)
{
return $response->isValid() && isset(self::$contentTypes[$response->getContentType()]);
} | [
"public",
"static",
"function",
"check",
"(",
"Response",
"$",
"response",
")",
"{",
"return",
"$",
"response",
"->",
"isValid",
"(",
")",
"&&",
"isset",
"(",
"self",
"::",
"$",
"contentTypes",
"[",
"$",
"response",
"->",
"getContentType",
"(",
")",
"]",... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/File.php#L45-L48 |
oscarotero/Embed | src/Adapters/File.php | File.getCode | public function getCode()
{
if (($code = parent::getcode())) {
return $code;
}
switch (self::$contentTypes[$this->getResponse()->getContentType()][1]) {
case 'videoHtml':
return Utils::videoHtml($this->image, $this->url, $this->imageWidth, $this->imag... | php | public function getCode()
{
if (($code = parent::getcode())) {
return $code;
}
switch (self::$contentTypes[$this->getResponse()->getContentType()][1]) {
case 'videoHtml':
return Utils::videoHtml($this->image, $this->url, $this->imageWidth, $this->imag... | [
"public",
"function",
"getCode",
"(",
")",
"{",
"if",
"(",
"(",
"$",
"code",
"=",
"parent",
"::",
"getcode",
"(",
")",
")",
")",
"{",
"return",
"$",
"code",
";",
"}",
"switch",
"(",
"self",
"::",
"$",
"contentTypes",
"[",
"$",
"this",
"->",
"getR... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/File.php#L71-L90 |
oscarotero/Embed | src/Adapters/Line.php | Line.getCode | public function getCode()
{
$url = $this->getResponse()->getUrl();
$id = $url->getDirectoryPosition(2);
return Utils::iframe($url->withPath("embed/{$id}/vertical"), $this->width, $this->height, 'border:1px solid #e7e7e7;');
} | php | public function getCode()
{
$url = $this->getResponse()->getUrl();
$id = $url->getDirectoryPosition(2);
return Utils::iframe($url->withPath("embed/{$id}/vertical"), $this->width, $this->height, 'border:1px solid #e7e7e7;');
} | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"url",
"=",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
";",
"$",
"id",
"=",
"$",
"url",
"->",
"getDirectoryPosition",
"(",
"2",
")",
";",
"return",
"Utils",
"::",
"ifra... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Line.php#L26-L32 |
oscarotero/Embed | src/Providers/OEmbed.php | OEmbed.getUrl | public function getUrl()
{
if ($this->getType() === 'photo') {
return $this->normalizeUrl($this->bag->get('web_page'));
}
return $this->normalizeUrl($this->bag->get('url') ?: $this->bag->get('web_page'));
} | php | public function getUrl()
{
if ($this->getType() === 'photo') {
return $this->normalizeUrl($this->bag->get('web_page'));
}
return $this->normalizeUrl($this->bag->get('url') ?: $this->bag->get('web_page'));
} | [
"public",
"function",
"getUrl",
"(",
")",
"{",
"if",
"(",
"$",
"this",
"->",
"getType",
"(",
")",
"===",
"'photo'",
")",
"{",
"return",
"$",
"this",
"->",
"normalizeUrl",
"(",
"$",
"this",
"->",
"bag",
"->",
"get",
"(",
"'web_page'",
")",
")",
";",... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/OEmbed.php#L91-L98 |
oscarotero/Embed | src/Providers/OEmbed.php | OEmbed.getImagesUrls | public function getImagesUrls()
{
$images = [];
if ($this->getType() === 'photo') {
$images[] = $this->bag->get('url');
}
foreach (['image', 'thumbnail', 'thumbnail_url'] as $type) {
if ($this->bag->has($type)) {
$ret = $this->bag->get($type)... | php | public function getImagesUrls()
{
$images = [];
if ($this->getType() === 'photo') {
$images[] = $this->bag->get('url');
}
foreach (['image', 'thumbnail', 'thumbnail_url'] as $type) {
if ($this->bag->has($type)) {
$ret = $this->bag->get($type)... | [
"public",
"function",
"getImagesUrls",
"(",
")",
"{",
"$",
"images",
"=",
"[",
"]",
";",
"if",
"(",
"$",
"this",
"->",
"getType",
"(",
")",
"===",
"'photo'",
")",
"{",
"$",
"images",
"[",
"]",
"=",
"$",
"this",
"->",
"bag",
"->",
"get",
"(",
"'... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/OEmbed.php#L135-L156 |
oscarotero/Embed | src/Providers/OEmbed.php | OEmbed.extractOembed | private function extractOembed(Response $response)
{
// extract from xml
if (($response->getUrl()->getExtension() === 'xml') || ($response->getUrl()->getQueryParameter('format') === 'xml')) {
if ($xml = $response->getXmlContent()) {
foreach ($xml as $element) {
... | php | private function extractOembed(Response $response)
{
// extract from xml
if (($response->getUrl()->getExtension() === 'xml') || ($response->getUrl()->getQueryParameter('format') === 'xml')) {
if ($xml = $response->getXmlContent()) {
foreach ($xml as $element) {
... | [
"private",
"function",
"extractOembed",
"(",
"Response",
"$",
"response",
")",
"{",
"// extract from xml",
"if",
"(",
"(",
"$",
"response",
"->",
"getUrl",
"(",
")",
"->",
"getExtension",
"(",
")",
"===",
"'xml'",
")",
"||",
"(",
"$",
"response",
"->",
"... | Save the oembed data in the bag.
@param Response $response | [
"Save",
"the",
"oembed",
"data",
"in",
"the",
"bag",
"."
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/OEmbed.php#L226-L247 |
oscarotero/Embed | src/Http/CurlResult.php | CurlResult.getResult | public function getResult()
{
$result = curl_getinfo($this->resource);
if (curl_errno($this->resource)) {
$result['error'] = curl_error($this->resource);
}
return [
'url' => isset($result['url']) ? $result['url'] : null,
'statusCode' => isset($re... | php | public function getResult()
{
$result = curl_getinfo($this->resource);
if (curl_errno($this->resource)) {
$result['error'] = curl_error($this->resource);
}
return [
'url' => isset($result['url']) ? $result['url'] : null,
'statusCode' => isset($re... | [
"public",
"function",
"getResult",
"(",
")",
"{",
"$",
"result",
"=",
"curl_getinfo",
"(",
"$",
"this",
"->",
"resource",
")",
";",
"if",
"(",
"curl_errno",
"(",
"$",
"this",
"->",
"resource",
")",
")",
"{",
"$",
"result",
"[",
"'error'",
"]",
"=",
... | Returns the response result. | [
"Returns",
"the",
"response",
"result",
"."
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Http/CurlResult.php#L34-L51 |
oscarotero/Embed | src/Http/CurlResult.php | CurlResult.headerCallback | public function headerCallback($resource, $string)
{
if (!strpos($string, ':')) {
return strlen($string);
}
list($name, $value) = array_map('trim', explode(':', $string, 2));
$name = strtolower($name);
if (!isset($this->headers[$name])) {
$this->hea... | php | public function headerCallback($resource, $string)
{
if (!strpos($string, ':')) {
return strlen($string);
}
list($name, $value) = array_map('trim', explode(':', $string, 2));
$name = strtolower($name);
if (!isset($this->headers[$name])) {
$this->hea... | [
"public",
"function",
"headerCallback",
"(",
"$",
"resource",
",",
"$",
"string",
")",
"{",
"if",
"(",
"!",
"strpos",
"(",
"$",
"string",
",",
"':'",
")",
")",
"{",
"return",
"strlen",
"(",
"$",
"string",
")",
";",
"}",
"list",
"(",
"$",
"name",
... | Callback used to collect the headers.
@param resource $resource
@param string $string
@return int | [
"Callback",
"used",
"to",
"collect",
"the",
"headers",
"."
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Http/CurlResult.php#L91-L112 |
oscarotero/Embed | src/Http/CurlResult.php | CurlResult.writeCallback | public function writeCallback($resource, $string)
{
$this->body .= $string;
if ($this->onBody === null || call_user_func($this->onBody, $this->body, $this->data) !== false) {
return strlen($string);
}
//Cancel
$this->body = null;
return -1;
} | php | public function writeCallback($resource, $string)
{
$this->body .= $string;
if ($this->onBody === null || call_user_func($this->onBody, $this->body, $this->data) !== false) {
return strlen($string);
}
//Cancel
$this->body = null;
return -1;
} | [
"public",
"function",
"writeCallback",
"(",
"$",
"resource",
",",
"$",
"string",
")",
"{",
"$",
"this",
"->",
"body",
".=",
"$",
"string",
";",
"if",
"(",
"$",
"this",
"->",
"onBody",
"===",
"null",
"||",
"call_user_func",
"(",
"$",
"this",
"->",
"on... | Callback used to get the body content.
@param resource $resource
@param string $string
@return int | [
"Callback",
"used",
"to",
"get",
"the",
"body",
"content",
"."
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Http/CurlResult.php#L122-L134 |
oscarotero/Embed | src/Adapters/Cadenaser.php | Cadenaser.getCode | public function getCode()
{
$url = $this->getResponse()->getUrl();
return Utils::iframe($url->withPath('/widget/'.$url->getPath()), $this->width, $this->height);
} | php | public function getCode()
{
$url = $this->getResponse()->getUrl();
return Utils::iframe($url->withPath('/widget/'.$url->getPath()), $this->width, $this->height);
} | [
"public",
"function",
"getCode",
"(",
")",
"{",
"$",
"url",
"=",
"$",
"this",
"->",
"getResponse",
"(",
")",
"->",
"getUrl",
"(",
")",
";",
"return",
"Utils",
"::",
"iframe",
"(",
"$",
"url",
"->",
"withPath",
"(",
"'/widget/'",
".",
"$",
"url",
"-... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Adapters/Cadenaser.php#L26-L31 |
oscarotero/Embed | src/Providers/OEmbed/Facebook.php | Facebook.getEndPoint | public function getEndPoint()
{
if ($this->response->getUrl()->match(['*/videos/*', '/video.php'])) {
$endPoint = Url::create('https://www.facebook.com/plugins/video/oembed.json');
} else {
$endPoint = Url::create('https://www.facebook.com/plugins/post/oembed.json');
... | php | public function getEndPoint()
{
if ($this->response->getUrl()->match(['*/videos/*', '/video.php'])) {
$endPoint = Url::create('https://www.facebook.com/plugins/video/oembed.json');
} else {
$endPoint = Url::create('https://www.facebook.com/plugins/post/oembed.json');
... | [
"public",
"function",
"getEndPoint",
"(",
")",
"{",
"if",
"(",
"$",
"this",
"->",
"response",
"->",
"getUrl",
"(",
")",
"->",
"match",
"(",
"[",
"'*/videos/*'",
",",
"'/video.php'",
"]",
")",
")",
"{",
"$",
"endPoint",
"=",
"Url",
"::",
"create",
"("... | {@inheritdoc} | [
"{"
] | train | https://github.com/oscarotero/Embed/blob/bc80c5da565ae1576aa4bd909949ca15e92badfb/src/Providers/OEmbed/Facebook.php#L14-L26 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.