google-cloud-storage_insights-v1 0.1.0 → 0.2.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: fa2b7fe36fcb434867d5ceb951d0fbfa8f3491708dceb124447e751b3217b26b
4
- data.tar.gz: c1c0341a270239420e9f6032aca7cb748d9ec738bebef60e39c645b2b2b5f372
3
+ metadata.gz: af9f37116903b1faaa1ea4378380729c0f52f8ab7b04e6629fb83cf266cabe45
4
+ data.tar.gz: 85bafc8fbc09a3419c8d32bc854e650a103de38b508f2b3ea976b66b57a713bc
5
5
  SHA512:
6
- metadata.gz: 33fc6c27088378384b348a2fdeaeb2275344b3e4b72b42f312a0eff253bbb7938cd5f3e187b6b22dcf0fc28898b01dcf707c6afdeb75769e54759522528e1be4
7
- data.tar.gz: cebb5b5693091d1c55cbea8e86c9ffb15fa5b18027fb3df558c2d646753a08f86cb6cdbf02fee929724acb95352cb11cac7f4b3a6e53201f1dbbb4d2cfce09d1
6
+ metadata.gz: d812dd021ed9773049086c055bae768fdab4d958f852d283a1df7368e3e91a20fb4dee8cce02f31c9ce1a7f1f4226beb05aebd244608be4a691272bfebf62084
7
+ data.tar.gz: 25bc0615beffd4699ae878dbd127dc43ed97cb162257c823232de83b4deb6e56f70ca738549254fee92a34286a9c4f7654a1bab342b552f3e77b6a23f041295e
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module StorageInsights
23
23
  module V1
24
- VERSION = "0.1.0"
24
+ VERSION = "0.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/storageinsights/v1/storageinsights.proto
3
4
 
@@ -14,124 +15,36 @@ require 'google/rpc/status_pb'
14
15
  require 'google/type/date_pb'
15
16
  require 'google/type/datetime_pb'
16
17
 
17
- Google::Protobuf::DescriptorPool.generated_pool.build do
18
- add_file("google/cloud/storageinsights/v1/storageinsights.proto", :syntax => :proto3) do
19
- add_message "google.cloud.storageinsights.v1.ListReportConfigsRequest" do
20
- optional :parent, :string, 1
21
- optional :page_size, :int32, 2
22
- optional :page_token, :string, 3
23
- optional :filter, :string, 4
24
- optional :order_by, :string, 5
25
- end
26
- add_message "google.cloud.storageinsights.v1.ListReportConfigsResponse" do
27
- repeated :report_configs, :message, 1, "google.cloud.storageinsights.v1.ReportConfig"
28
- optional :next_page_token, :string, 2
29
- repeated :unreachable, :string, 3
30
- end
31
- add_message "google.cloud.storageinsights.v1.GetReportConfigRequest" do
32
- optional :name, :string, 1
33
- end
34
- add_message "google.cloud.storageinsights.v1.CreateReportConfigRequest" do
35
- optional :parent, :string, 1
36
- optional :report_config, :message, 3, "google.cloud.storageinsights.v1.ReportConfig"
37
- optional :request_id, :string, 4
38
- end
39
- add_message "google.cloud.storageinsights.v1.UpdateReportConfigRequest" do
40
- optional :update_mask, :message, 1, "google.protobuf.FieldMask"
41
- optional :report_config, :message, 2, "google.cloud.storageinsights.v1.ReportConfig"
42
- optional :request_id, :string, 3
43
- end
44
- add_message "google.cloud.storageinsights.v1.DeleteReportConfigRequest" do
45
- optional :name, :string, 1
46
- optional :force, :bool, 2
47
- optional :request_id, :string, 3
48
- end
49
- add_message "google.cloud.storageinsights.v1.ReportDetail" do
50
- optional :name, :string, 1
51
- optional :snapshot_time, :message, 2, "google.protobuf.Timestamp"
52
- optional :report_path_prefix, :string, 8
53
- optional :shards_count, :int64, 9
54
- optional :status, :message, 4, "google.rpc.Status"
55
- map :labels, :string, :string, 5
56
- optional :target_datetime, :message, 6, "google.type.DateTime"
57
- optional :report_metrics, :message, 7, "google.cloud.storageinsights.v1.ReportDetail.Metrics"
58
- end
59
- add_message "google.cloud.storageinsights.v1.ReportDetail.Metrics" do
60
- optional :processed_records_count, :int64, 1
61
- end
62
- add_message "google.cloud.storageinsights.v1.ListReportDetailsRequest" do
63
- optional :parent, :string, 1
64
- optional :page_size, :int32, 2
65
- optional :page_token, :string, 3
66
- optional :filter, :string, 4
67
- optional :order_by, :string, 5
68
- end
69
- add_message "google.cloud.storageinsights.v1.ListReportDetailsResponse" do
70
- repeated :report_details, :message, 1, "google.cloud.storageinsights.v1.ReportDetail"
71
- optional :next_page_token, :string, 2
72
- repeated :unreachable, :string, 3
73
- end
74
- add_message "google.cloud.storageinsights.v1.GetReportDetailRequest" do
75
- optional :name, :string, 1
76
- end
77
- add_message "google.cloud.storageinsights.v1.OperationMetadata" do
78
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
79
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
80
- optional :target, :string, 3
81
- optional :verb, :string, 4
82
- optional :status_message, :string, 5
83
- optional :requested_cancellation, :bool, 6
84
- optional :api_version, :string, 7
85
- end
86
- add_message "google.cloud.storageinsights.v1.FrequencyOptions" do
87
- optional :frequency, :enum, 1, "google.cloud.storageinsights.v1.FrequencyOptions.Frequency"
88
- optional :start_date, :message, 2, "google.type.Date"
89
- optional :end_date, :message, 3, "google.type.Date"
90
- end
91
- add_enum "google.cloud.storageinsights.v1.FrequencyOptions.Frequency" do
92
- value :FREQUENCY_UNSPECIFIED, 0
93
- value :DAILY, 1
94
- value :WEEKLY, 2
95
- end
96
- add_message "google.cloud.storageinsights.v1.CSVOptions" do
97
- optional :record_separator, :string, 1
98
- optional :delimiter, :string, 2
99
- optional :header_required, :bool, 3
100
- end
101
- add_message "google.cloud.storageinsights.v1.ParquetOptions" do
102
- end
103
- add_message "google.cloud.storageinsights.v1.CloudStorageFilters" do
104
- optional :bucket, :string, 1
105
- end
106
- add_message "google.cloud.storageinsights.v1.CloudStorageDestinationOptions" do
107
- optional :bucket, :string, 1
108
- optional :destination_path, :string, 2
109
- end
110
- add_message "google.cloud.storageinsights.v1.ObjectMetadataReportOptions" do
111
- repeated :metadata_fields, :string, 1
112
- oneof :filter do
113
- optional :storage_filters, :message, 2, "google.cloud.storageinsights.v1.CloudStorageFilters"
114
- end
115
- oneof :destination_options do
116
- optional :storage_destination_options, :message, 3, "google.cloud.storageinsights.v1.CloudStorageDestinationOptions"
117
- end
118
- end
119
- add_message "google.cloud.storageinsights.v1.ReportConfig" do
120
- optional :name, :string, 1
121
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
122
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
123
- optional :frequency_options, :message, 5, "google.cloud.storageinsights.v1.FrequencyOptions"
124
- map :labels, :string, :string, 10
125
- optional :display_name, :string, 11
126
- oneof :report_format do
127
- optional :csv_options, :message, 6, "google.cloud.storageinsights.v1.CSVOptions"
128
- optional :parquet_options, :message, 7, "google.cloud.storageinsights.v1.ParquetOptions"
129
- end
130
- oneof :report_kind do
131
- optional :object_metadata_report_options, :message, 8, "google.cloud.storageinsights.v1.ObjectMetadataReportOptions"
132
- end
18
+
19
+ descriptor_data = "\n5google/cloud/storageinsights/v1/storageinsights.proto\x12\x1fgoogle.cloud.storageinsights.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\"\xa8\x01\n\x18ListReportConfigsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x90\x01\n\x19ListReportConfigsResponse\x12\x45\n\x0ereport_configs\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfig\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\"\xc4\x01\n\x19\x43reateReportConfigRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportConfig\x12I\n\rreport_config\x18\x03 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xb5\x01\n\x19UpdateReportConfigRequest\x12\x34\n\x0bupdate_mask\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12I\n\rreport_config\x18\x02 \x01(\x0b\x32-.google.cloud.storageinsights.v1.ReportConfigB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x8b\x01\n\x19\x44\x65leteReportConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportConfig\x12\x12\n\x05\x66orce\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xe3\x04\n\x0cReportDetail\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x31\n\rsnapshot_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1a\n\x12report_path_prefix\x18\x08 \x01(\t\x12\x14\n\x0cshards_count\x18\t \x01(\x03\x12\"\n\x06status\x18\x04 \x01(\x0b\x32\x12.google.rpc.Status\x12I\n\x06labels\x18\x05 \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportDetail.LabelsEntry\x12.\n\x0ftarget_datetime\x18\x06 \x01(\x0b\x32\x15.google.type.DateTime\x12M\n\x0ereport_metrics\x18\x07 \x01(\x0b\x32\x35.google.cloud.storageinsights.v1.ReportDetail.Metrics\x1a*\n\x07Metrics\x12\x1f\n\x17processed_records_count\x18\x01 \x01(\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x96\x01\xea\x41\x92\x01\n+storageinsights.googleapis.com/ReportDetail\x12\x63projects/{project}/locations/{location}/reportConfigs/{report_config}/reportDetails/{report_detail}\"\xa8\x01\n\x18ListReportDetailsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+storageinsights.googleapis.com/ReportDetail\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x90\x01\n\x19ListReportDetailsResponse\x12\x45\n\x0ereport_details\x18\x01 \x03(\x0b\x32-.google.cloud.storageinsights.v1.ReportDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"[\n\x16GetReportDetailRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+storageinsights.googleapis.com/ReportDetail\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\xed\x01\n\x10\x46requencyOptions\x12N\n\tfrequency\x18\x01 \x01(\x0e\x32;.google.cloud.storageinsights.v1.FrequencyOptions.Frequency\x12%\n\nstart_date\x18\x02 \x01(\x0b\x32\x11.google.type.Date\x12#\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x11.google.type.Date\"=\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\t\n\x05\x44\x41ILY\x10\x01\x12\n\n\x06WEEKLY\x10\x02\"R\n\nCSVOptions\x12\x18\n\x10record_separator\x18\x01 \x01(\t\x12\x11\n\tdelimiter\x18\x02 \x01(\t\x12\x17\n\x0fheader_required\x18\x03 \x01(\x08\"\x10\n\x0eParquetOptions\"%\n\x13\x43loudStorageFilters\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\"J\n\x1e\x43loudStorageDestinationOptions\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x18\n\x10\x64\x65stination_path\x18\x02 \x01(\t\"\x90\x02\n\x1bObjectMetadataReportOptions\x12\x17\n\x0fmetadata_fields\x18\x01 \x03(\t\x12O\n\x0fstorage_filters\x18\x02 \x01(\x0b\x32\x34.google.cloud.storageinsights.v1.CloudStorageFiltersH\x00\x12\x66\n\x1bstorage_destination_options\x18\x03 \x01(\x0b\x32?.google.cloud.storageinsights.v1.CloudStorageDestinationOptionsH\x01\x42\x08\n\x06\x66ilterB\x15\n\x13\x64\x65stination_options\"\xf7\x05\n\x0cReportConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n\x11\x66requency_options\x18\x05 \x01(\x0b\x32\x31.google.cloud.storageinsights.v1.FrequencyOptions\x12\x42\n\x0b\x63sv_options\x18\x06 \x01(\x0b\x32+.google.cloud.storageinsights.v1.CSVOptionsH\x00\x12J\n\x0fparquet_options\x18\x07 \x01(\x0b\x32/.google.cloud.storageinsights.v1.ParquetOptionsH\x00\x12\x66\n\x1eobject_metadata_report_options\x18\x08 \x01(\x0b\x32<.google.cloud.storageinsights.v1.ObjectMetadataReportOptionsH\x01\x12I\n\x06labels\x18\n \x03(\x0b\x32\x39.google.cloud.storageinsights.v1.ReportConfig.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x0b \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:w\xea\x41t\n+storageinsights.googleapis.com/ReportConfig\x12\x45projects/{project}/locations/{location}/reportConfigs/{report_config}B\x0f\n\rreport_formatB\r\n\x0breport_kind2\xa9\x0c\n\x0fStorageInsights\x12\xce\x01\n\x11ListReportConfigs\x12\x39.google.cloud.storageinsights.v1.ListReportConfigsRequest\x1a:.google.cloud.storageinsights.v1.ListReportConfigsResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/reportConfigs\xda\x41\x06parent\x12\xbb\x01\n\x0fGetReportConfig\x12\x37.google.cloud.storageinsights.v1.GetReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/reportConfigs/*}\xda\x41\x04name\x12\xe0\x01\n\x12\x43reateReportConfig\x12:.google.cloud.storageinsights.v1.CreateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"_\x82\xd3\xe4\x93\x02\x42\"1/v1/{parent=projects/*/locations/*}/reportConfigs:\rreport_config\xda\x41\x14parent,report_config\x12\xf3\x01\n\x12UpdateReportConfig\x12:.google.cloud.storageinsights.v1.UpdateReportConfigRequest\x1a-.google.cloud.storageinsights.v1.ReportConfig\"r\x82\xd3\xe4\x93\x02P2?/v1/{report_config.name=projects/*/locations/*/reportConfigs/*}:\rreport_config\xda\x41\x19report_config,update_mask\x12\xaa\x01\n\x12\x44\x65leteReportConfig\x12:.google.cloud.storageinsights.v1.DeleteReportConfigRequest\x1a\x16.google.protobuf.Empty\"@\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/reportConfigs/*}\xda\x41\x04name\x12\xde\x01\n\x11ListReportDetails\x12\x39.google.cloud.storageinsights.v1.ListReportDetailsRequest\x1a:.google.cloud.storageinsights.v1.ListReportDetailsResponse\"R\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*/reportConfigs/*}/reportDetails\xda\x41\x06parent\x12\xcb\x01\n\x0fGetReportDetail\x12\x37.google.cloud.storageinsights.v1.GetReportDetailRequest\x1a-.google.cloud.storageinsights.v1.ReportDetail\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/reportConfigs/*/reportDetails/*}\xda\x41\x04name\x1aR\xca\x41\x1estorageinsights.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n#com.google.cloud.storageinsights.v1B\x07V1ProtoP\x01ZMcloud.google.com/go/storageinsights/apiv1/storageinsightspb;storageinsightspb\xaa\x02\x1fGoogle.Cloud.StorageInsights.V1\xca\x02\x1fGoogle\\Cloud\\StorageInsights\\V1\xea\x02\"Google::Cloud::StorageInsights::V1b\x06proto3"
20
+
21
+ pool = Google::Protobuf::DescriptorPool.generated_pool
22
+
23
+ begin
24
+ pool.add_serialized_file(descriptor_data)
25
+ rescue TypeError => e
26
+ # Compatibility code: will be removed in the next major version.
27
+ require 'google/protobuf/descriptor_pb'
28
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
29
+ parsed.clear_dependency
30
+ serialized = parsed.class.encode(parsed)
31
+ file = pool.add_serialized_file(serialized)
32
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
33
+ imports = [
34
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
35
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
36
+ ["google.rpc.Status", "google/rpc/status.proto"],
37
+ ["google.type.DateTime", "google/type/datetime.proto"],
38
+ ["google.type.Date", "google/type/date.proto"],
39
+ ]
40
+ imports.each do |type_name, expected_filename|
41
+ import_file = pool.lookup(type_name).file_descriptor
42
+ if import_file.name != expected_filename
43
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
133
44
  end
134
45
  end
46
+ warn "Each proto file must use a consistent fully-qualified name."
47
+ warn "This will become an error in the next major version."
135
48
  end
136
49
 
137
50
  module Google
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-storage_insights-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2023-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a