google-apis-cloudfunctions_v2alpha 0.47.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/apis/cloudfunctions_v2alpha/classes.rb +46 -384
- data/lib/google/apis/cloudfunctions_v2alpha/gem_version.rb +3 -3
- data/lib/google/apis/cloudfunctions_v2alpha/representations.rb +14 -142
- data/lib/google/apis/cloudfunctions_v2alpha/service.rb +36 -3
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92b1688bd1241bae85748d964b96739ed69485a8c0f79240f8f1fde633e16423
|
4
|
+
data.tar.gz: 8b605bd4e2c56a10ce067cc5595f1c9137364c65c72ace84eef00a7ae1580996
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2b3649317029dfd04d6dacdee30f03c3078b8080239563cdab1059a17d93caa22d723ad5abb46cc8afd3d1c27a15337c789edb2a9f0378ae3cef2d0e560f28b
|
7
|
+
data.tar.gz: 7c88e7777759fcc81c70029e3b91ba349377e5a98ac0234a13b6fd00028095c42e381232a2b6356fa55c7c3be4f4443e5123a65ea37ad56dbeb1fac55d320ee2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v2alpha
|
2
2
|
|
3
|
+
### v0.49.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250130
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.48.0 (2024-12-02)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241117
|
11
|
+
* Regenerated using generator version 0.15.1
|
12
|
+
|
3
13
|
### v0.47.0 (2024-06-02)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240523
|
@@ -240,7 +240,10 @@ module Google
|
|
240
240
|
|
241
241
|
# Docker Registry to use for this deployment. This configuration is only
|
242
242
|
# applicable to 1st Gen functions, 2nd Gen functions can only use Artifact
|
243
|
-
# Registry.
|
243
|
+
# Registry. Deprecated: Container Registry option will no longer be available
|
244
|
+
# after March 2025: https://cloud.google.com/artifact-registry/docs/transition/
|
245
|
+
# transition-from-gcr Please use Artifact Registry instead, which is the default
|
246
|
+
# choice. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `
|
244
247
|
# docker_repository` field is specified, this field should either be left
|
245
248
|
# unspecified or set to `ARTIFACT_REGISTRY`.
|
246
249
|
# Corresponds to the JSON property `dockerRegistry`
|
@@ -252,9 +255,7 @@ module Google
|
|
252
255
|
# and managed by user with a customer managed encryption key. Otherwise, GCF
|
253
256
|
# will create and use a repository named 'gcf-artifacts' for every deployed
|
254
257
|
# 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'.
|
258
|
+
# repositories/`repository``. Repository format must be 'DOCKER'.
|
258
259
|
# Corresponds to the JSON property `dockerRepository`
|
259
260
|
# @return [String]
|
260
261
|
attr_accessor :docker_repository
|
@@ -286,7 +287,8 @@ module Google
|
|
286
287
|
# @return [String]
|
287
288
|
attr_accessor :runtime
|
288
289
|
|
289
|
-
#
|
290
|
+
# Service account to be used for building the container. The format of this
|
291
|
+
# field is `projects/`projectId`/serviceAccounts/`serviceAccountEmail``.
|
290
292
|
# Corresponds to the JSON property `serviceAccount`
|
291
293
|
# @return [String]
|
292
294
|
attr_accessor :service_account
|
@@ -396,6 +398,19 @@ module Google
|
|
396
398
|
end
|
397
399
|
end
|
398
400
|
|
401
|
+
# Request for the `DetachFunction` method.
|
402
|
+
class DetachFunctionRequest
|
403
|
+
include Google::Apis::Core::Hashable
|
404
|
+
|
405
|
+
def initialize(**args)
|
406
|
+
update!(**args)
|
407
|
+
end
|
408
|
+
|
409
|
+
# Update properties of this object
|
410
|
+
def update!(**args)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
399
414
|
# Filters events based on exact matches on the CloudEvents attributes.
|
400
415
|
class EventFilter
|
401
416
|
include Google::Apis::Core::Hashable
|
@@ -602,9 +617,9 @@ module Google
|
|
602
617
|
# @return [Google::Apis::CloudfunctionsV2alpha::EventTrigger]
|
603
618
|
attr_accessor :event_trigger
|
604
619
|
|
605
|
-
#
|
606
|
-
#
|
607
|
-
#
|
620
|
+
# Resource name of a KMS crypto key (managed by the user) used to encrypt/
|
621
|
+
# decrypt function resources. It must match the pattern `projects/`project`/
|
622
|
+
# locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
|
608
623
|
# Corresponds to the JSON property `kmsKeyName`
|
609
624
|
# @return [String]
|
610
625
|
attr_accessor :kms_key_name
|
@@ -620,6 +635,12 @@ module Google
|
|
620
635
|
# @return [String]
|
621
636
|
attr_accessor :name
|
622
637
|
|
638
|
+
# Output only. Reserved for future use.
|
639
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
640
|
+
# @return [Boolean]
|
641
|
+
attr_accessor :satisfies_pzi
|
642
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
643
|
+
|
623
644
|
# Output only. Reserved for future use.
|
624
645
|
# Corresponds to the JSON property `satisfiesPzs`
|
625
646
|
# @return [Boolean]
|
@@ -648,7 +669,7 @@ module Google
|
|
648
669
|
attr_accessor :update_time
|
649
670
|
|
650
671
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
651
|
-
# migration * Current state of migration for function undergoing migration.
|
672
|
+
# migration. * Current state of migration for function undergoing migration.
|
652
673
|
# Corresponds to the JSON property `upgradeInfo`
|
653
674
|
# @return [Google::Apis::CloudfunctionsV2alpha::UpgradeInfo]
|
654
675
|
attr_accessor :upgrade_info
|
@@ -672,6 +693,7 @@ module Google
|
|
672
693
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
673
694
|
@labels = args[:labels] if args.key?(:labels)
|
674
695
|
@name = args[:name] if args.key?(:name)
|
696
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
675
697
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
676
698
|
@service_config = args[:service_config] if args.key?(:service_config)
|
677
699
|
@state = args[:state] if args.key?(:state)
|
@@ -726,14 +748,14 @@ module Google
|
|
726
748
|
# @return [String]
|
727
749
|
attr_accessor :environment
|
728
750
|
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
732
|
-
#
|
733
|
-
#
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
751
|
+
# Resource name of a KMS crypto key (managed by the user) used to encrypt/
|
752
|
+
# decrypt function source code objects in intermediate Cloud Storage buckets.
|
753
|
+
# When you generate an upload url and upload your source code, it gets copied to
|
754
|
+
# an intermediate Cloud Storage bucket. The source code is then copied to a
|
755
|
+
# versioned directory in the sources bucket in the consumer project during the
|
756
|
+
# function deployment. It must match the pattern `projects/`project`/locations/`
|
757
|
+
# location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. The Google Cloud
|
758
|
+
# Functions service account (service-`project_number`@gcf-admin-robot.iam.
|
737
759
|
# gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/
|
738
760
|
# Decrypter (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/
|
739
761
|
# Project/Organization (least access preferred).
|
@@ -779,189 +801,6 @@ module Google
|
|
779
801
|
end
|
780
802
|
end
|
781
803
|
|
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
804
|
# Extra GCF specific location information.
|
966
805
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
967
806
|
include Google::Apis::Core::Hashable
|
@@ -990,6 +829,11 @@ module Google
|
|
990
829
|
# @return [String]
|
991
830
|
attr_accessor :api_version
|
992
831
|
|
832
|
+
# The build name of the function for create and update operations.
|
833
|
+
# Corresponds to the JSON property `buildName`
|
834
|
+
# @return [String]
|
835
|
+
attr_accessor :build_name
|
836
|
+
|
993
837
|
# Identifies whether the user has requested cancellation of the operation.
|
994
838
|
# Operations that have successfully been cancelled have google.longrunning.
|
995
839
|
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
@@ -1052,6 +896,7 @@ module Google
|
|
1052
896
|
# Update properties of this object
|
1053
897
|
def update!(**args)
|
1054
898
|
@api_version = args[:api_version] if args.key?(:api_version)
|
899
|
+
@build_name = args[:build_name] if args.key?(:build_name)
|
1055
900
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
1056
901
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1057
902
|
@end_time = args[:end_time] if args.key?(:end_time)
|
@@ -1145,189 +990,6 @@ module Google
|
|
1145
990
|
end
|
1146
991
|
end
|
1147
992
|
|
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
993
|
# Response for the `ListFunctions` method.
|
1332
994
|
class ListFunctionsResponse
|
1333
995
|
include Google::Apis::Core::Hashable
|
@@ -2405,7 +2067,7 @@ module Google
|
|
2405
2067
|
end
|
2406
2068
|
|
2407
2069
|
# Information related to: * A function's eligibility for 1st Gen to 2nd Gen
|
2408
|
-
# migration * Current state of migration for function undergoing migration.
|
2070
|
+
# migration. * Current state of migration for function undergoing migration.
|
2409
2071
|
class UpgradeInfo
|
2410
2072
|
include Google::Apis::Core::Hashable
|
2411
2073
|
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250130"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class DetachFunctionRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class EventFilter
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -118,30 +124,6 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
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
127
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
146
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
129
|
|
@@ -166,30 +148,6 @@ module Google
|
|
166
148
|
include Google::Apis::Core::JsonObjectSupport
|
167
149
|
end
|
168
150
|
|
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
151
|
class ListFunctionsResponse
|
194
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
153
|
|
@@ -423,6 +381,12 @@ module Google
|
|
423
381
|
end
|
424
382
|
end
|
425
383
|
|
384
|
+
class DetachFunctionRequest
|
385
|
+
# @private
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
426
390
|
class EventFilter
|
427
391
|
# @private
|
428
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -471,6 +435,7 @@ module Google
|
|
471
435
|
property :kms_key_name, as: 'kmsKeyName'
|
472
436
|
hash :labels, as: 'labels'
|
473
437
|
property :name, as: 'name'
|
438
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
474
439
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
475
440
|
property :service_config, as: 'serviceConfig', class: Google::Apis::CloudfunctionsV2alpha::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2alpha::ServiceConfig::Representation
|
476
441
|
|
@@ -514,53 +479,6 @@ module Google
|
|
514
479
|
end
|
515
480
|
end
|
516
481
|
|
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
482
|
class GoogleCloudFunctionsV2alphaLocationMetadata
|
565
483
|
# @private
|
566
484
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -572,6 +490,7 @@ module Google
|
|
572
490
|
# @private
|
573
491
|
class Representation < Google::Apis::Core::JsonRepresentation
|
574
492
|
property :api_version, as: 'apiVersion'
|
493
|
+
property :build_name, as: 'buildName'
|
575
494
|
property :cancel_requested, as: 'cancelRequested'
|
576
495
|
property :create_time, as: 'createTime'
|
577
496
|
property :end_time, as: 'endTime'
|
@@ -608,53 +527,6 @@ module Google
|
|
608
527
|
end
|
609
528
|
end
|
610
529
|
|
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
530
|
class ListFunctionsResponse
|
659
531
|
# @private
|
660
532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -237,6 +237,39 @@ module Google
|
|
237
237
|
execute_or_queue_command(command, &block)
|
238
238
|
end
|
239
239
|
|
240
|
+
# Detaches 2nd Gen function to Cloud Run function.
|
241
|
+
# @param [String] name
|
242
|
+
# Required. The name of the function for which should be detached.
|
243
|
+
# @param [Google::Apis::CloudfunctionsV2alpha::DetachFunctionRequest] detach_function_request_object
|
244
|
+
# @param [String] fields
|
245
|
+
# Selector specifying which fields to include in a partial response.
|
246
|
+
# @param [String] quota_user
|
247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
249
|
+
# @param [Google::Apis::RequestOptions] options
|
250
|
+
# Request-specific options
|
251
|
+
#
|
252
|
+
# @yield [result, err] Result & error if block supplied
|
253
|
+
# @yieldparam result [Google::Apis::CloudfunctionsV2alpha::Operation] parsed result object
|
254
|
+
# @yieldparam err [StandardError] error object if request failed
|
255
|
+
#
|
256
|
+
# @return [Google::Apis::CloudfunctionsV2alpha::Operation]
|
257
|
+
#
|
258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
|
+
def detach_function(name, detach_function_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
262
|
+
command = make_simple_command(:post, 'v2alpha/{+name}:detachFunction', options)
|
263
|
+
command.request_representation = Google::Apis::CloudfunctionsV2alpha::DetachFunctionRequest::Representation
|
264
|
+
command.request_object = detach_function_request_object
|
265
|
+
command.response_representation = Google::Apis::CloudfunctionsV2alpha::Operation::Representation
|
266
|
+
command.response_class = Google::Apis::CloudfunctionsV2alpha::Operation
|
267
|
+
command.params['name'] = name unless name.nil?
|
268
|
+
command.query['fields'] = fields unless fields.nil?
|
269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
270
|
+
execute_or_queue_command(command, &block)
|
271
|
+
end
|
272
|
+
|
240
273
|
# Returns a signed URL for downloading deployed function source code. The URL is
|
241
274
|
# only valid for a limited period and should be used within 30 minutes of
|
242
275
|
# generation. For more information about the signed URL usage see: https://cloud.
|
@@ -415,7 +448,7 @@ module Google
|
|
415
448
|
# syntax outlined in https://google.aip.dev/160.
|
416
449
|
# @param [String] order_by
|
417
450
|
# The sorting order of the resources returned. Value should be a comma separated
|
418
|
-
# list of fields. The default sorting
|
451
|
+
# list of fields. The default sorting order is ascending. See https://google.aip.
|
419
452
|
# dev/132#ordering.
|
420
453
|
# @param [Fixnum] page_size
|
421
454
|
# Maximum number of functions to return per call. The largest allowed page_size
|
@@ -463,8 +496,8 @@ module Google
|
|
463
496
|
# and match pattern `projects/*/locations/*/functions/*`
|
464
497
|
# @param [Google::Apis::CloudfunctionsV2alpha::Function] function_object
|
465
498
|
# @param [String] update_mask
|
466
|
-
# The list of fields to be updated. If no field mask is provided, all
|
467
|
-
#
|
499
|
+
# The list of fields to be updated. If no field mask is provided, all fields
|
500
|
+
# will be updated.
|
468
501
|
# @param [String] fields
|
469
502
|
# Selector specifying which fields to include in a partial response.
|
470
503
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
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.49.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2alpha/v0.49.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2alpha
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Cloud Functions API V2alpha
|
82
79
|
test_files: []
|