google-api-client 0.47.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +77 -0
- data/CHANGELOG.md +64 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/service.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +238 -14
- data/generated/google/apis/compute_v1/representations.rb +41 -0
- data/generated/google/apis/compute_v1/service.rb +2 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +7 -7
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +899 -1054
- data/generated/google/apis/content_v2_1/representations.rb +206 -0
- data/generated/google/apis/content_v2_1/service.rb +912 -808
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +24 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +20 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +5 -2
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +40 -2
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +7 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +178 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1/service.rb +249 -9
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1alpha2/classes.rb +6 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/domains_v1beta1/classes.rb +6 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +1 -0
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +1 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +300 -0
- data/generated/google/apis/games_v1/representations.rb +116 -0
- data/generated/google/apis/games_v1/service.rb +34 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/service.rb +1 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +72 -0
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +345 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +12 -12
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
- data/generated/google/apis/safebrowsing_v4.rb +35 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +909 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +445 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +286 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +6 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +45 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +6 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -5
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +16 -3
|
@@ -346,6 +346,18 @@ module Google
|
|
|
346
346
|
include Google::Apis::Core::JsonObjectSupport
|
|
347
347
|
end
|
|
348
348
|
|
|
349
|
+
class ResolveSnapshotHeadRequest
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class ResolveSnapshotHeadResponse
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
349
361
|
class CheckRevisionResponse
|
|
350
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
363
|
|
|
@@ -364,6 +376,24 @@ module Google
|
|
|
364
376
|
include Google::Apis::Core::JsonObjectSupport
|
|
365
377
|
end
|
|
366
378
|
|
|
379
|
+
class SnapshotCoverImageResource
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class SnapshotDataResource
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
class SnapshotExtended
|
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
393
|
+
|
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
395
|
+
end
|
|
396
|
+
|
|
367
397
|
class SnapshotImage
|
|
368
398
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
399
|
|
|
@@ -376,6 +406,18 @@ module Google
|
|
|
376
406
|
include Google::Apis::Core::JsonObjectSupport
|
|
377
407
|
end
|
|
378
408
|
|
|
409
|
+
class SnapshotMetadata
|
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
411
|
+
|
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
class SnapshotRevision
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
379
421
|
class StatsResponse
|
|
380
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
423
|
|
|
@@ -991,6 +1033,21 @@ module Google
|
|
|
991
1033
|
end
|
|
992
1034
|
end
|
|
993
1035
|
|
|
1036
|
+
class ResolveSnapshotHeadRequest
|
|
1037
|
+
# @private
|
|
1038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1039
|
+
property :resolution_policy, as: 'resolutionPolicy'
|
|
1040
|
+
end
|
|
1041
|
+
end
|
|
1042
|
+
|
|
1043
|
+
class ResolveSnapshotHeadResponse
|
|
1044
|
+
# @private
|
|
1045
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1046
|
+
property :snapshot, as: 'snapshot', class: Google::Apis::GamesV1::SnapshotExtended, decorator: Google::Apis::GamesV1::SnapshotExtended::Representation
|
|
1047
|
+
|
|
1048
|
+
end
|
|
1049
|
+
end
|
|
1050
|
+
|
|
994
1051
|
class CheckRevisionResponse
|
|
995
1052
|
# @private
|
|
996
1053
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1029,6 +1086,40 @@ module Google
|
|
|
1029
1086
|
end
|
|
1030
1087
|
end
|
|
1031
1088
|
|
|
1089
|
+
class SnapshotCoverImageResource
|
|
1090
|
+
# @private
|
|
1091
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1092
|
+
property :content_hash, as: 'contentHash'
|
|
1093
|
+
property :download_url, as: 'downloadUrl'
|
|
1094
|
+
property :height, as: 'height'
|
|
1095
|
+
property :mime_type, as: 'mimeType'
|
|
1096
|
+
property :resource_id, as: 'resourceId'
|
|
1097
|
+
property :width, as: 'width'
|
|
1098
|
+
end
|
|
1099
|
+
end
|
|
1100
|
+
|
|
1101
|
+
class SnapshotDataResource
|
|
1102
|
+
# @private
|
|
1103
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1104
|
+
property :content_hash, as: 'contentHash'
|
|
1105
|
+
property :download_url, as: 'downloadUrl'
|
|
1106
|
+
property :resource_id, as: 'resourceId'
|
|
1107
|
+
property :size, :numeric_string => true, as: 'size'
|
|
1108
|
+
end
|
|
1109
|
+
end
|
|
1110
|
+
|
|
1111
|
+
class SnapshotExtended
|
|
1112
|
+
# @private
|
|
1113
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1114
|
+
collection :conflicting_revisions, as: 'conflictingRevisions', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
|
|
1115
|
+
|
|
1116
|
+
property :has_conflicting_revisions, as: 'hasConflictingRevisions'
|
|
1117
|
+
property :head_revision, as: 'headRevision', class: Google::Apis::GamesV1::SnapshotRevision, decorator: Google::Apis::GamesV1::SnapshotRevision::Representation
|
|
1118
|
+
|
|
1119
|
+
property :name, as: 'name'
|
|
1120
|
+
end
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1032
1123
|
class SnapshotImage
|
|
1033
1124
|
# @private
|
|
1034
1125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1050,6 +1141,31 @@ module Google
|
|
|
1050
1141
|
end
|
|
1051
1142
|
end
|
|
1052
1143
|
|
|
1144
|
+
class SnapshotMetadata
|
|
1145
|
+
# @private
|
|
1146
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1147
|
+
property :description, as: 'description'
|
|
1148
|
+
property :device_name, as: 'deviceName'
|
|
1149
|
+
property :duration, as: 'duration'
|
|
1150
|
+
property :last_modify_time, as: 'lastModifyTime'
|
|
1151
|
+
property :progress_value, :numeric_string => true, as: 'progressValue'
|
|
1152
|
+
property :title, as: 'title'
|
|
1153
|
+
end
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
class SnapshotRevision
|
|
1157
|
+
# @private
|
|
1158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1159
|
+
property :blob, as: 'blob', class: Google::Apis::GamesV1::SnapshotDataResource, decorator: Google::Apis::GamesV1::SnapshotDataResource::Representation
|
|
1160
|
+
|
|
1161
|
+
property :cover_image, as: 'coverImage', class: Google::Apis::GamesV1::SnapshotCoverImageResource, decorator: Google::Apis::GamesV1::SnapshotCoverImageResource::Representation
|
|
1162
|
+
|
|
1163
|
+
property :id, as: 'id'
|
|
1164
|
+
property :metadata, as: 'metadata', class: Google::Apis::GamesV1::SnapshotMetadata, decorator: Google::Apis::GamesV1::SnapshotMetadata::Representation
|
|
1165
|
+
|
|
1166
|
+
end
|
|
1167
|
+
end
|
|
1168
|
+
|
|
1053
1169
|
class StatsResponse
|
|
1054
1170
|
# @private
|
|
1055
1171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1072,6 +1072,40 @@ module Google
|
|
|
1072
1072
|
execute_or_queue_command(command, &block)
|
|
1073
1073
|
end
|
|
1074
1074
|
|
|
1075
|
+
# Resolves any potential conflicts according to the resolution policy specified
|
|
1076
|
+
# in the request and returns the snapshot head after the resolution.
|
|
1077
|
+
# @param [String] snapshot_name
|
|
1078
|
+
# Required. Name of the snapshot.
|
|
1079
|
+
# @param [Google::Apis::GamesV1::ResolveSnapshotHeadRequest] resolve_snapshot_head_request_object
|
|
1080
|
+
# @param [String] fields
|
|
1081
|
+
# Selector specifying which fields to include in a partial response.
|
|
1082
|
+
# @param [String] quota_user
|
|
1083
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1084
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1085
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1086
|
+
# Request-specific options
|
|
1087
|
+
#
|
|
1088
|
+
# @yield [result, err] Result & error if block supplied
|
|
1089
|
+
# @yieldparam result [Google::Apis::GamesV1::ResolveSnapshotHeadResponse] parsed result object
|
|
1090
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1091
|
+
#
|
|
1092
|
+
# @return [Google::Apis::GamesV1::ResolveSnapshotHeadResponse]
|
|
1093
|
+
#
|
|
1094
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1095
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1096
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1097
|
+
def resolve_snapshots_extended_snapshot_head(snapshot_name, resolve_snapshot_head_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1098
|
+
command = make_simple_command(:post, 'games/v1/snapshotsExtended/{snapshotName}:resolveHead', options)
|
|
1099
|
+
command.request_representation = Google::Apis::GamesV1::ResolveSnapshotHeadRequest::Representation
|
|
1100
|
+
command.request_object = resolve_snapshot_head_request_object
|
|
1101
|
+
command.response_representation = Google::Apis::GamesV1::ResolveSnapshotHeadResponse::Representation
|
|
1102
|
+
command.response_class = Google::Apis::GamesV1::ResolveSnapshotHeadResponse
|
|
1103
|
+
command.params['snapshotName'] = snapshot_name unless snapshot_name.nil?
|
|
1104
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1105
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1106
|
+
execute_or_queue_command(command, &block)
|
|
1107
|
+
end
|
|
1108
|
+
|
|
1075
1109
|
# Returns engagement and spend statistics in this application for the currently
|
|
1076
1110
|
# authenticated user.
|
|
1077
1111
|
# @param [String] fields
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/solutions/gaming/
|
|
26
26
|
module GameservicesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201022'
|
|
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'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/solutions/gaming/
|
|
26
26
|
module GameservicesV1beta
|
|
27
27
|
VERSION = 'V1beta'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20201022'
|
|
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'
|
|
@@ -22,15 +22,12 @@ module Google
|
|
|
22
22
|
#
|
|
23
23
|
# Manages identity and access control for Google Cloud Platform resources,
|
|
24
24
|
# including the creation of service accounts, which you can use to authenticate
|
|
25
|
-
# to Google and make API calls.
|
|
26
|
-
# account credentials API ( iamcredentials.googleapis.com). Enabling or
|
|
27
|
-
# disabling this API will also enable or disable the IAM service account
|
|
28
|
-
# credentials API.
|
|
25
|
+
# to Google and make API calls.
|
|
29
26
|
#
|
|
30
27
|
# @see https://cloud.google.com/iam/
|
|
31
28
|
module IamV1
|
|
32
29
|
VERSION = 'V1'
|
|
33
|
-
REVISION = '
|
|
30
|
+
REVISION = '20201022'
|
|
34
31
|
|
|
35
32
|
# View and manage your data across Google Cloud Platform services
|
|
36
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -24,10 +24,7 @@ module Google
|
|
|
24
24
|
#
|
|
25
25
|
# Manages identity and access control for Google Cloud Platform resources,
|
|
26
26
|
# including the creation of service accounts, which you can use to authenticate
|
|
27
|
-
# to Google and make API calls.
|
|
28
|
-
# account credentials API ( iamcredentials.googleapis.com). Enabling or
|
|
29
|
-
# disabling this API will also enable or disable the IAM service account
|
|
30
|
-
# credentials API.
|
|
27
|
+
# to Google and make API calls.
|
|
31
28
|
#
|
|
32
29
|
# @example
|
|
33
30
|
# require 'google/apis/iam_v1'
|
|
@@ -20,14 +20,13 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# IAM Service Account Credentials API
|
|
22
22
|
#
|
|
23
|
-
# Creates short-lived credentials for impersonating IAM service accounts.
|
|
24
|
-
#
|
|
25
|
-
# this API will also enable or disable the IAM API.
|
|
23
|
+
# Creates short-lived credentials for impersonating IAM service accounts. To
|
|
24
|
+
# enable this API, you must enable the IAM API (iam.googleapis.com).
|
|
26
25
|
#
|
|
27
26
|
# @see https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials
|
|
28
27
|
module IamcredentialsV1
|
|
29
28
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
29
|
+
REVISION = '20201022'
|
|
31
30
|
|
|
32
31
|
# View and manage your data across Google Cloud Platform services
|
|
33
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,9 +22,8 @@ module Google
|
|
|
22
22
|
module IamcredentialsV1
|
|
23
23
|
# IAM Service Account Credentials API
|
|
24
24
|
#
|
|
25
|
-
# Creates short-lived credentials for impersonating IAM service accounts.
|
|
26
|
-
#
|
|
27
|
-
# this API will also enable or disable the IAM API.
|
|
25
|
+
# Creates short-lived credentials for impersonating IAM service accounts. To
|
|
26
|
+
# enable this API, you must enable the IAM API (iam.googleapis.com).
|
|
28
27
|
#
|
|
29
28
|
# @example
|
|
30
29
|
# require 'google/apis/iamcredentials_v1'
|
|
@@ -28,7 +28,7 @@ module Google
|
|
|
28
28
|
# @see https://cloud.google.com/logging/docs/
|
|
29
29
|
module LoggingV2
|
|
30
30
|
VERSION = 'V2'
|
|
31
|
-
REVISION = '
|
|
31
|
+
REVISION = '20201022'
|
|
32
32
|
|
|
33
33
|
# View and manage your data across Google Cloud Platform services
|
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -485,6 +485,31 @@ module Google
|
|
|
485
485
|
end
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
+
# The response message for Locations.ListLocations.
|
|
489
|
+
class ListLocationsResponse
|
|
490
|
+
include Google::Apis::Core::Hashable
|
|
491
|
+
|
|
492
|
+
# A list of locations that matches the specified filter in the request.
|
|
493
|
+
# Corresponds to the JSON property `locations`
|
|
494
|
+
# @return [Array<Google::Apis::LoggingV2::Location>]
|
|
495
|
+
attr_accessor :locations
|
|
496
|
+
|
|
497
|
+
# The standard List next-page token.
|
|
498
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
499
|
+
# @return [String]
|
|
500
|
+
attr_accessor :next_page_token
|
|
501
|
+
|
|
502
|
+
def initialize(**args)
|
|
503
|
+
update!(**args)
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# Update properties of this object
|
|
507
|
+
def update!(**args)
|
|
508
|
+
@locations = args[:locations] if args.key?(:locations)
|
|
509
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
510
|
+
end
|
|
511
|
+
end
|
|
512
|
+
|
|
488
513
|
# The parameters to ListLogEntries.
|
|
489
514
|
class ListLogEntriesRequest
|
|
490
515
|
include Google::Apis::Core::Hashable
|
|
@@ -731,6 +756,53 @@ module Google
|
|
|
731
756
|
end
|
|
732
757
|
end
|
|
733
758
|
|
|
759
|
+
# A resource that represents Google Cloud Platform location.
|
|
760
|
+
class Location
|
|
761
|
+
include Google::Apis::Core::Hashable
|
|
762
|
+
|
|
763
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
|
764
|
+
# "Tokyo".
|
|
765
|
+
# Corresponds to the JSON property `displayName`
|
|
766
|
+
# @return [String]
|
|
767
|
+
attr_accessor :display_name
|
|
768
|
+
|
|
769
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
|
770
|
+
# region": "us-east1"`
|
|
771
|
+
# Corresponds to the JSON property `labels`
|
|
772
|
+
# @return [Hash<String,String>]
|
|
773
|
+
attr_accessor :labels
|
|
774
|
+
|
|
775
|
+
# The canonical id for this location. For example: "us-east1".
|
|
776
|
+
# Corresponds to the JSON property `locationId`
|
|
777
|
+
# @return [String]
|
|
778
|
+
attr_accessor :location_id
|
|
779
|
+
|
|
780
|
+
# Service-specific metadata. For example the available capacity at the given
|
|
781
|
+
# location.
|
|
782
|
+
# Corresponds to the JSON property `metadata`
|
|
783
|
+
# @return [Hash<String,Object>]
|
|
784
|
+
attr_accessor :metadata
|
|
785
|
+
|
|
786
|
+
# Resource name for the location, which may vary between implementations. For
|
|
787
|
+
# example: "projects/example-project/locations/us-east1"
|
|
788
|
+
# Corresponds to the JSON property `name`
|
|
789
|
+
# @return [String]
|
|
790
|
+
attr_accessor :name
|
|
791
|
+
|
|
792
|
+
def initialize(**args)
|
|
793
|
+
update!(**args)
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# Update properties of this object
|
|
797
|
+
def update!(**args)
|
|
798
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
799
|
+
@labels = args[:labels] if args.key?(:labels)
|
|
800
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
|
801
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
802
|
+
@name = args[:name] if args.key?(:name)
|
|
803
|
+
end
|
|
804
|
+
end
|
|
805
|
+
|
|
734
806
|
# Describes a repository of logs (Beta).
|
|
735
807
|
class LogBucket
|
|
736
808
|
include Google::Apis::Core::Hashable
|
|
@@ -88,6 +88,12 @@ module Google
|
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
+
class ListLocationsResponse
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
91
97
|
class ListLogEntriesRequest
|
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
99
|
|
|
@@ -130,6 +136,12 @@ module Google
|
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
131
137
|
end
|
|
132
138
|
|
|
139
|
+
class Location
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
133
145
|
class LogBucket
|
|
134
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
147
|
|
|
@@ -358,6 +370,15 @@ module Google
|
|
|
358
370
|
end
|
|
359
371
|
end
|
|
360
372
|
|
|
373
|
+
class ListLocationsResponse
|
|
374
|
+
# @private
|
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
376
|
+
collection :locations, as: 'locations', class: Google::Apis::LoggingV2::Location, decorator: Google::Apis::LoggingV2::Location::Representation
|
|
377
|
+
|
|
378
|
+
property :next_page_token, as: 'nextPageToken'
|
|
379
|
+
end
|
|
380
|
+
end
|
|
381
|
+
|
|
361
382
|
class ListLogEntriesRequest
|
|
362
383
|
# @private
|
|
363
384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -423,6 +444,17 @@ module Google
|
|
|
423
444
|
end
|
|
424
445
|
end
|
|
425
446
|
|
|
447
|
+
class Location
|
|
448
|
+
# @private
|
|
449
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
450
|
+
property :display_name, as: 'displayName'
|
|
451
|
+
hash :labels, as: 'labels'
|
|
452
|
+
property :location_id, as: 'locationId'
|
|
453
|
+
hash :metadata, as: 'metadata'
|
|
454
|
+
property :name, as: 'name'
|
|
455
|
+
end
|
|
456
|
+
end
|
|
457
|
+
|
|
426
458
|
class LogBucket
|
|
427
459
|
# @private
|
|
428
460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -311,6 +311,75 @@ module Google
|
|
|
311
311
|
execute_or_queue_command(command, &block)
|
|
312
312
|
end
|
|
313
313
|
|
|
314
|
+
# Gets information about a location.
|
|
315
|
+
# @param [String] name
|
|
316
|
+
# Resource name for the location.
|
|
317
|
+
# @param [String] fields
|
|
318
|
+
# Selector specifying which fields to include in a partial response.
|
|
319
|
+
# @param [String] quota_user
|
|
320
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
321
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
322
|
+
# @param [Google::Apis::RequestOptions] options
|
|
323
|
+
# Request-specific options
|
|
324
|
+
#
|
|
325
|
+
# @yield [result, err] Result & error if block supplied
|
|
326
|
+
# @yieldparam result [Google::Apis::LoggingV2::Location] parsed result object
|
|
327
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
328
|
+
#
|
|
329
|
+
# @return [Google::Apis::LoggingV2::Location]
|
|
330
|
+
#
|
|
331
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
332
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
333
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
334
|
+
def get_billing_account_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
335
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
336
|
+
command.response_representation = Google::Apis::LoggingV2::Location::Representation
|
|
337
|
+
command.response_class = Google::Apis::LoggingV2::Location
|
|
338
|
+
command.params['name'] = name unless name.nil?
|
|
339
|
+
command.query['fields'] = fields unless fields.nil?
|
|
340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
341
|
+
execute_or_queue_command(command, &block)
|
|
342
|
+
end
|
|
343
|
+
|
|
344
|
+
# Lists information about the supported locations for this service.
|
|
345
|
+
# @param [String] name
|
|
346
|
+
# The resource that owns the locations collection, if applicable.
|
|
347
|
+
# @param [String] filter
|
|
348
|
+
# The standard list filter.
|
|
349
|
+
# @param [Fixnum] page_size
|
|
350
|
+
# The standard list page size.
|
|
351
|
+
# @param [String] page_token
|
|
352
|
+
# The standard list page token.
|
|
353
|
+
# @param [String] fields
|
|
354
|
+
# Selector specifying which fields to include in a partial response.
|
|
355
|
+
# @param [String] quota_user
|
|
356
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
357
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
358
|
+
# @param [Google::Apis::RequestOptions] options
|
|
359
|
+
# Request-specific options
|
|
360
|
+
#
|
|
361
|
+
# @yield [result, err] Result & error if block supplied
|
|
362
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLocationsResponse] parsed result object
|
|
363
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
364
|
+
#
|
|
365
|
+
# @return [Google::Apis::LoggingV2::ListLocationsResponse]
|
|
366
|
+
#
|
|
367
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
368
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
369
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
370
|
+
def list_billing_account_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
371
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
|
372
|
+
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
|
|
373
|
+
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
|
|
374
|
+
command.params['name'] = name unless name.nil?
|
|
375
|
+
command.query['filter'] = filter unless filter.nil?
|
|
376
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
377
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
378
|
+
command.query['fields'] = fields unless fields.nil?
|
|
379
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
380
|
+
execute_or_queue_command(command, &block)
|
|
381
|
+
end
|
|
382
|
+
|
|
314
383
|
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
|
315
384
|
# created, the region cannot be changed.
|
|
316
385
|
# @param [String] parent
|
|
@@ -1498,6 +1567,75 @@ module Google
|
|
|
1498
1567
|
execute_or_queue_command(command, &block)
|
|
1499
1568
|
end
|
|
1500
1569
|
|
|
1570
|
+
# Gets information about a location.
|
|
1571
|
+
# @param [String] name
|
|
1572
|
+
# Resource name for the location.
|
|
1573
|
+
# @param [String] fields
|
|
1574
|
+
# Selector specifying which fields to include in a partial response.
|
|
1575
|
+
# @param [String] quota_user
|
|
1576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1578
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1579
|
+
# Request-specific options
|
|
1580
|
+
#
|
|
1581
|
+
# @yield [result, err] Result & error if block supplied
|
|
1582
|
+
# @yieldparam result [Google::Apis::LoggingV2::Location] parsed result object
|
|
1583
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1584
|
+
#
|
|
1585
|
+
# @return [Google::Apis::LoggingV2::Location]
|
|
1586
|
+
#
|
|
1587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1590
|
+
def get_folder_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1591
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
1592
|
+
command.response_representation = Google::Apis::LoggingV2::Location::Representation
|
|
1593
|
+
command.response_class = Google::Apis::LoggingV2::Location
|
|
1594
|
+
command.params['name'] = name unless name.nil?
|
|
1595
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1596
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1597
|
+
execute_or_queue_command(command, &block)
|
|
1598
|
+
end
|
|
1599
|
+
|
|
1600
|
+
# Lists information about the supported locations for this service.
|
|
1601
|
+
# @param [String] name
|
|
1602
|
+
# The resource that owns the locations collection, if applicable.
|
|
1603
|
+
# @param [String] filter
|
|
1604
|
+
# The standard list filter.
|
|
1605
|
+
# @param [Fixnum] page_size
|
|
1606
|
+
# The standard list page size.
|
|
1607
|
+
# @param [String] page_token
|
|
1608
|
+
# The standard list page token.
|
|
1609
|
+
# @param [String] fields
|
|
1610
|
+
# Selector specifying which fields to include in a partial response.
|
|
1611
|
+
# @param [String] quota_user
|
|
1612
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1613
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1614
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1615
|
+
# Request-specific options
|
|
1616
|
+
#
|
|
1617
|
+
# @yield [result, err] Result & error if block supplied
|
|
1618
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLocationsResponse] parsed result object
|
|
1619
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1620
|
+
#
|
|
1621
|
+
# @return [Google::Apis::LoggingV2::ListLocationsResponse]
|
|
1622
|
+
#
|
|
1623
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1624
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1625
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1626
|
+
def list_folder_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1627
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
|
1628
|
+
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
|
|
1629
|
+
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
|
|
1630
|
+
command.params['name'] = name unless name.nil?
|
|
1631
|
+
command.query['filter'] = filter unless filter.nil?
|
|
1632
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1633
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1634
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1635
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1636
|
+
execute_or_queue_command(command, &block)
|
|
1637
|
+
end
|
|
1638
|
+
|
|
1501
1639
|
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
|
1502
1640
|
# created, the region cannot be changed.
|
|
1503
1641
|
# @param [String] parent
|
|
@@ -2298,6 +2436,75 @@ module Google
|
|
|
2298
2436
|
execute_or_queue_command(command, &block)
|
|
2299
2437
|
end
|
|
2300
2438
|
|
|
2439
|
+
# Gets information about a location.
|
|
2440
|
+
# @param [String] name
|
|
2441
|
+
# Resource name for the location.
|
|
2442
|
+
# @param [String] fields
|
|
2443
|
+
# Selector specifying which fields to include in a partial response.
|
|
2444
|
+
# @param [String] quota_user
|
|
2445
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2446
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2447
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2448
|
+
# Request-specific options
|
|
2449
|
+
#
|
|
2450
|
+
# @yield [result, err] Result & error if block supplied
|
|
2451
|
+
# @yieldparam result [Google::Apis::LoggingV2::Location] parsed result object
|
|
2452
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2453
|
+
#
|
|
2454
|
+
# @return [Google::Apis::LoggingV2::Location]
|
|
2455
|
+
#
|
|
2456
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2457
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2458
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2459
|
+
def get_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2460
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
2461
|
+
command.response_representation = Google::Apis::LoggingV2::Location::Representation
|
|
2462
|
+
command.response_class = Google::Apis::LoggingV2::Location
|
|
2463
|
+
command.params['name'] = name unless name.nil?
|
|
2464
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2465
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2466
|
+
execute_or_queue_command(command, &block)
|
|
2467
|
+
end
|
|
2468
|
+
|
|
2469
|
+
# Lists information about the supported locations for this service.
|
|
2470
|
+
# @param [String] name
|
|
2471
|
+
# The resource that owns the locations collection, if applicable.
|
|
2472
|
+
# @param [String] filter
|
|
2473
|
+
# The standard list filter.
|
|
2474
|
+
# @param [Fixnum] page_size
|
|
2475
|
+
# The standard list page size.
|
|
2476
|
+
# @param [String] page_token
|
|
2477
|
+
# The standard list page token.
|
|
2478
|
+
# @param [String] fields
|
|
2479
|
+
# Selector specifying which fields to include in a partial response.
|
|
2480
|
+
# @param [String] quota_user
|
|
2481
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2482
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2483
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2484
|
+
# Request-specific options
|
|
2485
|
+
#
|
|
2486
|
+
# @yield [result, err] Result & error if block supplied
|
|
2487
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLocationsResponse] parsed result object
|
|
2488
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2489
|
+
#
|
|
2490
|
+
# @return [Google::Apis::LoggingV2::ListLocationsResponse]
|
|
2491
|
+
#
|
|
2492
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2493
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2494
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2495
|
+
def list_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2496
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
|
2497
|
+
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
|
|
2498
|
+
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
|
|
2499
|
+
command.params['name'] = name unless name.nil?
|
|
2500
|
+
command.query['filter'] = filter unless filter.nil?
|
|
2501
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2502
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2503
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2504
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2505
|
+
execute_or_queue_command(command, &block)
|
|
2506
|
+
end
|
|
2507
|
+
|
|
2301
2508
|
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
|
2302
2509
|
# created, the region cannot be changed.
|
|
2303
2510
|
# @param [String] parent
|
|
@@ -3141,6 +3348,75 @@ module Google
|
|
|
3141
3348
|
execute_or_queue_command(command, &block)
|
|
3142
3349
|
end
|
|
3143
3350
|
|
|
3351
|
+
# Gets information about a location.
|
|
3352
|
+
# @param [String] name
|
|
3353
|
+
# Resource name for the location.
|
|
3354
|
+
# @param [String] fields
|
|
3355
|
+
# Selector specifying which fields to include in a partial response.
|
|
3356
|
+
# @param [String] quota_user
|
|
3357
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3358
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3359
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3360
|
+
# Request-specific options
|
|
3361
|
+
#
|
|
3362
|
+
# @yield [result, err] Result & error if block supplied
|
|
3363
|
+
# @yieldparam result [Google::Apis::LoggingV2::Location] parsed result object
|
|
3364
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3365
|
+
#
|
|
3366
|
+
# @return [Google::Apis::LoggingV2::Location]
|
|
3367
|
+
#
|
|
3368
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3369
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3370
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3371
|
+
def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3372
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
3373
|
+
command.response_representation = Google::Apis::LoggingV2::Location::Representation
|
|
3374
|
+
command.response_class = Google::Apis::LoggingV2::Location
|
|
3375
|
+
command.params['name'] = name unless name.nil?
|
|
3376
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3377
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3378
|
+
execute_or_queue_command(command, &block)
|
|
3379
|
+
end
|
|
3380
|
+
|
|
3381
|
+
# Lists information about the supported locations for this service.
|
|
3382
|
+
# @param [String] name
|
|
3383
|
+
# The resource that owns the locations collection, if applicable.
|
|
3384
|
+
# @param [String] filter
|
|
3385
|
+
# The standard list filter.
|
|
3386
|
+
# @param [Fixnum] page_size
|
|
3387
|
+
# The standard list page size.
|
|
3388
|
+
# @param [String] page_token
|
|
3389
|
+
# The standard list page token.
|
|
3390
|
+
# @param [String] fields
|
|
3391
|
+
# Selector specifying which fields to include in a partial response.
|
|
3392
|
+
# @param [String] quota_user
|
|
3393
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3394
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3395
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3396
|
+
# Request-specific options
|
|
3397
|
+
#
|
|
3398
|
+
# @yield [result, err] Result & error if block supplied
|
|
3399
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLocationsResponse] parsed result object
|
|
3400
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3401
|
+
#
|
|
3402
|
+
# @return [Google::Apis::LoggingV2::ListLocationsResponse]
|
|
3403
|
+
#
|
|
3404
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3405
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3406
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3407
|
+
def list_organization_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3408
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
|
3409
|
+
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
|
|
3410
|
+
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
|
|
3411
|
+
command.params['name'] = name unless name.nil?
|
|
3412
|
+
command.query['filter'] = filter unless filter.nil?
|
|
3413
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3414
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3415
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3416
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3417
|
+
execute_or_queue_command(command, &block)
|
|
3418
|
+
end
|
|
3419
|
+
|
|
3144
3420
|
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
|
3145
3421
|
# created, the region cannot be changed.
|
|
3146
3422
|
# @param [String] parent
|
|
@@ -4135,6 +4411,75 @@ module Google
|
|
|
4135
4411
|
execute_or_queue_command(command, &block)
|
|
4136
4412
|
end
|
|
4137
4413
|
|
|
4414
|
+
# Gets information about a location.
|
|
4415
|
+
# @param [String] name
|
|
4416
|
+
# Resource name for the location.
|
|
4417
|
+
# @param [String] fields
|
|
4418
|
+
# Selector specifying which fields to include in a partial response.
|
|
4419
|
+
# @param [String] quota_user
|
|
4420
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4421
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4422
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4423
|
+
# Request-specific options
|
|
4424
|
+
#
|
|
4425
|
+
# @yield [result, err] Result & error if block supplied
|
|
4426
|
+
# @yieldparam result [Google::Apis::LoggingV2::Location] parsed result object
|
|
4427
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4428
|
+
#
|
|
4429
|
+
# @return [Google::Apis::LoggingV2::Location]
|
|
4430
|
+
#
|
|
4431
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4432
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4433
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4434
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4435
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
|
4436
|
+
command.response_representation = Google::Apis::LoggingV2::Location::Representation
|
|
4437
|
+
command.response_class = Google::Apis::LoggingV2::Location
|
|
4438
|
+
command.params['name'] = name unless name.nil?
|
|
4439
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4440
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4441
|
+
execute_or_queue_command(command, &block)
|
|
4442
|
+
end
|
|
4443
|
+
|
|
4444
|
+
# Lists information about the supported locations for this service.
|
|
4445
|
+
# @param [String] name
|
|
4446
|
+
# The resource that owns the locations collection, if applicable.
|
|
4447
|
+
# @param [String] filter
|
|
4448
|
+
# The standard list filter.
|
|
4449
|
+
# @param [Fixnum] page_size
|
|
4450
|
+
# The standard list page size.
|
|
4451
|
+
# @param [String] page_token
|
|
4452
|
+
# The standard list page token.
|
|
4453
|
+
# @param [String] fields
|
|
4454
|
+
# Selector specifying which fields to include in a partial response.
|
|
4455
|
+
# @param [String] quota_user
|
|
4456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
4457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
4458
|
+
# @param [Google::Apis::RequestOptions] options
|
|
4459
|
+
# Request-specific options
|
|
4460
|
+
#
|
|
4461
|
+
# @yield [result, err] Result & error if block supplied
|
|
4462
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListLocationsResponse] parsed result object
|
|
4463
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
4464
|
+
#
|
|
4465
|
+
# @return [Google::Apis::LoggingV2::ListLocationsResponse]
|
|
4466
|
+
#
|
|
4467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4470
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4471
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
|
4472
|
+
command.response_representation = Google::Apis::LoggingV2::ListLocationsResponse::Representation
|
|
4473
|
+
command.response_class = Google::Apis::LoggingV2::ListLocationsResponse
|
|
4474
|
+
command.params['name'] = name unless name.nil?
|
|
4475
|
+
command.query['filter'] = filter unless filter.nil?
|
|
4476
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4477
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4478
|
+
command.query['fields'] = fields unless fields.nil?
|
|
4479
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4480
|
+
execute_or_queue_command(command, &block)
|
|
4481
|
+
end
|
|
4482
|
+
|
|
4138
4483
|
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
|
4139
4484
|
# created, the region cannot be changed.
|
|
4140
4485
|
# @param [String] parent
|