Skip to content

Commit c727122

Browse files
yoshi-automationchingor13
authored andcommitted
Regenerate serviceusage client (googleapis#3267)
1 parent 3a4ec21 commit c727122

File tree

24 files changed

+10789
-10177
lines changed

24 files changed

+10789
-10177
lines changed

clients/google-api-services-serviceusage/v1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-serviceusage",
5-
"version": "v1-rev20191206-1.30.3"
5+
"version": "v1-rev20191230-1.30.3"
66
}
77
}

clients/google-api-services-serviceusage/v1/1.28.0/com/google/api/services/serviceusage/v1/model/MetricDescriptor.java

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,40 @@ public final class MetricDescriptor extends com.google.api.client.json.GenericJs
113113
private java.lang.String type;
114114

115115
/**
116+
* The units in which the metric value is reported. It is only applicable if the `value_type` is
117+
* `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored
118+
* metric values.
119+
*
120+
* Different systems may scale the values to be more easily displayed (so a value of `0.02KBy`
121+
* _might_ be displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`).
122+
* However, if the `unit` is `KBy`, then the value of the metric is always in thousands of bytes,
123+
* no matter how it may be displayed..
124+
*
125+
* If you want a custom metric to record the exact number of CPU-seconds used by a job, you can
126+
* create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just
127+
* `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`.
128+
*
129+
* Alternatively, if you want a custom metric to record data in a more granular way, you can
130+
* create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value
131+
* `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
132+
*
133+
* The supported units are a subset of [The Unified Code for Units of
134+
* Measure](http://unitsofmeasure.org/ucum.html) standard:
135+
*
136+
* **Basic units (UNIT)**
137+
*
138+
* * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day
139+
*
140+
* **Prefixes (PREFIX)**
141+
*
142+
* * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera
143+
* (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y`
144+
* yotta (10^24)
145+
*
146+
* * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico
147+
* (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y`
148+
* yocto (10^-24)
149+
*
116150
* * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi
117151
* (2^40) * `Pi` pebi (2^50)
118152
*
@@ -344,6 +378,40 @@ public MetricDescriptor setType(java.lang.String type) {
344378
}
345379

346380
/**
381+
* The units in which the metric value is reported. It is only applicable if the `value_type` is
382+
* `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored
383+
* metric values.
384+
*
385+
* Different systems may scale the values to be more easily displayed (so a value of `0.02KBy`
386+
* _might_ be displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`).
387+
* However, if the `unit` is `KBy`, then the value of the metric is always in thousands of bytes,
388+
* no matter how it may be displayed..
389+
*
390+
* If you want a custom metric to record the exact number of CPU-seconds used by a job, you can
391+
* create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just
392+
* `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`.
393+
*
394+
* Alternatively, if you want a custom metric to record data in a more granular way, you can
395+
* create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value
396+
* `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
397+
*
398+
* The supported units are a subset of [The Unified Code for Units of
399+
* Measure](http://unitsofmeasure.org/ucum.html) standard:
400+
*
401+
* **Basic units (UNIT)**
402+
*
403+
* * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day
404+
*
405+
* **Prefixes (PREFIX)**
406+
*
407+
* * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera
408+
* (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y`
409+
* yotta (10^24)
410+
*
411+
* * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico
412+
* (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y`
413+
* yocto (10^-24)
414+
*
347415
* * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi
348416
* (2^40) * `Pi` pebi (2^50)
349417
*
@@ -389,6 +457,40 @@ public java.lang.String getUnit() {
389457
}
390458

391459
/**
460+
* The units in which the metric value is reported. It is only applicable if the `value_type` is
461+
* `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored
462+
* metric values.
463+
*
464+
* Different systems may scale the values to be more easily displayed (so a value of `0.02KBy`
465+
* _might_ be displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`).
466+
* However, if the `unit` is `KBy`, then the value of the metric is always in thousands of bytes,
467+
* no matter how it may be displayed..
468+
*
469+
* If you want a custom metric to record the exact number of CPU-seconds used by a job, you can
470+
* create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just
471+
* `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`.
472+
*
473+
* Alternatively, if you want a custom metric to record data in a more granular way, you can
474+
* create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value
475+
* `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
476+
*
477+
* The supported units are a subset of [The Unified Code for Units of
478+
* Measure](http://unitsofmeasure.org/ucum.html) standard:
479+
*
480+
* **Basic units (UNIT)**
481+
*
482+
* * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day
483+
*
484+
* **Prefixes (PREFIX)**
485+
*
486+
* * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera
487+
* (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y`
488+
* yotta (10^24)
489+
*
490+
* * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico
491+
* (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y`
492+
* yocto (10^-24)
493+
*
392494
* * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi
393495
* (2^40) * `Pi` pebi (2^50)
394496
*

clients/google-api-services-serviceusage/v1/1.28.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-serviceusage</artifactId>
11-
<version>v1-rev20191206-1.28.0</version>
12-
<name>Service Usage API v1-rev20191206-1.28.0</name>
11+
<version>v1-rev20191230-1.28.0</version>
12+
<name>Service Usage API v1-rev20191230-1.28.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)