google-apis-cloudfunctions_v2beta 0.45.0 → 0.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567949443f951882e1db52999c890cdafed7e7f976bb5040616e4bb82c07b7e0
4
- data.tar.gz: 9750c3980537aac64373da0e158445d982fb7b77d8332956bd88bedc06972f66
3
+ metadata.gz: 618e3ba2da1d189d47e193ac71582bbc40e1f580c6abc7a27c8b5aa1d868986d
4
+ data.tar.gz: d796932be363802ca1dc523320c52ac30adf43d41a67071d951375e140a70ced
5
5
  SHA512:
6
- metadata.gz: ede650f76e6ec1e187d9258f78a56d17446538cac995ee652083a56efd8346de6ad8fb20f5fdd6642c44afd50793949a7c86cbb1aa096e6aca0fde33c4619c37
7
- data.tar.gz: cf830672bca459bd1acd0e02296f9eaa9516012758005e4989976bbedce2e3f1e7a6669f374484c046957303136ca4b13b23b41363e76468dcce95cb949ced0b
6
+ metadata.gz: d2ac5dab1a62e3901e2072ae45acc9f785137fe244cf29f1212d02c0806700ab319707033674fab601168078155af6a375b32278b87ce55830bd700c3cd2e90d
7
+ data.tar.gz: 9e316cccd1af52a3771bdb1811296fc5bc2b430e6779126188a65b705365f2927fa679a288c2ac183e16b9cd1968d6d6937e6ceb4a28caae06fb8e7c2f536db4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-cloudfunctions_v2beta
2
2
 
3
+ ### v0.47.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250130
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.46.0 (2024-12-02)
9
+
10
+ * Regenerated from discovery document revision 20241117
11
+ * Regenerated using generator version 0.15.1
12
+
3
13
  ### v0.45.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. If unspecified, it defaults to `ARTIFACT_REGISTRY`. If `
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``. Cross-project repositories are not supported.
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
- # [Preview] Service account to be used for building the container
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::CloudfunctionsV2beta::EventTrigger]
603
618
  attr_accessor :event_trigger
604
619
 
605
- # [Preview] Resource name of a KMS crypto key (managed by the user) used to
606
- # encrypt/decrypt function resources. It must match the pattern `projects/`
607
- # project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``.
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::CloudfunctionsV2beta::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
- # [Preview] Resource name of a KMS crypto key (managed by the user) used to
730
- # encrypt/decrypt function source code objects in intermediate Cloud Storage
731
- # buckets. When you generate an upload url and upload your source code, it gets
732
- # copied to an intermediate Cloud Storage bucket. The source code is then copied
733
- # to a versioned directory in the sources bucket in the consumer project during
734
- # the function deployment. It must match the pattern `projects/`project`/
735
- # locations/`location`/keyRings/`key_ring`/cryptoKeys/`crypto_key``. The Google
736
- # Cloud Functions service account (service-`project_number`@gcf-admin-robot.iam.
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,372 +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::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
804
  # Extra GCF specific location information.
1149
805
  class GoogleCloudFunctionsV2betaLocationMetadata
1150
806
  include Google::Apis::Core::Hashable
@@ -1173,6 +829,11 @@ module Google
1173
829
  # @return [String]
1174
830
  attr_accessor :api_version
1175
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
+
1176
837
  # Identifies whether the user has requested cancellation of the operation.
1177
838
  # Operations that have successfully been cancelled have google.longrunning.
1178
839
  # Operation.error value with a google.rpc.Status.code of 1, corresponding to `
@@ -1235,6 +896,7 @@ module Google
1235
896
  # Update properties of this object
1236
897
  def update!(**args)
1237
898
  @api_version = args[:api_version] if args.key?(:api_version)
899
+ @build_name = args[:build_name] if args.key?(:build_name)
1238
900
  @cancel_requested = args[:cancel_requested] if args.key?(:cancel_requested)
1239
901
  @create_time = args[:create_time] if args.key?(:create_time)
1240
902
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -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 CloudfunctionsV2beta
18
18
  # Version of the google-apis-cloudfunctions_v2beta gem
19
- GEM_VERSION = "0.45.0"
19
+ GEM_VERSION = "0.47.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240523"
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,54 +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
- 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
127
  class GoogleCloudFunctionsV2betaLocationMetadata
170
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
129
 
@@ -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::CloudfunctionsV2beta::ServiceConfig, decorator: Google::Apis::CloudfunctionsV2beta::ServiceConfig::Representation
476
441
 
@@ -514,100 +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::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
482
  class GoogleCloudFunctionsV2betaLocationMetadata
612
483
  # @private
613
484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -619,6 +490,7 @@ module Google
619
490
  # @private
620
491
  class Representation < Google::Apis::Core::JsonRepresentation
621
492
  property :api_version, as: 'apiVersion'
493
+ property :build_name, as: 'buildName'
622
494
  property :cancel_requested, as: 'cancelRequested'
623
495
  property :create_time, as: 'createTime'
624
496
  property :end_time, as: 'endTime'
@@ -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::CloudfunctionsV2beta::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::CloudfunctionsV2beta::Operation] parsed result object
254
+ # @yieldparam err [StandardError] error object if request failed
255
+ #
256
+ # @return [Google::Apis::CloudfunctionsV2beta::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, 'v2beta/{+name}:detachFunction', options)
263
+ command.request_representation = Google::Apis::CloudfunctionsV2beta::DetachFunctionRequest::Representation
264
+ command.request_object = detach_function_request_object
265
+ command.response_representation = Google::Apis::CloudfunctionsV2beta::Operation::Representation
266
+ command.response_class = Google::Apis::CloudfunctionsV2beta::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 oder is ascending. See https://google.aip.
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::CloudfunctionsV2beta::Function] function_object
465
498
  # @param [String] update_mask
466
- # The list of fields to be updated. If no field mask is provided, all provided
467
- # fields in the request will be updated.
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_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.45.0
4
+ version: 0.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-02 00:00:00.000000000 Z
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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudfunctions_v2beta/v0.47.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudfunctions_v2beta
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.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Functions API V2beta
82
79
  test_files: []