google-api-client 0.39.4 → 0.39.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -0
- data/generated/google/apis/apigee_v1/representations.rb +1 -0
- data/generated/google/apis/apigee_v1/service.rb +9 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +12 -1
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +18 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +35 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +3 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5022 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2057 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +7 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +31 -0
- data/generated/google/apis/file_v1beta1/representations.rb +15 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → firebaseml_v1.rb} +11 -9
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1833 -2125
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -7
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67b10ad86aa1f13a7918a6319b0f039fa581f8712228f2038eb3e9a773ef6fba
|
4
|
+
data.tar.gz: 65c81b910cac0616236021bcb2191c296f8b88b3443279116d4eb8e50a9a7b63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f0456f6c643f49d7883b566ee4351a669e74a24b2dbb10b5d6b9563adabf75ab00f2afa520d0cfa8837dbd12f68368014c39f84fa2d30af580ac657c3e39e91
|
7
|
+
data.tar.gz: 4e2d4ca3df1120a40d506e7f9fbb36fe9934c1092b8388d57444a8e83263e8b5716ee4d0ceadb74f773f8cb8797ca26013727b5e86c41628668b56d037acb2d4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,68 @@
|
|
1
|
+
# 0.39.5
|
2
|
+
* Backwards compatible changes:
|
3
|
+
* Added `artifactregistry_v1beta1`
|
4
|
+
* Added `dialogflow_v3alpha1`
|
5
|
+
* Added `networkmanagement_v1`
|
6
|
+
* Updated `adexchangebuyer2_v2beta1`
|
7
|
+
* Updated `apigee_v1`
|
8
|
+
* Updated `bigquery_v2`
|
9
|
+
* Updated `bigqueryreservation_v1`
|
10
|
+
* Updated `bigqueryreservation_v1beta1`
|
11
|
+
* Updated `billingbudgets_v1beta1`
|
12
|
+
* Updated `binaryauthorization_v1`
|
13
|
+
* Updated `calendar_v3`
|
14
|
+
* Updated `cloudasset_v1`
|
15
|
+
* Updated `cloudasset_v1beta1`
|
16
|
+
* Updated `cloudasset_v1p1beta1`
|
17
|
+
* Updated `cloudasset_v1p4beta1`
|
18
|
+
* Updated `cloudbuild_v1`
|
19
|
+
* Updated `cloudbuild_v1alpha1`
|
20
|
+
* Updated `cloudbuild_v1alpha2`
|
21
|
+
* Updated `cloudidentity_v1beta1`
|
22
|
+
* Updated `container_v1beta1`
|
23
|
+
* Updated `content_v2_1`
|
24
|
+
* Updated `dataproc_v1beta2`
|
25
|
+
* Updated `datastore_v1`
|
26
|
+
* Updated `datastore_v1beta3`
|
27
|
+
* Updated `deploymentmanager_alpha`
|
28
|
+
* Updated `deploymentmanager_v2`
|
29
|
+
* Updated `deploymentmanager_v2beta`
|
30
|
+
* Updated `dfareporting_v3_3`
|
31
|
+
* Updated `dfareporting_v3_4`
|
32
|
+
* Updated `dialogflow_v2`
|
33
|
+
* Updated `dialogflow_v2beta1`
|
34
|
+
* Updated `displayvideo_v1`
|
35
|
+
* Updated `dlp_v2`
|
36
|
+
* Updated `dns_v1`
|
37
|
+
* Updated `dns_v1beta2`
|
38
|
+
* Updated `dns_v2beta1`
|
39
|
+
* Updated `file_v1`
|
40
|
+
* Updated `file_v1beta1`
|
41
|
+
* Updated `games_configuration_v1configuration`
|
42
|
+
* Updated `games_management_v1management`
|
43
|
+
* Updated `iamcredentials_v1`
|
44
|
+
* Updated `remotebuildexecution_v1`
|
45
|
+
* Updated `remotebuildexecution_v1alpha`
|
46
|
+
* Updated `remotebuildexecution_v2`
|
47
|
+
* Updated `securitycenter_v1`
|
48
|
+
* Updated `securitycenter_v1beta1`
|
49
|
+
* Updated `securitycenter_v1p1beta1`
|
50
|
+
* Updated `serviceconsumermanagement_v1`
|
51
|
+
* Updated `serviceconsumermanagement_v1beta1`
|
52
|
+
* Updated `servicemanagement_v1`
|
53
|
+
* Updated `servicenetworking_v1`
|
54
|
+
* Updated `servicenetworking_v1beta`
|
55
|
+
* Updated `serviceusage_v1`
|
56
|
+
* Updated `serviceusage_v1beta1`
|
57
|
+
* Updated `tasks_v1`
|
58
|
+
* Updated `translate_v3`
|
59
|
+
* Updated `verifiedaccess_v1`
|
60
|
+
* Updated `websecurityscanner_v1`
|
61
|
+
* Updated `websecurityscanner_v1alpha`
|
62
|
+
* Updated `websecurityscanner_v1beta`
|
63
|
+
* Updated `youtube_partner_v1`
|
64
|
+
* Updated `youtube_v3`
|
65
|
+
|
1
66
|
# 0.39.4
|
2
67
|
* Backwards compatible changes:
|
3
68
|
* Updated `bigtableadmin_v1`
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://developers.google.com/authorized-buyers/apis/reference/rest/
|
28
28
|
module Adexchangebuyer2V2beta1
|
29
29
|
VERSION = 'V2beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20200520'
|
31
31
|
|
32
32
|
# Manage your Ad Exchange buyer account configuration
|
33
33
|
AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
|
@@ -440,6 +440,7 @@ module Google
|
|
440
440
|
# Numerical identifier of the client entity.
|
441
441
|
# The entity can be an advertiser, a brand, or an agency.
|
442
442
|
# This identifier is unique among all the entities with the same type.
|
443
|
+
# The value of this field is ignored if the entity type is not provided.
|
443
444
|
# A list of all known advertisers with their identifiers is available in the
|
444
445
|
# [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
|
445
446
|
# advertisers.txt)
|
@@ -462,7 +463,8 @@ module Google
|
|
462
463
|
# @return [String]
|
463
464
|
attr_accessor :entity_name
|
464
465
|
|
465
|
-
#
|
466
|
+
# An optional field for specifying the type of the client entity:
|
467
|
+
# `ADVERTISER`, `BRAND`, or `AGENCY`.
|
466
468
|
# Corresponds to the JSON property `entityType`
|
467
469
|
# @return [String]
|
468
470
|
attr_accessor :entity_type
|
@@ -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 = '20200514'
|
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'
|
@@ -2380,6 +2380,12 @@ module Google
|
|
2380
2380
|
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
2381
2381
|
include Google::Apis::Core::Hashable
|
2382
2382
|
|
2383
|
+
# Page token that you can include in a ListDebugSessionsRequest to
|
2384
|
+
# retrieve the next page. If omitted, no subsequent pages exist.
|
2385
|
+
# Corresponds to the JSON property `nextPageToken`
|
2386
|
+
# @return [String]
|
2387
|
+
attr_accessor :next_page_token
|
2388
|
+
|
2383
2389
|
# Session info that includes debug session ID and the first transaction
|
2384
2390
|
# creation timestamp.
|
2385
2391
|
# Corresponds to the JSON property `sessions`
|
@@ -2392,6 +2398,7 @@ module Google
|
|
2392
2398
|
|
2393
2399
|
# Update properties of this object
|
2394
2400
|
def update!(**args)
|
2401
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2395
2402
|
@sessions = args[:sessions] if args.key?(:sessions)
|
2396
2403
|
end
|
2397
2404
|
end
|
@@ -1235,6 +1235,7 @@ module Google
|
|
1235
1235
|
class GoogleCloudApigeeV1ListDebugSessionsResponse
|
1236
1236
|
# @private
|
1237
1237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1238
|
+
property :next_page_token, as: 'nextPageToken'
|
1238
1239
|
collection :sessions, as: 'sessions', class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session, decorator: Google::Apis::ApigeeV1::GoogleCloudApigeeV1Session::Representation
|
1239
1240
|
|
1240
1241
|
end
|
@@ -3291,6 +3291,12 @@ module Google
|
|
3291
3291
|
# to list debug sessions. Must be of the form:
|
3292
3292
|
# `organizations/`organization`/environments/`environment`/apis/`api`/revisions/
|
3293
3293
|
# `revision``.
|
3294
|
+
# @param [Fixnum] page_size
|
3295
|
+
# Maximum number of debug sessions to return. The page size defaults
|
3296
|
+
# to 25.
|
3297
|
+
# @param [String] page_token
|
3298
|
+
# Page token, returned from a previous ListDebugSessions call, that you
|
3299
|
+
# can use to retrieve the next page.
|
3294
3300
|
# @param [String] fields
|
3295
3301
|
# Selector specifying which fields to include in a partial response.
|
3296
3302
|
# @param [String] quota_user
|
@@ -3308,11 +3314,13 @@ module Google
|
|
3308
3314
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3309
3315
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3310
3316
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3311
|
-
def list_organization_environment_api_revision_debugsessions(parent, fields: nil, quota_user: nil, options: nil, &block)
|
3317
|
+
def list_organization_environment_api_revision_debugsessions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3312
3318
|
command = make_simple_command(:get, 'v1/{+parent}/debugsessions', options)
|
3313
3319
|
command.response_representation = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse::Representation
|
3314
3320
|
command.response_class = Google::Apis::ApigeeV1::GoogleCloudApigeeV1ListDebugSessionsResponse
|
3315
3321
|
command.params['parent'] = parent unless parent.nil?
|
3322
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3323
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3316
3324
|
command.query['fields'] = fields unless fields.nil?
|
3317
3325
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3318
3326
|
execute_or_queue_command(command, &block)
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/artifactregistry_v1beta1/service.rb'
|
16
|
+
require 'google/apis/artifactregistry_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/artifactregistry_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Artifact Registry API
|
22
|
+
#
|
23
|
+
# Store and manage build artifacts in a scalable and integrated service built on
|
24
|
+
# Google infrastructure.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/artifacts/docs/
|
27
|
+
module ArtifactregistryV1beta1
|
28
|
+
VERSION = 'V1beta1'
|
29
|
+
REVISION = '20200508'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# View your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,1010 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ArtifactregistryV1beta1
|
24
|
+
|
25
|
+
# Associates `members` with a `role`.
|
26
|
+
class Binding
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
30
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
31
|
+
# are documented at https://github.com/google/cel-spec.
|
32
|
+
# Example (Comparison):
|
33
|
+
# title: "Summary size limit"
|
34
|
+
# description: "Determines if a summary is less than 100 chars"
|
35
|
+
# expression: "document.summary.size() < 100"
|
36
|
+
# Example (Equality):
|
37
|
+
# title: "Requestor is owner"
|
38
|
+
# description: "Determines if requestor is the document owner"
|
39
|
+
# expression: "document.owner == request.auth.claims.email"
|
40
|
+
# Example (Logic):
|
41
|
+
# title: "Public documents"
|
42
|
+
# description: "Determine whether the document should be publicly visible"
|
43
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
# title: "Notification string"
|
46
|
+
# description: "Create a notification string with a timestamp."
|
47
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
48
|
+
# The exact variables and functions that may be referenced within an expression
|
49
|
+
# are determined by the service that evaluates it. See the service
|
50
|
+
# documentation for additional information.
|
51
|
+
# Corresponds to the JSON property `condition`
|
52
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Expr]
|
53
|
+
attr_accessor :condition
|
54
|
+
|
55
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
56
|
+
# `members` can have the following values:
|
57
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
58
|
+
# on the internet; with or without a Google account.
|
59
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
60
|
+
# who is authenticated with a Google account or a service account.
|
61
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
62
|
+
# account. For example, `alice@example.com` .
|
63
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
64
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
65
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
66
|
+
# For example, `admins@example.com`.
|
67
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
68
|
+
# identifier) representing a user that has been recently deleted. For
|
69
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
70
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
71
|
+
# retains the role in the binding.
|
72
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
73
|
+
# unique identifier) representing a service account that has been recently
|
74
|
+
# deleted. For example,
|
75
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
76
|
+
# If the service account is undeleted, this value reverts to
|
77
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
78
|
+
# role in the binding.
|
79
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
80
|
+
# identifier) representing a Google group that has been recently
|
81
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
82
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
83
|
+
# recovered group retains the role in the binding.
|
84
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
85
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
86
|
+
# Corresponds to the JSON property `members`
|
87
|
+
# @return [Array<String>]
|
88
|
+
attr_accessor :members
|
89
|
+
|
90
|
+
# Role that is assigned to `members`.
|
91
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
92
|
+
# Corresponds to the JSON property `role`
|
93
|
+
# @return [String]
|
94
|
+
attr_accessor :role
|
95
|
+
|
96
|
+
def initialize(**args)
|
97
|
+
update!(**args)
|
98
|
+
end
|
99
|
+
|
100
|
+
# Update properties of this object
|
101
|
+
def update!(**args)
|
102
|
+
@condition = args[:condition] if args.key?(:condition)
|
103
|
+
@members = args[:members] if args.key?(:members)
|
104
|
+
@role = args[:role] if args.key?(:role)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
109
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
110
|
+
# or the response type of an API method. For instance:
|
111
|
+
# service Foo `
|
112
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
113
|
+
# `
|
114
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
115
|
+
class Empty
|
116
|
+
include Google::Apis::Core::Hashable
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
128
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
129
|
+
# are documented at https://github.com/google/cel-spec.
|
130
|
+
# Example (Comparison):
|
131
|
+
# title: "Summary size limit"
|
132
|
+
# description: "Determines if a summary is less than 100 chars"
|
133
|
+
# expression: "document.summary.size() < 100"
|
134
|
+
# Example (Equality):
|
135
|
+
# title: "Requestor is owner"
|
136
|
+
# description: "Determines if requestor is the document owner"
|
137
|
+
# expression: "document.owner == request.auth.claims.email"
|
138
|
+
# Example (Logic):
|
139
|
+
# title: "Public documents"
|
140
|
+
# description: "Determine whether the document should be publicly visible"
|
141
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
142
|
+
# Example (Data Manipulation):
|
143
|
+
# title: "Notification string"
|
144
|
+
# description: "Create a notification string with a timestamp."
|
145
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
146
|
+
# The exact variables and functions that may be referenced within an expression
|
147
|
+
# are determined by the service that evaluates it. See the service
|
148
|
+
# documentation for additional information.
|
149
|
+
class Expr
|
150
|
+
include Google::Apis::Core::Hashable
|
151
|
+
|
152
|
+
# Optional. Description of the expression. This is a longer text which
|
153
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
154
|
+
# Corresponds to the JSON property `description`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :description
|
157
|
+
|
158
|
+
# Textual representation of an expression in Common Expression Language
|
159
|
+
# syntax.
|
160
|
+
# Corresponds to the JSON property `expression`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :expression
|
163
|
+
|
164
|
+
# Optional. String indicating the location of the expression for error
|
165
|
+
# reporting, e.g. a file name and a position in the file.
|
166
|
+
# Corresponds to the JSON property `location`
|
167
|
+
# @return [String]
|
168
|
+
attr_accessor :location
|
169
|
+
|
170
|
+
# Optional. Title for the expression, i.e. a short string describing
|
171
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
172
|
+
# expression.
|
173
|
+
# Corresponds to the JSON property `title`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :title
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@description = args[:description] if args.key?(:description)
|
184
|
+
@expression = args[:expression] if args.key?(:expression)
|
185
|
+
@location = args[:location] if args.key?(:location)
|
186
|
+
@title = args[:title] if args.key?(:title)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Files store content that is potentially associated with Packages or Versions.
|
191
|
+
class File
|
192
|
+
include Google::Apis::Core::Hashable
|
193
|
+
|
194
|
+
# The time when the File was created.
|
195
|
+
# Corresponds to the JSON property `createTime`
|
196
|
+
# @return [String]
|
197
|
+
attr_accessor :create_time
|
198
|
+
|
199
|
+
# The hashes of the file content.
|
200
|
+
# Corresponds to the JSON property `hashes`
|
201
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::HashProp>]
|
202
|
+
attr_accessor :hashes
|
203
|
+
|
204
|
+
# The name of the file, for example:
|
205
|
+
# "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
|
206
|
+
# Corresponds to the JSON property `name`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :name
|
209
|
+
|
210
|
+
# The name of the Package or Version that owns this file, if any.
|
211
|
+
# Corresponds to the JSON property `owner`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :owner
|
214
|
+
|
215
|
+
# The size of the File in bytes.
|
216
|
+
# Corresponds to the JSON property `sizeBytes`
|
217
|
+
# @return [Fixnum]
|
218
|
+
attr_accessor :size_bytes
|
219
|
+
|
220
|
+
# The time when the File was last updated.
|
221
|
+
# Corresponds to the JSON property `updateTime`
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :update_time
|
224
|
+
|
225
|
+
def initialize(**args)
|
226
|
+
update!(**args)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Update properties of this object
|
230
|
+
def update!(**args)
|
231
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
232
|
+
@hashes = args[:hashes] if args.key?(:hashes)
|
233
|
+
@name = args[:name] if args.key?(:name)
|
234
|
+
@owner = args[:owner] if args.key?(:owner)
|
235
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
236
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# A hash of file content.
|
241
|
+
class HashProp
|
242
|
+
include Google::Apis::Core::Hashable
|
243
|
+
|
244
|
+
# The algorithm used to compute the hash value.
|
245
|
+
# Corresponds to the JSON property `type`
|
246
|
+
# @return [String]
|
247
|
+
attr_accessor :type
|
248
|
+
|
249
|
+
# The hash value.
|
250
|
+
# Corresponds to the JSON property `value`
|
251
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
252
|
+
# @return [String]
|
253
|
+
attr_accessor :value
|
254
|
+
|
255
|
+
def initialize(**args)
|
256
|
+
update!(**args)
|
257
|
+
end
|
258
|
+
|
259
|
+
# Update properties of this object
|
260
|
+
def update!(**args)
|
261
|
+
@type = args[:type] if args.key?(:type)
|
262
|
+
@value = args[:value] if args.key?(:value)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# The response from listing files.
|
267
|
+
class ListFilesResponse
|
268
|
+
include Google::Apis::Core::Hashable
|
269
|
+
|
270
|
+
# The files returned.
|
271
|
+
# Corresponds to the JSON property `files`
|
272
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::File>]
|
273
|
+
attr_accessor :files
|
274
|
+
|
275
|
+
# The token to retrieve the next page of files, or empty if there are no
|
276
|
+
# more files to return.
|
277
|
+
# Corresponds to the JSON property `nextPageToken`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :next_page_token
|
280
|
+
|
281
|
+
def initialize(**args)
|
282
|
+
update!(**args)
|
283
|
+
end
|
284
|
+
|
285
|
+
# Update properties of this object
|
286
|
+
def update!(**args)
|
287
|
+
@files = args[:files] if args.key?(:files)
|
288
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
289
|
+
end
|
290
|
+
end
|
291
|
+
|
292
|
+
# The response message for Locations.ListLocations.
|
293
|
+
class ListLocationsResponse
|
294
|
+
include Google::Apis::Core::Hashable
|
295
|
+
|
296
|
+
# A list of locations that matches the specified filter in the request.
|
297
|
+
# Corresponds to the JSON property `locations`
|
298
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Location>]
|
299
|
+
attr_accessor :locations
|
300
|
+
|
301
|
+
# The standard List next-page token.
|
302
|
+
# Corresponds to the JSON property `nextPageToken`
|
303
|
+
# @return [String]
|
304
|
+
attr_accessor :next_page_token
|
305
|
+
|
306
|
+
def initialize(**args)
|
307
|
+
update!(**args)
|
308
|
+
end
|
309
|
+
|
310
|
+
# Update properties of this object
|
311
|
+
def update!(**args)
|
312
|
+
@locations = args[:locations] if args.key?(:locations)
|
313
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
317
|
+
# The response message for Operations.ListOperations.
|
318
|
+
class ListOperationsResponse
|
319
|
+
include Google::Apis::Core::Hashable
|
320
|
+
|
321
|
+
# The standard List next-page token.
|
322
|
+
# Corresponds to the JSON property `nextPageToken`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :next_page_token
|
325
|
+
|
326
|
+
# A list of operations that matches the specified filter in the request.
|
327
|
+
# Corresponds to the JSON property `operations`
|
328
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Operation>]
|
329
|
+
attr_accessor :operations
|
330
|
+
|
331
|
+
def initialize(**args)
|
332
|
+
update!(**args)
|
333
|
+
end
|
334
|
+
|
335
|
+
# Update properties of this object
|
336
|
+
def update!(**args)
|
337
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
338
|
+
@operations = args[:operations] if args.key?(:operations)
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
# The response from listing packages.
|
343
|
+
class ListPackagesResponse
|
344
|
+
include Google::Apis::Core::Hashable
|
345
|
+
|
346
|
+
# The token to retrieve the next page of packages, or empty if there are no
|
347
|
+
# more packages to return.
|
348
|
+
# Corresponds to the JSON property `nextPageToken`
|
349
|
+
# @return [String]
|
350
|
+
attr_accessor :next_page_token
|
351
|
+
|
352
|
+
# The packages returned.
|
353
|
+
# Corresponds to the JSON property `packages`
|
354
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Package>]
|
355
|
+
attr_accessor :packages
|
356
|
+
|
357
|
+
def initialize(**args)
|
358
|
+
update!(**args)
|
359
|
+
end
|
360
|
+
|
361
|
+
# Update properties of this object
|
362
|
+
def update!(**args)
|
363
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
364
|
+
@packages = args[:packages] if args.key?(:packages)
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# The response from listing repositories.
|
369
|
+
class ListRepositoriesResponse
|
370
|
+
include Google::Apis::Core::Hashable
|
371
|
+
|
372
|
+
# The token to retrieve the next page of repositories, or empty if there are
|
373
|
+
# no more repositories to return.
|
374
|
+
# Corresponds to the JSON property `nextPageToken`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :next_page_token
|
377
|
+
|
378
|
+
# The repositories returned.
|
379
|
+
# Corresponds to the JSON property `repositories`
|
380
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Repository>]
|
381
|
+
attr_accessor :repositories
|
382
|
+
|
383
|
+
def initialize(**args)
|
384
|
+
update!(**args)
|
385
|
+
end
|
386
|
+
|
387
|
+
# Update properties of this object
|
388
|
+
def update!(**args)
|
389
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
390
|
+
@repositories = args[:repositories] if args.key?(:repositories)
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
# The response from listing tags.
|
395
|
+
class ListTagsResponse
|
396
|
+
include Google::Apis::Core::Hashable
|
397
|
+
|
398
|
+
# The token to retrieve the next page of tags, or empty if there are no
|
399
|
+
# more tags to return.
|
400
|
+
# Corresponds to the JSON property `nextPageToken`
|
401
|
+
# @return [String]
|
402
|
+
attr_accessor :next_page_token
|
403
|
+
|
404
|
+
# The tags returned.
|
405
|
+
# Corresponds to the JSON property `tags`
|
406
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Tag>]
|
407
|
+
attr_accessor :tags
|
408
|
+
|
409
|
+
def initialize(**args)
|
410
|
+
update!(**args)
|
411
|
+
end
|
412
|
+
|
413
|
+
# Update properties of this object
|
414
|
+
def update!(**args)
|
415
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
416
|
+
@tags = args[:tags] if args.key?(:tags)
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
# The response from listing versions.
|
421
|
+
class ListVersionsResponse
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
# The token to retrieve the next page of versions, or empty if there are no
|
425
|
+
# more versions to return.
|
426
|
+
# Corresponds to the JSON property `nextPageToken`
|
427
|
+
# @return [String]
|
428
|
+
attr_accessor :next_page_token
|
429
|
+
|
430
|
+
# The versions returned.
|
431
|
+
# Corresponds to the JSON property `versions`
|
432
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Version>]
|
433
|
+
attr_accessor :versions
|
434
|
+
|
435
|
+
def initialize(**args)
|
436
|
+
update!(**args)
|
437
|
+
end
|
438
|
+
|
439
|
+
# Update properties of this object
|
440
|
+
def update!(**args)
|
441
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
442
|
+
@versions = args[:versions] if args.key?(:versions)
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
# A resource that represents Google Cloud Platform location.
|
447
|
+
class Location
|
448
|
+
include Google::Apis::Core::Hashable
|
449
|
+
|
450
|
+
# The friendly name for this location, typically a nearby city name.
|
451
|
+
# For example, "Tokyo".
|
452
|
+
# Corresponds to the JSON property `displayName`
|
453
|
+
# @return [String]
|
454
|
+
attr_accessor :display_name
|
455
|
+
|
456
|
+
# Cross-service attributes for the location. For example
|
457
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
458
|
+
# Corresponds to the JSON property `labels`
|
459
|
+
# @return [Hash<String,String>]
|
460
|
+
attr_accessor :labels
|
461
|
+
|
462
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
463
|
+
# Corresponds to the JSON property `locationId`
|
464
|
+
# @return [String]
|
465
|
+
attr_accessor :location_id
|
466
|
+
|
467
|
+
# Service-specific metadata. For example the available capacity at the given
|
468
|
+
# location.
|
469
|
+
# Corresponds to the JSON property `metadata`
|
470
|
+
# @return [Hash<String,Object>]
|
471
|
+
attr_accessor :metadata
|
472
|
+
|
473
|
+
# Resource name for the location, which may vary between implementations.
|
474
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
475
|
+
# Corresponds to the JSON property `name`
|
476
|
+
# @return [String]
|
477
|
+
attr_accessor :name
|
478
|
+
|
479
|
+
def initialize(**args)
|
480
|
+
update!(**args)
|
481
|
+
end
|
482
|
+
|
483
|
+
# Update properties of this object
|
484
|
+
def update!(**args)
|
485
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
486
|
+
@labels = args[:labels] if args.key?(:labels)
|
487
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
488
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
489
|
+
@name = args[:name] if args.key?(:name)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# This resource represents a long-running operation that is the result of a
|
494
|
+
# network API call.
|
495
|
+
class Operation
|
496
|
+
include Google::Apis::Core::Hashable
|
497
|
+
|
498
|
+
# If the value is `false`, it means the operation is still in progress.
|
499
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
500
|
+
# available.
|
501
|
+
# Corresponds to the JSON property `done`
|
502
|
+
# @return [Boolean]
|
503
|
+
attr_accessor :done
|
504
|
+
alias_method :done?, :done
|
505
|
+
|
506
|
+
# The `Status` type defines a logical error model that is suitable for
|
507
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
508
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
509
|
+
# three pieces of data: error code, error message, and error details.
|
510
|
+
# You can find out more about this error model and how to work with it in the
|
511
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
512
|
+
# Corresponds to the JSON property `error`
|
513
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Status]
|
514
|
+
attr_accessor :error
|
515
|
+
|
516
|
+
# Service-specific metadata associated with the operation. It typically
|
517
|
+
# contains progress information and common metadata such as create time.
|
518
|
+
# Some services might not provide such metadata. Any method that returns a
|
519
|
+
# long-running operation should document the metadata type, if any.
|
520
|
+
# Corresponds to the JSON property `metadata`
|
521
|
+
# @return [Hash<String,Object>]
|
522
|
+
attr_accessor :metadata
|
523
|
+
|
524
|
+
# The server-assigned name, which is only unique within the same service that
|
525
|
+
# originally returns it. If you use the default HTTP mapping, the
|
526
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
527
|
+
# Corresponds to the JSON property `name`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :name
|
530
|
+
|
531
|
+
# The normal response of the operation in case of success. If the original
|
532
|
+
# method returns no data on success, such as `Delete`, the response is
|
533
|
+
# `google.protobuf.Empty`. If the original method is standard
|
534
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
535
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
536
|
+
# is the original method name. For example, if the original method name
|
537
|
+
# is `TakeSnapshot()`, the inferred response type is
|
538
|
+
# `TakeSnapshotResponse`.
|
539
|
+
# Corresponds to the JSON property `response`
|
540
|
+
# @return [Hash<String,Object>]
|
541
|
+
attr_accessor :response
|
542
|
+
|
543
|
+
def initialize(**args)
|
544
|
+
update!(**args)
|
545
|
+
end
|
546
|
+
|
547
|
+
# Update properties of this object
|
548
|
+
def update!(**args)
|
549
|
+
@done = args[:done] if args.key?(:done)
|
550
|
+
@error = args[:error] if args.key?(:error)
|
551
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
552
|
+
@name = args[:name] if args.key?(:name)
|
553
|
+
@response = args[:response] if args.key?(:response)
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
# Packages are named collections of versions.
|
558
|
+
class Package
|
559
|
+
include Google::Apis::Core::Hashable
|
560
|
+
|
561
|
+
# The time when the package was created.
|
562
|
+
# Corresponds to the JSON property `createTime`
|
563
|
+
# @return [String]
|
564
|
+
attr_accessor :create_time
|
565
|
+
|
566
|
+
# The display name of the package.
|
567
|
+
# Corresponds to the JSON property `displayName`
|
568
|
+
# @return [String]
|
569
|
+
attr_accessor :display_name
|
570
|
+
|
571
|
+
# The name of the package, for example:
|
572
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
|
573
|
+
# Corresponds to the JSON property `name`
|
574
|
+
# @return [String]
|
575
|
+
attr_accessor :name
|
576
|
+
|
577
|
+
# The time when the package was last updated. This includes publishing a new
|
578
|
+
# version of the package.
|
579
|
+
# Corresponds to the JSON property `updateTime`
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :update_time
|
582
|
+
|
583
|
+
def initialize(**args)
|
584
|
+
update!(**args)
|
585
|
+
end
|
586
|
+
|
587
|
+
# Update properties of this object
|
588
|
+
def update!(**args)
|
589
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
590
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
591
|
+
@name = args[:name] if args.key?(:name)
|
592
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
597
|
+
# controls for Google Cloud resources.
|
598
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
599
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
600
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
601
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
602
|
+
# custom role.
|
603
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
604
|
+
# `condition`, which is a logical expression that allows access to a resource
|
605
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
606
|
+
# based on attributes of the request, the resource, or both. To learn which
|
607
|
+
# resources support conditions in their IAM policies, see the
|
608
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
609
|
+
# policies).
|
610
|
+
# **JSON example:**
|
611
|
+
# `
|
612
|
+
# "bindings": [
|
613
|
+
# `
|
614
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
615
|
+
# "members": [
|
616
|
+
# "user:mike@example.com",
|
617
|
+
# "group:admins@example.com",
|
618
|
+
# "domain:google.com",
|
619
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
620
|
+
# ]
|
621
|
+
# `,
|
622
|
+
# `
|
623
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
624
|
+
# "members": [
|
625
|
+
# "user:eve@example.com"
|
626
|
+
# ],
|
627
|
+
# "condition": `
|
628
|
+
# "title": "expirable access",
|
629
|
+
# "description": "Does not grant access after Sep 2020",
|
630
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
631
|
+
# ",
|
632
|
+
# `
|
633
|
+
# `
|
634
|
+
# ],
|
635
|
+
# "etag": "BwWWja0YfJA=",
|
636
|
+
# "version": 3
|
637
|
+
# `
|
638
|
+
# **YAML example:**
|
639
|
+
# bindings:
|
640
|
+
# - members:
|
641
|
+
# - user:mike@example.com
|
642
|
+
# - group:admins@example.com
|
643
|
+
# - domain:google.com
|
644
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
645
|
+
# role: roles/resourcemanager.organizationAdmin
|
646
|
+
# - members:
|
647
|
+
# - user:eve@example.com
|
648
|
+
# role: roles/resourcemanager.organizationViewer
|
649
|
+
# condition:
|
650
|
+
# title: expirable access
|
651
|
+
# description: Does not grant access after Sep 2020
|
652
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
653
|
+
# - etag: BwWWja0YfJA=
|
654
|
+
# - version: 3
|
655
|
+
# For a description of IAM and its features, see the
|
656
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
657
|
+
class Policy
|
658
|
+
include Google::Apis::Core::Hashable
|
659
|
+
|
660
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
661
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
662
|
+
# of the `bindings` must contain at least one member.
|
663
|
+
# Corresponds to the JSON property `bindings`
|
664
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Binding>]
|
665
|
+
attr_accessor :bindings
|
666
|
+
|
667
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
668
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
669
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
670
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
671
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
672
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
673
|
+
# ensure that their change will be applied to the same version of the policy.
|
674
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
675
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
676
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
677
|
+
# the conditions in the version `3` policy are lost.
|
678
|
+
# Corresponds to the JSON property `etag`
|
679
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
680
|
+
# @return [String]
|
681
|
+
attr_accessor :etag
|
682
|
+
|
683
|
+
# Specifies the format of the policy.
|
684
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
685
|
+
# are rejected.
|
686
|
+
# Any operation that affects conditional role bindings must specify version
|
687
|
+
# `3`. This requirement applies to the following operations:
|
688
|
+
# * Getting a policy that includes a conditional role binding
|
689
|
+
# * Adding a conditional role binding to a policy
|
690
|
+
# * Changing a conditional role binding in a policy
|
691
|
+
# * Removing any role binding, with or without a condition, from a policy
|
692
|
+
# that includes conditions
|
693
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
694
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
695
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
696
|
+
# the conditions in the version `3` policy are lost.
|
697
|
+
# If a policy does not include any conditions, operations on that policy may
|
698
|
+
# specify any valid version or leave the field unset.
|
699
|
+
# To learn which resources support conditions in their IAM policies, see the
|
700
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
701
|
+
# policies).
|
702
|
+
# Corresponds to the JSON property `version`
|
703
|
+
# @return [Fixnum]
|
704
|
+
attr_accessor :version
|
705
|
+
|
706
|
+
def initialize(**args)
|
707
|
+
update!(**args)
|
708
|
+
end
|
709
|
+
|
710
|
+
# Update properties of this object
|
711
|
+
def update!(**args)
|
712
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
713
|
+
@etag = args[:etag] if args.key?(:etag)
|
714
|
+
@version = args[:version] if args.key?(:version)
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
# A Repository for storing artifacts with a specific format.
|
719
|
+
class Repository
|
720
|
+
include Google::Apis::Core::Hashable
|
721
|
+
|
722
|
+
# The time when the repository was created.
|
723
|
+
# Corresponds to the JSON property `createTime`
|
724
|
+
# @return [String]
|
725
|
+
attr_accessor :create_time
|
726
|
+
|
727
|
+
# The user-provided description of the repository.
|
728
|
+
# Corresponds to the JSON property `description`
|
729
|
+
# @return [String]
|
730
|
+
attr_accessor :description
|
731
|
+
|
732
|
+
# The format of packages that are stored in the repository.
|
733
|
+
# Corresponds to the JSON property `format`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :format
|
736
|
+
|
737
|
+
# Labels with user-defined metadata.
|
738
|
+
# This field may contain up to 64 entries. Label keys and values may be no
|
739
|
+
# longer than 63 characters. Label keys must begin with a lowercase letter
|
740
|
+
# and may only contain lowercase letters, numeric characters, underscores,
|
741
|
+
# and dashes.
|
742
|
+
# Corresponds to the JSON property `labels`
|
743
|
+
# @return [Hash<String,String>]
|
744
|
+
attr_accessor :labels
|
745
|
+
|
746
|
+
# The name of the repository, for example:
|
747
|
+
# "projects/p1/locations/us-central1/repositories/repo1".
|
748
|
+
# Corresponds to the JSON property `name`
|
749
|
+
# @return [String]
|
750
|
+
attr_accessor :name
|
751
|
+
|
752
|
+
# The time when the repository was last updated.
|
753
|
+
# Corresponds to the JSON property `updateTime`
|
754
|
+
# @return [String]
|
755
|
+
attr_accessor :update_time
|
756
|
+
|
757
|
+
def initialize(**args)
|
758
|
+
update!(**args)
|
759
|
+
end
|
760
|
+
|
761
|
+
# Update properties of this object
|
762
|
+
def update!(**args)
|
763
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
764
|
+
@description = args[:description] if args.key?(:description)
|
765
|
+
@format = args[:format] if args.key?(:format)
|
766
|
+
@labels = args[:labels] if args.key?(:labels)
|
767
|
+
@name = args[:name] if args.key?(:name)
|
768
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
769
|
+
end
|
770
|
+
end
|
771
|
+
|
772
|
+
# Request message for `SetIamPolicy` method.
|
773
|
+
class SetIamPolicyRequest
|
774
|
+
include Google::Apis::Core::Hashable
|
775
|
+
|
776
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
777
|
+
# controls for Google Cloud resources.
|
778
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
779
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
780
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
781
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
782
|
+
# custom role.
|
783
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
784
|
+
# `condition`, which is a logical expression that allows access to a resource
|
785
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
786
|
+
# based on attributes of the request, the resource, or both. To learn which
|
787
|
+
# resources support conditions in their IAM policies, see the
|
788
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
789
|
+
# policies).
|
790
|
+
# **JSON example:**
|
791
|
+
# `
|
792
|
+
# "bindings": [
|
793
|
+
# `
|
794
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
795
|
+
# "members": [
|
796
|
+
# "user:mike@example.com",
|
797
|
+
# "group:admins@example.com",
|
798
|
+
# "domain:google.com",
|
799
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
800
|
+
# ]
|
801
|
+
# `,
|
802
|
+
# `
|
803
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
804
|
+
# "members": [
|
805
|
+
# "user:eve@example.com"
|
806
|
+
# ],
|
807
|
+
# "condition": `
|
808
|
+
# "title": "expirable access",
|
809
|
+
# "description": "Does not grant access after Sep 2020",
|
810
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
811
|
+
# ",
|
812
|
+
# `
|
813
|
+
# `
|
814
|
+
# ],
|
815
|
+
# "etag": "BwWWja0YfJA=",
|
816
|
+
# "version": 3
|
817
|
+
# `
|
818
|
+
# **YAML example:**
|
819
|
+
# bindings:
|
820
|
+
# - members:
|
821
|
+
# - user:mike@example.com
|
822
|
+
# - group:admins@example.com
|
823
|
+
# - domain:google.com
|
824
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
825
|
+
# role: roles/resourcemanager.organizationAdmin
|
826
|
+
# - members:
|
827
|
+
# - user:eve@example.com
|
828
|
+
# role: roles/resourcemanager.organizationViewer
|
829
|
+
# condition:
|
830
|
+
# title: expirable access
|
831
|
+
# description: Does not grant access after Sep 2020
|
832
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
833
|
+
# - etag: BwWWja0YfJA=
|
834
|
+
# - version: 3
|
835
|
+
# For a description of IAM and its features, see the
|
836
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
837
|
+
# Corresponds to the JSON property `policy`
|
838
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Policy]
|
839
|
+
attr_accessor :policy
|
840
|
+
|
841
|
+
def initialize(**args)
|
842
|
+
update!(**args)
|
843
|
+
end
|
844
|
+
|
845
|
+
# Update properties of this object
|
846
|
+
def update!(**args)
|
847
|
+
@policy = args[:policy] if args.key?(:policy)
|
848
|
+
end
|
849
|
+
end
|
850
|
+
|
851
|
+
# The `Status` type defines a logical error model that is suitable for
|
852
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
853
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
854
|
+
# three pieces of data: error code, error message, and error details.
|
855
|
+
# You can find out more about this error model and how to work with it in the
|
856
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
857
|
+
class Status
|
858
|
+
include Google::Apis::Core::Hashable
|
859
|
+
|
860
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
861
|
+
# Corresponds to the JSON property `code`
|
862
|
+
# @return [Fixnum]
|
863
|
+
attr_accessor :code
|
864
|
+
|
865
|
+
# A list of messages that carry the error details. There is a common set of
|
866
|
+
# message types for APIs to use.
|
867
|
+
# Corresponds to the JSON property `details`
|
868
|
+
# @return [Array<Hash<String,Object>>]
|
869
|
+
attr_accessor :details
|
870
|
+
|
871
|
+
# A developer-facing error message, which should be in English. Any
|
872
|
+
# user-facing error message should be localized and sent in the
|
873
|
+
# google.rpc.Status.details field, or localized by the client.
|
874
|
+
# Corresponds to the JSON property `message`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :message
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@code = args[:code] if args.key?(:code)
|
885
|
+
@details = args[:details] if args.key?(:details)
|
886
|
+
@message = args[:message] if args.key?(:message)
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
# Tags point to a version and represent an alternative name that can be used
|
891
|
+
# to access the version.
|
892
|
+
class Tag
|
893
|
+
include Google::Apis::Core::Hashable
|
894
|
+
|
895
|
+
# The name of the tag, for example:
|
896
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
|
897
|
+
# Corresponds to the JSON property `name`
|
898
|
+
# @return [String]
|
899
|
+
attr_accessor :name
|
900
|
+
|
901
|
+
# The name of the version the tag refers to, for example:
|
902
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/
|
903
|
+
# sha256:5243811"
|
904
|
+
# Corresponds to the JSON property `version`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :version
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
@name = args[:name] if args.key?(:name)
|
915
|
+
@version = args[:version] if args.key?(:version)
|
916
|
+
end
|
917
|
+
end
|
918
|
+
|
919
|
+
# Request message for `TestIamPermissions` method.
|
920
|
+
class TestIamPermissionsRequest
|
921
|
+
include Google::Apis::Core::Hashable
|
922
|
+
|
923
|
+
# The set of permissions to check for the `resource`. Permissions with
|
924
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
925
|
+
# information see
|
926
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
927
|
+
# Corresponds to the JSON property `permissions`
|
928
|
+
# @return [Array<String>]
|
929
|
+
attr_accessor :permissions
|
930
|
+
|
931
|
+
def initialize(**args)
|
932
|
+
update!(**args)
|
933
|
+
end
|
934
|
+
|
935
|
+
# Update properties of this object
|
936
|
+
def update!(**args)
|
937
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
941
|
+
# Response message for `TestIamPermissions` method.
|
942
|
+
class TestIamPermissionsResponse
|
943
|
+
include Google::Apis::Core::Hashable
|
944
|
+
|
945
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
946
|
+
# allowed.
|
947
|
+
# Corresponds to the JSON property `permissions`
|
948
|
+
# @return [Array<String>]
|
949
|
+
attr_accessor :permissions
|
950
|
+
|
951
|
+
def initialize(**args)
|
952
|
+
update!(**args)
|
953
|
+
end
|
954
|
+
|
955
|
+
# Update properties of this object
|
956
|
+
def update!(**args)
|
957
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
958
|
+
end
|
959
|
+
end
|
960
|
+
|
961
|
+
# The body of a version resource. A version resource represents a
|
962
|
+
# collection of components, such as files and other data. This may correspond
|
963
|
+
# to a version in many package management schemes.
|
964
|
+
class Version
|
965
|
+
include Google::Apis::Core::Hashable
|
966
|
+
|
967
|
+
# The time when the version was created.
|
968
|
+
# Corresponds to the JSON property `createTime`
|
969
|
+
# @return [String]
|
970
|
+
attr_accessor :create_time
|
971
|
+
|
972
|
+
# Optional. Description of the version, as specified in its metadata.
|
973
|
+
# Corresponds to the JSON property `description`
|
974
|
+
# @return [String]
|
975
|
+
attr_accessor :description
|
976
|
+
|
977
|
+
# The name of the version, for example:
|
978
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/
|
979
|
+
# art1".
|
980
|
+
# Corresponds to the JSON property `name`
|
981
|
+
# @return [String]
|
982
|
+
attr_accessor :name
|
983
|
+
|
984
|
+
# Output only. A list of related tags. Will contain up to 100 tags that
|
985
|
+
# reference this version.
|
986
|
+
# Corresponds to the JSON property `relatedTags`
|
987
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Tag>]
|
988
|
+
attr_accessor :related_tags
|
989
|
+
|
990
|
+
# The time when the version was last updated.
|
991
|
+
# Corresponds to the JSON property `updateTime`
|
992
|
+
# @return [String]
|
993
|
+
attr_accessor :update_time
|
994
|
+
|
995
|
+
def initialize(**args)
|
996
|
+
update!(**args)
|
997
|
+
end
|
998
|
+
|
999
|
+
# Update properties of this object
|
1000
|
+
def update!(**args)
|
1001
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1002
|
+
@description = args[:description] if args.key?(:description)
|
1003
|
+
@name = args[:name] if args.key?(:name)
|
1004
|
+
@related_tags = args[:related_tags] if args.key?(:related_tags)
|
1005
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
end
|