Skip to content

Commit 9cad3f0

Browse files
AUTO GENERATED ELIXIR GOOGLEAPIS PROTOBUF (#738)
Co-authored-by: Hany Rock <rudebono@gmail.com>
1 parent e7c1d5f commit 9cad3f0

16 files changed

+191
-27
lines changed

lib/google/cloud/backupdr/logging/v1/reportlog.pb.ex

+28
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,32 @@ defmodule Google.Cloud.Backupdr.Logging.V1.BackupStorageUtilizationReportLog do
104104
field :used_capacity_in_gib, 5, type: :double, json_name: "usedCapacityInGib"
105105
field :utilization_percentage, 6, type: :double, json_name: "utilizationPercentage"
106106
field :appliance_id, 7, type: :string, json_name: "applianceId"
107+
end
108+
109+
defmodule Google.Cloud.Backupdr.Logging.V1.ProtectedResource do
110+
@moduledoc false
111+
112+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
113+
114+
field :resource_name, 1, type: :string, json_name: "resourceName"
115+
field :resource_type, 2, type: :string, json_name: "resourceType"
116+
field :resource_id, 3, type: :string, json_name: "resourceId"
117+
field :backup_inclusion_or_exclusion, 4, type: :string, json_name: "backupInclusionOrExclusion"
118+
field :host_id, 5, type: :string, json_name: "hostId"
119+
field :host_name, 6, type: :string, json_name: "hostName"
120+
field :backup_plan_policy_template_id, 7, type: :string, json_name: "backupPlanPolicyTemplateId"
121+
field :backup_plan_policy_template, 8, type: :string, json_name: "backupPlanPolicyTemplate"
122+
field :sla_id, 9, type: :string, json_name: "slaId"
123+
field :backup_plan_restrictions, 10, type: :string, json_name: "backupPlanRestrictions"
124+
field :protected_on, 11, type: :string, json_name: "protectedOn"
125+
field :policy_overrides, 12, type: :string, json_name: "policyOverrides"
126+
field :source_appliance, 13, type: :string, json_name: "sourceAppliance"
127+
field :source_appliance_id, 14, type: :string, json_name: "sourceApplianceId"
128+
field :protected_data_in_gib, 15, type: :double, json_name: "protectedDataInGib"
129+
field :onvault_in_gib, 16, type: :double, json_name: "onvaultInGib"
130+
field :appliance_name, 17, type: :string, json_name: "applianceName"
131+
field :appliance_id, 18, type: :string, json_name: "applianceId"
132+
field :remote_appliance, 19, type: :string, json_name: "remoteAppliance"
133+
field :remote_appliance_id, 20, type: :string, json_name: "remoteApplianceId"
134+
field :recovery_point, 21, type: :string, json_name: "recoveryPoint"
107135
end

lib/google/cloud/securitycenter/v1/database.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ defmodule Google.Cloud.Securitycenter.V1.Database do
88
field :user_name, 3, type: :string, json_name: "userName"
99
field :query, 4, type: :string
1010
field :grantees, 5, repeated: true, type: :string
11+
field :version, 6, type: :string
1112
end

lib/google/cloud/securitycenter/v1/exfiltration.pb.ex

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ defmodule Google.Cloud.Securitycenter.V1.Exfiltration do
55

66
field :sources, 1, repeated: true, type: Google.Cloud.Securitycenter.V1.ExfilResource
77
field :targets, 2, repeated: true, type: Google.Cloud.Securitycenter.V1.ExfilResource
8+
field :total_exfiltrated_bytes, 3, type: :int64, json_name: "totalExfiltratedBytes"
89
end
910

1011
defmodule Google.Cloud.Securitycenter.V1.ExfilResource do

lib/google/cloud/securitycenter/v1/file.pb.ex

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
defmodule Google.Cloud.Securitycenter.V1.File.DiskPath do
2+
@moduledoc false
3+
4+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :partition_uuid, 1, type: :string, json_name: "partitionUuid"
7+
field :relative_path, 2, type: :string, json_name: "relativePath"
8+
end
9+
110
defmodule Google.Cloud.Securitycenter.V1.File do
211
@moduledoc false
312

@@ -9,4 +18,5 @@ defmodule Google.Cloud.Securitycenter.V1.File do
918
field :hashed_size, 4, type: :int64, json_name: "hashedSize"
1019
field :partially_hashed, 5, type: :bool, json_name: "partiallyHashed"
1120
field :contents, 6, type: :string
21+
field :disk_path, 7, type: Google.Cloud.Securitycenter.V1.File.DiskPath, json_name: "diskPath"
1222
end

lib/google/cloud/securitycenter/v1/finding.pb.ex

+15
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,24 @@ defmodule Google.Cloud.Securitycenter.V1.Finding do
164164
type: Google.Cloud.Securitycenter.V1.KernelRootkit,
165165
json_name: "kernelRootkit"
166166

167+
field :org_policies, 51,
168+
repeated: true,
169+
type: Google.Cloud.Securitycenter.V1.OrgPolicy,
170+
json_name: "orgPolicies"
171+
167172
field :application, 53, type: Google.Cloud.Securitycenter.V1.Application
168173

169174
field :backup_disaster_recovery, 55,
170175
type: Google.Cloud.Securitycenter.V1.BackupDisasterRecovery,
171176
json_name: "backupDisasterRecovery"
177+
178+
field :log_entries, 57,
179+
repeated: true,
180+
type: Google.Cloud.Securitycenter.V1.LogEntry,
181+
json_name: "logEntries"
182+
183+
field :load_balancers, 58,
184+
repeated: true,
185+
type: Google.Cloud.Securitycenter.V1.LoadBalancer,
186+
json_name: "loadBalancers"
172187
end

lib/google/cloud/securitycenter/v1/indicator.pb.ex

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
defmodule Google.Cloud.Securitycenter.V1.Indicator.ProcessSignature.SignatureType do
2+
@moduledoc false
3+
4+
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :SIGNATURE_TYPE_UNSPECIFIED, 0
7+
field :SIGNATURE_TYPE_PROCESS, 1
8+
field :SIGNATURE_TYPE_FILE, 2
9+
end
10+
111
defmodule Google.Cloud.Securitycenter.V1.Indicator.ProcessSignature.MemoryHashSignature.Detection do
212
@moduledoc false
313

@@ -43,6 +53,11 @@ defmodule Google.Cloud.Securitycenter.V1.Indicator.ProcessSignature do
4353
type: Google.Cloud.Securitycenter.V1.Indicator.ProcessSignature.YaraRuleSignature,
4454
json_name: "yaraRuleSignature",
4555
oneof: 0
56+
57+
field :signature_type, 8,
58+
type: Google.Cloud.Securitycenter.V1.Indicator.ProcessSignature.SignatureType,
59+
json_name: "signatureType",
60+
enum: true
4661
end
4762

4863
defmodule Google.Cloud.Securitycenter.V1.Indicator do

lib/google/cloud/securitycenter/v1/kubernetes.pb.ex

+14
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@ defmodule Google.Cloud.Securitycenter.V1.Kubernetes.AccessReview do
9292
field :version, 7, type: :string
9393
end
9494

95+
defmodule Google.Cloud.Securitycenter.V1.Kubernetes.Object do
96+
@moduledoc false
97+
98+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
99+
100+
field :group, 1, type: :string
101+
field :kind, 2, type: :string
102+
field :ns, 3, type: :string
103+
field :name, 4, type: :string
104+
field :containers, 5, repeated: true, type: Google.Cloud.Securitycenter.V1.Container
105+
end
106+
95107
defmodule Google.Cloud.Securitycenter.V1.Kubernetes do
96108
@moduledoc false
97109

@@ -112,4 +124,6 @@ defmodule Google.Cloud.Securitycenter.V1.Kubernetes do
112124
repeated: true,
113125
type: Google.Cloud.Securitycenter.V1.Kubernetes.AccessReview,
114126
json_name: "accessReviews"
127+
128+
field :objects, 7, repeated: true, type: Google.Cloud.Securitycenter.V1.Kubernetes.Object
115129
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
defmodule Google.Cloud.Securitycenter.V1.LoadBalancer do
2+
@moduledoc false
3+
4+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :name, 1, type: :string
7+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
defmodule Google.Cloud.Securitycenter.V1.LogEntry do
2+
@moduledoc false
3+
4+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
oneof :log_entry, 0
7+
8+
field :cloud_logging_entry, 1,
9+
type: Google.Cloud.Securitycenter.V1.CloudLoggingEntry,
10+
json_name: "cloudLoggingEntry",
11+
oneof: 0
12+
end
13+
14+
defmodule Google.Cloud.Securitycenter.V1.CloudLoggingEntry do
15+
@moduledoc false
16+
17+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
18+
19+
field :insert_id, 1, type: :string, json_name: "insertId"
20+
field :log_id, 2, type: :string, json_name: "logId"
21+
field :resource_container, 3, type: :string, json_name: "resourceContainer"
22+
field :timestamp, 4, type: Google.Protobuf.Timestamp
23+
end

lib/google/cloud/securitycenter/v1/mitre_attack.pb.ex

+48-25
Original file line numberDiff line numberDiff line change
@@ -26,41 +26,64 @@ defmodule Google.Cloud.Securitycenter.V1.MitreAttack.Technique do
2626
use Protobuf, enum: true, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
2727

2828
field :TECHNIQUE_UNSPECIFIED, 0
29-
field :ACTIVE_SCANNING, 1
30-
field :SCANNING_IP_BLOCKS, 2
31-
field :INGRESS_TOOL_TRANSFER, 3
32-
field :NATIVE_API, 4
33-
field :SHARED_MODULES, 5
29+
field :MASQUERADING, 49
30+
field :MATCH_LEGITIMATE_NAME_OR_LOCATION, 50
31+
field :BOOT_OR_LOGON_INITIALIZATION_SCRIPTS, 37
32+
field :STARTUP_ITEMS, 38
33+
field :NETWORK_SERVICE_DISCOVERY, 32
34+
field :PROCESS_DISCOVERY, 56
3435
field :COMMAND_AND_SCRIPTING_INTERPRETER, 6
3536
field :UNIX_SHELL, 7
36-
field :RESOURCE_HIJACKING, 8
37-
field :PROXY, 9
38-
field :EXTERNAL_PROXY, 10
39-
field :MULTI_HOP_PROXY, 11
40-
field :DYNAMIC_RESOLUTION, 12
41-
field :UNSECURED_CREDENTIALS, 13
37+
field :PERMISSION_GROUPS_DISCOVERY, 18
38+
field :CLOUD_GROUPS, 19
39+
field :APPLICATION_LAYER_PROTOCOL, 45
40+
field :DNS, 46
41+
field :SOFTWARE_DEPLOYMENT_TOOLS, 47
4242
field :VALID_ACCOUNTS, 14
43+
field :DEFAULT_ACCOUNTS, 35
4344
field :LOCAL_ACCOUNTS, 15
4445
field :CLOUD_ACCOUNTS, 16
45-
field :NETWORK_DENIAL_OF_SERVICE, 17
46-
field :PERMISSION_GROUPS_DISCOVERY, 18
47-
field :CLOUD_GROUPS, 19
48-
field :EXFILTRATION_OVER_WEB_SERVICE, 20
49-
field :EXFILTRATION_TO_CLOUD_STORAGE, 21
46+
field :PROXY, 9
47+
field :EXTERNAL_PROXY, 10
48+
field :MULTI_HOP_PROXY, 11
5049
field :ACCOUNT_MANIPULATION, 22
50+
field :ADDITIONAL_CLOUD_CREDENTIALS, 40
5151
field :SSH_AUTHORIZED_KEYS, 23
52-
field :CREATE_OR_MODIFY_SYSTEM_PROCESS, 24
53-
field :STEAL_WEB_SESSION_COOKIE, 25
54-
field :MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE, 26
52+
field :ADDITIONAL_CONTAINER_CLUSTER_ROLES, 58
53+
field :INGRESS_TOOL_TRANSFER, 3
54+
field :NATIVE_API, 4
55+
field :BRUTE_FORCE, 44
56+
field :SHARED_MODULES, 5
57+
field :ACCESS_TOKEN_MANIPULATION, 33
58+
field :TOKEN_IMPERSONATION_OR_THEFT, 39
5559
field :EXPLOIT_PUBLIC_FACING_APPLICATION, 27
56-
field :MODIFY_AUTHENTICATION_PROCESS, 28
57-
field :DATA_DESTRUCTION, 29
5860
field :DOMAIN_POLICY_MODIFICATION, 30
59-
field :IMPAIR_DEFENSES, 31
60-
field :NETWORK_SERVICE_DISCOVERY, 32
61-
field :ACCESS_TOKEN_MANIPULATION, 33
61+
field :DATA_DESTRUCTION, 29
62+
field :SERVICE_STOP, 52
63+
field :INHIBIT_SYSTEM_RECOVERY, 36
64+
field :RESOURCE_HIJACKING, 8
65+
field :NETWORK_DENIAL_OF_SERVICE, 17
66+
field :CLOUD_SERVICE_DISCOVERY, 48
67+
field :STEAL_APPLICATION_ACCESS_TOKEN, 42
68+
field :ACCOUNT_ACCESS_REMOVAL, 51
69+
field :STEAL_WEB_SESSION_COOKIE, 25
70+
field :CREATE_OR_MODIFY_SYSTEM_PROCESS, 24
6271
field :ABUSE_ELEVATION_CONTROL_MECHANISM, 34
63-
field :DEFAULT_ACCOUNTS, 35
72+
field :UNSECURED_CREDENTIALS, 13
73+
field :MODIFY_AUTHENTICATION_PROCESS, 28
74+
field :IMPAIR_DEFENSES, 31
75+
field :DISABLE_OR_MODIFY_TOOLS, 55
76+
field :EXFILTRATION_OVER_WEB_SERVICE, 20
77+
field :EXFILTRATION_TO_CLOUD_STORAGE, 21
78+
field :DYNAMIC_RESOLUTION, 12
79+
field :LATERAL_TOOL_TRANSFER, 41
80+
field :MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE, 26
81+
field :CREATE_SNAPSHOT, 54
82+
field :CLOUD_INFRASTRUCTURE_DISCOVERY, 53
83+
field :OBTAIN_CAPABILITIES, 43
84+
field :ACTIVE_SCANNING, 1
85+
field :SCANNING_IP_BLOCKS, 2
86+
field :CONTAINER_AND_RESOURCE_DISCOVERY, 57
6487
end
6588

6689
defmodule Google.Cloud.Securitycenter.V1.MitreAttack do
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
defmodule Google.Cloud.Securitycenter.V1.OrgPolicy do
2+
@moduledoc false
3+
4+
use Protobuf, protoc_gen_elixir_version: "0.12.0", syntax: :proto3
5+
6+
field :name, 1, type: :string
7+
end

lib/google/cloud/sql/v1/cloud_sql_resources.pb.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,8 @@ defmodule Google.Cloud.Sql.V1.PasswordValidationPolicy do
806806

807807
field :disallow_compromised_credentials, 7,
808808
type: Google.Protobuf.BoolValue,
809-
json_name: "disallowCompromisedCredentials"
809+
json_name: "disallowCompromisedCredentials",
810+
deprecated: true
810811
end
811812

812813
defmodule Google.Cloud.Sql.V1.DataCacheConfig do

lib/google/cloud/sql/v1beta4/cloud_sql_resources.pb.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,8 @@ defmodule Google.Cloud.Sql.V1beta4.PasswordValidationPolicy do
15081508

15091509
field :disallow_compromised_credentials, 7,
15101510
type: Google.Protobuf.BoolValue,
1511-
json_name: "disallowCompromisedCredentials"
1511+
json_name: "disallowCompromisedCredentials",
1512+
deprecated: true
15121513
end
15131514

15141515
defmodule Google.Cloud.Sql.V1beta4.OperationsListResponse do

lib/google/container/v1beta1/cluster_service.pb.ex

+4
Original file line numberDiff line numberDiff line change
@@ -2233,6 +2233,10 @@ defmodule Google.Container.V1beta1.UpdateNodePoolRequest do
22332233
field :resource_manager_tags, 39,
22342234
type: Google.Container.V1beta1.ResourceManagerTags,
22352235
json_name: "resourceManagerTags"
2236+
2237+
field :queued_provisioning, 42,
2238+
type: Google.Container.V1beta1.NodePool.QueuedProvisioning,
2239+
json_name: "queuedProvisioning"
22362240
end
22372241

22382242
defmodule Google.Container.V1beta1.SetNodePoolAutoscalingRequest do

lib/google/devtools/cloudprofiler/v2/profiler.pb.ex

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ defmodule Google.Devtools.Cloudprofiler.V2.Profile do
7676
type: Google.Devtools.Cloudprofiler.V2.Profile.LabelsEntry,
7777
map: true,
7878
deprecated: false
79+
80+
field :start_time, 7, type: Google.Protobuf.Timestamp, json_name: "startTime", deprecated: false
7981
end
8082

8183
defmodule Google.Devtools.Cloudprofiler.V2.Deployment.LabelsEntry do

lib/google/storage/v2/storage.pb.ex

+12
Original file line numberDiff line numberDiff line change
@@ -1293,6 +1293,18 @@ defmodule Google.Storage.V2.Object do
12931293
json_name: "customerEncryption"
12941294

12951295
field :custom_time, 26, type: Google.Protobuf.Timestamp, json_name: "customTime"
1296+
1297+
field :soft_delete_time, 28,
1298+
proto3_optional: true,
1299+
type: Google.Protobuf.Timestamp,
1300+
json_name: "softDeleteTime",
1301+
deprecated: false
1302+
1303+
field :hard_delete_time, 29,
1304+
proto3_optional: true,
1305+
type: Google.Protobuf.Timestamp,
1306+
json_name: "hardDeleteTime",
1307+
deprecated: false
12961308
end
12971309

12981310
defmodule Google.Storage.V2.ObjectAccessControl do

0 commit comments

Comments
 (0)