google_api_monitoring v0.27.0 GoogleApi.Monitoring.V3.Api.Services View Source
API calls for all endpoints tagged Services
.
Link to this section Summary
Functions
Create a Service.
Soft delete this Service.
Get the named Service.
List Services for this workspace.
Update this Service.
Create a ServiceLevelObjective for the given Service.
Delete the given ServiceLevelObjective.
Get a ServiceLevelObjective by name.
List the ServiceLevelObjectives for the given Service.
Update the given ServiceLevelObjective.
Link to this section Functions
monitoring_services_create(connection, v3_id, v3_id1, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.Service.t()} | {:error, Tesla.Env.t()}
Create a Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofparent
. Resource name of the parent workspace. Of the form projects/{project_id}.v3_id1
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.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").:serviceId
(type:String.t
) - Optional. The Service id to use for this Service. If omitted, an id will be generated instead. Must match the pattern a-z0-9-+:body
(type:GoogleApi.Monitoring.V3.Model.Service.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.Service{}}
on success{:error, info}
on failure
monitoring_services_delete(connection, v3_id, v3_id1, services_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.Empty.t()} | {:error, Tesla.Env.t()}
Soft delete this Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofname
. Resource name of the Service to delete. Of the form projects/{project_id}/services/{service_id}.v3_id1
(type:String.t
) - Part ofname
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.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.Monitoring.V3.Model.Empty{}}
on success{:error, info}
on failure
monitoring_services_get(connection, v3_id, v3_id1, services_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.Service.t()} | {:error, Tesla.Env.t()}
Get the named Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofname
. Resource name of the Service. Of the form projects/{project_id}/services/{service_id}.v3_id1
(type:String.t
) - Part ofname
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.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.Monitoring.V3.Model.Service{}}
on success{:error, info}
on failure
monitoring_services_list(connection, v3_id, v3_id1, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.ListServicesResponse.t()} | {:error, Tesla.Env.t()}
List Services for this workspace.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofparent
. Resource name of the parent Workspace. Of the form projects/{project_id}.v3_id1
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.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").:filter
(type:String.t
) - A filter specifying what Services to return. The filter currently supports the following fields:identifier_case
app_engine.module_id
cloud_endpoints.service
cluster_istio.location
cluster_istio.cluster_name
cluster_istio.service_namespace
cluster_istio.service_name
identifier_case refers to which option in the identifier oneof is populated. For example, the filter identifier_case = "CUSTOM" would match all services with a value for the custom field. Valid options are "CUSTOM", "APP_ENGINE", "CLOUD_ENDPOINTS", and "CLUSTER_ISTIO".
:pageSize
(type:integer()
) - A non-negative number that is the maximum number of results to return. When 0, use default page size.:pageToken
(type:String.t
) - If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.ListServicesResponse{}}
on success{:error, info}
on failure
monitoring_services_patch(connection, v3_id, v3_id1, services_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.Service.t()} | {:error, Tesla.Env.t()}
Update this Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofservice.name
. Resource name for this Service. Of the form projects/{project_id}/services/{service_id}.v3_id1
(type:String.t
) - Part ofservice.name
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofservice.name
. See documentation ofv3Id
.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").:updateMask
(type:String.t
) - A set of field paths defining which fields to use for the update.:body
(type:GoogleApi.Monitoring.V3.Model.Service.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.Service{}}
on success{:error, info}
on failure
monitoring_services_service_level_objectives_create(connection, v3_id, v3_id1, services_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_service_level_objectives_create( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.ServiceLevelObjective.t()} | {:error, Tesla.Env.t()}
Create a ServiceLevelObjective for the given Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofparent
. Resource name of the parent Service. Of the form projects/{project_id}/services/{service_id}.v3_id1
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.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").:serviceLevelObjectiveId
(type:String.t
) - Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern a-z0-9-+:body
(type:GoogleApi.Monitoring.V3.Model.ServiceLevelObjective.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.ServiceLevelObjective{}}
on success{:error, info}
on failure
monitoring_services_service_level_objectives_delete(connection, v3_id, v3_id1, services_id, service_level_objectives_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_service_level_objectives_delete( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.Empty.t()} | {:error, Tesla.Env.t()}
Delete the given ServiceLevelObjective.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofname
. Resource name of the ServiceLevelObjective to delete. Of the form projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}.v3_id1
(type:String.t
) - Part ofname
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.service_level_objectives_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.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.Monitoring.V3.Model.Empty{}}
on success{:error, info}
on failure
monitoring_services_service_level_objectives_get(connection, v3_id, v3_id1, services_id, service_level_objectives_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_service_level_objectives_get( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.ServiceLevelObjective.t()} | {:error, Tesla.Env.t()}
Get a ServiceLevelObjective by name.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofname
. Resource name of the ServiceLevelObjective to get. Of the form projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}.v3_id1
(type:String.t
) - Part ofname
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.service_level_objectives_id
(type:String.t
) - Part ofname
. See documentation ofv3Id
.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").:view
(type:String.t
) - View of the ServiceLevelObjective to return. If DEFAULT, return the ServiceLevelObjective as originally defined. If EXPLICIT and the ServiceLevelObjective is defined in terms of a BasicSli, replace the BasicSli with a RequestBasedSli spelling out how the SLI is computed.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.ServiceLevelObjective{}}
on success{:error, info}
on failure
monitoring_services_service_level_objectives_list(connection, v3_id, v3_id1, services_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_service_level_objectives_list( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.ListServiceLevelObjectivesResponse.t()} | {:error, Tesla.Env.t()}
List the ServiceLevelObjectives for the given Service.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofparent
. Resource name of the parent Service. Of the form projects/{project_id}/services/{service_id}.v3_id1
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofparent
. See documentation ofv3Id
.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").:filter
(type:String.t
) - A filter specifying what ServiceLevelObjectives to return.:pageSize
(type:integer()
) - A non-negative number that is the maximum number of results to return. When 0, use default page size.:pageToken
(type:String.t
) - If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.:view
(type:String.t
) - View of the ServiceLevelObjectives to return. If DEFAULT, return each ServiceLevelObjective as originally defined. If EXPLICIT and the ServiceLevelObjective is defined in terms of a BasicSli, replace the BasicSli with a RequestBasedSli spelling out how the SLI is computed.
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.ListServiceLevelObjectivesResponse{}}
on success{:error, info}
on failure
monitoring_services_service_level_objectives_patch(connection, v3_id, v3_id1, services_id, service_level_objectives_id, optional_params \\ [], opts \\ [])
View Sourcemonitoring_services_service_level_objectives_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Monitoring.V3.Model.ServiceLevelObjective.t()} | {:error, Tesla.Env.t()}
Update the given ServiceLevelObjective.
Parameters
connection
(type:GoogleApi.Monitoring.V3.Connection.t
) - Connection to serverv3_id
(type:String.t
) - Part ofserviceLevelObjective.name
. Resource name for this ServiceLevelObjective. Of the form projects/{project_id}/services/{service_id}/serviceLevelObjectives/{slo_name}.v3_id1
(type:String.t
) - Part ofserviceLevelObjective.name
. See documentation ofv3Id
.services_id
(type:String.t
) - Part ofserviceLevelObjective.name
. See documentation ofv3Id
.service_level_objectives_id
(type:String.t
) - Part ofserviceLevelObjective.name
. See documentation ofv3Id
.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").:updateMask
(type:String.t
) - A set of field paths defining which fields to use for the update.:body
(type:GoogleApi.Monitoring.V3.Model.ServiceLevelObjective.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Monitoring.V3.Model.ServiceLevelObjective{}}
on success{:error, info}
on failure