google-api-client 0.44.2 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV1
|
|
31
31
|
VERSION = 'V1'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200915'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -240,9 +240,9 @@ module Google
|
|
|
240
240
|
# @return [Google::Apis::MonitoringV1::GridLayout]
|
|
241
241
|
attr_accessor :grid_layout
|
|
242
242
|
|
|
243
|
-
# A mosaic layout divides the available space into a grid of
|
|
243
|
+
# A mosaic layout divides the available space into a grid of blocks, and
|
|
244
244
|
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
|
|
245
|
-
#
|
|
245
|
+
# blocks and can be placed at arbitrary locations in the grid.
|
|
246
246
|
# Corresponds to the JSON property `mosaicLayout`
|
|
247
247
|
# @return [Google::Apis::MonitoringV1::MosaicLayout]
|
|
248
248
|
attr_accessor :mosaic_layout
|
|
@@ -524,9 +524,9 @@ module Google
|
|
|
524
524
|
end
|
|
525
525
|
end
|
|
526
526
|
|
|
527
|
-
# A mosaic layout divides the available space into a grid of
|
|
527
|
+
# A mosaic layout divides the available space into a grid of blocks, and
|
|
528
528
|
# overlays the grid with tiles. Unlike GridLayout, tiles may span multiple grid
|
|
529
|
-
#
|
|
529
|
+
# blocks and can be placed at arbitrary locations in the grid.
|
|
530
530
|
class MosaicLayout
|
|
531
531
|
include Google::Apis::Core::Hashable
|
|
532
532
|
|
|
@@ -948,7 +948,7 @@ module Google
|
|
|
948
948
|
class Tile
|
|
949
949
|
include Google::Apis::Core::Hashable
|
|
950
950
|
|
|
951
|
-
# The height of the tile, measured in grid
|
|
951
|
+
# The height of the tile, measured in grid blocks. Tiles must have a minimum
|
|
952
952
|
# height of 1.
|
|
953
953
|
# Corresponds to the JSON property `height`
|
|
954
954
|
# @return [Fixnum]
|
|
@@ -960,20 +960,20 @@ module Google
|
|
|
960
960
|
# @return [Google::Apis::MonitoringV1::Widget]
|
|
961
961
|
attr_accessor :widget
|
|
962
962
|
|
|
963
|
-
# The width of the tile, measured in grid
|
|
963
|
+
# The width of the tile, measured in grid blocks. Tiles must have a minimum
|
|
964
964
|
# width of 1.
|
|
965
965
|
# Corresponds to the JSON property `width`
|
|
966
966
|
# @return [Fixnum]
|
|
967
967
|
attr_accessor :width
|
|
968
968
|
|
|
969
|
-
# The zero-indexed position of the tile in grid
|
|
970
|
-
#
|
|
971
|
-
#
|
|
969
|
+
# The zero-indexed position of the tile in grid blocks relative to the left edge
|
|
970
|
+
# of the grid. Tiles must be contained within the specified number of columns.
|
|
971
|
+
# x_pos cannot be negative.
|
|
972
972
|
# Corresponds to the JSON property `xPos`
|
|
973
973
|
# @return [Fixnum]
|
|
974
974
|
attr_accessor :x_pos
|
|
975
975
|
|
|
976
|
-
# The zero-indexed position of the tile in grid
|
|
976
|
+
# The zero-indexed position of the tile in grid blocks relative to the top edge
|
|
977
977
|
# of the grid. y_pos cannot be negative.
|
|
978
978
|
# Corresponds to the JSON property `yPos`
|
|
979
979
|
# @return [Fixnum]
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# @see https://cloud.google.com/monitoring/api/
|
|
30
30
|
module MonitoringV3
|
|
31
31
|
VERSION = 'V3'
|
|
32
|
-
REVISION = '
|
|
32
|
+
REVISION = '20200915'
|
|
33
33
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -508,7 +508,7 @@ module Google
|
|
|
508
508
|
attr_accessor :type_instance
|
|
509
509
|
|
|
510
510
|
# The measured values during this time interval. Each value must have a
|
|
511
|
-
# different
|
|
511
|
+
# different data_source_name.
|
|
512
512
|
# Corresponds to the JSON property `values`
|
|
513
513
|
# @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
|
|
514
514
|
attr_accessor :values
|
|
@@ -572,8 +572,8 @@ module Google
|
|
|
572
572
|
class CollectdValue
|
|
573
573
|
include Google::Apis::Core::Hashable
|
|
574
574
|
|
|
575
|
-
# The data source for the collectd value. For example there are two data
|
|
576
|
-
# for network measurements: "rx" and "tx".
|
|
575
|
+
# The data source for the collectd value. For example, there are two data
|
|
576
|
+
# sources for network measurements: "rx" and "tx".
|
|
577
577
|
# Corresponds to the JSON property `dataSourceName`
|
|
578
578
|
# @return [String]
|
|
579
579
|
attr_accessor :data_source_name
|
|
@@ -2897,15 +2897,17 @@ module Google
|
|
|
2897
2897
|
|
|
2898
2898
|
# A closed time interval. It extends from the start time to the end time, and
|
|
2899
2899
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
|
2900
|
-
# MetricKind of the metric value.
|
|
2901
|
-
#
|
|
2902
|
-
#
|
|
2903
|
-
#
|
|
2904
|
-
#
|
|
2905
|
-
#
|
|
2906
|
-
#
|
|
2907
|
-
#
|
|
2908
|
-
# a
|
|
2900
|
+
# MetricKind of the metric value. The end time must not be earlier than the
|
|
2901
|
+
# start time. When writing data points, the start time must not be more than 25
|
|
2902
|
+
# hours in the past and the end time must not be more than five minutes in the
|
|
2903
|
+
# future. For GAUGE metrics, the startTime value is technically optional; if no
|
|
2904
|
+
# value is specified, the start time defaults to the value of the end time, and
|
|
2905
|
+
# the interval represents a single point in time. If both start and end times
|
|
2906
|
+
# are specified, they must be identical. Such an interval is valid only for
|
|
2907
|
+
# GAUGE metrics, which are point-in-time measurements. The end time of a new
|
|
2908
|
+
# interval must be at least a millisecond after the end time of the previous
|
|
2909
|
+
# interval. For DELTA metrics, the start time and end time must specify a non-
|
|
2910
|
+
# zero interval, with subsequent points specifying contiguous and non-
|
|
2909
2911
|
# overlapping intervals. For DELTA metrics, the start time of the next interval
|
|
2910
2912
|
# must be at least a millisecond after the end time of the previous interval.
|
|
2911
2913
|
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero
|
|
@@ -2945,15 +2947,17 @@ module Google
|
|
|
2945
2947
|
|
|
2946
2948
|
# A closed time interval. It extends from the start time to the end time, and
|
|
2947
2949
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
|
2948
|
-
# MetricKind of the metric value.
|
|
2949
|
-
#
|
|
2950
|
-
#
|
|
2951
|
-
#
|
|
2952
|
-
#
|
|
2953
|
-
#
|
|
2954
|
-
#
|
|
2955
|
-
#
|
|
2956
|
-
# a
|
|
2950
|
+
# MetricKind of the metric value. The end time must not be earlier than the
|
|
2951
|
+
# start time. When writing data points, the start time must not be more than 25
|
|
2952
|
+
# hours in the past and the end time must not be more than five minutes in the
|
|
2953
|
+
# future. For GAUGE metrics, the startTime value is technically optional; if no
|
|
2954
|
+
# value is specified, the start time defaults to the value of the end time, and
|
|
2955
|
+
# the interval represents a single point in time. If both start and end times
|
|
2956
|
+
# are specified, they must be identical. Such an interval is valid only for
|
|
2957
|
+
# GAUGE metrics, which are point-in-time measurements. The end time of a new
|
|
2958
|
+
# interval must be at least a millisecond after the end time of the previous
|
|
2959
|
+
# interval. For DELTA metrics, the start time and end time must specify a non-
|
|
2960
|
+
# zero interval, with subsequent points specifying contiguous and non-
|
|
2957
2961
|
# overlapping intervals. For DELTA metrics, the start time of the next interval
|
|
2958
2962
|
# must be at least a millisecond after the end time of the previous interval.
|
|
2959
2963
|
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero
|
|
@@ -3472,15 +3476,17 @@ module Google
|
|
|
3472
3476
|
|
|
3473
3477
|
# A closed time interval. It extends from the start time to the end time, and
|
|
3474
3478
|
# includes both: [startTime, endTime]. Valid time intervals depend on the
|
|
3475
|
-
# MetricKind of the metric value.
|
|
3476
|
-
#
|
|
3477
|
-
#
|
|
3478
|
-
#
|
|
3479
|
-
#
|
|
3480
|
-
#
|
|
3481
|
-
#
|
|
3482
|
-
#
|
|
3483
|
-
# a
|
|
3479
|
+
# MetricKind of the metric value. The end time must not be earlier than the
|
|
3480
|
+
# start time. When writing data points, the start time must not be more than 25
|
|
3481
|
+
# hours in the past and the end time must not be more than five minutes in the
|
|
3482
|
+
# future. For GAUGE metrics, the startTime value is technically optional; if no
|
|
3483
|
+
# value is specified, the start time defaults to the value of the end time, and
|
|
3484
|
+
# the interval represents a single point in time. If both start and end times
|
|
3485
|
+
# are specified, they must be identical. Such an interval is valid only for
|
|
3486
|
+
# GAUGE metrics, which are point-in-time measurements. The end time of a new
|
|
3487
|
+
# interval must be at least a millisecond after the end time of the previous
|
|
3488
|
+
# interval. For DELTA metrics, the start time and end time must specify a non-
|
|
3489
|
+
# zero interval, with subsequent points specifying contiguous and non-
|
|
3484
3490
|
# overlapping intervals. For DELTA metrics, the start time of the next interval
|
|
3485
3491
|
# must be at least a millisecond after the end time of the previous interval.
|
|
3486
3492
|
# For CUMULATIVE metrics, the start time and end time must specify a a non-zero
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/
|
|
27
27
|
module NetworkmanagementV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200910'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -288,6 +288,11 @@ module Google
|
|
|
288
288
|
# @return [String]
|
|
289
289
|
attr_accessor :name
|
|
290
290
|
|
|
291
|
+
# The details of probing from the latest run.
|
|
292
|
+
# Corresponds to the JSON property `probingDetails`
|
|
293
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::ProbingDetails]
|
|
294
|
+
attr_accessor :probing_details
|
|
295
|
+
|
|
291
296
|
# IP Protocol of the test. When not provided, "TCP" is assumed.
|
|
292
297
|
# Corresponds to the JSON property `protocol`
|
|
293
298
|
# @return [String]
|
|
@@ -326,6 +331,7 @@ module Google
|
|
|
326
331
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
327
332
|
@labels = args[:labels] if args.key?(:labels)
|
|
328
333
|
@name = args[:name] if args.key?(:name)
|
|
334
|
+
@probing_details = args[:probing_details] if args.key?(:probing_details)
|
|
329
335
|
@protocol = args[:protocol] if args.key?(:protocol)
|
|
330
336
|
@reachability_details = args[:reachability_details] if args.key?(:reachability_details)
|
|
331
337
|
@related_projects = args[:related_projects] if args.key?(:related_projects)
|
|
@@ -1279,6 +1285,68 @@ module Google
|
|
|
1279
1285
|
end
|
|
1280
1286
|
end
|
|
1281
1287
|
|
|
1288
|
+
# The details of probing from the latest run.
|
|
1289
|
+
class ProbingDetails
|
|
1290
|
+
include Google::Apis::Core::Hashable
|
|
1291
|
+
|
|
1292
|
+
# Causes that the probing was aborted.
|
|
1293
|
+
# Corresponds to the JSON property `abortCause`
|
|
1294
|
+
# @return [String]
|
|
1295
|
+
attr_accessor :abort_cause
|
|
1296
|
+
|
|
1297
|
+
# For display only. The specification of the endpoints for the test.
|
|
1298
|
+
# EndpointInfo is derived from source and destination Endpoint and validated by
|
|
1299
|
+
# the backend data plane model.
|
|
1300
|
+
# Corresponds to the JSON property `endpointInfo`
|
|
1301
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::EndpointInfo]
|
|
1302
|
+
attr_accessor :endpoint_info
|
|
1303
|
+
|
|
1304
|
+
# The `Status` type defines a logical error model that is suitable for different
|
|
1305
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1306
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
1307
|
+
# data: error code, error message, and error details. You can find out more
|
|
1308
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
|
1309
|
+
# //cloud.google.com/apis/design/errors).
|
|
1310
|
+
# Corresponds to the JSON property `error`
|
|
1311
|
+
# @return [Google::Apis::NetworkmanagementV1beta1::Status]
|
|
1312
|
+
attr_accessor :error
|
|
1313
|
+
|
|
1314
|
+
# The overall reachability result of the test.
|
|
1315
|
+
# Corresponds to the JSON property `result`
|
|
1316
|
+
# @return [String]
|
|
1317
|
+
attr_accessor :result
|
|
1318
|
+
|
|
1319
|
+
# Number of probes sent.
|
|
1320
|
+
# Corresponds to the JSON property `sentProbeCount`
|
|
1321
|
+
# @return [Fixnum]
|
|
1322
|
+
attr_accessor :sent_probe_count
|
|
1323
|
+
|
|
1324
|
+
# Number of probes that reached destination.
|
|
1325
|
+
# Corresponds to the JSON property `successfulProbeCount`
|
|
1326
|
+
# @return [Fixnum]
|
|
1327
|
+
attr_accessor :successful_probe_count
|
|
1328
|
+
|
|
1329
|
+
# The time the reachability state was verified.
|
|
1330
|
+
# Corresponds to the JSON property `verifyTime`
|
|
1331
|
+
# @return [String]
|
|
1332
|
+
attr_accessor :verify_time
|
|
1333
|
+
|
|
1334
|
+
def initialize(**args)
|
|
1335
|
+
update!(**args)
|
|
1336
|
+
end
|
|
1337
|
+
|
|
1338
|
+
# Update properties of this object
|
|
1339
|
+
def update!(**args)
|
|
1340
|
+
@abort_cause = args[:abort_cause] if args.key?(:abort_cause)
|
|
1341
|
+
@endpoint_info = args[:endpoint_info] if args.key?(:endpoint_info)
|
|
1342
|
+
@error = args[:error] if args.key?(:error)
|
|
1343
|
+
@result = args[:result] if args.key?(:result)
|
|
1344
|
+
@sent_probe_count = args[:sent_probe_count] if args.key?(:sent_probe_count)
|
|
1345
|
+
@successful_probe_count = args[:successful_probe_count] if args.key?(:successful_probe_count)
|
|
1346
|
+
@verify_time = args[:verify_time] if args.key?(:verify_time)
|
|
1347
|
+
end
|
|
1348
|
+
end
|
|
1349
|
+
|
|
1282
1350
|
# The details of reachability state from the latest run.
|
|
1283
1351
|
class ReachabilityDetails
|
|
1284
1352
|
include Google::Apis::Core::Hashable
|
|
@@ -190,6 +190,12 @@ module Google
|
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
+
class ProbingDetails
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
193
199
|
class ReachabilityDetails
|
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
201
|
|
|
@@ -319,6 +325,8 @@ module Google
|
|
|
319
325
|
property :display_name, as: 'displayName'
|
|
320
326
|
hash :labels, as: 'labels'
|
|
321
327
|
property :name, as: 'name'
|
|
328
|
+
property :probing_details, as: 'probingDetails', class: Google::Apis::NetworkmanagementV1beta1::ProbingDetails, decorator: Google::Apis::NetworkmanagementV1beta1::ProbingDetails::Representation
|
|
329
|
+
|
|
322
330
|
property :protocol, as: 'protocol'
|
|
323
331
|
property :reachability_details, as: 'reachabilityDetails', class: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails, decorator: Google::Apis::NetworkmanagementV1beta1::ReachabilityDetails::Representation
|
|
324
332
|
|
|
@@ -555,6 +563,21 @@ module Google
|
|
|
555
563
|
end
|
|
556
564
|
end
|
|
557
565
|
|
|
566
|
+
class ProbingDetails
|
|
567
|
+
# @private
|
|
568
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
569
|
+
property :abort_cause, as: 'abortCause'
|
|
570
|
+
property :endpoint_info, as: 'endpointInfo', class: Google::Apis::NetworkmanagementV1beta1::EndpointInfo, decorator: Google::Apis::NetworkmanagementV1beta1::EndpointInfo::Representation
|
|
571
|
+
|
|
572
|
+
property :error, as: 'error', class: Google::Apis::NetworkmanagementV1beta1::Status, decorator: Google::Apis::NetworkmanagementV1beta1::Status::Representation
|
|
573
|
+
|
|
574
|
+
property :result, as: 'result'
|
|
575
|
+
property :sent_probe_count, as: 'sentProbeCount'
|
|
576
|
+
property :successful_probe_count, as: 'successfulProbeCount'
|
|
577
|
+
property :verify_time, as: 'verifyTime'
|
|
578
|
+
end
|
|
579
|
+
end
|
|
580
|
+
|
|
558
581
|
class ReachabilityDetails
|
|
559
582
|
# @private
|
|
560
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200909'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
class Binding
|
|
47
47
|
include Google::Apis::Core::Hashable
|
|
48
48
|
|
|
49
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
|
50
|
+
# support the internal bindings-by-ID API.
|
|
51
|
+
# Corresponds to the JSON property `bindingId`
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :binding_id
|
|
54
|
+
|
|
49
55
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
50
56
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
51
57
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -107,6 +113,7 @@ module Google
|
|
|
107
113
|
|
|
108
114
|
# Update properties of this object
|
|
109
115
|
def update!(**args)
|
|
116
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
110
117
|
@condition = args[:condition] if args.key?(:condition)
|
|
111
118
|
@members = args[:members] if args.key?(:members)
|
|
112
119
|
@role = args[:role] if args.key?(:role)
|
|
@@ -254,6 +254,7 @@ module Google
|
|
|
254
254
|
class Binding
|
|
255
255
|
# @private
|
|
256
256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
257
|
+
property :binding_id, as: 'bindingId'
|
|
257
258
|
property :condition, as: 'condition', class: Google::Apis::PubsubV1::Expr, decorator: Google::Apis::PubsubV1::Expr::Representation
|
|
258
259
|
|
|
259
260
|
collection :members, as: 'members'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200909'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -46,6 +46,12 @@ module Google
|
|
|
46
46
|
class Binding
|
|
47
47
|
include Google::Apis::Core::Hashable
|
|
48
48
|
|
|
49
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
|
50
|
+
# support the internal bindings-by-ID API.
|
|
51
|
+
# Corresponds to the JSON property `bindingId`
|
|
52
|
+
# @return [String]
|
|
53
|
+
attr_accessor :binding_id
|
|
54
|
+
|
|
49
55
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
|
50
56
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
|
51
57
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
|
@@ -107,6 +113,7 @@ module Google
|
|
|
107
113
|
|
|
108
114
|
# Update properties of this object
|
|
109
115
|
def update!(**args)
|
|
116
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
|
110
117
|
@condition = args[:condition] if args.key?(:condition)
|
|
111
118
|
@members = args[:members] if args.key?(:members)
|
|
112
119
|
@role = args[:role] if args.key?(:role)
|
|
@@ -170,6 +170,7 @@ module Google
|
|
|
170
170
|
class Binding
|
|
171
171
|
# @private
|
|
172
172
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
173
|
+
property :binding_id, as: 'bindingId'
|
|
173
174
|
property :condition, as: 'condition', class: Google::Apis::PubsubV1beta2::Expr, decorator: Google::Apis::PubsubV1beta2::Expr::Representation
|
|
174
175
|
|
|
175
176
|
collection :members, as: 'members'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/lite/docs
|
|
26
26
|
module PubsubliteV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200915'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -47,6 +47,78 @@ module Google
|
|
|
47
47
|
end
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
+
# Compute statistics about a range of messages in a given topic and partition.
|
|
51
|
+
class ComputeMessageStatsRequest
|
|
52
|
+
include Google::Apis::Core::Hashable
|
|
53
|
+
|
|
54
|
+
# A cursor that describes the position of a message within a topic partition.
|
|
55
|
+
# Corresponds to the JSON property `endCursor`
|
|
56
|
+
# @return [Google::Apis::PubsubliteV1::Cursor]
|
|
57
|
+
attr_accessor :end_cursor
|
|
58
|
+
|
|
59
|
+
# Required. The partition for which we should compute message stats.
|
|
60
|
+
# Corresponds to the JSON property `partition`
|
|
61
|
+
# @return [Fixnum]
|
|
62
|
+
attr_accessor :partition
|
|
63
|
+
|
|
64
|
+
# A cursor that describes the position of a message within a topic partition.
|
|
65
|
+
# Corresponds to the JSON property `startCursor`
|
|
66
|
+
# @return [Google::Apis::PubsubliteV1::Cursor]
|
|
67
|
+
attr_accessor :start_cursor
|
|
68
|
+
|
|
69
|
+
def initialize(**args)
|
|
70
|
+
update!(**args)
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Update properties of this object
|
|
74
|
+
def update!(**args)
|
|
75
|
+
@end_cursor = args[:end_cursor] if args.key?(:end_cursor)
|
|
76
|
+
@partition = args[:partition] if args.key?(:partition)
|
|
77
|
+
@start_cursor = args[:start_cursor] if args.key?(:start_cursor)
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Response containing stats for messages in the requested topic and partition.
|
|
82
|
+
class ComputeMessageStatsResponse
|
|
83
|
+
include Google::Apis::Core::Hashable
|
|
84
|
+
|
|
85
|
+
# The number of quota bytes accounted to these messages.
|
|
86
|
+
# Corresponds to the JSON property `messageBytes`
|
|
87
|
+
# @return [Fixnum]
|
|
88
|
+
attr_accessor :message_bytes
|
|
89
|
+
|
|
90
|
+
# The count of messages.
|
|
91
|
+
# Corresponds to the JSON property `messageCount`
|
|
92
|
+
# @return [Fixnum]
|
|
93
|
+
attr_accessor :message_count
|
|
94
|
+
|
|
95
|
+
# The minimum event timestamp across these messages. For the purposes of this
|
|
96
|
+
# computation, if a message does not have an event time, we use the publish time.
|
|
97
|
+
# The timestamp will be unset if there are no messages.
|
|
98
|
+
# Corresponds to the JSON property `minimumEventTime`
|
|
99
|
+
# @return [String]
|
|
100
|
+
attr_accessor :minimum_event_time
|
|
101
|
+
|
|
102
|
+
# The minimum publish timestamp across these messages. Note that publish
|
|
103
|
+
# timestamps within a partition are non-decreasing. The timestamp will be unset
|
|
104
|
+
# if there are no messages.
|
|
105
|
+
# Corresponds to the JSON property `minimumPublishTime`
|
|
106
|
+
# @return [String]
|
|
107
|
+
attr_accessor :minimum_publish_time
|
|
108
|
+
|
|
109
|
+
def initialize(**args)
|
|
110
|
+
update!(**args)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Update properties of this object
|
|
114
|
+
def update!(**args)
|
|
115
|
+
@message_bytes = args[:message_bytes] if args.key?(:message_bytes)
|
|
116
|
+
@message_count = args[:message_count] if args.key?(:message_count)
|
|
117
|
+
@minimum_event_time = args[:minimum_event_time] if args.key?(:minimum_event_time)
|
|
118
|
+
@minimum_publish_time = args[:minimum_publish_time] if args.key?(:minimum_publish_time)
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
|
|
50
122
|
# A cursor that describes the position of a message within a topic partition.
|
|
51
123
|
class Cursor
|
|
52
124
|
include Google::Apis::Core::Hashable
|