Documentation

Google_Service_CloudAsset_Resource_Feeds extends Google_Service_Resource
in package

The "feeds" collection of methods.

Typical usage is: $cloudassetService = new Google_Service_CloudAsset(...); $feeds = $cloudassetService->feeds;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
create()  : Google_Service_CloudAsset_Feed
Creates a feed in a parent project/folder/organization to listen to its asset updates. (feeds.create)
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
delete()  : Google_Service_CloudAsset_CloudassetEmpty
Deletes an asset feed. (feeds.delete)
get()  : Google_Service_CloudAsset_Feed
Gets details about an asset feed. (feeds.get)
listFeeds()  : Google_Service_CloudAsset_ListFeedsResponse
Lists all asset feeds in a parent project/folder/organization.
patch()  : Google_Service_CloudAsset_Feed
Updates an asset feed configuration. (feeds.patch)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

create()

Creates a feed in a parent project/folder/organization to listen to its asset updates. (feeds.create)

public create(string $parent, Google_Service_CloudAsset_CreateFeedRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudAsset_Feed
Parameters
$parent : string

Required. The name of the project/folder/organization where this feed should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").

$postBody : Google_Service_CloudAsset_CreateFeedRequest
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudAsset_Feed

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

delete()

Deletes an asset feed. (feeds.delete)

public delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudAsset_CloudassetEmpty
Parameters
$name : string

Required. The name of the feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudAsset_CloudassetEmpty

get()

Gets details about an asset feed. (feeds.get)

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudAsset_Feed
Parameters
$name : string

Required. The name of the Feed and it must be in the format of: projects/project_number/feeds/feed_id folders/folder_number/feeds/feed_id organizations/organization_number/feeds/feed_id

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudAsset_Feed

listFeeds()

Lists all asset feeds in a parent project/folder/organization.

public listFeeds(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudAsset_ListFeedsResponse

(feeds.listFeeds)

Parameters
$parent : string

Required. The parent project/folder/organization whose feeds are to be listed. It can only be using project/folder/organization number (such as "folders/12345")", or a project ID (such as "projects/my- project-id").

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudAsset_ListFeedsResponse

patch()

Updates an asset feed configuration. (feeds.patch)

public patch(string $name, Google_Service_CloudAsset_UpdateFeedRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudAsset_Feed
Parameters
$name : string

Required. The format will be projects/{project_number}/feeds/{client-assigned_feed_identifier} or folders/{folder_number}/feeds/{client-assigned_feed_identifier} or organizations/{organization_number}/feeds/{client-assigned_feed_identifier} The client-assigned feed identifier must be unique within the parent project/folder/organization.

$postBody : Google_Service_CloudAsset_UpdateFeedRequest
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_CloudAsset_Feed

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results