code: public static base_response update(nitro_service client, snmpview resource) throws Exception {
  		snmpview updateresource = new snmpview();
  		updateresource.name = resource.name;
  		updateresource.subtree = resource.subtree;
  		updateresource.type = resource.type;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update snmpview.