google-cloud-chronicle-v1 1.0.0 → 1.1.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/README.md +0 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/credentials.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/paths.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service/rest.rb +1 -1
- data/lib/google/cloud/chronicle/v1/data_access_control_service.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/credentials.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/paths.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/rest/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service/rest.rb +1 -1
- data/lib/google/cloud/chronicle/v1/entity_service.rb +1 -1
- data/lib/google/cloud/chronicle/v1/feed_pb.rb +205 -0
- data/lib/google/cloud/chronicle/v1/feed_services_pb.rb +79 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/client.rb +1827 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/paths.rb +136 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/rest/client.rb +1686 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/rest/service_stub.rb +941 -0
- data/lib/google/cloud/chronicle/v1/feeds_service/rest.rb +52 -0
- data/lib/google/cloud/chronicle/v1/feeds_service.rb +55 -0
- data/lib/google/cloud/chronicle/v1/instance_service/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service/credentials.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service/paths.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service/rest/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service/rest.rb +1 -1
- data/lib/google/cloud/chronicle/v1/instance_service.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/credentials.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/paths.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/rest/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service/rest.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_service.rb +1 -1
- data/lib/google/cloud/chronicle/v1/reference_list_services_pb.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rest.rb +2 -1
- data/lib/google/cloud/chronicle/v1/rule_execution_error_service/client.rb +5 -5
- data/lib/google/cloud/chronicle/v1/rule_execution_error_service/rest/client.rb +5 -5
- data/lib/google/cloud/chronicle/v1/rule_service/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/credentials.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/operations.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/paths.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/rest/client.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/rest/operations.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service/rest.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_service.rb +1 -1
- data/lib/google/cloud/chronicle/v1/rule_services_pb.rb +1 -1
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- data/lib/google/cloud/chronicle/v1.rb +2 -1
- data/lib/google-cloud-chronicle-v1.rb +1 -1
- data/proto_docs/google/api/client.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/httpbody.rb +80 -0
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/data_access_control.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/entity.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/feed.rb +3427 -0
- data/proto_docs/google/cloud/chronicle/v1/instance.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/reference_list.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/rule.rb +1 -1
- data/proto_docs/google/cloud/chronicle/v1/rule_execution_error.rb +5 -5
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/field_mask.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- data/proto_docs/google/type/interval.rb +1 -1
- metadata +13 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
require "googleauth"
|
|
20
|
+
|
|
21
|
+
module Google
|
|
22
|
+
module Cloud
|
|
23
|
+
module Chronicle
|
|
24
|
+
module V1
|
|
25
|
+
module FeedsService
|
|
26
|
+
# Credentials for the FeedsService API.
|
|
27
|
+
class Credentials < ::Google::Auth::Credentials
|
|
28
|
+
self.scope = [
|
|
29
|
+
"https://www.googleapis.com/auth/chronicle",
|
|
30
|
+
"https://www.googleapis.com/auth/chronicle.readonly",
|
|
31
|
+
"https://www.googleapis.com/auth/cloud-platform"
|
|
32
|
+
]
|
|
33
|
+
self.env_vars = [
|
|
34
|
+
"GOOGLE_CLOUD_CREDENTIALS",
|
|
35
|
+
"GOOGLE_CLOUD_KEYFILE",
|
|
36
|
+
"GCLOUD_KEYFILE",
|
|
37
|
+
"GOOGLE_CLOUD_CREDENTIALS_JSON",
|
|
38
|
+
"GOOGLE_CLOUD_KEYFILE_JSON",
|
|
39
|
+
"GCLOUD_KEYFILE_JSON"
|
|
40
|
+
]
|
|
41
|
+
self.paths = [
|
|
42
|
+
"~/.config/google_cloud/application_default_credentials.json"
|
|
43
|
+
]
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module Chronicle
|
|
23
|
+
module V1
|
|
24
|
+
module FeedsService
|
|
25
|
+
# Path helper methods for the FeedsService API.
|
|
26
|
+
module Paths
|
|
27
|
+
##
|
|
28
|
+
# Create a fully-qualified Feed resource string.
|
|
29
|
+
#
|
|
30
|
+
# The resource will be in the following format:
|
|
31
|
+
#
|
|
32
|
+
# `projects/{project}/locations/{location}/instances/{instance}/feeds/{feed}`
|
|
33
|
+
#
|
|
34
|
+
# @param project [String]
|
|
35
|
+
# @param location [String]
|
|
36
|
+
# @param instance [String]
|
|
37
|
+
# @param feed [String]
|
|
38
|
+
#
|
|
39
|
+
# @return [::String]
|
|
40
|
+
def feed_path project:, location:, instance:, feed:
|
|
41
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
42
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
43
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
|
44
|
+
|
|
45
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}/feeds/#{feed}"
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
##
|
|
49
|
+
# Create a fully-qualified FeedPack resource string.
|
|
50
|
+
#
|
|
51
|
+
# The resource will be in the following format:
|
|
52
|
+
#
|
|
53
|
+
# `projects/{project}/locations/{location}/instances/{instance}/feedPacks/{feed_pack}`
|
|
54
|
+
#
|
|
55
|
+
# @param project [String]
|
|
56
|
+
# @param location [String]
|
|
57
|
+
# @param instance [String]
|
|
58
|
+
# @param feed_pack [String]
|
|
59
|
+
#
|
|
60
|
+
# @return [::String]
|
|
61
|
+
def feed_pack_path project:, location:, instance:, feed_pack:
|
|
62
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
63
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
64
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
|
65
|
+
|
|
66
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}/feedPacks/#{feed_pack}"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
##
|
|
70
|
+
# Create a fully-qualified FeedSourceTypeSchema resource string.
|
|
71
|
+
#
|
|
72
|
+
# The resource will be in the following format:
|
|
73
|
+
#
|
|
74
|
+
# `projects/{project}/locations/{location}/instances/{instance}/feedSourceTypeSchemas/{feed_source_type}`
|
|
75
|
+
#
|
|
76
|
+
# @param project [String]
|
|
77
|
+
# @param location [String]
|
|
78
|
+
# @param instance [String]
|
|
79
|
+
# @param feed_source_type [String]
|
|
80
|
+
#
|
|
81
|
+
# @return [::String]
|
|
82
|
+
def feed_source_type_schema_path project:, location:, instance:, feed_source_type:
|
|
83
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
84
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
85
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
|
86
|
+
|
|
87
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}/feedSourceTypeSchemas/#{feed_source_type}"
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
##
|
|
91
|
+
# Create a fully-qualified Instance resource string.
|
|
92
|
+
#
|
|
93
|
+
# The resource will be in the following format:
|
|
94
|
+
#
|
|
95
|
+
# `projects/{project}/locations/{location}/instances/{instance}`
|
|
96
|
+
#
|
|
97
|
+
# @param project [String]
|
|
98
|
+
# @param location [String]
|
|
99
|
+
# @param instance [String]
|
|
100
|
+
#
|
|
101
|
+
# @return [::String]
|
|
102
|
+
def instance_path project:, location:, instance:
|
|
103
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
104
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
105
|
+
|
|
106
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}"
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
##
|
|
110
|
+
# Create a fully-qualified LogType resource string.
|
|
111
|
+
#
|
|
112
|
+
# The resource will be in the following format:
|
|
113
|
+
#
|
|
114
|
+
# `projects/{project}/locations/{location}/instances/{instance}/logTypes/{log_type}`
|
|
115
|
+
#
|
|
116
|
+
# @param project [String]
|
|
117
|
+
# @param location [String]
|
|
118
|
+
# @param instance [String]
|
|
119
|
+
# @param log_type [String]
|
|
120
|
+
#
|
|
121
|
+
# @return [::String]
|
|
122
|
+
def log_type_path project:, location:, instance:, log_type:
|
|
123
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
|
124
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
|
125
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
|
126
|
+
|
|
127
|
+
"projects/#{project}/locations/#{location}/instances/#{instance}/logTypes/#{log_type}"
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
extend self
|
|
131
|
+
end
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|