grafeas-v1 0.1.0 → 0.1.1

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: fffe159c586f6594a362debdc477758f3843e27a2b5ecfc1bf1dcba69e012c43
4
- data.tar.gz: fb19d413538ff1d74a2e87c8f379178167bb27cb7ca531d561b7212f4745b773
3
+ metadata.gz: 12e41ef84fffcbbc096bc0f917bec434afda2c1e611f61f946793ab11ad4a8db
4
+ data.tar.gz: 8765ebd7bb9cfb29e09be83635d3dbd0ba9f4161cc253ae6f42fc25d3965412c
5
5
  SHA512:
6
- metadata.gz: 511b4fb0ef6cf06c43a7def0ddb8115b89132efaea5b052481f7cfbcecba719f77f31ef3fb9088663697ea6990f7f6f18850ca42b2c7f1a3ca6fd7e579419593
7
- data.tar.gz: '08afe01334fc6d76c34f64259d8cc6ce1378e55e65132d93268e8dbed1718a439c75466b78e92a01bb6377707c9b5fb9b0a77efedb14ae1af1203ade4f8155f4'
6
+ metadata.gz: 841058f821abbb0e0f39872111598f1e68ba0b1157b3f7ce4a0e33c30b23f9d3001989f618a7796afa218900a6ce7ae17279d8d2cc52a34ca2abfa89c327c4e7
7
+ data.tar.gz: 653d5f23756c1dedcd93f0513faecb424374400731e8a568392779329d980e038b58c93919565194d8a1f80d72a23136ee3237bce62b8c0d76f65a5370a2e098
@@ -81,7 +81,7 @@ module Grafeas
81
81
  initial_delay: 0.1,
82
82
  max_delay: 60.0,
83
83
  multiplier: 1.3,
84
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
84
+ retry_codes: [14, 4]
85
85
  }
86
86
 
87
87
  default_config.rpcs.list_occurrences.timeout = 30.0
@@ -89,7 +89,7 @@ module Grafeas
89
89
  initial_delay: 0.1,
90
90
  max_delay: 60.0,
91
91
  multiplier: 1.3,
92
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
92
+ retry_codes: [14, 4]
93
93
  }
94
94
 
95
95
  default_config.rpcs.delete_occurrence.timeout = 30.0
@@ -97,7 +97,7 @@ module Grafeas
97
97
  initial_delay: 0.1,
98
98
  max_delay: 60.0,
99
99
  multiplier: 1.3,
100
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
100
+ retry_codes: [14, 4]
101
101
  }
102
102
 
103
103
  default_config.rpcs.create_occurrence.timeout = 30.0
@@ -111,7 +111,7 @@ module Grafeas
111
111
  initial_delay: 0.1,
112
112
  max_delay: 60.0,
113
113
  multiplier: 1.3,
114
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
114
+ retry_codes: [14, 4]
115
115
  }
116
116
 
117
117
  default_config.rpcs.get_note.timeout = 30.0
@@ -119,7 +119,7 @@ module Grafeas
119
119
  initial_delay: 0.1,
120
120
  max_delay: 60.0,
121
121
  multiplier: 1.3,
122
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
122
+ retry_codes: [14, 4]
123
123
  }
124
124
 
125
125
  default_config.rpcs.list_notes.timeout = 30.0
@@ -127,7 +127,7 @@ module Grafeas
127
127
  initial_delay: 0.1,
128
128
  max_delay: 60.0,
129
129
  multiplier: 1.3,
130
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
130
+ retry_codes: [14, 4]
131
131
  }
132
132
 
133
133
  default_config.rpcs.delete_note.timeout = 30.0
@@ -135,7 +135,7 @@ module Grafeas
135
135
  initial_delay: 0.1,
136
136
  max_delay: 60.0,
137
137
  multiplier: 1.3,
138
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
138
+ retry_codes: [14, 4]
139
139
  }
140
140
 
141
141
  default_config.rpcs.create_note.timeout = 30.0
@@ -149,7 +149,7 @@ module Grafeas
149
149
  initial_delay: 0.1,
150
150
  max_delay: 60.0,
151
151
  multiplier: 1.3,
152
- retry_codes: ["UNAVAILABLE", "DEADLINE_EXCEEDED"]
152
+ retry_codes: [14, 4]
153
153
  }
154
154
 
155
155
  default_config
@@ -45,38 +45,38 @@ module Grafeas
45
45
  self.service_name = 'grafeas.v1.Grafeas'
46
46
 
47
47
  # Gets the specified occurrence.
48
- rpc :GetOccurrence, GetOccurrenceRequest, Occurrence
48
+ rpc :GetOccurrence, ::Grafeas::V1::GetOccurrenceRequest, ::Grafeas::V1::Occurrence
49
49
  # Lists occurrences for the specified project.
50
- rpc :ListOccurrences, ListOccurrencesRequest, ListOccurrencesResponse
50
+ rpc :ListOccurrences, ::Grafeas::V1::ListOccurrencesRequest, ::Grafeas::V1::ListOccurrencesResponse
51
51
  # Deletes the specified occurrence. For example, use this method to delete an
52
52
  # occurrence when the occurrence is no longer applicable for the given
53
53
  # resource.
54
- rpc :DeleteOccurrence, DeleteOccurrenceRequest, Google::Protobuf::Empty
54
+ rpc :DeleteOccurrence, ::Grafeas::V1::DeleteOccurrenceRequest, ::Google::Protobuf::Empty
55
55
  # Creates a new occurrence.
56
- rpc :CreateOccurrence, CreateOccurrenceRequest, Occurrence
56
+ rpc :CreateOccurrence, ::Grafeas::V1::CreateOccurrenceRequest, ::Grafeas::V1::Occurrence
57
57
  # Creates new occurrences in batch.
58
- rpc :BatchCreateOccurrences, BatchCreateOccurrencesRequest, BatchCreateOccurrencesResponse
58
+ rpc :BatchCreateOccurrences, ::Grafeas::V1::BatchCreateOccurrencesRequest, ::Grafeas::V1::BatchCreateOccurrencesResponse
59
59
  # Updates the specified occurrence.
60
- rpc :UpdateOccurrence, UpdateOccurrenceRequest, Occurrence
60
+ rpc :UpdateOccurrence, ::Grafeas::V1::UpdateOccurrenceRequest, ::Grafeas::V1::Occurrence
61
61
  # Gets the note attached to the specified occurrence. Consumer projects can
62
62
  # use this method to get a note that belongs to a provider project.
63
- rpc :GetOccurrenceNote, GetOccurrenceNoteRequest, Note
63
+ rpc :GetOccurrenceNote, ::Grafeas::V1::GetOccurrenceNoteRequest, ::Grafeas::V1::Note
64
64
  # Gets the specified note.
65
- rpc :GetNote, GetNoteRequest, Note
65
+ rpc :GetNote, ::Grafeas::V1::GetNoteRequest, ::Grafeas::V1::Note
66
66
  # Lists notes for the specified project.
67
- rpc :ListNotes, ListNotesRequest, ListNotesResponse
67
+ rpc :ListNotes, ::Grafeas::V1::ListNotesRequest, ::Grafeas::V1::ListNotesResponse
68
68
  # Deletes the specified note.
69
- rpc :DeleteNote, DeleteNoteRequest, Google::Protobuf::Empty
69
+ rpc :DeleteNote, ::Grafeas::V1::DeleteNoteRequest, ::Google::Protobuf::Empty
70
70
  # Creates a new note.
71
- rpc :CreateNote, CreateNoteRequest, Note
71
+ rpc :CreateNote, ::Grafeas::V1::CreateNoteRequest, ::Grafeas::V1::Note
72
72
  # Creates new notes in batch.
73
- rpc :BatchCreateNotes, BatchCreateNotesRequest, BatchCreateNotesResponse
73
+ rpc :BatchCreateNotes, ::Grafeas::V1::BatchCreateNotesRequest, ::Grafeas::V1::BatchCreateNotesResponse
74
74
  # Updates the specified note.
75
- rpc :UpdateNote, UpdateNoteRequest, Note
75
+ rpc :UpdateNote, ::Grafeas::V1::UpdateNoteRequest, ::Grafeas::V1::Note
76
76
  # Lists occurrences referencing the specified note. Provider projects can use
77
77
  # this method to get all occurrences across consumer projects referencing the
78
78
  # specified note.
79
- rpc :ListNoteOccurrences, ListNoteOccurrencesRequest, ListNoteOccurrencesResponse
79
+ rpc :ListNoteOccurrences, ::Grafeas::V1::ListNoteOccurrencesRequest, ::Grafeas::V1::ListNoteOccurrencesResponse
80
80
  end
81
81
 
82
82
  Stub = Service.rpc_stub_class
@@ -19,6 +19,6 @@
19
19
 
20
20
  module Grafeas
21
21
  module V1
22
- VERSION = "0.1.0"
22
+ VERSION = "0.1.1"
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grafeas-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-03 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: google-cloud-errors
29
29
  requirement: !ruby/object:Gem::Requirement