Autogenerated update (2020-05-07)
Delete: - commentanalyzer_v1alpha1 - osconfig_v1beta Update: - adexchangebuyer2_v2beta1 - androidenterprise_v1 - androidpublisher_v1 - androidpublisher_v1_1 - androidpublisher_v2 - androidpublisher_v3 - bigquery_v2 - bigqueryconnection_v1beta1 - bigqueryreservation_v1 - bigqueryreservation_v1beta1 - binaryauthorization_v1 - binaryauthorization_v1beta1 - calendar_v3 - cloudasset_v1p1beta1 - cloudbilling_v1 - cloudbuild_v1 - clouddebugger_v2 - cloudidentity_v1beta1 - cloudiot_v1 - cloudresourcemanager_v1 - cloudresourcemanager_v1beta1 - cloudresourcemanager_v2 - cloudresourcemanager_v2beta1 - cloudscheduler_v1 - cloudscheduler_v1beta1 - cloudsearch_v1 - cloudshell_v1alpha1 - cloudtasks_v2 - cloudtasks_v2beta2 - cloudtasks_v2beta3 - cloudtrace_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - container_v1 - container_v1beta1 - containeranalysis_v1alpha1 - containeranalysis_v1beta1 - content_v2 - content_v2_1 - customsearch_v1 - datacatalog_v1beta1 - dataproc_v1 - dataproc_v1beta2 - dialogflow_v2 - dialogflow_v2beta1 - displayvideo_v1 - dlp_v2 - drive_v2 - drive_v3 - driveactivity_v2 - file_v1 - file_v1beta1 - firebase_v1beta1 - firebasehosting_v1beta1 - games_configuration_v1configuration - games_management_v1management - games_v1 - gameservices_v1beta - healthcare_v1 - healthcare_v1beta1 - homegraph_v1 - iamcredentials_v1 - managedidentities_v1 - managedidentities_v1alpha1 - managedidentities_v1beta1 - memcache_v1beta2 - ml_v1 - monitoring_v3 - people_v1 - policytroubleshooter_v1 - policytroubleshooter_v1beta - prod_tt_sasportal_v1alpha1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - run_v1 - run_v1alpha1 - runtimeconfig_v1beta1 - sasportal_v1alpha1 - script_v1 - secretmanager_v1 - secretmanager_v1beta1 - serviceconsumermanagement_v1 - serviceconsumermanagement_v1beta1 - servicecontrol_v1 - servicedirectory_v1beta1 - servicemanagement_v1 - servicenetworking_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - sheets_v4 - sourcerepo_v1 - speech_v1 - speech_v1p1beta1 - storage_v1 - tagmanager_v1 - tagmanager_v2 - testing_v1 - toolresults_v1beta3 - vault_v1 - videointelligence_v1 - videointelligence_v1beta2 - videointelligence_v1p1beta1 - videointelligence_v1p2beta1 - videointelligence_v1p3beta1 - youtube_partner_v1 - youtube_v3
This commit is contained in:
1 parent
334a41b6f9
commit
2aab01171a
308 files changed
+40747
-16123
No files matched your search
@@ -651,12 +651,6 @@ module Google
|
||||
# @return [Google::Apis::MonitoringV3::MetricThreshold]
|
||||
attr_accessor :condition_threshold
|
||||
|
||||
# A condition type that allows alert policies to be defined using Monitoring
|
||||
# Query Language.
|
||||
# Corresponds to the JSON property `conditionTimeSeriesQueryLanguage`
|
||||
# @return [Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition]
|
||||
attr_accessor :condition_time_series_query_language
|
||||
|
||||
# A short name or phrase used to identify the condition in dashboards,
|
||||
# notifications, and incidents. To avoid confusion, don't use the same display
|
||||
# name for multiple conditions in the same policy.
|
||||
@@ -691,7 +685,6 @@ module Google
|
||||
def update!(**args)
|
||||
@condition_absent = args[:condition_absent] if args.key?(:condition_absent)
|
||||
@condition_threshold = args[:condition_threshold] if args.key?(:condition_threshold)
|
||||
@condition_time_series_query_language = args[:condition_time_series_query_language] if args.key?(:condition_time_series_query_language)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
@@ -1442,6 +1435,21 @@ module Google
|
||||
# @return [Google::Apis::MonitoringV3::BasicAuthentication]
|
||||
attr_accessor :auth_info
|
||||
|
||||
# The request body associated with the HTTP request. If content_type is
|
||||
# URL_ENCODED, the body passed in must be URL-encoded. Users can provide a
|
||||
# Content-Length header via the headers field or the API will do so. The maximum
|
||||
# byte size is 1 megabyte. Note: As with all bytes fields JSON representations
|
||||
# are base64 encoded.
|
||||
# Corresponds to the JSON property `body`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :body
|
||||
|
||||
# The content type to use for the check.
|
||||
# Corresponds to the JSON property `contentType`
|
||||
# @return [String]
|
||||
attr_accessor :content_type
|
||||
|
||||
# The list of headers to send as part of the Uptime check request. If two
|
||||
# headers have the same key and different values, they should be entered as a
|
||||
# single header, with the value being a comma-separated list of all the desired
|
||||
@@ -1479,6 +1487,12 @@ module Google
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
# The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED
|
||||
# then request_method defaults to GET.
|
||||
# Corresponds to the JSON property `requestMethod`
|
||||
# @return [String]
|
||||
attr_accessor :request_method
|
||||
|
||||
# If true, use HTTPS instead of HTTP to run the check.
|
||||
# Corresponds to the JSON property `useSsl`
|
||||
# @return [Boolean]
|
||||
@@ -1500,10 +1514,13 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@auth_info = args[:auth_info] if args.key?(:auth_info)
|
||||
@body = args[:body] if args.key?(:body)
|
||||
@content_type = args[:content_type] if args.key?(:content_type)
|
||||
@headers = args[:headers] if args.key?(:headers)
|
||||
@mask_headers = args[:mask_headers] if args.key?(:mask_headers)
|
||||
@path = args[:path] if args.key?(:path)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
@request_method = args[:request_method] if args.key?(:request_method)
|
||||
@use_ssl = args[:use_ssl] if args.key?(:use_ssl)
|
||||
@validate_ssl = args[:validate_ssl] if args.key?(:validate_ssl)
|
||||
end
|
||||
@@ -2908,7 +2925,7 @@ module Google
|
||||
# For DELTA and CUMULATIVE metrics, the start time must be earlier than the end
|
||||
# time.
|
||||
# In all cases, the start time of the next interval must be at least a
|
||||
# microsecond after the end time of the previous interval. Because the interval
|
||||
# millisecond after the end time of the previous interval. Because the interval
|
||||
# is closed, if the start time of a new interval is the same as the end time of
|
||||
# the previous interval, data written at the new start time could overwrite
|
||||
# data written at the previous end time.
|
||||
@@ -2950,7 +2967,7 @@ module Google
|
||||
# For DELTA and CUMULATIVE metrics, the start time must be earlier than the end
|
||||
# time.
|
||||
# In all cases, the start time of the next interval must be at least a
|
||||
# microsecond after the end time of the previous interval. Because the interval
|
||||
# millisecond after the end time of the previous interval. Because the interval
|
||||
# is closed, if the start time of a new interval is the same as the end time of
|
||||
# the previous interval, data written at the new start time could overwrite
|
||||
# data written at the previous end time.
|
||||
@@ -3476,7 +3493,7 @@ module Google
|
||||
# For DELTA and CUMULATIVE metrics, the start time must be earlier than the end
|
||||
# time.
|
||||
# In all cases, the start time of the next interval must be at least a
|
||||
# microsecond after the end time of the previous interval. Because the interval
|
||||
# millisecond after the end time of the previous interval. Because the interval
|
||||
# is closed, if the start time of a new interval is the same as the end time of
|
||||
# the previous interval, data written at the new start time could overwrite
|
||||
# data written at the previous end time.
|
||||
@@ -3641,34 +3658,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# A condition type that allows alert policies to be defined using Monitoring
|
||||
# Query Language.
|
||||
class TimeSeriesQueryLanguageCondition
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Monitoring Query Language query that generates time series data and describes
|
||||
# a condition for alerting on that data.
|
||||
# Corresponds to the JSON property `query`
|
||||
# @return [String]
|
||||
attr_accessor :query
|
||||
|
||||
# A short explanation of what the query represents. For example:"Error ratio
|
||||
# exceeds 15% for >5% of servers in >2 regions"
|
||||
# Corresponds to the JSON property `summary`
|
||||
# @return [String]
|
||||
attr_accessor :summary
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@query = args[:query] if args.key?(:query)
|
||||
@summary = args[:summary] if args.key?(:summary)
|
||||
end
|
||||
end
|
||||
|
||||
# A TimeSeriesRatio specifies two TimeSeries to use for computing the
|
||||
# good_service / total_service ratio. The specified TimeSeries must have
|
||||
# ValueType = DOUBLE or ValueType = INT64 and must have MetricKind =
|
||||
|
||||
@@ -544,12 +544,6 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TimeSeriesQueryLanguageCondition
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TimeSeriesRatio
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -752,8 +746,6 @@ module Google
|
||||
|
||||
property :condition_threshold, as: 'conditionThreshold', class: Google::Apis::MonitoringV3::MetricThreshold, decorator: Google::Apis::MonitoringV3::MetricThreshold::Representation
|
||||
|
||||
property :condition_time_series_query_language, as: 'conditionTimeSeriesQueryLanguage', class: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition, decorator: Google::Apis::MonitoringV3::TimeSeriesQueryLanguageCondition::Representation
|
||||
|
||||
property :display_name, as: 'displayName'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
@@ -948,10 +940,13 @@ module Google
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :auth_info, as: 'authInfo', class: Google::Apis::MonitoringV3::BasicAuthentication, decorator: Google::Apis::MonitoringV3::BasicAuthentication::Representation
|
||||
|
||||
property :body, :base64 => true, as: 'body'
|
||||
property :content_type, as: 'contentType'
|
||||
hash :headers, as: 'headers'
|
||||
property :mask_headers, as: 'maskHeaders'
|
||||
property :path, as: 'path'
|
||||
property :port, as: 'port'
|
||||
property :request_method, as: 'requestMethod'
|
||||
property :use_ssl, as: 'useSsl'
|
||||
property :validate_ssl, as: 'validateSsl'
|
||||
end
|
||||
@@ -1481,14 +1476,6 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class TimeSeriesQueryLanguageCondition
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :query, as: 'query'
|
||||
property :summary, as: 'summary'
|
||||
end
|
||||
end
|
||||
|
||||
class TimeSeriesRatio
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -56,10 +56,11 @@ module Google
|
||||
# Required. The project in which to create the alerting policy. The format is:
|
||||
# projects/[PROJECT_ID_OR_NUMBER]
|
||||
# Note that this field names the parent container in which the alerting policy
|
||||
# will be written, not the name of the created policy. The alerting policy that
|
||||
# is returned will have a name that contains a normalized representation of this
|
||||
# name as a prefix but adds a suffix of the form /alertPolicies/[ALERT_POLICY_ID]
|
||||
# , identifying the policy in the container.
|
||||
# will be written, not the name of the created policy. |name| must be a host
|
||||
# project of a workspace, otherwise INVALID_ARGUMENT error will return. The
|
||||
# alerting policy that is returned will have a name that contains a normalized
|
||||
# representation of this name as a prefix but adds a suffix of the form /
|
||||
# alertPolicies/[ALERT_POLICY_ID], identifying the policy in the container.
|
||||
# @param [Google::Apis::MonitoringV3::AlertPolicy] alert_policy_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
@@ -153,7 +154,7 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists the existing alerting policies for the project.
|
||||
# Lists the existing alerting policies for the workspace.
|
||||
# @param [String] name
|
||||
# Required. The project whose alert policies are to be listed. The format is:
|
||||
# projects/[PROJECT_ID_OR_NUMBER]
|
||||
|
||||
Reference in new issue
Block a user