google-api-client 0.41.2 → 0.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1389 -105
- data/generated/google/apis/apigee_v1/representations.rb +543 -0
- data/generated/google/apis/apigee_v1/service.rb +1139 -93
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +608 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4 -2
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +12 -5
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/games_v1.rb +5 -3
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +6 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -2
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +24 -28
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +554 -0
- data/generated/google/apis/youtube_v3/representations.rb +281 -0
- data/generated/google/apis/youtube_v3/service.rb +259 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -19
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2.rb +0 -34
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cce7f8976db7250720621a2e53924af22cb0227b5906f81bb22a8d32fdf15da
|
4
|
+
data.tar.gz: 1db629514e57183be4eaa597d7073a75509bdf928f1eb8e5d7cd8c5bd81a5f6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4bcd570993130db7c49487cc35820763516cd5a3fb20d8776043a9c235e8bd71a90bef0a330a249331c11d71b259142d154e8ad6b36cd8ce7f02fc0cfee03c7
|
7
|
+
data.tar.gz: ccded98e79e20d861935e7f9c450bf99418f42d49f9597dc7af1e5a3357cd78b642cbe1533c6fa107055c848277556964b6b5e2799b68014a3cf34158a74cb8e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1
|
+
# 0.42.0
|
2
|
+
* Breaking changes:
|
3
|
+
* Deleted `androidpublisher_v1_1`
|
4
|
+
* Deleted `androidpublisher_v2`
|
5
|
+
* Backwards compatible changes:
|
6
|
+
* Updated `accessapproval_v1`
|
7
|
+
* Updated `accessapproval_v1beta1`
|
8
|
+
* Updated `admob_v1`
|
9
|
+
* Updated `androidenterprise_v1`
|
10
|
+
* Updated `apigee_v1`
|
11
|
+
* Updated `appsmarket_v2`
|
12
|
+
* Updated `bigqueryreservation_v1`
|
13
|
+
* Updated `bigqueryreservation_v1beta1`
|
14
|
+
* Updated `civicinfo_v2`
|
15
|
+
* Updated `classroom_v1`
|
16
|
+
* Updated `cloudfunctions_v1`
|
17
|
+
* Updated `cloudfunctions_v1beta2`
|
18
|
+
* Updated `dialogflow_v2beta1`
|
19
|
+
* Updated `displayvideo_v1`
|
20
|
+
* Updated `dns_v1`
|
21
|
+
* Updated `file_v1`
|
22
|
+
* Updated `file_v1beta1`
|
23
|
+
* Updated `firebasehosting_v1beta1`
|
24
|
+
* Updated `games_v1`
|
25
|
+
* Updated `gameservices_v1beta`
|
26
|
+
* Updated `groupssettings_v1`
|
27
|
+
* Updated `ml_v1`
|
28
|
+
* Updated `monitoring_v3`
|
29
|
+
* Updated `pubsub_v1`
|
30
|
+
* Updated `recommender_v1`
|
31
|
+
* Updated `redis_v1`
|
32
|
+
* Updated `redis_v1beta1`
|
33
|
+
* Updated `testing_v1`
|
34
|
+
* Updated `youtube_partner_v1`
|
35
|
+
* Updated `youtube_v3`
|
36
|
+
|
1
37
|
# 0.41.2
|
2
38
|
* Backwards compatible changes:
|
3
39
|
* Added `gameservices_v1`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-approval/docs
|
26
26
|
module AccessapprovalV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200708'
|
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'
|
@@ -282,6 +282,7 @@ module Google
|
|
282
282
|
# <li>PENDING: Only pending requests.</li>
|
283
283
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
284
284
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
285
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
285
286
|
# </ol>
|
286
287
|
# @param [Fixnum] page_size
|
287
288
|
# Requested page size.
|
@@ -552,6 +553,7 @@ module Google
|
|
552
553
|
# <li>PENDING: Only pending requests.</li>
|
553
554
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
554
555
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
556
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
555
557
|
# </ol>
|
556
558
|
# @param [Fixnum] page_size
|
557
559
|
# Requested page size.
|
@@ -822,6 +824,7 @@ module Google
|
|
822
824
|
# <li>PENDING: Only pending requests.</li>
|
823
825
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
824
826
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
827
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
825
828
|
# </ol>
|
826
829
|
# @param [Fixnum] page_size
|
827
830
|
# Requested page size.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/access-approval/docs
|
26
26
|
module AccessapprovalV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200708'
|
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'
|
@@ -277,6 +277,7 @@ module Google
|
|
277
277
|
# <li>PENDING: Only pending requests.</li>
|
278
278
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
279
279
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
280
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
280
281
|
# </ol>
|
281
282
|
# @param [Fixnum] page_size
|
282
283
|
# Requested page size.
|
@@ -542,6 +543,7 @@ module Google
|
|
542
543
|
# <li>PENDING: Only pending requests.</li>
|
543
544
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
544
545
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
546
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
545
547
|
# </ol>
|
546
548
|
# @param [Fixnum] page_size
|
547
549
|
# Requested page size.
|
@@ -807,6 +809,7 @@ module Google
|
|
807
809
|
# <li>PENDING: Only pending requests.</li>
|
808
810
|
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
809
811
|
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
812
|
+
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
810
813
|
# </ol>
|
811
814
|
# @param [Fixnum] page_size
|
812
815
|
# Requested page size.
|
@@ -49,7 +49,7 @@ module Google
|
|
49
49
|
|
50
50
|
# Gets information about the specified AdMob publisher account.
|
51
51
|
# @param [String] name
|
52
|
-
# Resource name of the publisher account to retrieve.
|
52
|
+
# Required. Resource name of the publisher account to retrieve.
|
53
53
|
# Example: accounts/pub-9876543210987654
|
54
54
|
# @param [String] fields
|
55
55
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android/work/play/emm-api
|
26
26
|
module AndroidenterpriseV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200704'
|
29
29
|
|
30
30
|
# Manage corporate Android devices
|
31
31
|
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# @see https://cloud.google.com/apigee-api-management/
|
32
32
|
module ApigeeV1
|
33
33
|
VERSION = 'V1'
|
34
|
-
REVISION = '
|
34
|
+
REVISION = '20200710'
|
35
35
|
|
36
36
|
# View and manage your data across Google Cloud Platform services
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1365,6 +1365,143 @@ module Google
|
|
1365
1365
|
end
|
1366
1366
|
end
|
1367
1367
|
|
1368
|
+
# The data store defines the connection to export data repository
|
1369
|
+
# (Cloud Storage, BigQuery), including the credentials used to access the data
|
1370
|
+
# repository.
|
1371
|
+
class GoogleCloudApigeeV1Datastore
|
1372
|
+
include Google::Apis::Core::Hashable
|
1373
|
+
|
1374
|
+
# Output only. Datastore create time, in milliseconds since the epoch
|
1375
|
+
# of 1970-01-01T00:00:00Z
|
1376
|
+
# Corresponds to the JSON property `createTime`
|
1377
|
+
# @return [Fixnum]
|
1378
|
+
attr_accessor :create_time
|
1379
|
+
|
1380
|
+
# Configuration detail for datastore
|
1381
|
+
# Corresponds to the JSON property `datastoreConfig`
|
1382
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DatastoreConfig]
|
1383
|
+
attr_accessor :datastore_config
|
1384
|
+
|
1385
|
+
# Required. Display name in UI
|
1386
|
+
# Corresponds to the JSON property `displayName`
|
1387
|
+
# @return [String]
|
1388
|
+
attr_accessor :display_name
|
1389
|
+
|
1390
|
+
# Output only. Datastore last update time, in milliseconds since the epoch
|
1391
|
+
# of 1970-01-01T00:00:00Z
|
1392
|
+
# Corresponds to the JSON property `lastUpdateTime`
|
1393
|
+
# @return [Fixnum]
|
1394
|
+
attr_accessor :last_update_time
|
1395
|
+
|
1396
|
+
# Output only. Organization that the datastore belongs to
|
1397
|
+
# Corresponds to the JSON property `org`
|
1398
|
+
# @return [String]
|
1399
|
+
attr_accessor :org
|
1400
|
+
|
1401
|
+
# Output only. Resource link of Datastore.
|
1402
|
+
# Example: `/organizations/`org`/analytics/datastores/`uuid``
|
1403
|
+
# Corresponds to the JSON property `self`
|
1404
|
+
# @return [String]
|
1405
|
+
attr_accessor :self
|
1406
|
+
|
1407
|
+
# Destination storage type.
|
1408
|
+
# Supported types `gcs` or `bigquery`.
|
1409
|
+
# Corresponds to the JSON property `targetType`
|
1410
|
+
# @return [String]
|
1411
|
+
attr_accessor :target_type
|
1412
|
+
|
1413
|
+
def initialize(**args)
|
1414
|
+
update!(**args)
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
# Update properties of this object
|
1418
|
+
def update!(**args)
|
1419
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1420
|
+
@datastore_config = args[:datastore_config] if args.key?(:datastore_config)
|
1421
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1422
|
+
@last_update_time = args[:last_update_time] if args.key?(:last_update_time)
|
1423
|
+
@org = args[:org] if args.key?(:org)
|
1424
|
+
@self = args[:self] if args.key?(:self)
|
1425
|
+
@target_type = args[:target_type] if args.key?(:target_type)
|
1426
|
+
end
|
1427
|
+
end
|
1428
|
+
|
1429
|
+
# Configuration detail for datastore
|
1430
|
+
class GoogleCloudApigeeV1DatastoreConfig
|
1431
|
+
include Google::Apis::Core::Hashable
|
1432
|
+
|
1433
|
+
# Name of the Cloud Storage bucket.
|
1434
|
+
# Required for `gcs` target_type.
|
1435
|
+
# Corresponds to the JSON property `bucketName`
|
1436
|
+
# @return [String]
|
1437
|
+
attr_accessor :bucket_name
|
1438
|
+
|
1439
|
+
# BigQuery dataset name
|
1440
|
+
# Required for `bigquery` target_type.
|
1441
|
+
# Corresponds to the JSON property `datasetName`
|
1442
|
+
# @return [String]
|
1443
|
+
attr_accessor :dataset_name
|
1444
|
+
|
1445
|
+
# Path of Cloud Storage bucket
|
1446
|
+
# Required for `gcs` target_type.
|
1447
|
+
# Corresponds to the JSON property `path`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :path
|
1450
|
+
|
1451
|
+
# Required. GCP project in which the datastore exists
|
1452
|
+
# Corresponds to the JSON property `projectId`
|
1453
|
+
# @return [String]
|
1454
|
+
attr_accessor :project_id
|
1455
|
+
|
1456
|
+
# Prefix of BigQuery table
|
1457
|
+
# Required for `bigquery` target_type.
|
1458
|
+
# Corresponds to the JSON property `tablePrefix`
|
1459
|
+
# @return [String]
|
1460
|
+
attr_accessor :table_prefix
|
1461
|
+
|
1462
|
+
def initialize(**args)
|
1463
|
+
update!(**args)
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# Update properties of this object
|
1467
|
+
def update!(**args)
|
1468
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
1469
|
+
@dataset_name = args[:dataset_name] if args.key?(:dataset_name)
|
1470
|
+
@path = args[:path] if args.key?(:path)
|
1471
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1472
|
+
@table_prefix = args[:table_prefix] if args.key?(:table_prefix)
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
# Date range of the data to export.
|
1477
|
+
class GoogleCloudApigeeV1DateRange
|
1478
|
+
include Google::Apis::Core::Hashable
|
1479
|
+
|
1480
|
+
# Required. End date (exclusive) of the data to export in the format `yyyy-mm-dd`
|
1481
|
+
# .
|
1482
|
+
# The date range ends at 00:00:00 UTC on the end date- which will not be in
|
1483
|
+
# the output.
|
1484
|
+
# Corresponds to the JSON property `end`
|
1485
|
+
# @return [String]
|
1486
|
+
attr_accessor :end
|
1487
|
+
|
1488
|
+
# Required. Start date of the data to export in the format `yyyy-mm-dd`.
|
1489
|
+
# The date range begins at 00:00:00 UTC on the start date.
|
1490
|
+
# Corresponds to the JSON property `start`
|
1491
|
+
# @return [String]
|
1492
|
+
attr_accessor :start
|
1493
|
+
|
1494
|
+
def initialize(**args)
|
1495
|
+
update!(**args)
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
# Update properties of this object
|
1499
|
+
def update!(**args)
|
1500
|
+
@end = args[:end] if args.key?(:end)
|
1501
|
+
@start = args[:start] if args.key?(:start)
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1368
1505
|
#
|
1369
1506
|
class GoogleCloudApigeeV1DebugMask
|
1370
1507
|
include Google::Apis::Core::Hashable
|
@@ -1568,7 +1705,20 @@ module Google
|
|
1568
1705
|
# @return [String]
|
1569
1706
|
attr_accessor :environment
|
1570
1707
|
|
1571
|
-
#
|
1708
|
+
# Errors reported for this deployment. Populated only when state == ERROR.
|
1709
|
+
# This field is not populated in List APIs.
|
1710
|
+
# Corresponds to the JSON property `errors`
|
1711
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleRpcStatus>]
|
1712
|
+
attr_accessor :errors
|
1713
|
+
|
1714
|
+
# Status reported by each runtime instance.
|
1715
|
+
# This field is not populated in List APIs.
|
1716
|
+
# Corresponds to the JSON property `instances`
|
1717
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatus>]
|
1718
|
+
attr_accessor :instances
|
1719
|
+
|
1720
|
+
# Status reported by runtime pods. This field is not populated for List
|
1721
|
+
# APIs.
|
1572
1722
|
# Corresponds to the JSON property `pods`
|
1573
1723
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1PodStatus>]
|
1574
1724
|
attr_accessor :pods
|
@@ -1578,6 +1728,22 @@ module Google
|
|
1578
1728
|
# @return [String]
|
1579
1729
|
attr_accessor :revision
|
1580
1730
|
|
1731
|
+
# Conflicts in the desired state routing configuration. The presence of
|
1732
|
+
# conflicts does not cause the state to be ERROR, but it will mean that
|
1733
|
+
# some of the deployments basepaths are not routed to its environment. If
|
1734
|
+
# the conflicts change, the state will transition to PROGRESSING until the
|
1735
|
+
# latest configuration is rolled out to all instances.
|
1736
|
+
# This field is not populated in List APIs.
|
1737
|
+
# Corresponds to the JSON property `routeConflicts`
|
1738
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
|
1739
|
+
attr_accessor :route_conflicts
|
1740
|
+
|
1741
|
+
# Current state of the deployment.
|
1742
|
+
# This field is not populated in List APIs.
|
1743
|
+
# Corresponds to the JSON property `state`
|
1744
|
+
# @return [String]
|
1745
|
+
attr_accessor :state
|
1746
|
+
|
1581
1747
|
def initialize(**args)
|
1582
1748
|
update!(**args)
|
1583
1749
|
end
|
@@ -1588,8 +1754,177 @@ module Google
|
|
1588
1754
|
@base_path = args[:base_path] if args.key?(:base_path)
|
1589
1755
|
@deploy_start_time = args[:deploy_start_time] if args.key?(:deploy_start_time)
|
1590
1756
|
@environment = args[:environment] if args.key?(:environment)
|
1757
|
+
@errors = args[:errors] if args.key?(:errors)
|
1758
|
+
@instances = args[:instances] if args.key?(:instances)
|
1591
1759
|
@pods = args[:pods] if args.key?(:pods)
|
1592
1760
|
@revision = args[:revision] if args.key?(:revision)
|
1761
|
+
@route_conflicts = args[:route_conflicts] if args.key?(:route_conflicts)
|
1762
|
+
@state = args[:state] if args.key?(:state)
|
1763
|
+
end
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# Response for
|
1767
|
+
# GenerateDeployChangeReport
|
1768
|
+
# and
|
1769
|
+
# GenerateUndeployChangeReport.
|
1770
|
+
# This report contains any validation failures that would cause the deployment
|
1771
|
+
# to be rejected, as well changes and conflicts in routing that may occur due
|
1772
|
+
# to the new deployment.
|
1773
|
+
# The existence of a routing warning does not necessarily imply that the
|
1774
|
+
# deployment request is bad, if the desired state of the deployment request is
|
1775
|
+
# to effect a routing change. The primary purposes of the routing messages are:
|
1776
|
+
# 1) To inform users of routing changes that may have an effect on traffic
|
1777
|
+
# currently being routed to other existing deployments.
|
1778
|
+
# 2) To warn users if some basepath in the proxy will not receive traffic due
|
1779
|
+
# to an existing deployment having already claimed that basepath.
|
1780
|
+
# The presence of routing conflicts/changes will not cause non-dry-run
|
1781
|
+
# DeployApiProxy/UndeployApiProxy requests to be rejected.
|
1782
|
+
class GoogleCloudApigeeV1DeploymentChangeReport
|
1783
|
+
include Google::Apis::Core::Hashable
|
1784
|
+
|
1785
|
+
# All routing changes that may result from a deployment request.
|
1786
|
+
# Corresponds to the JSON property `routingChanges`
|
1787
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingChange>]
|
1788
|
+
attr_accessor :routing_changes
|
1789
|
+
|
1790
|
+
# All basepath conflicts detected for a deployment request.
|
1791
|
+
# Corresponds to the JSON property `routingConflicts`
|
1792
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict>]
|
1793
|
+
attr_accessor :routing_conflicts
|
1794
|
+
|
1795
|
+
# Describes what preconditions have failed.
|
1796
|
+
# For example, if an RPC failed because it required the Terms of Service to be
|
1797
|
+
# acknowledged, it could list the terms of service violation in the
|
1798
|
+
# PreconditionFailure message.
|
1799
|
+
# Corresponds to the JSON property `validationErrors`
|
1800
|
+
# @return [Google::Apis::ApigeeV1::GoogleRpcPreconditionFailure]
|
1801
|
+
attr_accessor :validation_errors
|
1802
|
+
|
1803
|
+
def initialize(**args)
|
1804
|
+
update!(**args)
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
# Update properties of this object
|
1808
|
+
def update!(**args)
|
1809
|
+
@routing_changes = args[:routing_changes] if args.key?(:routing_changes)
|
1810
|
+
@routing_conflicts = args[:routing_conflicts] if args.key?(:routing_conflicts)
|
1811
|
+
@validation_errors = args[:validation_errors] if args.key?(:validation_errors)
|
1812
|
+
end
|
1813
|
+
end
|
1814
|
+
|
1815
|
+
# Describes a potential routing change that may occur as a result
|
1816
|
+
# of some deployment operation.
|
1817
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingChange
|
1818
|
+
include Google::Apis::Core::Hashable
|
1819
|
+
|
1820
|
+
# A human-readable description of this routing change.
|
1821
|
+
# Corresponds to the JSON property `description`
|
1822
|
+
# @return [String]
|
1823
|
+
attr_accessor :description
|
1824
|
+
|
1825
|
+
# The name of the environment group affected by this routing change.
|
1826
|
+
# Corresponds to the JSON property `environmentGroup`
|
1827
|
+
# @return [String]
|
1828
|
+
attr_accessor :environment_group
|
1829
|
+
|
1830
|
+
# A tuple representing a basepath and the deployment containing it.
|
1831
|
+
# Corresponds to the JSON property `fromDeployment`
|
1832
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
1833
|
+
attr_accessor :from_deployment
|
1834
|
+
|
1835
|
+
# True if using sequenced rollout would make this routing change safer.
|
1836
|
+
# Note: this does not necessarily imply that automated sequenced rollout
|
1837
|
+
# mode is supported for the operation.
|
1838
|
+
# Corresponds to the JSON property `shouldSequenceRollout`
|
1839
|
+
# @return [Boolean]
|
1840
|
+
attr_accessor :should_sequence_rollout
|
1841
|
+
alias_method :should_sequence_rollout?, :should_sequence_rollout
|
1842
|
+
|
1843
|
+
# A tuple representing a basepath and the deployment containing it.
|
1844
|
+
# Corresponds to the JSON property `toDeployment`
|
1845
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
1846
|
+
attr_accessor :to_deployment
|
1847
|
+
|
1848
|
+
def initialize(**args)
|
1849
|
+
update!(**args)
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# Update properties of this object
|
1853
|
+
def update!(**args)
|
1854
|
+
@description = args[:description] if args.key?(:description)
|
1855
|
+
@environment_group = args[:environment_group] if args.key?(:environment_group)
|
1856
|
+
@from_deployment = args[:from_deployment] if args.key?(:from_deployment)
|
1857
|
+
@should_sequence_rollout = args[:should_sequence_rollout] if args.key?(:should_sequence_rollout)
|
1858
|
+
@to_deployment = args[:to_deployment] if args.key?(:to_deployment)
|
1859
|
+
end
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
# Describes a routing conflict that may cause a deployment not to receive
|
1863
|
+
# traffic at some basepath.
|
1864
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingConflict
|
1865
|
+
include Google::Apis::Core::Hashable
|
1866
|
+
|
1867
|
+
# A tuple representing a basepath and the deployment containing it.
|
1868
|
+
# Corresponds to the JSON property `conflictingDeployment`
|
1869
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment]
|
1870
|
+
attr_accessor :conflicting_deployment
|
1871
|
+
|
1872
|
+
# A human-readable description of this conflict.
|
1873
|
+
# Corresponds to the JSON property `description`
|
1874
|
+
# @return [String]
|
1875
|
+
attr_accessor :description
|
1876
|
+
|
1877
|
+
# The name of the environment group in which this conflict exists.
|
1878
|
+
# Corresponds to the JSON property `environmentGroup`
|
1879
|
+
# @return [String]
|
1880
|
+
attr_accessor :environment_group
|
1881
|
+
|
1882
|
+
def initialize(**args)
|
1883
|
+
update!(**args)
|
1884
|
+
end
|
1885
|
+
|
1886
|
+
# Update properties of this object
|
1887
|
+
def update!(**args)
|
1888
|
+
@conflicting_deployment = args[:conflicting_deployment] if args.key?(:conflicting_deployment)
|
1889
|
+
@description = args[:description] if args.key?(:description)
|
1890
|
+
@environment_group = args[:environment_group] if args.key?(:environment_group)
|
1891
|
+
end
|
1892
|
+
end
|
1893
|
+
|
1894
|
+
# A tuple representing a basepath and the deployment containing it.
|
1895
|
+
class GoogleCloudApigeeV1DeploymentChangeReportRoutingDeployment
|
1896
|
+
include Google::Apis::Core::Hashable
|
1897
|
+
|
1898
|
+
# The name of the deployed proxy revision containing the basepath.
|
1899
|
+
# Corresponds to the JSON property `apiProxy`
|
1900
|
+
# @return [String]
|
1901
|
+
attr_accessor :api_proxy
|
1902
|
+
|
1903
|
+
# The basepath receiving traffic.
|
1904
|
+
# Corresponds to the JSON property `basepath`
|
1905
|
+
# @return [String]
|
1906
|
+
attr_accessor :basepath
|
1907
|
+
|
1908
|
+
# The name of the environment in which the proxy is deployed.
|
1909
|
+
# Corresponds to the JSON property `environment`
|
1910
|
+
# @return [String]
|
1911
|
+
attr_accessor :environment
|
1912
|
+
|
1913
|
+
# The name of the deployed proxy revision containing the basepath.
|
1914
|
+
# Corresponds to the JSON property `revision`
|
1915
|
+
# @return [String]
|
1916
|
+
attr_accessor :revision
|
1917
|
+
|
1918
|
+
def initialize(**args)
|
1919
|
+
update!(**args)
|
1920
|
+
end
|
1921
|
+
|
1922
|
+
# Update properties of this object
|
1923
|
+
def update!(**args)
|
1924
|
+
@api_proxy = args[:api_proxy] if args.key?(:api_proxy)
|
1925
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
1926
|
+
@environment = args[:environment] if args.key?(:environment)
|
1927
|
+
@revision = args[:revision] if args.key?(:revision)
|
1593
1928
|
end
|
1594
1929
|
end
|
1595
1930
|
|
@@ -2139,37 +2474,34 @@ module Google
|
|
2139
2474
|
end
|
2140
2475
|
end
|
2141
2476
|
|
2142
|
-
#
|
2143
|
-
|
2477
|
+
# EnvironmentGroup configuration. An environment group is used to group one or
|
2478
|
+
# more Apigee environments under a single host name.
|
2479
|
+
class GoogleCloudApigeeV1EnvironmentGroup
|
2144
2480
|
include Google::Apis::Core::Hashable
|
2145
2481
|
|
2146
|
-
#
|
2147
|
-
#
|
2148
|
-
#
|
2149
|
-
#
|
2150
|
-
#
|
2151
|
-
|
2152
|
-
# @return [Boolean]
|
2153
|
-
attr_accessor :continue_on_error
|
2154
|
-
alias_method :continue_on_error?, :continue_on_error
|
2482
|
+
# Output only. The time at which the environment group was created as
|
2483
|
+
# milliseconds since
|
2484
|
+
# epoch.
|
2485
|
+
# Corresponds to the JSON property `createdAt`
|
2486
|
+
# @return [Fixnum]
|
2487
|
+
attr_accessor :created_at
|
2155
2488
|
|
2156
|
-
#
|
2157
|
-
# Corresponds to the JSON property `
|
2158
|
-
# @return [String]
|
2159
|
-
attr_accessor :
|
2489
|
+
# Required. Host names for this environment group.
|
2490
|
+
# Corresponds to the JSON property `hostnames`
|
2491
|
+
# @return [Array<String>]
|
2492
|
+
attr_accessor :hostnames
|
2160
2493
|
|
2161
|
-
# Output only.
|
2162
|
-
#
|
2163
|
-
#
|
2164
|
-
# `
|
2165
|
-
#
|
2166
|
-
|
2167
|
-
attr_accessor :flow_hook_point
|
2494
|
+
# Output only. The time at which the environment group was last updated as
|
2495
|
+
# milliseconds
|
2496
|
+
# since epoch.
|
2497
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
2498
|
+
# @return [Fixnum]
|
2499
|
+
attr_accessor :last_modified_at
|
2168
2500
|
|
2169
|
-
#
|
2170
|
-
# Corresponds to the JSON property `
|
2501
|
+
# ID of the environment group.
|
2502
|
+
# Corresponds to the JSON property `name`
|
2171
2503
|
# @return [String]
|
2172
|
-
attr_accessor :
|
2504
|
+
attr_accessor :name
|
2173
2505
|
|
2174
2506
|
def initialize(**args)
|
2175
2507
|
update!(**args)
|
@@ -2177,37 +2509,33 @@ module Google
|
|
2177
2509
|
|
2178
2510
|
# Update properties of this object
|
2179
2511
|
def update!(**args)
|
2180
|
-
@
|
2181
|
-
@
|
2182
|
-
@
|
2183
|
-
@
|
2512
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
2513
|
+
@hostnames = args[:hostnames] if args.key?(:hostnames)
|
2514
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
2515
|
+
@name = args[:name] if args.key?(:name)
|
2184
2516
|
end
|
2185
2517
|
end
|
2186
2518
|
|
2187
|
-
#
|
2188
|
-
|
2519
|
+
# EnvironmentGroupAttachment is a resource which defines an attachment of an
|
2520
|
+
# environment to an environment group.
|
2521
|
+
class GoogleCloudApigeeV1EnvironmentGroupAttachment
|
2189
2522
|
include Google::Apis::Core::Hashable
|
2190
2523
|
|
2191
|
-
#
|
2192
|
-
#
|
2193
|
-
# Corresponds to the JSON property `
|
2194
|
-
# @return [
|
2195
|
-
attr_accessor :
|
2196
|
-
alias_method :continue_on_error?, :continue_on_error
|
2524
|
+
# Output only. The time at which the environment group attachment was created as
|
2525
|
+
# milliseconds since epoch.
|
2526
|
+
# Corresponds to the JSON property `createdAt`
|
2527
|
+
# @return [Fixnum]
|
2528
|
+
attr_accessor :created_at
|
2197
2529
|
|
2198
|
-
#
|
2199
|
-
#
|
2200
|
-
# Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
|
2201
|
-
# and PostTargetFlowHook
|
2202
|
-
# Corresponds to the JSON property `name`
|
2530
|
+
# Required. ID of the attached environment.
|
2531
|
+
# Corresponds to the JSON property `environment`
|
2203
2532
|
# @return [String]
|
2204
|
-
attr_accessor :
|
2533
|
+
attr_accessor :environment
|
2205
2534
|
|
2206
|
-
#
|
2207
|
-
#
|
2208
|
-
# Corresponds to the JSON property `sharedFlowName`
|
2535
|
+
# ID of the environment group attachment.
|
2536
|
+
# Corresponds to the JSON property `name`
|
2209
2537
|
# @return [String]
|
2210
|
-
attr_accessor :
|
2538
|
+
attr_accessor :name
|
2211
2539
|
|
2212
2540
|
def initialize(**args)
|
2213
2541
|
update!(**args)
|
@@ -2215,28 +2543,540 @@ module Google
|
|
2215
2543
|
|
2216
2544
|
# Update properties of this object
|
2217
2545
|
def update!(**args)
|
2218
|
-
@
|
2546
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
2547
|
+
@environment = args[:environment] if args.key?(:environment)
|
2219
2548
|
@name = args[:name] if args.key?(:name)
|
2220
|
-
@shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
|
2221
2549
|
end
|
2222
2550
|
end
|
2223
2551
|
|
2224
|
-
#
|
2225
|
-
#
|
2226
|
-
class
|
2552
|
+
# EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and
|
2553
|
+
# its associated routing rules.
|
2554
|
+
class GoogleCloudApigeeV1EnvironmentGroupConfig
|
2227
2555
|
include Google::Apis::Core::Hashable
|
2228
2556
|
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2557
|
+
# Host names for the environment group.
|
2558
|
+
# Corresponds to the JSON property `hostnames`
|
2559
|
+
# @return [Array<String>]
|
2560
|
+
attr_accessor :hostnames
|
2232
2561
|
|
2233
|
-
#
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2562
|
+
# Name of the environment group in the following format:
|
2563
|
+
# `organizations/`org`/envgroups/`envgroup``.
|
2564
|
+
# Corresponds to the JSON property `name`
|
2565
|
+
# @return [String]
|
2566
|
+
attr_accessor :name
|
2237
2567
|
|
2238
|
-
|
2239
|
-
|
2568
|
+
# Revision id that defines the ordering of the EnvironmentGroupConfig
|
2569
|
+
# resource. The higher the revision, the more recently the
|
2570
|
+
# configuration was deployed.
|
2571
|
+
# Corresponds to the JSON property `revisionId`
|
2572
|
+
# @return [Fixnum]
|
2573
|
+
attr_accessor :revision_id
|
2574
|
+
|
2575
|
+
# Ordered list of routing rules defining how traffic to this environment
|
2576
|
+
# group's hostnames should be routed to different environments.
|
2577
|
+
# Corresponds to the JSON property `routingRules`
|
2578
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule>]
|
2579
|
+
attr_accessor :routing_rules
|
2580
|
+
|
2581
|
+
# A unique id for the environment group config that will only change if
|
2582
|
+
# the environment group is deleted and recreated.
|
2583
|
+
# Corresponds to the JSON property `uid`
|
2584
|
+
# @return [String]
|
2585
|
+
attr_accessor :uid
|
2586
|
+
|
2587
|
+
def initialize(**args)
|
2588
|
+
update!(**args)
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
# Update properties of this object
|
2592
|
+
def update!(**args)
|
2593
|
+
@hostnames = args[:hostnames] if args.key?(:hostnames)
|
2594
|
+
@name = args[:name] if args.key?(:name)
|
2595
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
2596
|
+
@routing_rules = args[:routing_rules] if args.key?(:routing_rules)
|
2597
|
+
@uid = args[:uid] if args.key?(:uid)
|
2598
|
+
end
|
2599
|
+
end
|
2600
|
+
|
2601
|
+
# Details of an export job.
|
2602
|
+
class GoogleCloudApigeeV1Export
|
2603
|
+
include Google::Apis::Core::Hashable
|
2604
|
+
|
2605
|
+
# Output only. Time the export job was created.
|
2606
|
+
# Corresponds to the JSON property `created`
|
2607
|
+
# @return [String]
|
2608
|
+
attr_accessor :created
|
2609
|
+
|
2610
|
+
# Name of the datastore that is the destination of the export job [datastore]
|
2611
|
+
# Corresponds to the JSON property `datastoreName`
|
2612
|
+
# @return [String]
|
2613
|
+
attr_accessor :datastore_name
|
2614
|
+
|
2615
|
+
# Description of the export job.
|
2616
|
+
# Corresponds to the JSON property `description`
|
2617
|
+
# @return [String]
|
2618
|
+
attr_accessor :description
|
2619
|
+
|
2620
|
+
# Output only. Error is set when export fails
|
2621
|
+
# Corresponds to the JSON property `error`
|
2622
|
+
# @return [String]
|
2623
|
+
attr_accessor :error
|
2624
|
+
|
2625
|
+
# Output only. Execution time for this export job.
|
2626
|
+
# If the job is still in progress, it will be set to the amount of time that
|
2627
|
+
# has elapsed since`created`, in seconds.
|
2628
|
+
# Else, it will set to (`updated` - `created`), in seconds.
|
2629
|
+
# Corresponds to the JSON property `executionTime`
|
2630
|
+
# @return [String]
|
2631
|
+
attr_accessor :execution_time
|
2632
|
+
|
2633
|
+
# Display name of the export job.
|
2634
|
+
# Corresponds to the JSON property `name`
|
2635
|
+
# @return [String]
|
2636
|
+
attr_accessor :name
|
2637
|
+
|
2638
|
+
# Output only. Self link of the export job.
|
2639
|
+
# A URI that can be used to retrieve the status of an export job.
|
2640
|
+
# Example:
|
2641
|
+
# `/organizations/myorg/environments/myenv/analytics/exports/9cfc0d85-0f30-46d6-
|
2642
|
+
# ae6f-318d0cb961bd`
|
2643
|
+
# Corresponds to the JSON property `self`
|
2644
|
+
# @return [String]
|
2645
|
+
attr_accessor :self
|
2646
|
+
|
2647
|
+
# Output only. Status of the export job.
|
2648
|
+
# Valid values include `enqueued`, `running`, `completed`, and `failed`.
|
2649
|
+
# Corresponds to the JSON property `state`
|
2650
|
+
# @return [String]
|
2651
|
+
attr_accessor :state
|
2652
|
+
|
2653
|
+
# Output only. Time the export job was last updated.
|
2654
|
+
# Corresponds to the JSON property `updated`
|
2655
|
+
# @return [String]
|
2656
|
+
attr_accessor :updated
|
2657
|
+
|
2658
|
+
def initialize(**args)
|
2659
|
+
update!(**args)
|
2660
|
+
end
|
2661
|
+
|
2662
|
+
# Update properties of this object
|
2663
|
+
def update!(**args)
|
2664
|
+
@created = args[:created] if args.key?(:created)
|
2665
|
+
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
2666
|
+
@description = args[:description] if args.key?(:description)
|
2667
|
+
@error = args[:error] if args.key?(:error)
|
2668
|
+
@execution_time = args[:execution_time] if args.key?(:execution_time)
|
2669
|
+
@name = args[:name] if args.key?(:name)
|
2670
|
+
@self = args[:self] if args.key?(:self)
|
2671
|
+
@state = args[:state] if args.key?(:state)
|
2672
|
+
@updated = args[:updated] if args.key?(:updated)
|
2673
|
+
end
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# Request body for [CreateExportRequest]
|
2677
|
+
class GoogleCloudApigeeV1ExportRequest
|
2678
|
+
include Google::Apis::Core::Hashable
|
2679
|
+
|
2680
|
+
# Optional. Delimiter used in the CSV file, if `outputFormat` is set
|
2681
|
+
# to `csv`. Defaults to the `,` (comma) character.
|
2682
|
+
# Supported delimiter characters include comma (`,`), pipe (`|`),
|
2683
|
+
# and tab (`\t`).
|
2684
|
+
# Corresponds to the JSON property `csvDelimiter`
|
2685
|
+
# @return [String]
|
2686
|
+
attr_accessor :csv_delimiter
|
2687
|
+
|
2688
|
+
# Required. Name of the preconfigured datastore.
|
2689
|
+
# Corresponds to the JSON property `datastoreName`
|
2690
|
+
# @return [String]
|
2691
|
+
attr_accessor :datastore_name
|
2692
|
+
|
2693
|
+
# Date range of the data to export.
|
2694
|
+
# Corresponds to the JSON property `dateRange`
|
2695
|
+
# @return [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange]
|
2696
|
+
attr_accessor :date_range
|
2697
|
+
|
2698
|
+
# Optional. Description of the export job.
|
2699
|
+
# Corresponds to the JSON property `description`
|
2700
|
+
# @return [String]
|
2701
|
+
attr_accessor :description
|
2702
|
+
|
2703
|
+
# Required. Display name of the export job.
|
2704
|
+
# Corresponds to the JSON property `name`
|
2705
|
+
# @return [String]
|
2706
|
+
attr_accessor :name
|
2707
|
+
|
2708
|
+
# Optional. Output format of the export.
|
2709
|
+
# Valid values include: `csv` or `json`. Defaults to `json`.
|
2710
|
+
# Note: Configure the delimiter for CSV output using the `csvDelimiter`
|
2711
|
+
# property.
|
2712
|
+
# Corresponds to the JSON property `outputFormat`
|
2713
|
+
# @return [String]
|
2714
|
+
attr_accessor :output_format
|
2715
|
+
|
2716
|
+
def initialize(**args)
|
2717
|
+
update!(**args)
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# Update properties of this object
|
2721
|
+
def update!(**args)
|
2722
|
+
@csv_delimiter = args[:csv_delimiter] if args.key?(:csv_delimiter)
|
2723
|
+
@datastore_name = args[:datastore_name] if args.key?(:datastore_name)
|
2724
|
+
@date_range = args[:date_range] if args.key?(:date_range)
|
2725
|
+
@description = args[:description] if args.key?(:description)
|
2726
|
+
@name = args[:name] if args.key?(:name)
|
2727
|
+
@output_format = args[:output_format] if args.key?(:output_format)
|
2728
|
+
end
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
#
|
2732
|
+
class GoogleCloudApigeeV1FlowHook
|
2733
|
+
include Google::Apis::Core::Hashable
|
2734
|
+
|
2735
|
+
# Optional. Flag that specifies whether execution should continue if the flow
|
2736
|
+
# hook
|
2737
|
+
# throws an exception. Set to `true` to continue execution. Set to
|
2738
|
+
# `false` to stop execution if the flow hook throws an exception.Defaults
|
2739
|
+
# to `true`.
|
2740
|
+
# Corresponds to the JSON property `continueOnError`
|
2741
|
+
# @return [Boolean]
|
2742
|
+
attr_accessor :continue_on_error
|
2743
|
+
alias_method :continue_on_error?, :continue_on_error
|
2744
|
+
|
2745
|
+
# Description of the flow hook.
|
2746
|
+
# Corresponds to the JSON property `description`
|
2747
|
+
# @return [String]
|
2748
|
+
attr_accessor :description
|
2749
|
+
|
2750
|
+
# Output only. Where in the API call flow the flow hook is invoked. Must be one
|
2751
|
+
# of
|
2752
|
+
# `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or
|
2753
|
+
# `PostTargetFlowHook`.
|
2754
|
+
# Corresponds to the JSON property `flowHookPoint`
|
2755
|
+
# @return [String]
|
2756
|
+
attr_accessor :flow_hook_point
|
2757
|
+
|
2758
|
+
# Shared flow attached to this flow hook, or empty if there is none attached.
|
2759
|
+
# Corresponds to the JSON property `sharedFlow`
|
2760
|
+
# @return [String]
|
2761
|
+
attr_accessor :shared_flow
|
2762
|
+
|
2763
|
+
def initialize(**args)
|
2764
|
+
update!(**args)
|
2765
|
+
end
|
2766
|
+
|
2767
|
+
# Update properties of this object
|
2768
|
+
def update!(**args)
|
2769
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
2770
|
+
@description = args[:description] if args.key?(:description)
|
2771
|
+
@flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
|
2772
|
+
@shared_flow = args[:shared_flow] if args.key?(:shared_flow)
|
2773
|
+
end
|
2774
|
+
end
|
2775
|
+
|
2776
|
+
#
|
2777
|
+
class GoogleCloudApigeeV1FlowHookConfig
|
2778
|
+
include Google::Apis::Core::Hashable
|
2779
|
+
|
2780
|
+
# Should the flow abort after an error in the flow hook.
|
2781
|
+
# Should default to true if unset.
|
2782
|
+
# Corresponds to the JSON property `continueOnError`
|
2783
|
+
# @return [Boolean]
|
2784
|
+
attr_accessor :continue_on_error
|
2785
|
+
alias_method :continue_on_error?, :continue_on_error
|
2786
|
+
|
2787
|
+
# The name of the flow hook. Must be of the form
|
2788
|
+
# 'organizations/`org`/environments/`env`/flowhooks/`point`'.
|
2789
|
+
# Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook,
|
2790
|
+
# and PostTargetFlowHook
|
2791
|
+
# Corresponds to the JSON property `name`
|
2792
|
+
# @return [String]
|
2793
|
+
attr_accessor :name
|
2794
|
+
|
2795
|
+
# The name of the shared flow to invoke. Must be of the form
|
2796
|
+
# 'organizations/`org`/sharedflows/`sharedflow`'.
|
2797
|
+
# Corresponds to the JSON property `sharedFlowName`
|
2798
|
+
# @return [String]
|
2799
|
+
attr_accessor :shared_flow_name
|
2800
|
+
|
2801
|
+
def initialize(**args)
|
2802
|
+
update!(**args)
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
# Update properties of this object
|
2806
|
+
def update!(**args)
|
2807
|
+
@continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
|
2808
|
+
@name = args[:name] if args.key?(:name)
|
2809
|
+
@shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
|
2810
|
+
end
|
2811
|
+
end
|
2812
|
+
|
2813
|
+
# Request for
|
2814
|
+
# GetSyncAuthorization.
|
2815
|
+
class GoogleCloudApigeeV1GetSyncAuthorizationRequest
|
2816
|
+
include Google::Apis::Core::Hashable
|
2817
|
+
|
2818
|
+
def initialize(**args)
|
2819
|
+
update!(**args)
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# Update properties of this object
|
2823
|
+
def update!(**args)
|
2824
|
+
end
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
#
|
2828
|
+
class GoogleCloudApigeeV1IngressConfig
|
2829
|
+
include Google::Apis::Core::Hashable
|
2830
|
+
|
2831
|
+
# Time at which the IngressConfig was created.
|
2832
|
+
# Corresponds to the JSON property `createTime`
|
2833
|
+
# @return [String]
|
2834
|
+
attr_accessor :create_time
|
2835
|
+
|
2836
|
+
# List of environment groups in the organization.
|
2837
|
+
# Corresponds to the JSON property `environmentGroups`
|
2838
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig>]
|
2839
|
+
attr_accessor :environment_groups
|
2840
|
+
|
2841
|
+
# Name of the resource in the following format:
|
2842
|
+
# `organizations/`org`/deployedIngressConfig`.
|
2843
|
+
# Corresponds to the JSON property `name`
|
2844
|
+
# @return [String]
|
2845
|
+
attr_accessor :name
|
2846
|
+
|
2847
|
+
# Revision id that defines the ordering on IngressConfig resources.
|
2848
|
+
# The higher the revision, the more recently the configuration
|
2849
|
+
# was deployed.
|
2850
|
+
# Corresponds to the JSON property `revisionId`
|
2851
|
+
# @return [Fixnum]
|
2852
|
+
attr_accessor :revision_id
|
2853
|
+
|
2854
|
+
# DEPRECATED: Use revision_id
|
2855
|
+
# Corresponds to the JSON property `sequenceNumber`
|
2856
|
+
# @return [Fixnum]
|
2857
|
+
attr_accessor :sequence_number
|
2858
|
+
|
2859
|
+
# A unique id for the ingress config that will only change if the
|
2860
|
+
# organization is deleted and recreated.
|
2861
|
+
# Corresponds to the JSON property `uid`
|
2862
|
+
# @return [String]
|
2863
|
+
attr_accessor :uid
|
2864
|
+
|
2865
|
+
def initialize(**args)
|
2866
|
+
update!(**args)
|
2867
|
+
end
|
2868
|
+
|
2869
|
+
# Update properties of this object
|
2870
|
+
def update!(**args)
|
2871
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2872
|
+
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
2873
|
+
@name = args[:name] if args.key?(:name)
|
2874
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
2875
|
+
@sequence_number = args[:sequence_number] if args.key?(:sequence_number)
|
2876
|
+
@uid = args[:uid] if args.key?(:uid)
|
2877
|
+
end
|
2878
|
+
end
|
2879
|
+
|
2880
|
+
# Apigee runtime instance.
|
2881
|
+
class GoogleCloudApigeeV1Instance
|
2882
|
+
include Google::Apis::Core::Hashable
|
2883
|
+
|
2884
|
+
# Output only. Time the instance was created in milliseconds since epoch.
|
2885
|
+
# Corresponds to the JSON property `createdAt`
|
2886
|
+
# @return [Fixnum]
|
2887
|
+
attr_accessor :created_at
|
2888
|
+
|
2889
|
+
# Optional. Description of the instance.
|
2890
|
+
# Corresponds to the JSON property `description`
|
2891
|
+
# @return [String]
|
2892
|
+
attr_accessor :description
|
2893
|
+
|
2894
|
+
# Optional. Customer Managed Encryption Key (CMEK) used for disk & volume
|
2895
|
+
# encryption.
|
2896
|
+
# Corresponds to the JSON property `diskEncryptionKeyName`
|
2897
|
+
# @return [String]
|
2898
|
+
attr_accessor :disk_encryption_key_name
|
2899
|
+
|
2900
|
+
# Optional. Display name for the instance.
|
2901
|
+
# Corresponds to the JSON property `displayName`
|
2902
|
+
# @return [String]
|
2903
|
+
attr_accessor :display_name
|
2904
|
+
|
2905
|
+
# Output only. Hostname or IP address of the exposed Apigee endpoint used by
|
2906
|
+
# clients to
|
2907
|
+
# connect to the service.
|
2908
|
+
# Corresponds to the JSON property `host`
|
2909
|
+
# @return [String]
|
2910
|
+
attr_accessor :host
|
2911
|
+
|
2912
|
+
# Output only. Time the instance was last modified in milliseconds since epoch.
|
2913
|
+
# Corresponds to the JSON property `lastModifiedAt`
|
2914
|
+
# @return [Fixnum]
|
2915
|
+
attr_accessor :last_modified_at
|
2916
|
+
|
2917
|
+
# Required. Compute Engine location where the instance resides.
|
2918
|
+
# Corresponds to the JSON property `location`
|
2919
|
+
# @return [String]
|
2920
|
+
attr_accessor :location
|
2921
|
+
|
2922
|
+
# Required. Resource ID of the instance. Values must match the
|
2923
|
+
# regular expression `^a-z`0,30`[a-z\d]$`.
|
2924
|
+
# Corresponds to the JSON property `name`
|
2925
|
+
# @return [String]
|
2926
|
+
attr_accessor :name
|
2927
|
+
|
2928
|
+
# Output only. Port number of the exposed Apigee endpoint.
|
2929
|
+
# Corresponds to the JSON property `port`
|
2930
|
+
# @return [String]
|
2931
|
+
attr_accessor :port
|
2932
|
+
|
2933
|
+
def initialize(**args)
|
2934
|
+
update!(**args)
|
2935
|
+
end
|
2936
|
+
|
2937
|
+
# Update properties of this object
|
2938
|
+
def update!(**args)
|
2939
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
2940
|
+
@description = args[:description] if args.key?(:description)
|
2941
|
+
@disk_encryption_key_name = args[:disk_encryption_key_name] if args.key?(:disk_encryption_key_name)
|
2942
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2943
|
+
@host = args[:host] if args.key?(:host)
|
2944
|
+
@last_modified_at = args[:last_modified_at] if args.key?(:last_modified_at)
|
2945
|
+
@location = args[:location] if args.key?(:location)
|
2946
|
+
@name = args[:name] if args.key?(:name)
|
2947
|
+
@port = args[:port] if args.key?(:port)
|
2948
|
+
end
|
2949
|
+
end
|
2950
|
+
|
2951
|
+
# InstanceAttachment represents the installation of an environment onto an
|
2952
|
+
# instance.
|
2953
|
+
class GoogleCloudApigeeV1InstanceAttachment
|
2954
|
+
include Google::Apis::Core::Hashable
|
2955
|
+
|
2956
|
+
# Output only. Time the attachment was created in milliseconds since epoch.
|
2957
|
+
# Corresponds to the JSON property `createdAt`
|
2958
|
+
# @return [Fixnum]
|
2959
|
+
attr_accessor :created_at
|
2960
|
+
|
2961
|
+
# ID of the attached environment.
|
2962
|
+
# Corresponds to the JSON property `environment`
|
2963
|
+
# @return [String]
|
2964
|
+
attr_accessor :environment
|
2965
|
+
|
2966
|
+
# Output only. ID of the attachment.
|
2967
|
+
# Corresponds to the JSON property `name`
|
2968
|
+
# @return [String]
|
2969
|
+
attr_accessor :name
|
2970
|
+
|
2971
|
+
def initialize(**args)
|
2972
|
+
update!(**args)
|
2973
|
+
end
|
2974
|
+
|
2975
|
+
# Update properties of this object
|
2976
|
+
def update!(**args)
|
2977
|
+
@created_at = args[:created_at] if args.key?(:created_at)
|
2978
|
+
@environment = args[:environment] if args.key?(:environment)
|
2979
|
+
@name = args[:name] if args.key?(:name)
|
2980
|
+
end
|
2981
|
+
end
|
2982
|
+
|
2983
|
+
# The status of a deployment as reported by a single instance.
|
2984
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatus
|
2985
|
+
include Google::Apis::Core::Hashable
|
2986
|
+
|
2987
|
+
# Revisions currently deployed in MPs.
|
2988
|
+
# Corresponds to the JSON property `deployedRevisions`
|
2989
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision>]
|
2990
|
+
attr_accessor :deployed_revisions
|
2991
|
+
|
2992
|
+
# The current routes deployed in the ingress routing table. A route which is
|
2993
|
+
# missing will be shown with no destination environment.
|
2994
|
+
# Corresponds to the JSON property `deployedRoutes`
|
2995
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>]
|
2996
|
+
attr_accessor :deployed_routes
|
2997
|
+
|
2998
|
+
# ID of the instance reporting the status.
|
2999
|
+
# Corresponds to the JSON property `instance`
|
3000
|
+
# @return [String]
|
3001
|
+
attr_accessor :instance
|
3002
|
+
|
3003
|
+
def initialize(**args)
|
3004
|
+
update!(**args)
|
3005
|
+
end
|
3006
|
+
|
3007
|
+
# Update properties of this object
|
3008
|
+
def update!(**args)
|
3009
|
+
@deployed_revisions = args[:deployed_revisions] if args.key?(:deployed_revisions)
|
3010
|
+
@deployed_routes = args[:deployed_routes] if args.key?(:deployed_routes)
|
3011
|
+
@instance = args[:instance] if args.key?(:instance)
|
3012
|
+
end
|
3013
|
+
end
|
3014
|
+
|
3015
|
+
# Revisions deployed in the MPs.
|
3016
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRevision
|
3017
|
+
include Google::Apis::Core::Hashable
|
3018
|
+
|
3019
|
+
# The percentage of MP replicas reporting this revision
|
3020
|
+
# Corresponds to the JSON property `percentage`
|
3021
|
+
# @return [Fixnum]
|
3022
|
+
attr_accessor :percentage
|
3023
|
+
|
3024
|
+
# The proxy revision reported as deployed.
|
3025
|
+
# Corresponds to the JSON property `revision`
|
3026
|
+
# @return [String]
|
3027
|
+
attr_accessor :revision
|
3028
|
+
|
3029
|
+
def initialize(**args)
|
3030
|
+
update!(**args)
|
3031
|
+
end
|
3032
|
+
|
3033
|
+
# Update properties of this object
|
3034
|
+
def update!(**args)
|
3035
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
3036
|
+
@revision = args[:revision] if args.key?(:revision)
|
3037
|
+
end
|
3038
|
+
end
|
3039
|
+
|
3040
|
+
# A route deployed in the ingress routing table.
|
3041
|
+
class GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute
|
3042
|
+
include Google::Apis::Core::Hashable
|
3043
|
+
|
3044
|
+
# The basepath in the routing table.
|
3045
|
+
# Corresponds to the JSON property `basepath`
|
3046
|
+
# @return [String]
|
3047
|
+
attr_accessor :basepath
|
3048
|
+
|
3049
|
+
# The envgroup where this route is installed.
|
3050
|
+
# Corresponds to the JSON property `envgroup`
|
3051
|
+
# @return [String]
|
3052
|
+
attr_accessor :envgroup
|
3053
|
+
|
3054
|
+
# The destination environment. This will be empty if the route is not yet
|
3055
|
+
# reported.
|
3056
|
+
# Corresponds to the JSON property `environment`
|
3057
|
+
# @return [String]
|
3058
|
+
attr_accessor :environment
|
3059
|
+
|
3060
|
+
# The percentage of ingress replicas reporting this route.
|
3061
|
+
# Corresponds to the JSON property `percentage`
|
3062
|
+
# @return [Fixnum]
|
3063
|
+
attr_accessor :percentage
|
3064
|
+
|
3065
|
+
def initialize(**args)
|
3066
|
+
update!(**args)
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
# Update properties of this object
|
3070
|
+
def update!(**args)
|
3071
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
3072
|
+
@envgroup = args[:envgroup] if args.key?(:envgroup)
|
3073
|
+
@environment = args[:environment] if args.key?(:environment)
|
3074
|
+
@percentage = args[:percentage] if args.key?(:percentage)
|
3075
|
+
end
|
3076
|
+
end
|
3077
|
+
|
3078
|
+
#
|
3079
|
+
class GoogleCloudApigeeV1KeyAliasReference
|
2240
3080
|
include Google::Apis::Core::Hashable
|
2241
3081
|
|
2242
3082
|
# The alias id. Must exist in the keystore referred to by reference.
|
@@ -2431,25 +3271,157 @@ module Google
|
|
2431
3271
|
|
2432
3272
|
# Update properties of this object
|
2433
3273
|
def update!(**args)
|
2434
|
-
@qualifier = args[:qualifier] if args.key?(:qualifier)
|
3274
|
+
@qualifier = args[:qualifier] if args.key?(:qualifier)
|
3275
|
+
end
|
3276
|
+
end
|
3277
|
+
|
3278
|
+
# The response for ListDatastores
|
3279
|
+
class GoogleCloudApigeeV1ListDatastoresResponse
|
3280
|
+
include Google::Apis::Core::Hashable
|
3281
|
+
|
3282
|
+
# A list of datastores
|
3283
|
+
# Corresponds to the JSON property `datastores`
|
3284
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Datastore>]
|
3285
|
+
attr_accessor :datastores
|
3286
|
+
|
3287
|
+
def initialize(**args)
|
3288
|
+
update!(**args)
|
3289
|
+
end
|
3290
|
+
|
3291
|
+
# Update properties of this object
|
3292
|
+
def update!(**args)
|
3293
|
+
@datastores = args[:datastores] if args.key?(:datastores)
|
3294
|
+
end
|
3295
|
+
end
|
3296
|
+
|
3297
|
+
#
|
3298
|
+
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
3299
|
+
include Google::Apis::Core::Hashable
|
3300
|
+
|
3301
|
+
# Page token that you can include in a ListDebugSessionsRequest to
|
3302
|
+
# retrieve the next page. If omitted, no subsequent pages exist.
|
3303
|
+
# Corresponds to the JSON property `nextPageToken`
|
3304
|
+
# @return [String]
|
3305
|
+
attr_accessor :next_page_token
|
3306
|
+
|
3307
|
+
# Session info that includes debug session ID and the first transaction
|
3308
|
+
# creation timestamp.
|
3309
|
+
# Corresponds to the JSON property `sessions`
|
3310
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session>]
|
3311
|
+
attr_accessor :sessions
|
3312
|
+
|
3313
|
+
def initialize(**args)
|
3314
|
+
update!(**args)
|
3315
|
+
end
|
3316
|
+
|
3317
|
+
# Update properties of this object
|
3318
|
+
def update!(**args)
|
3319
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3320
|
+
@sessions = args[:sessions] if args.key?(:sessions)
|
3321
|
+
end
|
3322
|
+
end
|
3323
|
+
|
3324
|
+
#
|
3325
|
+
class GoogleCloudApigeeV1ListDeploymentsResponse
|
3326
|
+
include Google::Apis::Core::Hashable
|
3327
|
+
|
3328
|
+
# List of deployments.
|
3329
|
+
# Corresponds to the JSON property `deployments`
|
3330
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Deployment>]
|
3331
|
+
attr_accessor :deployments
|
3332
|
+
|
3333
|
+
def initialize(**args)
|
3334
|
+
update!(**args)
|
3335
|
+
end
|
3336
|
+
|
3337
|
+
# Update properties of this object
|
3338
|
+
def update!(**args)
|
3339
|
+
@deployments = args[:deployments] if args.key?(:deployments)
|
3340
|
+
end
|
3341
|
+
end
|
3342
|
+
|
3343
|
+
#
|
3344
|
+
class GoogleCloudApigeeV1ListDeveloperAppsResponse
|
3345
|
+
include Google::Apis::Core::Hashable
|
3346
|
+
|
3347
|
+
# List of developer apps and their credentials.
|
3348
|
+
# Corresponds to the JSON property `app`
|
3349
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DeveloperApp>]
|
3350
|
+
attr_accessor :app
|
3351
|
+
|
3352
|
+
def initialize(**args)
|
3353
|
+
update!(**args)
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
# Update properties of this object
|
3357
|
+
def update!(**args)
|
3358
|
+
@app = args[:app] if args.key?(:app)
|
3359
|
+
end
|
3360
|
+
end
|
3361
|
+
|
3362
|
+
# Response for
|
3363
|
+
# ListEnvironmentGroupAttachments.
|
3364
|
+
class GoogleCloudApigeeV1ListEnvironmentGroupAttachmentsResponse
|
3365
|
+
include Google::Apis::Core::Hashable
|
3366
|
+
|
3367
|
+
# EnvironmentGroupAttachments for the specified environment group.
|
3368
|
+
# Corresponds to the JSON property `environmentGroupAttachments`
|
3369
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupAttachment>]
|
3370
|
+
attr_accessor :environment_group_attachments
|
3371
|
+
|
3372
|
+
# Page token that you can include in a ListEnvironmentGroupAttachments
|
3373
|
+
# request to retrieve the next page. If omitted, no subsequent pages exist.
|
3374
|
+
# Corresponds to the JSON property `nextPageToken`
|
3375
|
+
# @return [String]
|
3376
|
+
attr_accessor :next_page_token
|
3377
|
+
|
3378
|
+
def initialize(**args)
|
3379
|
+
update!(**args)
|
3380
|
+
end
|
3381
|
+
|
3382
|
+
# Update properties of this object
|
3383
|
+
def update!(**args)
|
3384
|
+
@environment_group_attachments = args[:environment_group_attachments] if args.key?(:environment_group_attachments)
|
3385
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3386
|
+
end
|
3387
|
+
end
|
3388
|
+
|
3389
|
+
# Response for
|
3390
|
+
# ListEnvironmentGroups.
|
3391
|
+
class GoogleCloudApigeeV1ListEnvironmentGroupsResponse
|
3392
|
+
include Google::Apis::Core::Hashable
|
3393
|
+
|
3394
|
+
# EnvironmentGroups in the specified organization.
|
3395
|
+
# Corresponds to the JSON property `environmentGroups`
|
3396
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroup>]
|
3397
|
+
attr_accessor :environment_groups
|
3398
|
+
|
3399
|
+
# Page token that you can include in a ListEnvironmentGroups request to
|
3400
|
+
# retrieve the next page. If omitted, no subsequent pages exist.
|
3401
|
+
# Corresponds to the JSON property `nextPageToken`
|
3402
|
+
# @return [String]
|
3403
|
+
attr_accessor :next_page_token
|
3404
|
+
|
3405
|
+
def initialize(**args)
|
3406
|
+
update!(**args)
|
3407
|
+
end
|
3408
|
+
|
3409
|
+
# Update properties of this object
|
3410
|
+
def update!(**args)
|
3411
|
+
@environment_groups = args[:environment_groups] if args.key?(:environment_groups)
|
3412
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2435
3413
|
end
|
2436
3414
|
end
|
2437
3415
|
|
2438
|
-
#
|
2439
|
-
|
3416
|
+
# Response for
|
3417
|
+
# ListEnvironmentResources
|
3418
|
+
class GoogleCloudApigeeV1ListEnvironmentResourcesResponse
|
2440
3419
|
include Google::Apis::Core::Hashable
|
2441
3420
|
|
2442
|
-
#
|
2443
|
-
#
|
2444
|
-
#
|
2445
|
-
|
2446
|
-
attr_accessor :next_page_token
|
2447
|
-
|
2448
|
-
# Session info that includes debug session ID and the first transaction
|
2449
|
-
# creation timestamp.
|
2450
|
-
# Corresponds to the JSON property `sessions`
|
2451
|
-
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session>]
|
2452
|
-
attr_accessor :sessions
|
3421
|
+
# List of resources files.
|
3422
|
+
# Corresponds to the JSON property `resourceFile`
|
3423
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceFile>]
|
3424
|
+
attr_accessor :resource_file
|
2453
3425
|
|
2454
3426
|
def initialize(**args)
|
2455
3427
|
update!(**args)
|
@@ -2457,19 +3429,18 @@ module Google
|
|
2457
3429
|
|
2458
3430
|
# Update properties of this object
|
2459
3431
|
def update!(**args)
|
2460
|
-
@
|
2461
|
-
@sessions = args[:sessions] if args.key?(:sessions)
|
3432
|
+
@resource_file = args[:resource_file] if args.key?(:resource_file)
|
2462
3433
|
end
|
2463
3434
|
end
|
2464
3435
|
|
2465
|
-
#
|
2466
|
-
class
|
3436
|
+
# The response for ListExports
|
3437
|
+
class GoogleCloudApigeeV1ListExportsResponse
|
2467
3438
|
include Google::Apis::Core::Hashable
|
2468
3439
|
|
2469
|
-
#
|
2470
|
-
# Corresponds to the JSON property `
|
2471
|
-
# @return [Array<Google::Apis::ApigeeV1::
|
2472
|
-
attr_accessor :
|
3440
|
+
# Details of the export jobs.
|
3441
|
+
# Corresponds to the JSON property `exports`
|
3442
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Export>]
|
3443
|
+
attr_accessor :exports
|
2473
3444
|
|
2474
3445
|
def initialize(**args)
|
2475
3446
|
update!(**args)
|
@@ -2477,18 +3448,18 @@ module Google
|
|
2477
3448
|
|
2478
3449
|
# Update properties of this object
|
2479
3450
|
def update!(**args)
|
2480
|
-
@
|
3451
|
+
@exports = args[:exports] if args.key?(:exports)
|
2481
3452
|
end
|
2482
3453
|
end
|
2483
3454
|
|
2484
3455
|
#
|
2485
|
-
class
|
3456
|
+
class GoogleCloudApigeeV1ListHybridIssuersResponse
|
2486
3457
|
include Google::Apis::Core::Hashable
|
2487
3458
|
|
2488
|
-
#
|
2489
|
-
# Corresponds to the JSON property `
|
2490
|
-
# @return [Array<Google::Apis::ApigeeV1::
|
2491
|
-
attr_accessor :
|
3459
|
+
# Lists of hybrid services and its trusted issuer email ids.
|
3460
|
+
# Corresponds to the JSON property `issuers`
|
3461
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ServiceIssuersMapping>]
|
3462
|
+
attr_accessor :issuers
|
2492
3463
|
|
2493
3464
|
def initialize(**args)
|
2494
3465
|
update!(**args)
|
@@ -2496,19 +3467,25 @@ module Google
|
|
2496
3467
|
|
2497
3468
|
# Update properties of this object
|
2498
3469
|
def update!(**args)
|
2499
|
-
@
|
3470
|
+
@issuers = args[:issuers] if args.key?(:issuers)
|
2500
3471
|
end
|
2501
3472
|
end
|
2502
3473
|
|
2503
3474
|
# Response for
|
2504
|
-
#
|
2505
|
-
class
|
3475
|
+
# ListInstanceAttachments.
|
3476
|
+
class GoogleCloudApigeeV1ListInstanceAttachmentsResponse
|
2506
3477
|
include Google::Apis::Core::Hashable
|
2507
3478
|
|
2508
|
-
#
|
2509
|
-
# Corresponds to the JSON property `
|
2510
|
-
# @return [Array<Google::Apis::ApigeeV1::
|
2511
|
-
attr_accessor :
|
3479
|
+
# Attachments for the instance.
|
3480
|
+
# Corresponds to the JSON property `attachments`
|
3481
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceAttachment>]
|
3482
|
+
attr_accessor :attachments
|
3483
|
+
|
3484
|
+
# Page token that you can include in a ListInstanceAttachments request to
|
3485
|
+
# retrieve the next page of content. If omitted, no subsequent pages exist.
|
3486
|
+
# Corresponds to the JSON property `nextPageToken`
|
3487
|
+
# @return [String]
|
3488
|
+
attr_accessor :next_page_token
|
2512
3489
|
|
2513
3490
|
def initialize(**args)
|
2514
3491
|
update!(**args)
|
@@ -2516,18 +3493,25 @@ module Google
|
|
2516
3493
|
|
2517
3494
|
# Update properties of this object
|
2518
3495
|
def update!(**args)
|
2519
|
-
@
|
3496
|
+
@attachments = args[:attachments] if args.key?(:attachments)
|
3497
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2520
3498
|
end
|
2521
3499
|
end
|
2522
3500
|
|
2523
|
-
#
|
2524
|
-
class
|
3501
|
+
# Response for ListInstances.
|
3502
|
+
class GoogleCloudApigeeV1ListInstancesResponse
|
2525
3503
|
include Google::Apis::Core::Hashable
|
2526
3504
|
|
2527
|
-
#
|
2528
|
-
# Corresponds to the JSON property `
|
2529
|
-
# @return [Array<Google::Apis::ApigeeV1::
|
2530
|
-
attr_accessor :
|
3505
|
+
# Instances in the specified organization.
|
3506
|
+
# Corresponds to the JSON property `instances`
|
3507
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1Instance>]
|
3508
|
+
attr_accessor :instances
|
3509
|
+
|
3510
|
+
# Page token that you can include in a ListInstance request to retrieve
|
3511
|
+
# the next page of content. If omitted, no subsequent pages exist.
|
3512
|
+
# Corresponds to the JSON property `nextPageToken`
|
3513
|
+
# @return [String]
|
3514
|
+
attr_accessor :next_page_token
|
2531
3515
|
|
2532
3516
|
def initialize(**args)
|
2533
3517
|
update!(**args)
|
@@ -2535,7 +3519,8 @@ module Google
|
|
2535
3519
|
|
2536
3520
|
# Update properties of this object
|
2537
3521
|
def update!(**args)
|
2538
|
-
@
|
3522
|
+
@instances = args[:instances] if args.key?(:instances)
|
3523
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2539
3524
|
end
|
2540
3525
|
end
|
2541
3526
|
|
@@ -2859,6 +3844,26 @@ module Google
|
|
2859
3844
|
# @return [Array<String>]
|
2860
3845
|
attr_accessor :attributes
|
2861
3846
|
|
3847
|
+
# Compute Engine network used for ServiceNetworking to
|
3848
|
+
# be peered with Apigee runtime instances. See
|
3849
|
+
# [Getting started with the Service Networking
|
3850
|
+
# API](https://cloud.google.com/service-infrastructure/docs/service-networking/
|
3851
|
+
# getting-started).
|
3852
|
+
# Valid only when [RuntimeType] is set to CLOUD. The value can be updated
|
3853
|
+
# only when there are no runtime instances.
|
3854
|
+
# For example: "default".
|
3855
|
+
# **Note:** Not supported for Apigee hybrid.
|
3856
|
+
# Corresponds to the JSON property `authorizedNetwork`
|
3857
|
+
# @return [String]
|
3858
|
+
attr_accessor :authorized_network
|
3859
|
+
|
3860
|
+
# Output only. Base64-encoded public certificate for the root CA of the Apigee
|
3861
|
+
# organization. Valid only when [RuntimeType] is CLOUD.
|
3862
|
+
# Corresponds to the JSON property `caCertificate`
|
3863
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3864
|
+
# @return [String]
|
3865
|
+
attr_accessor :ca_certificate
|
3866
|
+
|
2862
3867
|
# Output only. Time that the Apigee organization was created in milliseconds
|
2863
3868
|
# since epoch.
|
2864
3869
|
# Corresponds to the JSON property `createdAt`
|
@@ -2937,6 +3942,8 @@ module Google
|
|
2937
3942
|
def update!(**args)
|
2938
3943
|
@analytics_region = args[:analytics_region] if args.key?(:analytics_region)
|
2939
3944
|
@attributes = args[:attributes] if args.key?(:attributes)
|
3945
|
+
@authorized_network = args[:authorized_network] if args.key?(:authorized_network)
|
3946
|
+
@ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
|
2940
3947
|
@created_at = args[:created_at] if args.key?(:created_at)
|
2941
3948
|
@customer_name = args[:customer_name] if args.key?(:customer_name)
|
2942
3949
|
@description = args[:description] if args.key?(:description)
|
@@ -3421,6 +4428,53 @@ module Google
|
|
3421
4428
|
end
|
3422
4429
|
end
|
3423
4430
|
|
4431
|
+
# Request for ReportInstanceStatus.
|
4432
|
+
class GoogleCloudApigeeV1ReportInstanceStatusRequest
|
4433
|
+
include Google::Apis::Core::Hashable
|
4434
|
+
|
4435
|
+
# A unique ID for the instance which is guaranteed to be unique in case the
|
4436
|
+
# user installs multiple hybrid runtimes with the same instance ID.
|
4437
|
+
# Corresponds to the JSON property `instanceUid`
|
4438
|
+
# @return [String]
|
4439
|
+
attr_accessor :instance_uid
|
4440
|
+
|
4441
|
+
# The time the report was generated in the runtime. Used to prevent an old
|
4442
|
+
# status from overwriting a newer one. An instance should space out it's
|
4443
|
+
# status reports so that clock skew does not play a factor.
|
4444
|
+
# Corresponds to the JSON property `reportTime`
|
4445
|
+
# @return [String]
|
4446
|
+
attr_accessor :report_time
|
4447
|
+
|
4448
|
+
# Status for config resources
|
4449
|
+
# Corresponds to the JSON property `resources`
|
4450
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ResourceStatus>]
|
4451
|
+
attr_accessor :resources
|
4452
|
+
|
4453
|
+
def initialize(**args)
|
4454
|
+
update!(**args)
|
4455
|
+
end
|
4456
|
+
|
4457
|
+
# Update properties of this object
|
4458
|
+
def update!(**args)
|
4459
|
+
@instance_uid = args[:instance_uid] if args.key?(:instance_uid)
|
4460
|
+
@report_time = args[:report_time] if args.key?(:report_time)
|
4461
|
+
@resources = args[:resources] if args.key?(:resources)
|
4462
|
+
end
|
4463
|
+
end
|
4464
|
+
|
4465
|
+
# Placeholder for future enhancements to status reporting protocol
|
4466
|
+
class GoogleCloudApigeeV1ReportInstanceStatusResponse
|
4467
|
+
include Google::Apis::Core::Hashable
|
4468
|
+
|
4469
|
+
def initialize(**args)
|
4470
|
+
update!(**args)
|
4471
|
+
end
|
4472
|
+
|
4473
|
+
# Update properties of this object
|
4474
|
+
def update!(**args)
|
4475
|
+
end
|
4476
|
+
end
|
4477
|
+
|
3424
4478
|
#
|
3425
4479
|
class GoogleCloudApigeeV1ReportProperty
|
3426
4480
|
include Google::Apis::Core::Hashable
|
@@ -3518,6 +4572,48 @@ module Google
|
|
3518
4572
|
end
|
3519
4573
|
end
|
3520
4574
|
|
4575
|
+
# The status of a resource loaded in the runtime.
|
4576
|
+
class GoogleCloudApigeeV1ResourceStatus
|
4577
|
+
include Google::Apis::Core::Hashable
|
4578
|
+
|
4579
|
+
# The resource name. Currently only two resources are supported:
|
4580
|
+
# EnvironmentGroup - organizations/`org`/envgroups/`envgroup`
|
4581
|
+
# EnvironmentConfig -
|
4582
|
+
# organizations/`org`/environments/`environment`/deployedConfig
|
4583
|
+
# Corresponds to the JSON property `resource`
|
4584
|
+
# @return [String]
|
4585
|
+
attr_accessor :resource
|
4586
|
+
|
4587
|
+
# Revisions of the resource currently deployed in the instance.
|
4588
|
+
# Corresponds to the JSON property `revisions`
|
4589
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RevisionStatus>]
|
4590
|
+
attr_accessor :revisions
|
4591
|
+
|
4592
|
+
# The total number of replicas that should have this resource.
|
4593
|
+
# Corresponds to the JSON property `totalReplicas`
|
4594
|
+
# @return [Fixnum]
|
4595
|
+
attr_accessor :total_replicas
|
4596
|
+
|
4597
|
+
# The uid of the resource. In the unexpected case that the instance has
|
4598
|
+
# multiple uids for the same name, they should be reported under separate
|
4599
|
+
# ResourceStatuses.
|
4600
|
+
# Corresponds to the JSON property `uid`
|
4601
|
+
# @return [String]
|
4602
|
+
attr_accessor :uid
|
4603
|
+
|
4604
|
+
def initialize(**args)
|
4605
|
+
update!(**args)
|
4606
|
+
end
|
4607
|
+
|
4608
|
+
# Update properties of this object
|
4609
|
+
def update!(**args)
|
4610
|
+
@resource = args[:resource] if args.key?(:resource)
|
4611
|
+
@revisions = args[:revisions] if args.key?(:revisions)
|
4612
|
+
@total_replicas = args[:total_replicas] if args.key?(:total_replicas)
|
4613
|
+
@uid = args[:uid] if args.key?(:uid)
|
4614
|
+
end
|
4615
|
+
end
|
4616
|
+
|
3521
4617
|
# Result is short for "action result", could be different types identified by
|
3522
4618
|
# "action_result" field. Supported types:
|
3523
4619
|
# 1. DebugInfo : generic debug info collected by runtime recorded as a list of
|
@@ -3620,6 +4716,71 @@ module Google
|
|
3620
4716
|
end
|
3621
4717
|
end
|
3622
4718
|
|
4719
|
+
# The status of a specific resource revision.
|
4720
|
+
class GoogleCloudApigeeV1RevisionStatus
|
4721
|
+
include Google::Apis::Core::Hashable
|
4722
|
+
|
4723
|
+
# Errors reported when attempting to load this revision.
|
4724
|
+
# Corresponds to the JSON property `errors`
|
4725
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1UpdateError>]
|
4726
|
+
attr_accessor :errors
|
4727
|
+
|
4728
|
+
# The json content of the resource revision.
|
4729
|
+
# Corresponds to the JSON property `jsonSpec`
|
4730
|
+
# @return [String]
|
4731
|
+
attr_accessor :json_spec
|
4732
|
+
|
4733
|
+
# The number of replicas that have successfully loaded this revision.
|
4734
|
+
# Corresponds to the JSON property `replicas`
|
4735
|
+
# @return [Fixnum]
|
4736
|
+
attr_accessor :replicas
|
4737
|
+
|
4738
|
+
# The revision of the resource.
|
4739
|
+
# Corresponds to the JSON property `revisionId`
|
4740
|
+
# @return [String]
|
4741
|
+
attr_accessor :revision_id
|
4742
|
+
|
4743
|
+
def initialize(**args)
|
4744
|
+
update!(**args)
|
4745
|
+
end
|
4746
|
+
|
4747
|
+
# Update properties of this object
|
4748
|
+
def update!(**args)
|
4749
|
+
@errors = args[:errors] if args.key?(:errors)
|
4750
|
+
@json_spec = args[:json_spec] if args.key?(:json_spec)
|
4751
|
+
@replicas = args[:replicas] if args.key?(:replicas)
|
4752
|
+
@revision_id = args[:revision_id] if args.key?(:revision_id)
|
4753
|
+
end
|
4754
|
+
end
|
4755
|
+
|
4756
|
+
#
|
4757
|
+
class GoogleCloudApigeeV1RoutingRule
|
4758
|
+
include Google::Apis::Core::Hashable
|
4759
|
+
|
4760
|
+
# URI path prefix used to route to the specified environment. May contain
|
4761
|
+
# one or more wildcards. For example, path segments consisting of a single
|
4762
|
+
# `*` character will match any string.
|
4763
|
+
# Corresponds to the JSON property `basepath`
|
4764
|
+
# @return [String]
|
4765
|
+
attr_accessor :basepath
|
4766
|
+
|
4767
|
+
# Name of an environment bound to the environment group in the following
|
4768
|
+
# format: `organizations/`org`/environments/`env``.
|
4769
|
+
# Corresponds to the JSON property `environment`
|
4770
|
+
# @return [String]
|
4771
|
+
attr_accessor :environment
|
4772
|
+
|
4773
|
+
def initialize(**args)
|
4774
|
+
update!(**args)
|
4775
|
+
end
|
4776
|
+
|
4777
|
+
# Update properties of this object
|
4778
|
+
def update!(**args)
|
4779
|
+
@basepath = args[:basepath] if args.key?(:basepath)
|
4780
|
+
@environment = args[:environment] if args.key?(:environment)
|
4781
|
+
end
|
4782
|
+
end
|
4783
|
+
|
3623
4784
|
# Response for Schema call
|
3624
4785
|
class GoogleCloudApigeeV1Schema
|
3625
4786
|
include Google::Apis::Core::Hashable
|
@@ -4169,6 +5330,31 @@ module Google
|
|
4169
5330
|
end
|
4170
5331
|
end
|
4171
5332
|
|
5333
|
+
# The response for TestDatastore
|
5334
|
+
class GoogleCloudApigeeV1TestDatastoreResponse
|
5335
|
+
include Google::Apis::Core::Hashable
|
5336
|
+
|
5337
|
+
# Output only. Error message of test connection failure
|
5338
|
+
# Corresponds to the JSON property `error`
|
5339
|
+
# @return [String]
|
5340
|
+
attr_accessor :error
|
5341
|
+
|
5342
|
+
# Output only. It could be `completed` or `failed`
|
5343
|
+
# Corresponds to the JSON property `state`
|
5344
|
+
# @return [String]
|
5345
|
+
attr_accessor :state
|
5346
|
+
|
5347
|
+
def initialize(**args)
|
5348
|
+
update!(**args)
|
5349
|
+
end
|
5350
|
+
|
5351
|
+
# Update properties of this object
|
5352
|
+
def update!(**args)
|
5353
|
+
@error = args[:error] if args.key?(:error)
|
5354
|
+
@state = args[:state] if args.key?(:state)
|
5355
|
+
end
|
5356
|
+
end
|
5357
|
+
|
4172
5358
|
# TLS configuration information for
|
4173
5359
|
# VirtualHosts and
|
4174
5360
|
# TargetServers.
|
@@ -4353,6 +5539,45 @@ module Google
|
|
4353
5539
|
end
|
4354
5540
|
end
|
4355
5541
|
|
5542
|
+
# Details on why a resource update failed in the runtime.
|
5543
|
+
class GoogleCloudApigeeV1UpdateError
|
5544
|
+
include Google::Apis::Core::Hashable
|
5545
|
+
|
5546
|
+
# Status code.
|
5547
|
+
# Corresponds to the JSON property `code`
|
5548
|
+
# @return [String]
|
5549
|
+
attr_accessor :code
|
5550
|
+
|
5551
|
+
# User-friendly error message.
|
5552
|
+
# Corresponds to the JSON property `message`
|
5553
|
+
# @return [String]
|
5554
|
+
attr_accessor :message
|
5555
|
+
|
5556
|
+
# The sub resource specific to this error (e.g. a proxy deployed within the
|
5557
|
+
# EnvironmentConfig). If empty the error refers to the top level resource.
|
5558
|
+
# Corresponds to the JSON property `resource`
|
5559
|
+
# @return [String]
|
5560
|
+
attr_accessor :resource
|
5561
|
+
|
5562
|
+
# A string that uniquely identifies the type of error. This provides a
|
5563
|
+
# more reliable means to deduplicate errors across revisions and instances.
|
5564
|
+
# Corresponds to the JSON property `type`
|
5565
|
+
# @return [String]
|
5566
|
+
attr_accessor :type
|
5567
|
+
|
5568
|
+
def initialize(**args)
|
5569
|
+
update!(**args)
|
5570
|
+
end
|
5571
|
+
|
5572
|
+
# Update properties of this object
|
5573
|
+
def update!(**args)
|
5574
|
+
@code = args[:code] if args.key?(:code)
|
5575
|
+
@message = args[:message] if args.key?(:message)
|
5576
|
+
@resource = args[:resource] if args.key?(:resource)
|
5577
|
+
@type = args[:type] if args.key?(:type)
|
5578
|
+
end
|
5579
|
+
end
|
5580
|
+
|
4356
5581
|
# Specifies the audit configuration for a service.
|
4357
5582
|
# The configuration determines which permission types are logged, and what
|
4358
5583
|
# identities, if any, are exempted from logging.
|
@@ -4918,6 +6143,65 @@ module Google
|
|
4918
6143
|
end
|
4919
6144
|
end
|
4920
6145
|
|
6146
|
+
# Describes what preconditions have failed.
|
6147
|
+
# For example, if an RPC failed because it required the Terms of Service to be
|
6148
|
+
# acknowledged, it could list the terms of service violation in the
|
6149
|
+
# PreconditionFailure message.
|
6150
|
+
class GoogleRpcPreconditionFailure
|
6151
|
+
include Google::Apis::Core::Hashable
|
6152
|
+
|
6153
|
+
# Describes all precondition violations.
|
6154
|
+
# Corresponds to the JSON property `violations`
|
6155
|
+
# @return [Array<Google::Apis::ApigeeV1::GoogleRpcPreconditionFailureViolation>]
|
6156
|
+
attr_accessor :violations
|
6157
|
+
|
6158
|
+
def initialize(**args)
|
6159
|
+
update!(**args)
|
6160
|
+
end
|
6161
|
+
|
6162
|
+
# Update properties of this object
|
6163
|
+
def update!(**args)
|
6164
|
+
@violations = args[:violations] if args.key?(:violations)
|
6165
|
+
end
|
6166
|
+
end
|
6167
|
+
|
6168
|
+
# A message type used to describe a single precondition failure.
|
6169
|
+
class GoogleRpcPreconditionFailureViolation
|
6170
|
+
include Google::Apis::Core::Hashable
|
6171
|
+
|
6172
|
+
# A description of how the precondition failed. Developers can use this
|
6173
|
+
# description to understand how to fix the failure.
|
6174
|
+
# For example: "Terms of service not accepted".
|
6175
|
+
# Corresponds to the JSON property `description`
|
6176
|
+
# @return [String]
|
6177
|
+
attr_accessor :description
|
6178
|
+
|
6179
|
+
# The subject, relative to the type, that failed.
|
6180
|
+
# For example, "google.com/cloud" relative to the "TOS" type would indicate
|
6181
|
+
# which terms of service is being referenced.
|
6182
|
+
# Corresponds to the JSON property `subject`
|
6183
|
+
# @return [String]
|
6184
|
+
attr_accessor :subject
|
6185
|
+
|
6186
|
+
# The type of PreconditionFailure. We recommend using a service-specific
|
6187
|
+
# enum type to define the supported precondition violation subjects. For
|
6188
|
+
# example, "TOS" for "Terms of Service violation".
|
6189
|
+
# Corresponds to the JSON property `type`
|
6190
|
+
# @return [String]
|
6191
|
+
attr_accessor :type
|
6192
|
+
|
6193
|
+
def initialize(**args)
|
6194
|
+
update!(**args)
|
6195
|
+
end
|
6196
|
+
|
6197
|
+
# Update properties of this object
|
6198
|
+
def update!(**args)
|
6199
|
+
@description = args[:description] if args.key?(:description)
|
6200
|
+
@subject = args[:subject] if args.key?(:subject)
|
6201
|
+
@type = args[:type] if args.key?(:type)
|
6202
|
+
end
|
6203
|
+
end
|
6204
|
+
|
4921
6205
|
# The `Status` type defines a logical error model that is suitable for
|
4922
6206
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4923
6207
|
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|