@googlemaps/solar 0.3.1 → 0.4.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.
package/README.md CHANGED
@@ -44,7 +44,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
44
44
  1. [Select or create a Cloud Platform project][projects].
45
45
  1. [Enable billing for your project][billing].
46
46
  1. [Enable the Solar API API][enable_api].
47
- 1. [Set up authentication with a service account][auth] so you can access the
47
+ 1. [Set up authentication][auth] so you can access the
48
48
  API from your local workstation.
49
49
 
50
50
  ### Installing the client library
@@ -190,4 +190,4 @@ See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
190
190
  [projects]: https://console.cloud.google.com/project
191
191
  [billing]: https://support.google.com/cloud/answer/6293499#enable-billing
192
192
  [enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=solar.googleapis.com
193
- [auth]: https://cloud.google.com/docs/authentication/getting-started
193
+ [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
@@ -706,15 +706,6 @@ export namespace google {
706
706
  /** RoofSegmentSizeAndSunshineStats planeHeightAtCenterMeters. */
707
707
  public planeHeightAtCenterMeters?: (number|null);
708
708
 
709
- /** RoofSegmentSizeAndSunshineStats _pitchDegrees. */
710
- public _pitchDegrees?: "pitchDegrees";
711
-
712
- /** RoofSegmentSizeAndSunshineStats _azimuthDegrees. */
713
- public _azimuthDegrees?: "azimuthDegrees";
714
-
715
- /** RoofSegmentSizeAndSunshineStats _planeHeightAtCenterMeters. */
716
- public _planeHeightAtCenterMeters?: "planeHeightAtCenterMeters";
717
-
718
709
  /**
719
710
  * Creates a new RoofSegmentSizeAndSunshineStats instance using the specified properties.
720
711
  * @param [properties] Properties to set
@@ -939,9 +930,6 @@ export namespace google {
939
930
  /** SolarPanel segmentIndex. */
940
931
  public segmentIndex?: (number|null);
941
932
 
942
- /** SolarPanel _segmentIndex. */
943
- public _segmentIndex?: "segmentIndex";
944
-
945
933
  /**
946
934
  * Creates a new SolarPanel instance using the specified properties.
947
935
  * @param [properties] Properties to set
@@ -1172,15 +1160,6 @@ export namespace google {
1172
1160
  /** RoofSegmentSummary segmentIndex. */
1173
1161
  public segmentIndex?: (number|null);
1174
1162
 
1175
- /** RoofSegmentSummary _pitchDegrees. */
1176
- public _pitchDegrees?: "pitchDegrees";
1177
-
1178
- /** RoofSegmentSummary _azimuthDegrees. */
1179
- public _azimuthDegrees?: "azimuthDegrees";
1180
-
1181
- /** RoofSegmentSummary _segmentIndex. */
1182
- public _segmentIndex?: "segmentIndex";
1183
-
1184
1163
  /**
1185
1164
  * Creates a new RoofSegmentSummary instance using the specified properties.
1186
1165
  * @param [properties] Properties to set
@@ -1320,9 +1299,6 @@ export namespace google {
1320
1299
  /** FinancialAnalysis financedPurchaseSavings. */
1321
1300
  public financedPurchaseSavings?: (google.maps.solar.v1.IFinancedPurchaseSavings|null);
1322
1301
 
1323
- /** FinancialAnalysis _panelConfigIndex. */
1324
- public _panelConfigIndex?: "panelConfigIndex";
1325
-
1326
1302
  /**
1327
1303
  * Creates a new FinancialAnalysis instance using the specified properties.
1328
1304
  * @param [properties] Properties to set
@@ -1474,12 +1450,6 @@ export namespace google {
1474
1450
  /** FinancialDetails percentageExportedToGrid. */
1475
1451
  public percentageExportedToGrid?: (number|null);
1476
1452
 
1477
- /** FinancialDetails _solarPercentage. */
1478
- public _solarPercentage?: "solarPercentage";
1479
-
1480
- /** FinancialDetails _percentageExportedToGrid. */
1481
- public _percentageExportedToGrid?: "percentageExportedToGrid";
1482
-
1483
1453
  /**
1484
1454
  * Creates a new FinancialDetails instance using the specified properties.
1485
1455
  * @param [properties] Properties to set
@@ -1843,9 +1813,6 @@ export namespace google {
1843
1813
  /** CashPurchaseSavings savings. */
1844
1814
  public savings?: (google.maps.solar.v1.ISavingsOverTime|null);
1845
1815
 
1846
- /** CashPurchaseSavings _paybackYears. */
1847
- public _paybackYears?: "paybackYears";
1848
-
1849
1816
  /**
1850
1817
  * Creates a new CashPurchaseSavings instance using the specified properties.
1851
1818
  * @param [properties] Properties to set
@@ -3091,6 +3058,9 @@ export namespace google {
3091
3058
 
3092
3059
  /** Publishing protoReferenceDocumentationUri */
3093
3060
  protoReferenceDocumentationUri?: (string|null);
3061
+
3062
+ /** Publishing restReferenceDocumentationUri */
3063
+ restReferenceDocumentationUri?: (string|null);
3094
3064
  }
3095
3065
 
3096
3066
  /** Represents a Publishing. */
@@ -3132,6 +3102,9 @@ export namespace google {
3132
3102
  /** Publishing protoReferenceDocumentationUri. */
3133
3103
  public protoReferenceDocumentationUri: string;
3134
3104
 
3105
+ /** Publishing restReferenceDocumentationUri. */
3106
+ public restReferenceDocumentationUri: string;
3107
+
3135
3108
  /**
3136
3109
  * Creates a new Publishing instance using the specified properties.
3137
3110
  * @param [properties] Properties to set
@@ -4306,7 +4279,7 @@ export namespace google {
4306
4279
  contentType?: (string|null);
4307
4280
 
4308
4281
  /** HttpBody data */
4309
- data?: (Uint8Array|string|null);
4282
+ data?: (Uint8Array|Buffer|string|null);
4310
4283
 
4311
4284
  /** HttpBody extensions */
4312
4285
  extensions?: (google.protobuf.IAny[]|null);
@@ -4325,7 +4298,7 @@ export namespace google {
4325
4298
  public contentType: string;
4326
4299
 
4327
4300
  /** HttpBody data. */
4328
- public data: (Uint8Array|string);
4301
+ public data: (Uint8Array|Buffer|string);
4329
4302
 
4330
4303
  /** HttpBody extensions. */
4331
4304
  public extensions: google.protobuf.IAny[];
@@ -7197,6 +7170,9 @@ export namespace google {
7197
7170
 
7198
7171
  /** ServiceOptions .google.api.oauthScopes */
7199
7172
  ".google.api.oauthScopes"?: (string|null);
7173
+
7174
+ /** ServiceOptions .google.api.apiVersion */
7175
+ ".google.api.apiVersion"?: (string|null);
7200
7176
  }
7201
7177
 
7202
7178
  /** Represents a ServiceOptions. */
@@ -7445,7 +7421,7 @@ export namespace google {
7445
7421
  doubleValue?: (number|null);
7446
7422
 
7447
7423
  /** UninterpretedOption stringValue */
7448
- stringValue?: (Uint8Array|string|null);
7424
+ stringValue?: (Uint8Array|Buffer|string|null);
7449
7425
 
7450
7426
  /** UninterpretedOption aggregateValue */
7451
7427
  aggregateValue?: (string|null);
@@ -7476,7 +7452,7 @@ export namespace google {
7476
7452
  public doubleValue: number;
7477
7453
 
7478
7454
  /** UninterpretedOption stringValue. */
7479
- public stringValue: (Uint8Array|string);
7455
+ public stringValue: (Uint8Array|Buffer|string);
7480
7456
 
7481
7457
  /** UninterpretedOption aggregateValue. */
7482
7458
  public aggregateValue: string;
@@ -8615,7 +8591,7 @@ export namespace google {
8615
8591
  type_url?: (string|null);
8616
8592
 
8617
8593
  /** Any value */
8618
- value?: (Uint8Array|string|null);
8594
+ value?: (Uint8Array|Buffer|string|null);
8619
8595
  }
8620
8596
 
8621
8597
  /** Represents an Any. */
@@ -8631,7 +8607,7 @@ export namespace google {
8631
8607
  public type_url: string;
8632
8608
 
8633
8609
  /** Any value. */
8634
- public value: (Uint8Array|string);
8610
+ public value: (Uint8Array|Buffer|string);
8635
8611
 
8636
8612
  /**
8637
8613
  * Creates a new Any instance using the specified properties.