View Source GoogleApi.CloudAsset.V1.Api.Feeds (google_api_cloud_asset v0.35.0)
API calls for all endpoints tagged Feeds
.
Summary
Functions
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Deletes an asset feed.
Gets details about an asset feed.
Lists all asset feeds in a parent project/folder/organization.
Updates an asset feed configuration.
Functions
Link to this function
cloudasset_feeds_create(connection, v1_id, v1_id1, optional_params \\ [], opts \\ [])
View Source@spec cloudasset_feeds_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.Feed.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Creates a feed in a parent project/folder/organization to listen to its asset updates.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part ofparent
. 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"). -
v1_id1
(type:String.t
) - Part ofparent
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:body
(type:GoogleApi.CloudAsset.V1.Model.CreateFeedRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.Feed{}}
on success -
{:error, info}
on failure
Link to this function
cloudasset_feeds_delete(connection, v1_id, v1_id1, feeds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudasset_feeds_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.Empty.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Deletes an asset feed.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part ofname
. 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 -
v1_id1
(type:String.t
) - Part ofname
. See documentation ofv1Id
. -
feeds_id
(type:String.t
) - Part ofname
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.Empty{}}
on success -
{:error, info}
on failure
Link to this function
cloudasset_feeds_get(connection, v1_id, v1_id1, feeds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudasset_feeds_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.Feed.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Gets details about an asset feed.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part ofname
. 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 -
v1_id1
(type:String.t
) - Part ofname
. See documentation ofv1Id
. -
feeds_id
(type:String.t
) - Part ofname
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.Feed{}}
on success -
{:error, info}
on failure
Link to this function
cloudasset_feeds_list(connection, v1_id, v1_id1, optional_params \\ [], opts \\ [])
View Source@spec cloudasset_feeds_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.ListFeedsResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Lists all asset feeds in a parent project/folder/organization.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part ofparent
. 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"). -
v1_id1
(type:String.t
) - Part ofparent
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart").
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.ListFeedsResponse{}}
on success -
{:error, info}
on failure
Link to this function
cloudasset_feeds_patch(connection, v1_id, v1_id1, feeds_id, optional_params \\ [], opts \\ [])
View Source@spec cloudasset_feeds_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudAsset.V1.Model.Feed.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Updates an asset feed configuration.
Parameters
-
connection
(type:GoogleApi.CloudAsset.V1.Connection.t
) - Connection to server -
v1_id
(type:String.t
) - Part offeed.name
. 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. -
v1_id1
(type:String.t
) - Part offeed.name
. See documentation ofv1Id
. -
feeds_id
(type:String.t
) - Part offeed.name
. See documentation ofv1Id
. -
optional_params
(type:keyword()
) - Optional parameters-
:"$.xgafv"
(type:String.t
) - V1 error format. -
:access_token
(type:String.t
) - OAuth access token. -
:alt
(type:String.t
) - Data format for response. -
:callback
(type:String.t
) - JSONP -
:fields
(type:String.t
) - Selector specifying which fields to include in a partial response. -
:key
(type:String.t
) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. -
:oauth_token
(type:String.t
) - OAuth 2.0 token for the current user. -
:prettyPrint
(type:boolean()
) - Returns response with indentations and line breaks. -
:quotaUser
(type:String.t
) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. -
:uploadType
(type:String.t
) - Legacy upload protocol for media (e.g. "media", "multipart"). -
:upload_protocol
(type:String.t
) - Upload protocol for media (e.g. "raw", "multipart"). -
:body
(type:GoogleApi.CloudAsset.V1.Model.UpdateFeedRequest.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudAsset.V1.Model.Feed{}}
on success -
{:error, info}
on failure