@lansweeper/discovery-cloud-proto 0.0.23 → 0.0.24
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.
|
@@ -69,6 +69,10 @@ export class CloudEntity extends jspb.Message {
|
|
|
69
69
|
addTags(value?: CloudockitTag, index?: number): CloudockitTag;
|
|
70
70
|
getLocation(): string;
|
|
71
71
|
setLocation(value: string): CloudEntity;
|
|
72
|
+
getTenantId(): string;
|
|
73
|
+
setTenantId(value: string): CloudEntity;
|
|
74
|
+
getTenantName(): string;
|
|
75
|
+
setTenantName(value: string): CloudEntity;
|
|
72
76
|
|
|
73
77
|
serializeBinary(): Uint8Array;
|
|
74
78
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -101,6 +105,8 @@ export namespace CloudEntity {
|
|
|
101
105
|
firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
102
106
|
tagsList: Array<CloudockitTag.AsObject>,
|
|
103
107
|
location: string,
|
|
108
|
+
tenantId: string,
|
|
109
|
+
tenantName: string,
|
|
104
110
|
}
|
|
105
111
|
}
|
|
106
112
|
|
|
@@ -11109,7 +11109,9 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
11109
11109
|
firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11110
11110
|
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
11111
11111
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.toObject, includeInstance),
|
|
11112
|
-
location: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
11112
|
+
location: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
11113
|
+
tenantId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
11114
|
+
tenantName: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
11113
11115
|
};
|
|
11114
11116
|
|
|
11115
11117
|
if (includeInstance) {
|
|
@@ -11227,6 +11229,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
11227
11229
|
var value = /** @type {string} */ (reader.readString());
|
|
11228
11230
|
msg.setLocation(value);
|
|
11229
11231
|
break;
|
|
11232
|
+
case 20:
|
|
11233
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11234
|
+
msg.setTenantId(value);
|
|
11235
|
+
break;
|
|
11236
|
+
case 21:
|
|
11237
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11238
|
+
msg.setTenantName(value);
|
|
11239
|
+
break;
|
|
11230
11240
|
default:
|
|
11231
11241
|
reader.skipField();
|
|
11232
11242
|
break;
|
|
@@ -11394,6 +11404,20 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11394
11404
|
f
|
|
11395
11405
|
);
|
|
11396
11406
|
}
|
|
11407
|
+
f = message.getTenantId();
|
|
11408
|
+
if (f.length > 0) {
|
|
11409
|
+
writer.writeString(
|
|
11410
|
+
20,
|
|
11411
|
+
f
|
|
11412
|
+
);
|
|
11413
|
+
}
|
|
11414
|
+
f = message.getTenantName();
|
|
11415
|
+
if (f.length > 0) {
|
|
11416
|
+
writer.writeString(
|
|
11417
|
+
21,
|
|
11418
|
+
f
|
|
11419
|
+
);
|
|
11420
|
+
}
|
|
11397
11421
|
};
|
|
11398
11422
|
|
|
11399
11423
|
|
|
@@ -11891,6 +11915,42 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setLocation =
|
|
|
11891
11915
|
};
|
|
11892
11916
|
|
|
11893
11917
|
|
|
11918
|
+
/**
|
|
11919
|
+
* optional string tenant_id = 20;
|
|
11920
|
+
* @return {string}
|
|
11921
|
+
*/
|
|
11922
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getTenantId = function() {
|
|
11923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
11924
|
+
};
|
|
11925
|
+
|
|
11926
|
+
|
|
11927
|
+
/**
|
|
11928
|
+
* @param {string} value
|
|
11929
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11930
|
+
*/
|
|
11931
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setTenantId = function(value) {
|
|
11932
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
11933
|
+
};
|
|
11934
|
+
|
|
11935
|
+
|
|
11936
|
+
/**
|
|
11937
|
+
* optional string tenant_name = 21;
|
|
11938
|
+
* @return {string}
|
|
11939
|
+
*/
|
|
11940
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getTenantName = function() {
|
|
11941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
11942
|
+
};
|
|
11943
|
+
|
|
11944
|
+
|
|
11945
|
+
/**
|
|
11946
|
+
* @param {string} value
|
|
11947
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11948
|
+
*/
|
|
11949
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setTenantName = function(value) {
|
|
11950
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
11951
|
+
};
|
|
11952
|
+
|
|
11953
|
+
|
|
11894
11954
|
|
|
11895
11955
|
|
|
11896
11956
|
|