google-apis-cloudfunctions_v2beta 0.44.0 → 0.46.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 +9 -0
- data/lib/google/apis/cloudfunctions_v2beta/classes.rb +38 -383
- data/lib/google/apis/cloudfunctions_v2beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudfunctions_v2beta/representations.rb +3 -142
- data/lib/google/apis/cloudfunctions_v2beta/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: e6e07b803a8826c573b640aa7442a821490f28cb266e5de6f58638cc5e67500a
|
|
4
|
+
data.tar.gz: 4b480344b53ba5dde6eb7b90180bca38f26f38fa216659a6957ae9a8fcae3ce7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd8fe3316d171f1026bb1c238bdb6c65f873afbe2ee0bfe56606633bd1cfaebf7bb2cd4e251aa23aa349a5df4b284b97b04d57a3a8e410bf7e50fb4cd9de84b0
|
|
7
|
+
data.tar.gz: 79d7891793e5e798d7ee845fb46392e59ac61b01419b6b382c2a8754d43c7f5cd1229f5e52fef5a26ccf7fda65ba7039122109f7420bce195ddfa74e5d9a3703
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-cloudfunctions_v2beta
|
|
2
2
|
|
|
3
|
+
### v0.46.0 (2024-12-02)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20241117
|
|
6
|
+
* Regenerated using generator version 0.15.1
|
|
7
|
+
|
|
8
|
+
### v0.45.0 (2024-06-02)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20240523
|
|
11
|
+
|
|
3
12
|
### v0.44.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::CloudfunctionsV2beta::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::CloudfunctionsV2beta::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,372 +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::CloudfunctionsV2beta::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::CloudfunctionsV2beta::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
|
-
# Extra GCF specific location information.
|
|
966
|
-
class GoogleCloudFunctionsV2alphaLocationMetadata
|
|
967
|
-
include Google::Apis::Core::Hashable
|
|
968
|
-
|
|
969
|
-
# The Cloud Function environments this location supports.
|
|
970
|
-
# Corresponds to the JSON property `environments`
|
|
971
|
-
# @return [Array<String>]
|
|
972
|
-
attr_accessor :environments
|
|
973
|
-
|
|
974
|
-
def initialize(**args)
|
|
975
|
-
update!(**args)
|
|
976
|
-
end
|
|
977
|
-
|
|
978
|
-
# Update properties of this object
|
|
979
|
-
def update!(**args)
|
|
980
|
-
@environments = args[:environments] if args.key?(:environments)
|
|
981
|
-
end
|
|
982
|
-
end
|
|
983
|
-
|
|
984
|
-
# Represents the metadata of the long-running operation.
|
|
985
|
-
class GoogleCloudFunctionsV2alphaOperationMetadata
|
|
986
|
-
include Google::Apis::Core::Hashable
|
|
987
|
-
|
|
988
|
-
# API version used to start the operation.
|
|
989
|
-
# Corresponds to the JSON property `apiVersion`
|
|
990
|
-
# @return [String]
|
|
991
|
-
attr_accessor :api_version
|
|
992
|
-
|
|
993
|
-
# Identifies whether the user has requested cancellation of the operation.
|
|
994
|
-
# Operations that have successfully been cancelled have google.longrunning.
|
|
995
|
-
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
|
996
|
-
# Code.CANCELLED`.
|
|
997
|
-
# Corresponds to the JSON property `cancelRequested`
|
|
998
|
-
# @return [Boolean]
|
|
999
|
-
attr_accessor :cancel_requested
|
|
1000
|
-
alias_method :cancel_requested?, :cancel_requested
|
|
1001
|
-
|
|
1002
|
-
# The time the operation was created.
|
|
1003
|
-
# Corresponds to the JSON property `createTime`
|
|
1004
|
-
# @return [String]
|
|
1005
|
-
attr_accessor :create_time
|
|
1006
|
-
|
|
1007
|
-
# The time the operation finished running.
|
|
1008
|
-
# Corresponds to the JSON property `endTime`
|
|
1009
|
-
# @return [String]
|
|
1010
|
-
attr_accessor :end_time
|
|
1011
|
-
|
|
1012
|
-
# The operation type.
|
|
1013
|
-
# Corresponds to the JSON property `operationType`
|
|
1014
|
-
# @return [String]
|
|
1015
|
-
attr_accessor :operation_type
|
|
1016
|
-
|
|
1017
|
-
# The original request that started the operation.
|
|
1018
|
-
# Corresponds to the JSON property `requestResource`
|
|
1019
|
-
# @return [Hash<String,Object>]
|
|
1020
|
-
attr_accessor :request_resource
|
|
1021
|
-
|
|
1022
|
-
# An identifier for Firebase function sources. Disclaimer: This field is only
|
|
1023
|
-
# supported for Firebase function deployments.
|
|
1024
|
-
# Corresponds to the JSON property `sourceToken`
|
|
1025
|
-
# @return [String]
|
|
1026
|
-
attr_accessor :source_token
|
|
1027
|
-
|
|
1028
|
-
# Mechanism for reporting in-progress stages
|
|
1029
|
-
# Corresponds to the JSON property `stages`
|
|
1030
|
-
# @return [Array<Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStage>]
|
|
1031
|
-
attr_accessor :stages
|
|
1032
|
-
|
|
1033
|
-
# Human-readable status of the operation, if any.
|
|
1034
|
-
# Corresponds to the JSON property `statusDetail`
|
|
1035
|
-
# @return [String]
|
|
1036
|
-
attr_accessor :status_detail
|
|
1037
|
-
|
|
1038
|
-
# Server-defined resource path for the target of the operation.
|
|
1039
|
-
# Corresponds to the JSON property `target`
|
|
1040
|
-
# @return [String]
|
|
1041
|
-
attr_accessor :target
|
|
1042
|
-
|
|
1043
|
-
# Name of the verb executed by the operation.
|
|
1044
|
-
# Corresponds to the JSON property `verb`
|
|
1045
|
-
# @return [String]
|
|
1046
|
-
attr_accessor :verb
|
|
1047
|
-
|
|
1048
|
-
def initialize(**args)
|
|
1049
|
-
update!(**args)
|
|
1050
|
-
end
|
|
1051
|
-
|
|
1052
|
-
# Update properties of this object
|
|
1053
|
-
def update!(**args)
|
|
1054
|
-
@api_version = args[:api_version] if args.key?(:api_version)
|
|
1055
|
-
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
|
1056
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1057
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
|
1058
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
|
1059
|
-
@request_resource = args[:request_resource] if args.key?(:request_resource)
|
|
1060
|
-
@source_token = args[:source_token] if args.key?(:source_token)
|
|
1061
|
-
@stages = args[:stages] if args.key?(:stages)
|
|
1062
|
-
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
|
1063
|
-
@target = args[:target] if args.key?(:target)
|
|
1064
|
-
@verb = args[:verb] if args.key?(:verb)
|
|
1065
|
-
end
|
|
1066
|
-
end
|
|
1067
|
-
|
|
1068
|
-
# Each Stage of the deployment process
|
|
1069
|
-
class GoogleCloudFunctionsV2alphaStage
|
|
1070
|
-
include Google::Apis::Core::Hashable
|
|
1071
|
-
|
|
1072
|
-
# Message describing the Stage
|
|
1073
|
-
# Corresponds to the JSON property `message`
|
|
1074
|
-
# @return [String]
|
|
1075
|
-
attr_accessor :message
|
|
1076
|
-
|
|
1077
|
-
# Name of the Stage. This will be unique for each Stage.
|
|
1078
|
-
# Corresponds to the JSON property `name`
|
|
1079
|
-
# @return [String]
|
|
1080
|
-
attr_accessor :name
|
|
1081
|
-
|
|
1082
|
-
# Resource of the Stage
|
|
1083
|
-
# Corresponds to the JSON property `resource`
|
|
1084
|
-
# @return [String]
|
|
1085
|
-
attr_accessor :resource
|
|
1086
|
-
|
|
1087
|
-
# Link to the current Stage resource
|
|
1088
|
-
# Corresponds to the JSON property `resourceUri`
|
|
1089
|
-
# @return [String]
|
|
1090
|
-
attr_accessor :resource_uri
|
|
1091
|
-
|
|
1092
|
-
# Current state of the Stage
|
|
1093
|
-
# Corresponds to the JSON property `state`
|
|
1094
|
-
# @return [String]
|
|
1095
|
-
attr_accessor :state
|
|
1096
|
-
|
|
1097
|
-
# State messages from the current Stage.
|
|
1098
|
-
# Corresponds to the JSON property `stateMessages`
|
|
1099
|
-
# @return [Array<Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStateMessage>]
|
|
1100
|
-
attr_accessor :state_messages
|
|
1101
|
-
|
|
1102
|
-
def initialize(**args)
|
|
1103
|
-
update!(**args)
|
|
1104
|
-
end
|
|
1105
|
-
|
|
1106
|
-
# Update properties of this object
|
|
1107
|
-
def update!(**args)
|
|
1108
|
-
@message = args[:message] if args.key?(:message)
|
|
1109
|
-
@name = args[:name] if args.key?(:name)
|
|
1110
|
-
@resource = args[:resource] if args.key?(:resource)
|
|
1111
|
-
@resource_uri = args[:resource_uri] if args.key?(:resource_uri)
|
|
1112
|
-
@state = args[:state] if args.key?(:state)
|
|
1113
|
-
@state_messages = args[:state_messages] if args.key?(:state_messages)
|
|
1114
|
-
end
|
|
1115
|
-
end
|
|
1116
|
-
|
|
1117
|
-
# Informational messages about the state of the Cloud Function or Operation.
|
|
1118
|
-
class GoogleCloudFunctionsV2alphaStateMessage
|
|
1119
|
-
include Google::Apis::Core::Hashable
|
|
1120
|
-
|
|
1121
|
-
# The message.
|
|
1122
|
-
# Corresponds to the JSON property `message`
|
|
1123
|
-
# @return [String]
|
|
1124
|
-
attr_accessor :message
|
|
1125
|
-
|
|
1126
|
-
# Severity of the state message.
|
|
1127
|
-
# Corresponds to the JSON property `severity`
|
|
1128
|
-
# @return [String]
|
|
1129
|
-
attr_accessor :severity
|
|
1130
|
-
|
|
1131
|
-
# One-word CamelCase type of the state message.
|
|
1132
|
-
# Corresponds to the JSON property `type`
|
|
1133
|
-
# @return [String]
|
|
1134
|
-
attr_accessor :type
|
|
1135
|
-
|
|
1136
|
-
def initialize(**args)
|
|
1137
|
-
update!(**args)
|
|
1138
|
-
end
|
|
1139
|
-
|
|
1140
|
-
# Update properties of this object
|
|
1141
|
-
def update!(**args)
|
|
1142
|
-
@message = args[:message] if args.key?(:message)
|
|
1143
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
1144
|
-
@type = args[:type] if args.key?(:type)
|
|
1145
|
-
end
|
|
1146
|
-
end
|
|
1147
|
-
|
|
1148
782
|
# Extra GCF specific location information.
|
|
1149
783
|
class GoogleCloudFunctionsV2betaLocationMetadata
|
|
1150
784
|
include Google::Apis::Core::Hashable
|
|
@@ -1173,6 +807,11 @@ module Google
|
|
|
1173
807
|
# @return [String]
|
|
1174
808
|
attr_accessor :api_version
|
|
1175
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
|
+
|
|
1176
815
|
# Identifies whether the user has requested cancellation of the operation.
|
|
1177
816
|
# Operations that have successfully been cancelled have google.longrunning.
|
|
1178
817
|
# Operation.error value with a google.rpc.Status.code of 1, corresponding to `
|
|
@@ -1235,6 +874,7 @@ module Google
|
|
|
1235
874
|
# Update properties of this object
|
|
1236
875
|
def update!(**args)
|
|
1237
876
|
@api_version = args[:api_version] if args.key?(:api_version)
|
|
877
|
+
@build_name = args[:build_name] if args.key?(:build_name)
|
|
1238
878
|
@cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
|
|
1239
879
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1240
880
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
@@ -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 CloudfunctionsV2beta
|
|
18
18
|
# Version of the google-apis-cloudfunctions_v2beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.46.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,54 +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
|
-
class GoogleCloudFunctionsV2alphaLocationMetadata
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
class GoogleCloudFunctionsV2alphaOperationMetadata
|
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
-
|
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
class GoogleCloudFunctionsV2alphaStage
|
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
-
|
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
class GoogleCloudFunctionsV2alphaStateMessage
|
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
-
|
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
-
end
|
|
168
|
-
|
|
169
121
|
class GoogleCloudFunctionsV2betaLocationMetadata
|
|
170
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
123
|
|
|
@@ -514,100 +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::CloudfunctionsV2beta::GoogleCloudFunctionsV2Stage, decorator: Google::Apis::CloudfunctionsV2beta::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::CloudfunctionsV2beta::GoogleCloudFunctionsV2StateMessage, decorator: Google::Apis::CloudfunctionsV2beta::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
|
-
class GoogleCloudFunctionsV2alphaLocationMetadata
|
|
565
|
-
# @private
|
|
566
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
567
|
-
collection :environments, as: 'environments'
|
|
568
|
-
end
|
|
569
|
-
end
|
|
570
|
-
|
|
571
|
-
class GoogleCloudFunctionsV2alphaOperationMetadata
|
|
572
|
-
# @private
|
|
573
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
574
|
-
property :api_version, as: 'apiVersion'
|
|
575
|
-
property :cancel_requested, as: 'cancelRequested'
|
|
576
|
-
property :create_time, as: 'createTime'
|
|
577
|
-
property :end_time, as: 'endTime'
|
|
578
|
-
property :operation_type, as: 'operationType'
|
|
579
|
-
hash :request_resource, as: 'requestResource'
|
|
580
|
-
property :source_token, as: 'sourceToken'
|
|
581
|
-
collection :stages, as: 'stages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStage::Representation
|
|
582
|
-
|
|
583
|
-
property :status_detail, as: 'statusDetail'
|
|
584
|
-
property :target, as: 'target'
|
|
585
|
-
property :verb, as: 'verb'
|
|
586
|
-
end
|
|
587
|
-
end
|
|
588
|
-
|
|
589
|
-
class GoogleCloudFunctionsV2alphaStage
|
|
590
|
-
# @private
|
|
591
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
592
|
-
property :message, as: 'message'
|
|
593
|
-
property :name, as: 'name'
|
|
594
|
-
property :resource, as: 'resource'
|
|
595
|
-
property :resource_uri, as: 'resourceUri'
|
|
596
|
-
property :state, as: 'state'
|
|
597
|
-
collection :state_messages, as: 'stateMessages', class: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStateMessage, decorator: Google::Apis::CloudfunctionsV2beta::GoogleCloudFunctionsV2alphaStateMessage::Representation
|
|
598
|
-
|
|
599
|
-
end
|
|
600
|
-
end
|
|
601
|
-
|
|
602
|
-
class GoogleCloudFunctionsV2alphaStateMessage
|
|
603
|
-
# @private
|
|
604
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
605
|
-
property :message, as: 'message'
|
|
606
|
-
property :severity, as: 'severity'
|
|
607
|
-
property :type, as: 'type'
|
|
608
|
-
end
|
|
609
|
-
end
|
|
610
|
-
|
|
611
469
|
class GoogleCloudFunctionsV2betaLocationMetadata
|
|
612
470
|
# @private
|
|
613
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -619,6 +477,7 @@ module Google
|
|
|
619
477
|
# @private
|
|
620
478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
621
479
|
property :api_version, as: 'apiVersion'
|
|
480
|
+
property :build_name, as: 'buildName'
|
|
622
481
|
property :cancel_requested, as: 'cancelRequested'
|
|
623
482
|
property :create_time, as: 'createTime'
|
|
624
483
|
property :end_time, as: 'endTime'
|
|
@@ -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::CloudfunctionsV2beta::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_v2beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.46.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_v2beta/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.46.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2beta
|
|
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 V2beta
|