google-apis-cloudfunctions_v2alpha 0.46.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/cloudfunctions_v2alpha/classes.rb +38 -383
- data/lib/google/apis/cloudfunctions_v2alpha/gem_version.rb +3 -3
- data/lib/google/apis/cloudfunctions_v2alpha/representations.rb +3 -142
- data/lib/google/apis/cloudfunctions_v2alpha/service.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '04619881ee00e385d245184ce4a12e2c744dc50fe48e00c24d19bc072f30388e'
|
4
|
+
data.tar.gz: 7c017b38607da2329c0b30cab66d4212ce796f1676a3e3e41dc5aa89a72db274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5942091213515cb6002e39e83483bfe38d758b8814c21ac0f920344d11f1c9cd5db40219741e4ce9bb6eee8e18377aa0afacc7e0dc771874d43558146cab3f38
|
7
|
+
data.tar.gz: 2a6c9a09ab98265898e95381b1484d3113da95474010bb6aeb3f3d90ddd2729559d06ba2c1772496db137b23ab8de4f0f190ef0403c232eb31e8b8342d4693fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v2alpha
|
2
2
|
|
3
|
+
### v0.48.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241117
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.47.0 (2024-06-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240523
|
11
|
+
|
3
12
|
### v0.46.0 (2024-05-19)
|
4
13
|
|
5
14
|
* Regenerated using generator version 0.15.0
|
@@ -252,9 +252,7 @@ module Google
|
|
252
252
|
# and managed by user with a customer managed encryption key. Otherwise, GCF
|
253
253
|
# will create and use a repository named 'gcf-artifacts' for every deployed
|
254
254
|
# region. It must match the pattern `projects/`project`/locations/`location`/
|
255
|
-
# repositories/`repository``.
|
256
|
-
# Cross-location repositories are not supported. Repository format must be '
|
257
|
-
# DOCKER'.
|
255
|
+
# repositories/`repository``. Repository format must be 'DOCKER'.
|
258
256
|
# Corresponds to the JSON property `dockerRepository`
|
259
257
|
# @return [String]
|
260
258
|
attr_accessor :docker_repository
|
@@ -286,7 +284,8 @@ module Google
|
|
286
284
|
# @return [String]
|
287
285
|
attr_accessor :runtime
|
288
286
|
|
289
|
-
#
|
287
|
+
# Service account to be used for building the container. The format of this
|
288
|
+
# field is `projects/`projectId`/serviceAccounts/`serviceAccountEmail``.
|
290
289
|
# Corresponds to the JSON property `serviceAccount`
|
291
290
|
# @return [String]
|
292
291
|
attr_accessor :service_account
|
@@ -602,9 +601,9 @@ module Google
|
|
602
601
|
# @return [Google::Apis::CloudfunctionsV2alpha::EventTrigger]
|
603
602
|
attr_accessor :event_trigger
|
604
603
|
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
604
|
+
# Resource name of a KMS crypto key (managed by the user) used to encrypt/
|
605
|
+
# decrypt function resources. It must match the pattern `projects/`project`/
|
606
|
+
# locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
|
608
607
|
# Corresponds to the JSON property `kmsKeyName`
|
609
608
|
# @return [String]
|
610
609
|
attr_accessor :kms_key_name
|
@@ -648,7 +647,8 @@ module Google
|
|
648
647
|
attr_accessor :update_time
|
649
648
|
|
650
649
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
651
|
-
# migration * Current state of migration for function
|
650
|
+
# migration and 2nd Gen to CRf detach. * Current state of migration for function
|
651
|
+
# undergoing migration/detach.
|
652
652
|
# Corresponds to the JSON property `upgradeInfo`
|
653
653
|
# @return [Google::Apis::CloudfunctionsV2alpha::UpgradeInfo]
|
654
654
|
attr_accessor :upgrade_info
|
@@ -726,14 +726,14 @@ module Google
|
|
726
726
|
# @return [String]
|
727
727
|
attr_accessor :environment
|
728
728
|
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
729
|
+
# Resource name of a KMS crypto key (managed by the user) used to encrypt/
|
730
|
+
# decrypt function source code objects in intermediate Cloud Storage buckets.
|
731
|
+
# When you generate an upload url and upload your source code, it gets copied to
|
732
|
+
# an intermediate Cloud Storage bucket. The source code is then copied to a
|
733
|
+
# versioned directory in the sources bucket in the consumer project during the
|
734
|
+
# function deployment. It must match the pattern `projects/`project`/locations/`
|
735
|
+
# location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. The Google Cloud
|
736
|
+
# Functions service account (service-`project_number`@gcf-admin-robot.iam.
|
737
737
|
# gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/
|
738
738
|
# Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/
|
739
739
|
# Project/Organization (least access preferred).
|
@@ -779,189 +779,6 @@ module Google
|
|
779
779
|
end
|
780
780
|
end
|
781
781
|
|
782
|
-
# Extra GCF specific location information.
|
783
|
-
class GoogleCloudFunctionsV2LocationMetadata
|
784
|
-
include Google::Apis::Core::Hashable
|
785
|
-
|
786
|
-
# The Cloud Function environments this location supports.
|
787
|
-
# Corresponds to the JSON property `environments`
|
788
|
-
# @return [Array<String>]
|
789
|
-
attr_accessor :environments
|
790
|
-
|
791
|
-
def initialize(**args)
|
792
|
-
update!(**args)
|
793
|
-
end
|
794
|
-
|
795
|
-
# Update properties of this object
|
796
|
-
def update!(**args)
|
797
|
-
@environments = args[:environments] if args.key?(:environments)
|
798
|
-
end
|
799
|
-
end
|
800
|
-
|
801
|
-
# Represents the metadata of the long-running operation.
|
802
|
-
class GoogleCloudFunctionsV2OperationMetadata
|
803
|
-
include Google::Apis::Core::Hashable
|
804
|
-
|
805
|
-
# API version used to start the operation.
|
806
|
-
# Corresponds to the JSON property `apiVersion`
|
807
|
-
# @return [String]
|
808
|
-
attr_accessor :api_version
|
809
|
-
|
810
|
-
# Identifies whether the user has requested cancellation of the operation.
|
811
|
-
# Operations that have successfully been cancelled have google.longrunning.
|
812
|
-
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
813
|
-
# Code.CANCELLED`.
|
814
|
-
# Corresponds to the JSON property `cancelRequested`
|
815
|
-
# @return [Boolean]
|
816
|
-
attr_accessor :cancel_requested
|
817
|
-
alias_method :cancel_requested?, :cancel_requested
|
818
|
-
|
819
|
-
# The time the operation was created.
|
820
|
-
# Corresponds to the JSON property `createTime`
|
821
|
-
# @return [String]
|
822
|
-
attr_accessor :create_time
|
823
|
-
|
824
|
-
# The time the operation finished running.
|
825
|
-
# Corresponds to the JSON property `endTime`
|
826
|
-
# @return [String]
|
827
|
-
attr_accessor :end_time
|
828
|
-
|
829
|
-
# The operation type.
|
830
|
-
# Corresponds to the JSON property `operationType`
|
831
|
-
# @return [String]
|
832
|
-
attr_accessor :operation_type
|
833
|
-
|
834
|
-
# The original request that started the operation.
|
835
|
-
# Corresponds to the JSON property `requestResource`
|
836
|
-
# @return [Hash<String,Object>]
|
837
|
-
attr_accessor :request_resource
|
838
|
-
|
839
|
-
# An identifier for Firebase function sources. Disclaimer: This field is only
|
840
|
-
# supported for Firebase function deployments.
|
841
|
-
# Corresponds to the JSON property `sourceToken`
|
842
|
-
# @return [String]
|
843
|
-
attr_accessor :source_token
|
844
|
-
|
845
|
-
# Mechanism for reporting in-progress stages
|
846
|
-
# Corresponds to the JSON property `stages`
|
847
|
-
# @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage>]
|
848
|
-
attr_accessor :stages
|
849
|
-
|
850
|
-
# Human-readable status of the operation, if any.
|
851
|
-
# Corresponds to the JSON property `statusDetail`
|
852
|
-
# @return [String]
|
853
|
-
attr_accessor :status_detail
|
854
|
-
|
855
|
-
# Server-defined resource path for the target of the operation.
|
856
|
-
# Corresponds to the JSON property `target`
|
857
|
-
# @return [String]
|
858
|
-
attr_accessor :target
|
859
|
-
|
860
|
-
# Name of the verb executed by the operation.
|
861
|
-
# Corresponds to the JSON property `verb`
|
862
|
-
# @return [String]
|
863
|
-
attr_accessor :verb
|
864
|
-
|
865
|
-
def initialize(**args)
|
866
|
-
update!(**args)
|
867
|
-
end
|
868
|
-
|
869
|
-
# Update properties of this object
|
870
|
-
def update!(**args)
|
871
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
872
|
-
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
873
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
874
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
875
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
876
|
-
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
877
|
-
@source_token = args[:source_token] if args.key?(:source_token)
|
878
|
-
@stages = args[:stages] if args.key?(:stages)
|
879
|
-
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
880
|
-
@target = args[:target] if args.key?(:target)
|
881
|
-
@verb = args[:verb] if args.key?(:verb)
|
882
|
-
end
|
883
|
-
end
|
884
|
-
|
885
|
-
# Each Stage of the deployment process
|
886
|
-
class GoogleCloudFunctionsV2Stage
|
887
|
-
include Google::Apis::Core::Hashable
|
888
|
-
|
889
|
-
# Message describing the Stage
|
890
|
-
# Corresponds to the JSON property `message`
|
891
|
-
# @return [String]
|
892
|
-
attr_accessor :message
|
893
|
-
|
894
|
-
# Name of the Stage. This will be unique for each Stage.
|
895
|
-
# Corresponds to the JSON property `name`
|
896
|
-
# @return [String]
|
897
|
-
attr_accessor :name
|
898
|
-
|
899
|
-
# Resource of the Stage
|
900
|
-
# Corresponds to the JSON property `resource`
|
901
|
-
# @return [String]
|
902
|
-
attr_accessor :resource
|
903
|
-
|
904
|
-
# Link to the current Stage resource
|
905
|
-
# Corresponds to the JSON property `resourceUri`
|
906
|
-
# @return [String]
|
907
|
-
attr_accessor :resource_uri
|
908
|
-
|
909
|
-
# Current state of the Stage
|
910
|
-
# Corresponds to the JSON property `state`
|
911
|
-
# @return [String]
|
912
|
-
attr_accessor :state
|
913
|
-
|
914
|
-
# State messages from the current Stage.
|
915
|
-
# Corresponds to the JSON property `stateMessages`
|
916
|
-
# @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage>]
|
917
|
-
attr_accessor :state_messages
|
918
|
-
|
919
|
-
def initialize(**args)
|
920
|
-
update!(**args)
|
921
|
-
end
|
922
|
-
|
923
|
-
# Update properties of this object
|
924
|
-
def update!(**args)
|
925
|
-
@message = args[:message] if args.key?(:message)
|
926
|
-
@name = args[:name] if args.key?(:name)
|
927
|
-
@resource = args[:resource] if args.key?(:resource)
|
928
|
-
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
929
|
-
@state = args[:state] if args.key?(:state)
|
930
|
-
@state_messages = args[:state_messages] if args.key?(:state_messages)
|
931
|
-
end
|
932
|
-
end
|
933
|
-
|
934
|
-
# Informational messages about the state of the Cloud Function or Operation.
|
935
|
-
class GoogleCloudFunctionsV2StateMessage
|
936
|
-
include Google::Apis::Core::Hashable
|
937
|
-
|
938
|
-
# The message.
|
939
|
-
# Corresponds to the JSON property `message`
|
940
|
-
# @return [String]
|
941
|
-
attr_accessor :message
|
942
|
-
|
943
|
-
# Severity of the state message.
|
944
|
-
# Corresponds to the JSON property `severity`
|
945
|
-
# @return [String]
|
946
|
-
attr_accessor :severity
|
947
|
-
|
948
|
-
# One-word CamelCase type of the state message.
|
949
|
-
# Corresponds to the JSON property `type`
|
950
|
-
# @return [String]
|
951
|
-
attr_accessor :type
|
952
|
-
|
953
|
-
def initialize(**args)
|
954
|
-
update!(**args)
|
955
|
-
end
|
956
|
-
|
957
|
-
# Update properties of this object
|
958
|
-
def update!(**args)
|
959
|
-
@message = args[:message] if args.key?(:message)
|
960
|
-
@severity = args[:severity] if args.key?(:severity)
|
961
|
-
@type = args[:type] if args.key?(:type)
|
962
|
-
end
|
963
|
-
end
|
964
|
-
|
965
782
|
# Extra GCF specific location information.
|
966
783
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
967
784
|
include Google::Apis::Core::Hashable
|
@@ -990,6 +807,11 @@ module Google
|
|
990
807
|
# @return [String]
|
991
808
|
attr_accessor :api_version
|
992
809
|
|
810
|
+
# The build name of the function for create and update operations.
|
811
|
+
# Corresponds to the JSON property `buildName`
|
812
|
+
# @return [String]
|
813
|
+
attr_accessor :build_name
|
814
|
+
|
993
815
|
# Identifies whether the user has requested cancellation of the operation.
|
994
816
|
# Operations that have successfully been cancelled have google.longrunning.
|
995
817
|
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
@@ -1052,6 +874,7 @@ module Google
|
|
1052
874
|
# Update properties of this object
|
1053
875
|
def update!(**args)
|
1054
876
|
@api_version = args[:api_version] if args.key?(:api_version)
|
877
|
+
@build_name = args[:build_name] if args.key?(:build_name)
|
1055
878
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1056
879
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1057
880
|
@end_time = args[:end_time] if args.key?(:end_time)
|
@@ -1145,189 +968,6 @@ module Google
|
|
1145
968
|
end
|
1146
969
|
end
|
1147
970
|
|
1148
|
-
# Extra GCF specific location information.
|
1149
|
-
class GoogleCloudFunctionsV2betaLocationMetadata
|
1150
|
-
include Google::Apis::Core::Hashable
|
1151
|
-
|
1152
|
-
# The Cloud Function environments this location supports.
|
1153
|
-
# Corresponds to the JSON property `environments`
|
1154
|
-
# @return [Array<String>]
|
1155
|
-
attr_accessor :environments
|
1156
|
-
|
1157
|
-
def initialize(**args)
|
1158
|
-
update!(**args)
|
1159
|
-
end
|
1160
|
-
|
1161
|
-
# Update properties of this object
|
1162
|
-
def update!(**args)
|
1163
|
-
@environments = args[:environments] if args.key?(:environments)
|
1164
|
-
end
|
1165
|
-
end
|
1166
|
-
|
1167
|
-
# Represents the metadata of the long-running operation.
|
1168
|
-
class GoogleCloudFunctionsV2betaOperationMetadata
|
1169
|
-
include Google::Apis::Core::Hashable
|
1170
|
-
|
1171
|
-
# API version used to start the operation.
|
1172
|
-
# Corresponds to the JSON property `apiVersion`
|
1173
|
-
# @return [String]
|
1174
|
-
attr_accessor :api_version
|
1175
|
-
|
1176
|
-
# Identifies whether the user has requested cancellation of the operation.
|
1177
|
-
# Operations that have successfully been cancelled have google.longrunning.
|
1178
|
-
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
1179
|
-
# Code.CANCELLED`.
|
1180
|
-
# Corresponds to the JSON property `cancelRequested`
|
1181
|
-
# @return [Boolean]
|
1182
|
-
attr_accessor :cancel_requested
|
1183
|
-
alias_method :cancel_requested?, :cancel_requested
|
1184
|
-
|
1185
|
-
# The time the operation was created.
|
1186
|
-
# Corresponds to the JSON property `createTime`
|
1187
|
-
# @return [String]
|
1188
|
-
attr_accessor :create_time
|
1189
|
-
|
1190
|
-
# The time the operation finished running.
|
1191
|
-
# Corresponds to the JSON property `endTime`
|
1192
|
-
# @return [String]
|
1193
|
-
attr_accessor :end_time
|
1194
|
-
|
1195
|
-
# The operation type.
|
1196
|
-
# Corresponds to the JSON property `operationType`
|
1197
|
-
# @return [String]
|
1198
|
-
attr_accessor :operation_type
|
1199
|
-
|
1200
|
-
# The original request that started the operation.
|
1201
|
-
# Corresponds to the JSON property `requestResource`
|
1202
|
-
# @return [Hash<String,Object>]
|
1203
|
-
attr_accessor :request_resource
|
1204
|
-
|
1205
|
-
# An identifier for Firebase function sources. Disclaimer: This field is only
|
1206
|
-
# supported for Firebase function deployments.
|
1207
|
-
# Corresponds to the JSON property `sourceToken`
|
1208
|
-
# @return [String]
|
1209
|
-
attr_accessor :source_token
|
1210
|
-
|
1211
|
-
# Mechanism for reporting in-progress stages
|
1212
|
-
# Corresponds to the JSON property `stages`
|
1213
|
-
# @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStage>]
|
1214
|
-
attr_accessor :stages
|
1215
|
-
|
1216
|
-
# Human-readable status of the operation, if any.
|
1217
|
-
# Corresponds to the JSON property `statusDetail`
|
1218
|
-
# @return [String]
|
1219
|
-
attr_accessor :status_detail
|
1220
|
-
|
1221
|
-
# Server-defined resource path for the target of the operation.
|
1222
|
-
# Corresponds to the JSON property `target`
|
1223
|
-
# @return [String]
|
1224
|
-
attr_accessor :target
|
1225
|
-
|
1226
|
-
# Name of the verb executed by the operation.
|
1227
|
-
# Corresponds to the JSON property `verb`
|
1228
|
-
# @return [String]
|
1229
|
-
attr_accessor :verb
|
1230
|
-
|
1231
|
-
def initialize(**args)
|
1232
|
-
update!(**args)
|
1233
|
-
end
|
1234
|
-
|
1235
|
-
# Update properties of this object
|
1236
|
-
def update!(**args)
|
1237
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
1238
|
-
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1239
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1240
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
1241
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
1242
|
-
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
1243
|
-
@source_token = args[:source_token] if args.key?(:source_token)
|
1244
|
-
@stages = args[:stages] if args.key?(:stages)
|
1245
|
-
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
1246
|
-
@target = args[:target] if args.key?(:target)
|
1247
|
-
@verb = args[:verb] if args.key?(:verb)
|
1248
|
-
end
|
1249
|
-
end
|
1250
|
-
|
1251
|
-
# Each Stage of the deployment process
|
1252
|
-
class GoogleCloudFunctionsV2betaStage
|
1253
|
-
include Google::Apis::Core::Hashable
|
1254
|
-
|
1255
|
-
# Message describing the Stage
|
1256
|
-
# Corresponds to the JSON property `message`
|
1257
|
-
# @return [String]
|
1258
|
-
attr_accessor :message
|
1259
|
-
|
1260
|
-
# Name of the Stage. This will be unique for each Stage.
|
1261
|
-
# Corresponds to the JSON property `name`
|
1262
|
-
# @return [String]
|
1263
|
-
attr_accessor :name
|
1264
|
-
|
1265
|
-
# Resource of the Stage
|
1266
|
-
# Corresponds to the JSON property `resource`
|
1267
|
-
# @return [String]
|
1268
|
-
attr_accessor :resource
|
1269
|
-
|
1270
|
-
# Link to the current Stage resource
|
1271
|
-
# Corresponds to the JSON property `resourceUri`
|
1272
|
-
# @return [String]
|
1273
|
-
attr_accessor :resource_uri
|
1274
|
-
|
1275
|
-
# Current state of the Stage
|
1276
|
-
# Corresponds to the JSON property `state`
|
1277
|
-
# @return [String]
|
1278
|
-
attr_accessor :state
|
1279
|
-
|
1280
|
-
# State messages from the current Stage.
|
1281
|
-
# Corresponds to the JSON property `stateMessages`
|
1282
|
-
# @return [Array<Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStateMessage>]
|
1283
|
-
attr_accessor :state_messages
|
1284
|
-
|
1285
|
-
def initialize(**args)
|
1286
|
-
update!(**args)
|
1287
|
-
end
|
1288
|
-
|
1289
|
-
# Update properties of this object
|
1290
|
-
def update!(**args)
|
1291
|
-
@message = args[:message] if args.key?(:message)
|
1292
|
-
@name = args[:name] if args.key?(:name)
|
1293
|
-
@resource = args[:resource] if args.key?(:resource)
|
1294
|
-
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
1295
|
-
@state = args[:state] if args.key?(:state)
|
1296
|
-
@state_messages = args[:state_messages] if args.key?(:state_messages)
|
1297
|
-
end
|
1298
|
-
end
|
1299
|
-
|
1300
|
-
# Informational messages about the state of the Cloud Function or Operation.
|
1301
|
-
class GoogleCloudFunctionsV2betaStateMessage
|
1302
|
-
include Google::Apis::Core::Hashable
|
1303
|
-
|
1304
|
-
# The message.
|
1305
|
-
# Corresponds to the JSON property `message`
|
1306
|
-
# @return [String]
|
1307
|
-
attr_accessor :message
|
1308
|
-
|
1309
|
-
# Severity of the state message.
|
1310
|
-
# Corresponds to the JSON property `severity`
|
1311
|
-
# @return [String]
|
1312
|
-
attr_accessor :severity
|
1313
|
-
|
1314
|
-
# One-word CamelCase type of the state message.
|
1315
|
-
# Corresponds to the JSON property `type`
|
1316
|
-
# @return [String]
|
1317
|
-
attr_accessor :type
|
1318
|
-
|
1319
|
-
def initialize(**args)
|
1320
|
-
update!(**args)
|
1321
|
-
end
|
1322
|
-
|
1323
|
-
# Update properties of this object
|
1324
|
-
def update!(**args)
|
1325
|
-
@message = args[:message] if args.key?(:message)
|
1326
|
-
@severity = args[:severity] if args.key?(:severity)
|
1327
|
-
@type = args[:type] if args.key?(:type)
|
1328
|
-
end
|
1329
|
-
end
|
1330
|
-
|
1331
971
|
# Response for the `ListFunctions` method.
|
1332
972
|
class ListFunctionsResponse
|
1333
973
|
include Google::Apis::Core::Hashable
|
@@ -2022,6 +1662,12 @@ module Google
|
|
2022
1662
|
# @return [String]
|
2023
1663
|
attr_accessor :available_memory
|
2024
1664
|
|
1665
|
+
# Optional. The binary authorization policy to be checked when deploying the
|
1666
|
+
# Cloud Run service.
|
1667
|
+
# Corresponds to the JSON property `binaryAuthorizationPolicy`
|
1668
|
+
# @return [String]
|
1669
|
+
attr_accessor :binary_authorization_policy
|
1670
|
+
|
2025
1671
|
# Environment variables that shall be available during function execution.
|
2026
1672
|
# Corresponds to the JSON property `environmentVariables`
|
2027
1673
|
# @return [Hash<String,String>]
|
@@ -2128,6 +1774,7 @@ module Google
|
|
2128
1774
|
@all_traffic_on_latest_revision = args[:all_traffic_on_latest_revision] if args.key?(:all_traffic_on_latest_revision)
|
2129
1775
|
@available_cpu = args[:available_cpu] if args.key?(:available_cpu)
|
2130
1776
|
@available_memory = args[:available_memory] if args.key?(:available_memory)
|
1777
|
+
@binary_authorization_policy = args[:binary_authorization_policy] if args.key?(:binary_authorization_policy)
|
2131
1778
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
2132
1779
|
@ingress_settings = args[:ingress_settings] if args.key?(:ingress_settings)
|
2133
1780
|
@max_instance_count = args[:max_instance_count] if args.key?(:max_instance_count)
|
@@ -2338,6 +1985,12 @@ module Google
|
|
2338
1985
|
# @return [String]
|
2339
1986
|
attr_accessor :object
|
2340
1987
|
|
1988
|
+
# When the specified storage bucket is a 1st gen function uploard url bucket,
|
1989
|
+
# this field should be set as the generated upload url for 1st gen deployment.
|
1990
|
+
# Corresponds to the JSON property `sourceUploadUrl`
|
1991
|
+
# @return [String]
|
1992
|
+
attr_accessor :source_upload_url
|
1993
|
+
|
2341
1994
|
def initialize(**args)
|
2342
1995
|
update!(**args)
|
2343
1996
|
end
|
@@ -2347,6 +2000,7 @@ module Google
|
|
2347
2000
|
@bucket = args[:bucket] if args.key?(:bucket)
|
2348
2001
|
@generation = args[:generation] if args.key?(:generation)
|
2349
2002
|
@object = args[:object] if args.key?(:object)
|
2003
|
+
@source_upload_url = args[:source_upload_url] if args.key?(:source_upload_url)
|
2350
2004
|
end
|
2351
2005
|
end
|
2352
2006
|
|
@@ -2391,7 +2045,8 @@ module Google
|
|
2391
2045
|
end
|
2392
2046
|
|
2393
2047
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
2394
|
-
# migration * Current state of migration for function
|
2048
|
+
# migration and 2nd Gen to CRf detach. * Current state of migration for function
|
2049
|
+
# undergoing migration/detach.
|
2395
2050
|
class UpgradeInfo
|
2396
2051
|
include Google::Apis::Core::Hashable
|
2397
2052
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudfunctionsV2alpha
|
18
18
|
# Version of the google-apis-cloudfunctions_v2alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241117"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,30 +118,6 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class GoogleCloudFunctionsV2LocationMetadata
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
-
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
125
|
-
end
|
126
|
-
|
127
|
-
class GoogleCloudFunctionsV2OperationMetadata
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
-
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
131
|
-
end
|
132
|
-
|
133
|
-
class GoogleCloudFunctionsV2Stage
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
-
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
137
|
-
end
|
138
|
-
|
139
|
-
class GoogleCloudFunctionsV2StateMessage
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
121
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
146
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
123
|
|
@@ -166,30 +142,6 @@ module Google
|
|
166
142
|
include Google::Apis::Core::JsonObjectSupport
|
167
143
|
end
|
168
144
|
|
169
|
-
class GoogleCloudFunctionsV2betaLocationMetadata
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
-
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
173
|
-
end
|
174
|
-
|
175
|
-
class GoogleCloudFunctionsV2betaOperationMetadata
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
|
-
class GoogleCloudFunctionsV2betaStage
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
|
-
class GoogleCloudFunctionsV2betaStateMessage
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
145
|
class ListFunctionsResponse
|
194
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
147
|
|
@@ -514,53 +466,6 @@ module Google
|
|
514
466
|
end
|
515
467
|
end
|
516
468
|
|
517
|
-
class GoogleCloudFunctionsV2LocationMetadata
|
518
|
-
# @private
|
519
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
520
|
-
collection :environments, as: 'environments'
|
521
|
-
end
|
522
|
-
end
|
523
|
-
|
524
|
-
class GoogleCloudFunctionsV2OperationMetadata
|
525
|
-
# @private
|
526
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
-
property :api_version, as: 'apiVersion'
|
528
|
-
property :cancel_requested, as: 'cancelRequested'
|
529
|
-
property :create_time, as: 'createTime'
|
530
|
-
property :end_time, as: 'endTime'
|
531
|
-
property :operation_type, as: 'operationType'
|
532
|
-
hash :request_resource, as: 'requestResource'
|
533
|
-
property :source_token, as: 'sourceToken'
|
534
|
-
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2Stage::Representation
|
535
|
-
|
536
|
-
property :status_detail, as: 'statusDetail'
|
537
|
-
property :target, as: 'target'
|
538
|
-
property :verb, as: 'verb'
|
539
|
-
end
|
540
|
-
end
|
541
|
-
|
542
|
-
class GoogleCloudFunctionsV2Stage
|
543
|
-
# @private
|
544
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
-
property :message, as: 'message'
|
546
|
-
property :name, as: 'name'
|
547
|
-
property :resource, as: 'resource'
|
548
|
-
property :resource_uri, as: 'resourceUri'
|
549
|
-
property :state, as: 'state'
|
550
|
-
collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2StateMessage::Representation
|
551
|
-
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
|
-
class GoogleCloudFunctionsV2StateMessage
|
556
|
-
# @private
|
557
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
558
|
-
property :message, as: 'message'
|
559
|
-
property :severity, as: 'severity'
|
560
|
-
property :type, as: 'type'
|
561
|
-
end
|
562
|
-
end
|
563
|
-
|
564
469
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
565
470
|
# @private
|
566
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -572,6 +477,7 @@ module Google
|
|
572
477
|
# @private
|
573
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
574
479
|
property :api_version, as: 'apiVersion'
|
480
|
+
property :build_name, as: 'buildName'
|
575
481
|
property :cancel_requested, as: 'cancelRequested'
|
576
482
|
property :create_time, as: 'createTime'
|
577
483
|
property :end_time, as: 'endTime'
|
@@ -608,53 +514,6 @@ module Google
|
|
608
514
|
end
|
609
515
|
end
|
610
516
|
|
611
|
-
class GoogleCloudFunctionsV2betaLocationMetadata
|
612
|
-
# @private
|
613
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
614
|
-
collection :environments, as: 'environments'
|
615
|
-
end
|
616
|
-
end
|
617
|
-
|
618
|
-
class GoogleCloudFunctionsV2betaOperationMetadata
|
619
|
-
# @private
|
620
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
621
|
-
property :api_version, as: 'apiVersion'
|
622
|
-
property :cancel_requested, as: 'cancelRequested'
|
623
|
-
property :create_time, as: 'createTime'
|
624
|
-
property :end_time, as: 'endTime'
|
625
|
-
property :operation_type, as: 'operationType'
|
626
|
-
hash :request_resource, as: 'requestResource'
|
627
|
-
property :source_token, as: 'sourceToken'
|
628
|
-
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStage::Representation
|
629
|
-
|
630
|
-
property :status_detail, as: 'statusDetail'
|
631
|
-
property :target, as: 'target'
|
632
|
-
property :verb, as: 'verb'
|
633
|
-
end
|
634
|
-
end
|
635
|
-
|
636
|
-
class GoogleCloudFunctionsV2betaStage
|
637
|
-
# @private
|
638
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
639
|
-
property :message, as: 'message'
|
640
|
-
property :name, as: 'name'
|
641
|
-
property :resource, as: 'resource'
|
642
|
-
property :resource_uri, as: 'resourceUri'
|
643
|
-
property :state, as: 'state'
|
644
|
-
collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStateMessage, decorator: Google::Apis::CloudfunctionsV2alpha::GoogleCloudFunctionsV2betaStateMessage::Representation
|
645
|
-
|
646
|
-
end
|
647
|
-
end
|
648
|
-
|
649
|
-
class GoogleCloudFunctionsV2betaStateMessage
|
650
|
-
# @private
|
651
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
-
property :message, as: 'message'
|
653
|
-
property :severity, as: 'severity'
|
654
|
-
property :type, as: 'type'
|
655
|
-
end
|
656
|
-
end
|
657
|
-
|
658
517
|
class ListFunctionsResponse
|
659
518
|
# @private
|
660
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -821,6 +680,7 @@ module Google
|
|
821
680
|
property :all_traffic_on_latest_revision, as: 'allTrafficOnLatestRevision'
|
822
681
|
property :available_cpu, as: 'availableCpu'
|
823
682
|
property :available_memory, as: 'availableMemory'
|
683
|
+
property :binary_authorization_policy, as: 'binaryAuthorizationPolicy'
|
824
684
|
hash :environment_variables, as: 'environmentVariables'
|
825
685
|
property :ingress_settings, as: 'ingressSettings'
|
826
686
|
property :max_instance_count, as: 'maxInstanceCount'
|
@@ -893,6 +753,7 @@ module Google
|
|
893
753
|
property :bucket, as: 'bucket'
|
894
754
|
property :generation, :numeric_string => true, as: 'generation'
|
895
755
|
property :object, as: 'object'
|
756
|
+
property :source_upload_url, as: 'sourceUploadUrl'
|
896
757
|
end
|
897
758
|
end
|
898
759
|
|
@@ -463,8 +463,8 @@ module Google
|
|
463
463
|
# and match pattern `projects/*/locations/*/functions/*`
|
464
464
|
# @param [Google::Apis::CloudfunctionsV2alpha::Function] function_object
|
465
465
|
# @param [String] update_mask
|
466
|
-
# The list of fields to be updated. If no field mask is provided, all
|
467
|
-
#
|
466
|
+
# The list of fields to be updated. If no field mask is provided, all fields
|
467
|
+
# will be updated.
|
468
468
|
# @param [String] fields
|
469
469
|
# Selector specifying which fields to include in a partial response.
|
470
470
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudfunctions_v2alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Functions API V2alpha
|